class Google::Apis::CloudbuildV1::NotifierSpec

NotifierSpec is the configuration container for notifications.

Attributes

notification[RW]

Notification is the container which holds the data that is relevant to this particular notification. Corresponds to the JSON property `notification` @return [Google::Apis::CloudbuildV1::Notification]

secrets[RW]

Configurations for secret resources used by this particular notifier. Corresponds to the JSON property `secrets` @return [Array<Google::Apis::CloudbuildV1::NotifierSecret>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudbuild_v1/classes.rb, line 1954
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 1959
def update!(**args)
  @notification = args[:notification] if args.key?(:notification)
  @secrets = args[:secrets] if args.key?(:secrets)
end