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.



1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1878

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:



1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1878

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