Class: Google::Apis::GameservicesV1::TargetFleetDetails
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::TargetFleetDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gameservices_v1/classes.rb,
lib/google/apis/gameservices_v1/representations.rb,
lib/google/apis/gameservices_v1/representations.rb
Overview
Details of the target Agones fleet.
Instance Attribute Summary collapse
-
#autoscaler ⇒ Google::Apis::GameservicesV1::TargetFleetAutoscaler
Target Agones autoscaler policy reference.
-
#fleet ⇒ Google::Apis::GameservicesV1::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.
2172 2173 2174 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 2172 def initialize(**args) update!(**args) end |
Instance Attribute Details
#autoscaler ⇒ Google::Apis::GameservicesV1::TargetFleetAutoscaler
Target Agones autoscaler policy reference.
Corresponds to the JSON property autoscaler
2165 2166 2167 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 2165 def autoscaler @autoscaler end |
#fleet ⇒ Google::Apis::GameservicesV1::TargetFleet
Target Agones fleet specification.
Corresponds to the JSON property fleet
2170 2171 2172 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 2170 def fleet @fleet end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2177 2178 2179 2180 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 2177 def update!(**args) @autoscaler = args[:autoscaler] if args.key?(:autoscaler) @fleet = args[:fleet] if args.key?(:fleet) end |