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

Inherits:
Object
  • Object
show all
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 deployed Agones fleet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeployedFleetDetails

Returns a new instance of DeployedFleetDetails.



479
480
481
# File 'lib/google/apis/gameservices_v1/classes.rb', line 479

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



472
473
474
# File 'lib/google/apis/gameservices_v1/classes.rb', line 472

def deployed_autoscaler
  @deployed_autoscaler
end

#deployed_fleetGoogle::Apis::GameservicesV1::DeployedFleet

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



477
478
479
# File 'lib/google/apis/gameservices_v1/classes.rb', line 477

def deployed_fleet
  @deployed_fleet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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