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

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
NameDescription
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
TypeDescription
string

setCluster

The name of the cluster.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFleetDetails

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFleetDetails

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

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