Google Cloud Game Servers V1 Client - Class TargetFleetAutoscaler (1.2.3)

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

Target Agones autoscaler policy reference.

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

Namespace

Google \ Cloud \ Gaming \ V1 \ TargetDetails \ TargetFleetDetails

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The name of the Agones autoscaler.

↳ spec_source Google\Cloud\Gaming\V1\SpecSource

Encapsulates the source of the Agones fleet spec. Details about the Agones autoscaler spec.

getName

The name of the Agones autoscaler.

Returns
TypeDescription
string

setName

The name of the Agones autoscaler.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSpecSource

Encapsulates the source of the Agones fleet spec.

Details about the Agones autoscaler spec.

Returns
TypeDescription
Google\Cloud\Gaming\V1\SpecSource|null

hasSpecSource

clearSpecSource

setSpecSource

Encapsulates the source of the Agones fleet spec.

Details about the Agones autoscaler spec.

Parameter
NameDescription
var Google\Cloud\Gaming\V1\SpecSource
Returns
TypeDescription
$this