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

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

Response message for GameServerClustersService.PreviewDeleteGameServerCluster.

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

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