Reference documentation and code samples for the Google Cloud Build V1 Client class WebhookConfig.
WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
Generated from protobuf message google.devtools.cloudbuild.v1.WebhookConfig
Namespace
Google \ Cloud \ Build \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ secret
string
Required. Resource name for the secret required as a URL parameter.
↳ state
int
Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
getSecret
Required. Resource name for the secret required as a URL parameter.
string
hasSecret
setSecret
Required. Resource name for the secret required as a URL parameter.
var
string
$this
getState
Potential issues with the underlying Pub/Sub subscription configuration.
Only populated on get requests.
int
setState
Potential issues with the underlying Pub/Sub subscription configuration.
Only populated on get requests.
var
int
$this
getAuthMethod
string