Class: Google::Apis::GameservicesV1::FetchDeploymentStateResponse

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

Response message for GameServerDeploymentsService.FetchDeploymentState.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchDeploymentStateResponse

Returns a new instance of FetchDeploymentStateResponse.



627
628
629
# File 'lib/google/apis/gameservices_v1/classes.rb', line 627

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

Instance Attribute Details

#cluster_stateArray<Google::Apis::GameservicesV1::DeployedClusterState>

The state of the game server deployment in each game server cluster. Corresponds to the JSON property clusterState



620
621
622
# File 'lib/google/apis/gameservices_v1/classes.rb', line 620

def cluster_state
  @cluster_state
end

#unavailableArray<String>

List of locations that could not be reached. Corresponds to the JSON property unavailable

Returns:

  • (Array<String>)


625
626
627
# File 'lib/google/apis/gameservices_v1/classes.rb', line 625

def unavailable
  @unavailable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



632
633
634
635
# File 'lib/google/apis/gameservices_v1/classes.rb', line 632

def update!(**args)
  @cluster_state = args[:cluster_state] if args.key?(:cluster_state)
  @unavailable = args[:unavailable] if args.key?(:unavailable)
end