Cloud Gaming V1 API - Class Google::Cloud::Gaming::V1::ScalingConfig (v0.6.0)

Reference documentation and code samples for the Cloud Gaming V1 API class Google::Cloud::Gaming::V1::ScalingConfig.

Autoscaling config for an Agones fleet.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#fleet_autoscaler_spec

def fleet_autoscaler_spec() -> ::String
Returns
  • (::String) — Required. Agones fleet autoscaler spec. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/

#fleet_autoscaler_spec=

def fleet_autoscaler_spec=(value) -> ::String
Parameter
  • value (::String) — Required. Agones fleet autoscaler spec. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/
Returns
  • (::String) — Required. Agones fleet autoscaler spec. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the Scaling Config

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the Scaling Config
Returns
  • (::String) — Required. The name of the Scaling Config

#schedules

def schedules() -> ::Array<::Google::Cloud::Gaming::V1::Schedule>
Returns

#schedules=

def schedules=(value) -> ::Array<::Google::Cloud::Gaming::V1::Schedule>
Parameter
Returns

#selectors

def selectors() -> ::Array<::Google::Cloud::Gaming::V1::LabelSelector>
Returns
  • (::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.

#selectors=

def selectors=(value) -> ::Array<::Google::Cloud::Gaming::V1::LabelSelector>
Parameter
  • value (::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.
Returns
  • (::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.