Class: Google::Cloud::Gaming::V1::ScalingConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Gaming::V1::ScalingConfig
- 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
-
#fleet_autoscaler_spec ⇒ ::String
Required.
-
#name ⇒ ::String
Required.
-
#schedules ⇒ ::Array<::Google::Cloud::Gaming::V1::Schedule>
The schedules to which this Scaling Config applies.
-
#selectors ⇒ ::Array<::Google::Cloud::Gaming::V1::LabelSelector>
Labels used to identify the game server clusters to which this Agones scaling config applies.
Instance Attribute Details
#fleet_autoscaler_spec ⇒ ::String
Returns Required. Agones fleet autoscaler spec. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/.
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.
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.
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.
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 |