Google Cloud Network Management V1 Client - Class GKEMasterInfo (2.14.0)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class GKEMasterInfo.

For display only. Metadata associated with a Google Kubernetes Engine (GKE) cluster master.

Generated from protobuf message google.cloud.networkmanagement.v1.GKEMasterInfo

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cluster_uri string

URI of the GKE cluster. Format: * * projects/{project_id}/locations/{location}/clusters/{cluster_id} (regional cluster) * * projects/{project_id}/zones/{zone}/clusters/{cluster_id} (zonal cluster)

↳ cluster_network_uri string

URI of the GKE cluster network. Format: projects/{project_id}/global/networks/{network_id}

↳ internal_ip string

Internal IP address of a GKE cluster control plane.

↳ external_ip string

External IP address of a GKE cluster control plane.

↳ dns_endpoint string

DNS endpoint of a GKE cluster control plane.

getClusterUri

URI of the GKE cluster.

Format:

  • projects/{project_id}/locations/{location}/clusters/{cluster_id} (regional cluster)
  • projects/{project_id}/zones/{zone}/clusters/{cluster_id} (zonal cluster)
Returns
Type Description
string

setClusterUri

URI of the GKE cluster.

Format:

  • projects/{project_id}/locations/{location}/clusters/{cluster_id} (regional cluster)
  • projects/{project_id}/zones/{zone}/clusters/{cluster_id} (zonal cluster)
Parameter
Name Description
var string
Returns
Type Description
$this

getClusterNetworkUri

URI of the GKE cluster network.

Format: projects/{project_id}/global/networks/{network_id}

Returns
Type Description
string

setClusterNetworkUri

URI of the GKE cluster network.

Format: projects/{project_id}/global/networks/{network_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getInternalIp

Internal IP address of a GKE cluster control plane.

Returns
Type Description
string

setInternalIp

Internal IP address of a GKE cluster control plane.

Parameter
Name Description
var string
Returns
Type Description
$this

getExternalIp

External IP address of a GKE cluster control plane.

Returns
Type Description
string

setExternalIp

External IP address of a GKE cluster control plane.

Parameter
Name Description
var string
Returns
Type Description
$this

getDnsEndpoint

DNS endpoint of a GKE cluster control plane.

Returns
Type Description
string

setDnsEndpoint

DNS endpoint of a GKE cluster control plane.

Parameter
Name Description
var string
Returns
Type Description
$this