triggers.webhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
HTTP request
POST https://cloudbuild.googleapis.com/v1/{name=projects/*/locations/*/triggers/*}:webhook
The URL uses gRPC Transcoding syntax.
Path parameters
name
string
The name of the triggers.webhook
to retrieve. Format: projects/{project}/locations/{location}/triggers/{trigger}
Authorization requires the following IAM
permission on the specified resource name
:
-
cloudbuild.builds.create
Query parameters
| Parameters | |
|---|---|
projectId
|
Project in which the specified trigger lives |
trigger
|
Name of the trigger to run the payload against |
secret
|
Secret token used for authorization if an OAuth token isn't provided. |
Request body
The request body contains an instance of HttpBody
.
Response body
If successful, the response body is empty.

