- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Lists game server clusters in a given project and location.
HTTP request
GET https://gameservices.googleapis.com/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource name, in the following form: |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of items to return. If unspecified, the server picks an appropriate default. The server may return fewer items than requested. A caller should only rely on response's |
pageToken |
Optional. The |
filter |
Optional. The filter to apply to list results (see Filtering). |
orderBy |
Optional. Specifies the ordering of results following Cloud API syntax. |
view |
Optional. View for the returned GameServerCluster objects. When |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response message for GameServerClustersService.ListGameServerClusters.
JSON representation |
---|
{
"gameServerClusters": [
{
object ( |
Fields | |
---|---|
gameServerClusters[] |
The list of game server clusters. |
nextPageToken |
Token to retrieve the next page of results, or empty if there are no more results in the list. |
unreachable[] |
List of locations that could not be reached. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.