Class: Google::Apis::GameservicesV1::ListGameServerDeploymentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::ListGameServerDeploymentsResponse
- 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.ListGameServerDeployments.
Instance Attribute Summary collapse
-
#game_server_deployments ⇒ Array<Google::Apis::GameservicesV1::GameServerDeployment>
The list of game server deployments.
-
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more results in the list.
-
#unreachable ⇒ Array<String>
List of locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListGameServerDeploymentsResponse
constructor
A new instance of ListGameServerDeploymentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListGameServerDeploymentsResponse
Returns a new instance of ListGameServerDeploymentsResponse.
1133 1134 1135 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1133 def initialize(**args) update!(**args) end |
Instance Attribute Details
#game_server_deployments ⇒ Array<Google::Apis::GameservicesV1::GameServerDeployment>
The list of game server deployments.
Corresponds to the JSON property gameServerDeployments
1120 1121 1122 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1120 def game_server_deployments @game_server_deployments end |
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more
results in the list.
Corresponds to the JSON property nextPageToken
1126 1127 1128 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1126 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
List of locations that could not be reached.
Corresponds to the JSON property unreachable
1131 1132 1133 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1131 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1138 1139 1140 1141 1142 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1138 def update!(**args) @game_server_deployments = args[:game_server_deployments] if args.key?(:game_server_deployments) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) end |