Class: Google::Apis::GameservicesV1::DeployedClusterState
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::DeployedClusterState
- 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
The game server cluster changes made by the game server deployment.
Instance Attribute Summary collapse
-
#cluster ⇒ String
The name of the cluster.
-
#fleet_details ⇒ Array<Google::Apis::GameservicesV1::DeployedFleetDetails>
The details about the Agones fleets and autoscalers created in the game server cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeployedClusterState
constructor
A new instance of DeployedClusterState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeployedClusterState
Returns a new instance of DeployedClusterState.
385 386 387 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster ⇒ String
The name of the cluster.
Corresponds to the JSON property cluster
377 378 379 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 377 def cluster @cluster end |
#fleet_details ⇒ Array<Google::Apis::GameservicesV1::DeployedFleetDetails>
The details about the Agones fleets and autoscalers created in the game server
cluster.
Corresponds to the JSON property fleetDetails
383 384 385 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 383 def fleet_details @fleet_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
390 391 392 393 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 390 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) @fleet_details = args[:fleet_details] if args.key?(:fleet_details) end |