Class: Google::Cloud::Build::V1::WebhookConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb

Overview

WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#secret::String

Returns Required. Resource name for the secret required as a URL parameter.

Returns:

  • (::String)

    Required. Resource name for the secret required as a URL parameter.



1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1609

class WebhookConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enumerates potential issues with the Secret Manager secret provided by the
  # user.
  module State
    # The webhook auth configuration not been checked.
    STATE_UNSPECIFIED = 0

    # The auth configuration is properly setup.
    OK = 1

    # The secret provided in auth_method has been deleted.
    SECRET_DELETED = 2
  end
end

#state::Google::Cloud::Build::V1::WebhookConfig::State

Returns Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

Returns:



1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1609

class WebhookConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enumerates potential issues with the Secret Manager secret provided by the
  # user.
  module State
    # The webhook auth configuration not been checked.
    STATE_UNSPECIFIED = 0

    # The auth configuration is properly setup.
    OK = 1

    # The secret provided in auth_method has been deleted.
    SECRET_DELETED = 2
  end
end