Class: Google::Apis::GameservicesV1::FetchDeploymentStateResponse
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::FetchDeploymentStateResponse
- 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
-
#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.
634 635 636 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 634 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
627 628 629 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 627 def cluster_state @cluster_state end |
#unavailable ⇒ Array<String>
List of locations that could not be reached.
Corresponds to the JSON property unavailable
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 |