Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::WebhookConfig.
WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#secret
def secret() -> ::String Returns 
 - (::String) — Required. Resource name for the secret required as a URL parameter.
#secret=
def secret=(value) -> ::String Parameter 
 - value (::String) — Required. Resource name for the secret required as a URL parameter.
 Returns 
 - (::String) — Required. Resource name for the secret required as a URL parameter.
#state
def state() -> ::Google::Cloud::Build::V1::WebhookConfig::State Returns 
 - (::Google::Cloud::Build::V1::WebhookConfig::State) — Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
#state=
def state=(value) -> ::Google::Cloud::Build::V1::WebhookConfig::State Parameter 
 - value (::Google::Cloud::Build::V1::WebhookConfig::State) — Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
 Returns 
 - (::Google::Cloud::Build::V1::WebhookConfig::State) — Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.