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

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

Response message for PreviewGameServerDeploymentRollout.

This has details about the Agones fleet and autoscaler to be actuated.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ unavailable array

Locations that could not be reached on this request.

↳ etag string

ETag of the game server deployment.

↳ target_state Google\Cloud\Gaming\V1\TargetState

The target state.

getUnavailable

Locations that could not be reached on this request.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnavailable

Locations that could not be reached on this request.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getEtag

ETag of the game server deployment.

Returns
TypeDescription
string

setEtag

ETag of the game server deployment.

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