Class: Google::Apis::GameservicesV1::DeployedFleetDetails

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 deployed Agones fleet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeployedFleetDetails

Returns a new instance of DeployedFleetDetails.



485
486
487
# File 'generated/google/apis/gameservices_v1/classes.rb', line 485

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

Instance Attribute Details

#deployed_autoscalerGoogle::Apis::GameservicesV1::DeployedFleetAutoscaler

Details about the Agones autoscaler. Corresponds to the JSON property deployedAutoscaler



478
479
480
# File 'generated/google/apis/gameservices_v1/classes.rb', line 478

def deployed_autoscaler
  @deployed_autoscaler
end

#deployed_fleetGoogle::Apis::GameservicesV1::DeployedFleet

Agones fleet specification and details. Corresponds to the JSON property deployedFleet



483
484
485
# File 'generated/google/apis/gameservices_v1/classes.rb', line 483

def deployed_fleet
  @deployed_fleet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



490
491
492
493
# File 'generated/google/apis/gameservices_v1/classes.rb', line 490

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