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

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
NameDescription
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
TypeDescription
string

setAutoscaler

The name of the Agones autoscaler.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSpecSource

The source spec that is used to create the autoscaler.

The GameServerConfig resource may no longer exist in the system.

Returns
TypeDescription
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
NameDescription
var Google\Cloud\Gaming\V1\SpecSource
Returns
TypeDescription
$this

getFleetAutoscalerSpec

The autoscaler spec retrieved from Agones.

Returns
TypeDescription
string

setFleetAutoscalerSpec

The autoscaler spec retrieved from Agones.

Parameter
NameDescription
var string
Returns
TypeDescription
$this