Reference documentation and code samples for the Google Cloud Game Servers V1 Client class DeployedFleetAutoscaler.
Details about the Agones autoscaler.
Generated from protobuf message google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ autoscaler |
string
The name of the Agones autoscaler. |
↳ spec_source |
Google\Cloud\Gaming\V1\SpecSource
The source spec that is used to create the autoscaler. The GameServerConfig resource may no longer exist in the system. |
↳ fleet_autoscaler_spec |
string
The autoscaler spec retrieved from Agones. |
getAutoscaler
The name of the Agones autoscaler.
Returns | |
---|---|
Type | Description |
string |
setAutoscaler
The name of the Agones autoscaler.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSpecSource
The source spec that is used to create the autoscaler.
The GameServerConfig resource may no longer exist in the system.
Returns | |
---|---|
Type | Description |
Google\Cloud\Gaming\V1\SpecSource|null |
hasSpecSource
clearSpecSource
setSpecSource
The source spec that is used to create the autoscaler.
The GameServerConfig resource may no longer exist in the system.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Gaming\V1\SpecSource
|
Returns | |
---|---|
Type | Description |
$this |
getFleetAutoscalerSpec
The autoscaler spec retrieved from Agones.
Returns | |
---|---|
Type | Description |
string |
setFleetAutoscalerSpec
The autoscaler spec retrieved from Agones.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |