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

Inherits:
Object
  • Object
show all
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

Response message for GameServerDeploymentsService.FetchDeploymentState.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchDeploymentStateResponse

Returns a new instance of FetchDeploymentStateResponse.



634
635
636
# File 'generated/google/apis/gameservices_v1/classes.rb', line 634

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



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

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>)


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

def unavailable
  @unavailable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



639
640
641
642
# File 'generated/google/apis/gameservices_v1/classes.rb', line 639

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