Class: Google::Apis::CloudbuildV1beta1::SlackDelivery

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudbuild_v1beta1/classes.rb,
lib/google/apis/cloudbuild_v1beta1/representations.rb,
lib/google/apis/cloudbuild_v1beta1/representations.rb

Overview

SlackDelivery is the delivery configuration for delivering Slack messages via webhooks. See Slack webhook documentation at: https://api.slack.com/messaging/ webhooks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SlackDelivery

Returns a new instance of SlackDelivery.



2413
2414
2415
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 2413

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#webhook_uriGoogle::Apis::CloudbuildV1beta1::NotifierSecretRef

NotifierSecretRef contains the reference to a secret stored in the corresponding NotifierSpec. Corresponds to the JSON property webhookUri



2411
2412
2413
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 2411

def webhook_uri
  @webhook_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2418
2419
2420
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 2418

def update!(**args)
  @webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
end