Class: Google::Apis::GameservicesV1::ListGameServerClustersResponse
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::ListGameServerClustersResponse
- 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 GameServerClustersService.ListGameServerClusters.
Instance Attribute Summary collapse
-
#game_server_clusters ⇒ Array<Google::Apis::GameservicesV1::GameServerCluster>
The list of game server clusters.
-
#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) ⇒ ListGameServerClustersResponse
constructor
A new instance of ListGameServerClustersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListGameServerClustersResponse
Returns a new instance of ListGameServerClustersResponse.
1069 1070 1071 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1069 def initialize(**args) update!(**args) end |
Instance Attribute Details
#game_server_clusters ⇒ Array<Google::Apis::GameservicesV1::GameServerCluster>
The list of game server clusters.
Corresponds to the JSON property gameServerClusters
1056 1057 1058 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1056 def game_server_clusters @game_server_clusters 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
1062 1063 1064 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1062 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
1067 1068 1069 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1067 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1074 1075 1076 1077 1078 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1074 def update!(**args) @game_server_clusters = args[:game_server_clusters] if args.key?(:game_server_clusters) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) end |