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

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

Namespace

Google \ Cloud \ Gaming \ V1

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