Class: Google::Apis::GameservicesV1::FetchDeploymentStateResponse
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::FetchDeploymentStateResponse
- 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
-
#cluster_state ⇒ Array<Google::Apis::GameservicesV1::DeployedClusterState>
The state of the game server deployment in each game server cluster.
-
#unavailable ⇒ Array<String>
List of locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FetchDeploymentStateResponse
constructor
A new instance of FetchDeploymentStateResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_state ⇒ Array<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 |
#unavailable ⇒ Array<String>
List of locations that could not be reached.
Corresponds to the JSON property unavailable
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 |