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

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setClusterState

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

Parameter
NameDescription
var array<Google\Cloud\Gaming\V1\FetchDeploymentStateResponse\DeployedClusterState>
Returns
TypeDescription
$this

getUnavailable

List of locations that could not be reached.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnavailable

List of locations that could not be reached.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this