Method: projects.locations.enrollments.list

List Enrollments.

HTTP request

GET https://eventarc.googleapis.com/v1/{parent=projects/*/locations/*}/enrollments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent collection to list triggers on.

Authorization requires the following IAM permission on the specified resource parent:

  • eventarc.enrollments.list

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of results to return on each page.

Note: The service may send fewer.

pageToken

string

Optional. The page token; provide the value from the nextPageToken field in a previous call to retrieve the subsequent page.

When paginating, all other parameters provided must match the previous call that provided the page token.

orderBy

string

Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a desc suffix; for example: name desc, updateTime.

filter

string

Optional. The filter field that the list request will filter on. Possible filtersare described in https://google.aip.dev/160.

Request body

The request body must be empty.

Response body

The response message for the enrollments.list method.

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

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

object (Enrollment)

The requested Enrollments, up to the number specified in pageSize.

nextPageToken

string

A page token that can be sent to enrollments.list to request the next page. If this is empty, then there are no more pages.

unreachable[]

string

Unreachable resources, if any.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.