# Google Cloud Gke Hub V1 Client - Class GkeCluster (1.3.1)

1.3.1 (latest) 1.3.0 1.2.2 1.1.0 1.0.6 0.10.0 0.9.5 0.8.2 0.7.1 0.6.3 0.5.6 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. |

### getResourceLink

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` |   |

### setResourceLink

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` |   |