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

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

Details of the target Agones fleet.

Generated from protobuf message google.cloud.gaming.v1.TargetDetails.TargetFleetDetails

Namespace

Google \ Cloud \ Gaming \ V1 \ TargetDetails

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ fleet Google\Cloud\Gaming\V1\TargetDetails\TargetFleetDetails\TargetFleet

Reference to target Agones fleet.

↳ autoscaler Google\Cloud\Gaming\V1\TargetDetails\TargetFleetDetails\TargetFleetAutoscaler

Reference to target Agones fleet autoscaling policy.

getFleet

Reference to target Agones fleet.

Returns
TypeDescription
Google\Cloud\Gaming\V1\TargetDetails\TargetFleetDetails\TargetFleet|null

hasFleet

clearFleet

setFleet

Reference to target Agones fleet.

Parameter
NameDescription
var Google\Cloud\Gaming\V1\TargetDetails\TargetFleetDetails\TargetFleet
Returns
TypeDescription
$this

getAutoscaler

Reference to target Agones fleet autoscaling policy.

Returns
TypeDescription
Google\Cloud\Gaming\V1\TargetDetails\TargetFleetDetails\TargetFleetAutoscaler|null

hasAutoscaler

clearAutoscaler

setAutoscaler

Reference to target Agones fleet autoscaling policy.

Parameter
NameDescription
var Google\Cloud\Gaming\V1\TargetDetails\TargetFleetDetails\TargetFleetAutoscaler
Returns
TypeDescription
$this