class Google::Apis::GkehubV1alpha2::ResourceOptions
ResourceOptions
represent options for Kubernetes resource generation.
Attributes
Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected. Corresponds to the JSON property `connectVersion` @return [String]
Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions <1.16. Corresponds to the JSON property `v1beta1Crd` @return [Boolean]
Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions <1.16. Corresponds to the JSON property `v1beta1Crd` @return [Boolean]
Public Class Methods
# File lib/google/apis/gkehub_v1alpha2/classes.rb, line 1207 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/gkehub_v1alpha2/classes.rb, line 1212 def update!(**args) @connect_version = args[:connect_version] if args.key?(:connect_version) @v1beta1_crd = args[:v1beta1_crd] if args.key?(:v1beta1_crd) end