Class: Google::Apis::GameservicesV1::DeployedFleet
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::DeployedFleet
- 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
Agones fleet specification and details.
Instance Attribute Summary collapse
-
#fleet ⇒ String
The name of the Agones fleet.
-
#fleet_spec ⇒ String
The fleet spec retrieved from the Agones fleet.
-
#spec_source ⇒ Google::Apis::GameservicesV1::SpecSource
Encapsulates Agones fleet spec and Agones autoscaler spec sources.
-
#status ⇒ Google::Apis::GameservicesV1::DeployedFleetStatus
DeployedFleetStatus has details about the Agones fleets such as how many are running, how many allocated, and so on.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeployedFleet
constructor
A new instance of DeployedFleet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeployedFleet
Returns a new instance of DeployedFleet.
427 428 429 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 427 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fleet ⇒ String
The name of the Agones fleet.
Corresponds to the JSON property fleet
409 410 411 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 409 def fleet @fleet end |
#fleet_spec ⇒ String
The fleet spec retrieved from the Agones fleet.
Corresponds to the JSON property fleetSpec
414 415 416 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 414 def fleet_spec @fleet_spec end |
#spec_source ⇒ Google::Apis::GameservicesV1::SpecSource
Encapsulates Agones fleet spec and Agones autoscaler spec sources.
Corresponds to the JSON property specSource
419 420 421 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 419 def spec_source @spec_source end |
#status ⇒ Google::Apis::GameservicesV1::DeployedFleetStatus
DeployedFleetStatus has details about the Agones fleets such as how many are
running, how many allocated, and so on.
Corresponds to the JSON property status
425 426 427 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 425 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
432 433 434 435 436 437 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 432 def update!(**args) @fleet = args[:fleet] if args.key?(:fleet) @fleet_spec = args[:fleet_spec] if args.key?(:fleet_spec) @spec_source = args[:spec_source] if args.key?(:spec_source) @status = args[:status] if args.key?(:status) end |