- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Returns information about a BuildTrigger
.
HTTP request
GET https://cloudbuild.googleapis.com/v1/{name=projects/*/locations/*/triggers/*}
The URL uses gRPC Transcoding syntax.
Path parameters
name
string
The name of the Trigger
to retrieve. Format: projects/{project}/locations/{location}/triggers/{trigger}
Authorization requires the following IAM
permission on the specified resource name
:
-
cloudbuild.builds.get
Query parameters
| Parameters | |
|---|---|
projectId
|
Required. ID of the project that owns the trigger. |
triggerId
|
Required. Identifier ( |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of BuildTrigger
.
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .

