Cloud Build V1 API - Class Google::Cloud::Build::V1::WebhookConfig (v0.23.0)

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

#state=

def state=(value) -> ::Google::Cloud::Build::V1::WebhookConfig::State
Parameter
Returns