Method: projects.locations.gameServerDeployments.list

Lists game server deployments in a given project and location.

HTTP request

GET https://gameservices.googleapis.com/v1/{parent=projects/*/locations/*}/gameServerDeployments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource name, in the following form: projects/{project}/locations/{locationId}.

Query parameters

Parameters
pageSize

integer

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 the response's nextPageToken to determine if there are more GameServerDeployments left to be queried.

pageToken

string

Optional. The nextPageToken value returned from a previous list request, if any.

filter

string

Optional. The filter to apply to list results (see Filtering).

orderBy

string

Optional. Specifies the ordering of results following Cloud API syntax.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for GameServerDeploymentsService.ListGameServerDeployments.

JSON representation
{
  "gameServerDeployments": [
    {
      object (GameServerDeployment)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
gameServerDeployments[]

object (GameServerDeployment)

The list of game server deployments.

nextPageToken

string

Token to retrieve the next page of results, or empty if there are no more results in the list.

unreachable[]

string

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.