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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-13 UTC."],[[["\u003cp\u003eThis document describes how to list enrollments using a \u003ccode\u003eGET\u003c/code\u003e request to the Eventarc API endpoint: \u003ccode\u003ehttps://eventarc.googleapis.com/v1/{parent=projects/*/locations/*}/enrollments\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe required \u003ccode\u003eparent\u003c/code\u003e path parameter specifies the project and location to list enrollments from, and it also needs the \u003ccode\u003eeventarc.enrollments.list\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters like \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, \u003ccode\u003eorderBy\u003c/code\u003e, and \u003ccode\u003efilter\u003c/code\u003e can be used to refine the list results.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty, as indicated in the provided documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe response body, if successful, will include a JSON structure with a list of enrollments, a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination, and a list of \u003ccode\u003eunreachable\u003c/code\u003e resources, if any.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.enrollments.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListEnrollmentsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nList Enrollments.\n\n### HTTP request\n\n`GET https://eventarc.googleapis.com/v1/{parent=projects/*/locations/*}/enrollments`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response message for the `enrollments.list` method.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]