WebhookConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes
Name | Description |
secret |
str
Required. Resource name for the secret required as a URL parameter. This field is a member of oneof _ auth_method .
|
state |
google.cloud.devtools.cloudbuild_v1.types.WebhookConfig.State
Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests. |
Classes
State
State(value)
Enumerates potential issues with the Secret Manager secret provided by the user.
Values: STATE_UNSPECIFIED (0): The webhook auth configuration not been checked. OK (1): The auth configuration is properly setup. SECRET_DELETED (2): The secret provided in auth_method has been deleted.