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/projects/{projectId}/triggers/{trigger}:webhook
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
projectId
|
Project in which the specified trigger lives |
trigger
|
Name of the trigger to run the payload against |
Query 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
secret
string
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.

