Method: projects.locations.messageBuses.listEnrollments

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

string

Required. The parent message bus to list enrollments on.

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

  • eventarc.messageBuses.get

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.

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[]

string

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

nextPageToken

string

A page token that can be sent to messageBuses.listEnrollments 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.