Method: projects.triggers.list

Stay organized with collections Save and categorize content based on your preferences.

Lists existing BuildTriggers.

This API is experimental.

HTTP request

GET https://cloudbuild.googleapis.com/v1/projects/{projectId}/triggers

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId

string

Required. ID of the project for which to list BuildTriggers.

Query parameters

Parameters
parent

string

The parent of the collection of Triggers. Format: projects/{project}/locations/{location}

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

  • cloudbuild.builds.list
pageSize

integer

Number of results to return in the list.

pageToken

string

Token to provide to skip to a particular spot in the list.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListBuildTriggersResponse.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.