Google Cloud Game Servers V1 Client - Class PreviewCreateGameServerClusterResponse (1.2.6)

Reference documentation and code samples for the Google Cloud Game Servers V1 Client class PreviewCreateGameServerClusterResponse.

Response message for GameServerClustersService.PreviewCreateGameServerCluster.

Generated from protobuf message google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ etag string

The ETag of the game server cluster.

↳ target_state Google\Cloud\Gaming\V1\TargetState

The target state.

↳ cluster_state Google\Cloud\Gaming\V1\KubernetesClusterState

Output only. The state of the Kubernetes cluster in preview, this will be available if 'view' is set to FULL in the relevant List/Get/Preview request.

getEtag

The ETag of the game server cluster.

Returns
Type Description
string

setEtag

The ETag of the game server cluster.

Parameter
Name Description
var string
Returns
Type Description
$this

getTargetState

The target state.

Returns
Type Description
Google\Cloud\Gaming\V1\TargetState|null

hasTargetState

clearTargetState

setTargetState

The target state.

Parameter
Name Description
var Google\Cloud\Gaming\V1\TargetState
Returns
Type Description
$this

getClusterState

Output only. The state of the Kubernetes cluster in preview, this will be available if 'view' is set to FULL in the relevant List/Get/Preview request.

Returns
Type Description
Google\Cloud\Gaming\V1\KubernetesClusterState|null

hasClusterState

clearClusterState

setClusterState

Output only. The state of the Kubernetes cluster in preview, this will be available if 'view' is set to FULL in the relevant List/Get/Preview request.

Parameter
Name Description
var Google\Cloud\Gaming\V1\KubernetesClusterState
Returns
Type Description
$this