Google Cloud Game Servers V1 Client - Class GkeClusterReference (1.0.5)

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

Methods

__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: * 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.

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
Design a Mobile Site
View Site in Mobile | Classic
Share by: