Google Cloud Game Servers V1 Client - Class PreviewDeleteGameServerClusterResponse (1.2.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

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.

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