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

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this