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

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

Encapsulates the Target state.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ details array<Google\Cloud\Gaming\V1\TargetDetails>

Details about Agones fleets.

getDetails

Details about Agones fleets.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDetails

Details about Agones fleets.

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