Class: Google::Cloud::Gaming::V1::ScalingConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gaming/v1/game_server_configs.rb

Overview

Autoscaling config for an Agones fleet.

Instance Attribute Summary collapse

Instance Attribute Details

#fleet_autoscaler_spec::String

Returns Required. Agones fleet autoscaler spec. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/.

Returns:



119
120
121
122
# File 'proto_docs/google/cloud/gaming/v1/game_server_configs.rb', line 119

class ScalingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Required. The name of the Scaling Config.

Returns:

  • (::String)

    Required. The name of the Scaling Config



119
120
121
122
# File 'proto_docs/google/cloud/gaming/v1/game_server_configs.rb', line 119

class ScalingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#schedules::Array<::Google::Cloud::Gaming::V1::Schedule>

Returns The schedules to which this Scaling Config applies.

Returns:



119
120
121
122
# File 'proto_docs/google/cloud/gaming/v1/game_server_configs.rb', line 119

class ScalingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#selectors::Array<::Google::Cloud::Gaming::V1::LabelSelector>

Returns 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.



119
120
121
122
# File 'proto_docs/google/cloud/gaming/v1/game_server_configs.rb', line 119

class ScalingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end