- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
List message bus enrollments.
HTTP request
GET https://eventarc.googleapis.com/v1/{parent=projects/*/locations/*/messageBuses/*}:listEnrollments
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent message bus to list enrollments on. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
page |
Optional. The maximum number of results to return on each page. Note: The service may send fewer. |
page |
Optional. The page token; provide the value from the When paginating, all other parameters provided must match the previous call that provided the page token. |
Request body
The request body must be empty.
Response body
The response message for the messageBuses.listEnrollments
method.`
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "enrollments": [ string ], "nextPageToken": string, "unreachable": [ string ] } |
Fields | |
---|---|
enrollments[] |
The requested enrollments, up to the number specified in |
next |
A page token that can be sent to |
unreachable[] |
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.