class Google::Apis::CloudbuildV1::WebhookConfig
WebhookConfig
describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
Attributes
secret[RW]
Required. Resource name for the secret required as a URL parameter. Corresponds to the JSON property `secret` @return [String]
state[RW]
Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests. Corresponds to the JSON property `state` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudbuild_v1/classes.rb, line 2986 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudbuild_v1/classes.rb, line 2991 def update!(**args) @secret = args[:secret] if args.key?(:secret) @state = args[:state] if args.key?(:state) end