Method: projects.locations.triggers.list

List triggers.

HTTP request

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

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.triggers.list

Query parameters

Parameters
pageSize

integer

The maximum number of triggers to return on each page.

Note: The service may send fewer.

pageToken

string

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

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

orderBy

string

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, triggerId.

filter

string

Filter field. Used to filter the Triggers to be listed. Possible filters are described in https://google.aip.dev/160. For example, using "?filter=destination:gke" would list only Triggers with a gke destination.

Request body

The request body must be empty.

Response body

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

The response message for the triggers.list method.

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

object (Trigger)

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

nextPageToken

string

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