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.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cluster |
string
Optional. Information specifying a GKE Cluster. Format is |
↳ internal_ip |
bool
Optional. If true, |
↳ proxy_url |
string
Optional. If set, used to configure a proxy to the Kubernetes server. |
↳ dns_endpoint |
bool
Optional. If set, the cluster will be accessed using the DNS endpoint. Note that |
getCluster
Optional. Information specifying a GKE Cluster. Format is
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
.
Returns | |
---|---|
Type | Description |
string |
setCluster
Optional. Information specifying a GKE Cluster. Format is
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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.
Returns | |
---|---|
Type | Description |
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.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getProxyUrl
Optional. If set, used to configure a proxy to the Kubernetes server.
Returns | |
---|---|
Type | Description |
string |
setProxyUrl
Optional. If set, used to configure a proxy to the Kubernetes server.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDnsEndpoint
Optional. If set, the cluster will be accessed using the DNS endpoint. Note
that dns_endpoint
and internal_ip
cannot both be set to true.
Returns | |
---|---|
Type | Description |
bool |
setDnsEndpoint
Optional. If set, the cluster will be accessed using the DNS endpoint. Note
that dns_endpoint
and internal_ip
cannot both be set to true.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |