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
Parameters | |
---|---|
name |
The name of the Authorization requires the following IAM permission on the specified resource
|
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.