CloudbuildTriggerWebhookConfig class

webhook_config block. Fires a build whenever an HTTP request is sent to the trigger's webhook URL with a matching secret. Pair with GoogleCloudbuildTrigger.filter to scope payloads.

Annotations
  • @immutable

Constructors

CloudbuildTriggerWebhookConfig({required TfArg<String> secret})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret → TfArg<String>
Resource name of the Secret Manager secret holding the URL signing token. Format: 'projects/{project}/secrets/{secret}/versions/{version}'. Callers attaching the trigger to a webhook must supply the secret's plaintext value in the request as a query string parameter named secret.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toArgMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited