Reference documentation and code samples for the Google Cloud Game Servers V1 Client class GkeClusterReference.
A reference to a GKE cluster.
Generated from protobuf message google.cloud.gaming.v1.GkeClusterReference
Namespace
Google \ Cloud \ Gaming \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cluster |
string
The full or partial name of a GKE cluster, using one of the following forms: * |
getCluster
The full or partial name of a GKE cluster, using one of the following forms:
projects/{project}/locations/{location}/clusters/{cluster}locations/{location}/clusters/{cluster}{cluster}If project and location are not specified, the project and location of the GameServerCluster resource are used to generate the full name of the GKE cluster.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCluster
The full or partial name of a GKE cluster, using one of the following forms:
projects/{project}/locations/{location}/clusters/{cluster}locations/{location}/clusters/{cluster}{cluster}If project and location are not specified, the project and location of the GameServerCluster resource are used to generate the full name of the GKE cluster.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|