Method: projects.locations.apps.deployments.list

Lists deployments in the given app.

HTTP request

GET https://ces.googleapis.com/v1beta/{parent=projects/*/locations/*/apps/*}/deployments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent app. Format: projects/{project}/locations/{location}/apps/{app}

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of deployments to return. The service may return fewer than this value. If unspecified, at most 50 deployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

pageToken

string

Optional. A page token, received from a previous deployments.list call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to deployments.list must match the call that provided the page token.

orderBy

string

Optional. Field to sort by. Only "name" and "createTime" is supported. See https://google.aip.dev/132#ordering for more details.

Request body

The request body must be empty.

Response body

Response message for AgentService.ListDeployments.

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

JSON representation
{
  "deployments": [
    {
      object (Deployment)
    }
  ],
  "nextPageToken": string
}
Fields
deployments[]

object (Deployment)

The list of deployments.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • ces.deployments.list

For more information, see the IAM documentation.