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 \ TargetDetailsMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\Gaming\V1\TargetDetails\TargetFleetDetails\TargetFleet|null |
hasFleet
clearFleet
setFleet
Reference to target Agones fleet.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Gaming\V1\TargetDetails\TargetFleetDetails\TargetFleet
|
Returns | |
---|---|
Type | Description |
$this |
getAutoscaler
Reference to target Agones fleet autoscaling policy.
Returns | |
---|---|
Type | Description |
Google\Cloud\Gaming\V1\TargetDetails\TargetFleetDetails\TargetFleetAutoscaler|null |
hasAutoscaler
clearAutoscaler
setAutoscaler
Reference to target Agones fleet autoscaling policy.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Gaming\V1\TargetDetails\TargetFleetDetails\TargetFleetAutoscaler
|
Returns | |
---|---|
Type | Description |
$this |