Google Cloud Game Servers V1 Client - Class PreviewUpdateGameServerClusterResponse (1.1.1)

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

Response message for GameServerClustersService.PreviewUpdateGameServerCluster

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

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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.

getEtag

The ETag of the game server cluster.

Returns
TypeDescription
string

setEtag

The ETag of the game server cluster.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTargetState

The target state.

Returns
TypeDescription
Google\Cloud\Gaming\V1\TargetState|null

hasTargetState

clearTargetState

setTargetState

The target state.

Parameter
NameDescription
var Google\Cloud\Gaming\V1\TargetState
Returns
TypeDescription
$this