Class: Google::Apis::GameservicesV1::DeployedClusterState

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

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.



385
386
387
# File 'lib/google/apis/gameservices_v1/classes.rb', line 385

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

Instance Attribute Details

#clusterString

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

Returns:

  • (String)


377
378
379
# File 'lib/google/apis/gameservices_v1/classes.rb', line 377

def cluster
  @cluster
end

#fleet_detailsArray<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