Class: Google::Apis::GameservicesV1::DeployedClusterState
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::DeployedClusterState
- 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
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.
391 392 393 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 391 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster ⇒ String
The name of the cluster.
Corresponds to the JSON property cluster
383 384 385 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 383 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
389 390 391 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 389 def fleet_details @fleet_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
396 397 398 399 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 396 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) @fleet_details = args[:fleet_details] if args.key?(:fleet_details) end |