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