Google Cloud Gke Hub V1 Client - Class GkeCluster (0.9.3)

Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class GkeCluster.

GkeCluster contains information specific to GKE clusters.

Generated from protobuf message google.cloud.gkehub.v1.GkeCluster

Namespace

Google \ Cloud \ GkeHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resource_link string

Immutable. Self-link of the Google Cloud resource for the GKE cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster Zonal clusters are also supported.

↳ cluster_missing bool

Output only. If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane.

Immutable. Self-link of the Google Cloud resource for the GKE cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster Zonal clusters are also supported.

Returns
Type Description
string

Immutable. Self-link of the Google Cloud resource for the GKE cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster Zonal clusters are also supported.

Parameter
Name Description
var string
Returns
Type Description
$this

getClusterMissing

Output only. If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane.

Returns
Type Description
bool

setClusterMissing

Output only. If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane.

Parameter
Name Description
var bool
Returns
Type Description
$this