Method: projects.triggers.list

Lists existing BuildTriggers.

This API is experimental.

HTTP request

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

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
projectId

string

ID of the project for which to list BuildTriggers.

Request body

The request body must be empty.

Response body

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

Response containing existing BuildTriggers.

JSON representation
{
  "triggers": [
    {
      object(BuildTrigger)
    }
  ],
}
Fields
triggers[]

object(BuildTrigger)

BuildTriggers for the project, sorted by createTime descending.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Auth Guide.

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Container Builder