Reference documentation and code samples for the Google Cloud Deploy V1 Client class GkeCluster.
Information specifying a GKE Cluster.
Generated from protobuf message google.cloud.deploy.v1.GkeCluster
Namespace
Google \ Cloud \ Deploy \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cluster
string
Optional. Information specifying a GKE Cluster. Format is projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
.
↳ internal_ip
bool
Optional. If true, cluster
is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when cluster
is a private GKE cluster
. Note that internal_ip
and dns_endpoint
cannot both be set to true.
↳ proxy_url
↳ dns_endpoint
bool
Optional. If set, the cluster will be accessed using the DNS endpoint. Note that both dns_endpoint
and internal_ip
cannot be set to true.
getCluster
Optional. Information specifying a GKE Cluster. Format is projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
.
string
setCluster
Optional. Information specifying a GKE Cluster. Format is projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
.
var
string
$this
getInternalIp
Optional. If true, cluster
is accessed using the private IP address of
the control plane endpoint. Otherwise, the default IP address of the
control plane endpoint is used. The default IP address is the private IP
address for clusters with private control-plane endpoints and the public IP
address otherwise.
Only specify this option when cluster
is a private GKE
cluster
.
Note that internal_ip
and dns_endpoint
cannot both be set to true.
bool
setInternalIp
Optional. If true, cluster
is accessed using the private IP address of
the control plane endpoint. Otherwise, the default IP address of the
control plane endpoint is used. The default IP address is the private IP
address for clusters with private control-plane endpoints and the public IP
address otherwise.
Only specify this option when cluster
is a private GKE
cluster
.
Note that internal_ip
and dns_endpoint
cannot both be set to true.
var
bool
$this
getProxyUrl
Optional. If set, used to configure a proxy to the Kubernetes server.
string
setProxyUrl
Optional. If set, used to configure a proxy to the Kubernetes server.
var
string
$this
getDnsEndpoint
Optional. If set, the cluster will be accessed using the DNS endpoint. Note
that both dns_endpoint
and internal_ip
cannot be set to true.
bool
setDnsEndpoint
Optional. If set, the cluster will be accessed using the DNS endpoint. Note
that both dns_endpoint
and internal_ip
cannot be set to true.
var
bool
$this