Reference documentation and code samples for the Google Cloud Game Servers V1 Client class ScalingConfig.
Autoscaling config for an Agones fleet.
Generated from protobuf message google.cloud.gaming.v1.ScalingConfig
Namespace
Google \ Cloud \ Gaming \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the Scaling Config
↳ fleet_autoscaler_spec
string
Required. Agones fleet autoscaler spec. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/
↳ selectors
array< Google\Cloud\Gaming\V1\LabelSelector
>
Labels used to identify the game server clusters to which this Agones scaling config applies. A game server cluster is subject to this Agones scaling config if its labels match any of the selector entries.
↳ schedules
getName
Required. The name of the Scaling Config
string
setName
Required. The name of the Scaling Config
var
string
$this
getFleetAutoscalerSpec
Required. Agones fleet autoscaler spec. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/
string
setFleetAutoscalerSpec
Required. Agones fleet autoscaler spec. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/
var
string
$this
getSelectors
Labels used to identify the game server clusters to which this Agones scaling config applies. A game server cluster is subject to this Agones scaling config if its labels match any of the selector entries.
setSelectors
Labels used to identify the game server clusters to which this Agones scaling config applies. A game server cluster is subject to this Agones scaling config if its labels match any of the selector entries.
$this
getSchedules
The schedules to which this Scaling Config applies.
setSchedules
The schedules to which this Scaling Config applies.
$this