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

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

Response message for GameServerDeploymentsService.FetchDeploymentState.

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

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cluster_state array<Google\Cloud\Gaming\V1\FetchDeploymentStateResponse\DeployedClusterState>

The state of the game server deployment in each game server cluster.

↳ unavailable array

List of locations that could not be reached.

getClusterState

The state of the game server deployment in each game server cluster.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setClusterState

The state of the game server deployment in each game server cluster.

Parameter
Name Description
var array<Google\Cloud\Gaming\V1\FetchDeploymentStateResponse\DeployedClusterState>
Returns
Type Description
$this

getUnavailable

List of locations that could not be reached.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnavailable

List of locations that could not be reached.

Parameter
Name Description
var string[]
Returns
Type Description
$this