Google Cloud Game Servers V1 Client - Class DeployedClusterState (1.2.5)

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

The game server cluster changes made by the game server deployment.

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

Namespace

Google \ Cloud \ Gaming \ V1 \ FetchDeploymentStateResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cluster string

The name of the cluster.

↳ fleet_details array<Google\Cloud\Gaming\V1\DeployedFleetDetails>

The details about the Agones fleets and autoscalers created in the game server cluster.

getCluster

The name of the cluster.

Returns
Type Description
string

setCluster

The name of the cluster.

Parameter
Name Description
var string
Returns
Type Description
$this

getFleetDetails

The details about the Agones fleets and autoscalers created in the game server cluster.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFleetDetails

The details about the Agones fleets and autoscalers created in the game server cluster.

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