Class: Google::Apis::GameservicesV1beta::TargetFleetDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetFleetDetails

Returns a new instance of TargetFleetDetails.



2173
2174
2175
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 2173

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#autoscalerGoogle::Apis::GameservicesV1beta::TargetFleetAutoscaler

Target Agones autoscaler policy reference. Corresponds to the JSON property autoscaler



2166
2167
2168
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 2166

def autoscaler
  @autoscaler
end

#fleetGoogle::Apis::GameservicesV1beta::TargetFleet

Target Agones fleet specification. Corresponds to the JSON property fleet



2171
2172
2173
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 2171

def fleet
  @fleet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2178
2179
2180
2181
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 2178

def update!(**args)
  @autoscaler = args[:autoscaler] if args.key?(:autoscaler)
  @fleet = args[:fleet] if args.key?(:fleet)
end