Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class ResourceOptions.
ResourceOptions represent options for Kubernetes resource generation.
Generated from protobuf message google.cloud.gkehub.v1.ResourceOptions
Namespace
Google \ Cloud \ GkeHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ connect_version
string
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.
↳ v1beta1_crd
bool
Optional. Use apiextensions/v1beta1
instead of apiextensions/v1
for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions <1.16.
↳ k8s_version
string
Optional. Major and minor version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, apiextensions/v1beta1
or apiextensions/v1
.
↳ k8s_git_version
string
Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above.
getConnectVersion
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.
string
setConnectVersion
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.
var
string
$this
getV1Beta1Crd
Optional. Use apiextensions/v1beta1
instead of apiextensions/v1
for
CustomResourceDefinition resources.
This option should be set for clusters with Kubernetes apiserver versions <1.16.
bool
setV1Beta1Crd
Optional. Use apiextensions/v1beta1
instead of apiextensions/v1
for
CustomResourceDefinition resources.
This option should be set for clusters with Kubernetes apiserver versions <1.16.
var
bool
$this
getK8SVersion
Optional. Major and minor version of the Kubernetes cluster. This is only
used to determine which version to use for the CustomResourceDefinition
resources, apiextensions/v1beta1
or apiextensions/v1
.
string
setK8SVersion
Optional. Major and minor version of the Kubernetes cluster. This is only
used to determine which version to use for the CustomResourceDefinition
resources, apiextensions/v1beta1
or apiextensions/v1
.
var
string
$this
getK8SGitVersion
Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above.
string
setK8SGitVersion
Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above.
var
string
$this

