Class: Google::Apis::GameservicesV1beta::DeployedClusterState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/gameservices_v1beta/classes.rb,
generated/google/apis/gameservices_v1beta/representations.rb,
generated/google/apis/gameservices_v1beta/representations.rb

Overview

The game server cluster changes made by the game server deployment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeployedClusterState

Returns a new instance of DeployedClusterState.



391
392
393
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 391

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

Instance Attribute Details

#clusterString

The name of the cluster. Corresponds to the JSON property cluster

Returns:

  • (String)


383
384
385
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 383

def cluster
  @cluster
end

#fleet_detailsArray<Google::Apis::GameservicesV1beta::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_v1beta/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_v1beta/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