Reference documentation and code samples for the Google Cloud Build V1 Client class ReceiveTriggerWebhookRequest.
ReceiveTriggerWebhookRequest [Experimental] is the request object accepted by the ReceiveTriggerWebhook method.
Generated from protobuf message google.devtools.cloudbuild.v1.ReceiveTriggerWebhookRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ body
↳ project_id
string
Project in which the specified trigger lives
↳ trigger
string
Name of the trigger to run the payload against
↳ secret
string
Secret token used for authorization if an OAuth token isn't provided.
getBody
HTTP request body.
hasBody
clearBody
setBody
HTTP request body.
$this
getProjectId
Project in which the specified trigger lives
string
setProjectId
Project in which the specified trigger lives
var
string
$this
getTrigger
Name of the trigger to run the payload against
string
setTrigger
Name of the trigger to run the payload against
var
string
$this
getSecret
Secret token used for authorization if an OAuth token isn't provided.
string
setSecret
Secret token used for authorization if an OAuth token isn't provided.
var
string
$this