Class: Google::Apis::GameservicesV1::TargetFleetDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/gameservices_v1/classes.rb,
generated/google/apis/gameservices_v1/representations.rb,
generated/google/apis/gameservices_v1/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.



2111
2112
2113
# File 'generated/google/apis/gameservices_v1/classes.rb', line 2111

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

Instance Attribute Details

#autoscalerGoogle::Apis::GameservicesV1::TargetFleetAutoscaler

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



2104
2105
2106
# File 'generated/google/apis/gameservices_v1/classes.rb', line 2104

def autoscaler
  @autoscaler
end

#fleetGoogle::Apis::GameservicesV1::TargetFleet

Target Agones fleet specification. Corresponds to the JSON property fleet



2109
2110
2111
# File 'generated/google/apis/gameservices_v1/classes.rb', line 2109

def fleet
  @fleet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2116
2117
2118
2119
# File 'generated/google/apis/gameservices_v1/classes.rb', line 2116

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