Class: Google::Apis::GameservicesV1beta::TargetFleetDetails
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1beta::TargetFleetDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gameservices_v1beta/classes.rb,
lib/google/apis/gameservices_v1beta/representations.rb,
lib/google/apis/gameservices_v1beta/representations.rb
Overview
Details of the target Agones fleet.
Instance Attribute Summary collapse
-
#autoscaler ⇒ Google::Apis::GameservicesV1beta::TargetFleetAutoscaler
Target Agones autoscaler policy reference.
-
#fleet ⇒ Google::Apis::GameservicesV1beta::TargetFleet
Target Agones fleet specification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetFleetDetails
constructor
A new instance of TargetFleetDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TargetFleetDetails
Returns a new instance of TargetFleetDetails.
2152 2153 2154 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 2152 def initialize(**args) update!(**args) end |
Instance Attribute Details
#autoscaler ⇒ Google::Apis::GameservicesV1beta::TargetFleetAutoscaler
Target Agones autoscaler policy reference.
Corresponds to the JSON property autoscaler
2145 2146 2147 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 2145 def autoscaler @autoscaler end |
#fleet ⇒ Google::Apis::GameservicesV1beta::TargetFleet
Target Agones fleet specification.
Corresponds to the JSON property fleet
2150 2151 2152 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 2150 def fleet @fleet end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2157 2158 2159 2160 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 2157 def update!(**args) @autoscaler = args[:autoscaler] if args.key?(:autoscaler) @fleet = args[:fleet] if args.key?(:fleet) end |