class Google::Apis::CloudbuildV1beta1::NotifierConfig

NotifierConfig is the top-level configuration message.

Attributes

api_version[RW]

The API version of this configuration format. Corresponds to the JSON property `apiVersion` @return [String]

kind[RW]

The type of notifier to use (e.g. SMTPNotifier). Corresponds to the JSON property `kind` @return [String]

metadata[RW]

NotifierMetadata contains the data which can be used to reference or describe this notifier. Corresponds to the JSON property `metadata` @return [Google::Apis::CloudbuildV1beta1::NotifierMetadata]

spec[RW]

NotifierSpec is the configuration container for notifications. Corresponds to the JSON property `spec` @return [Google::Apis::CloudbuildV1beta1::NotifierSpec]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudbuild_v1beta1/classes.rb, line 1211
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_v1beta1/classes.rb, line 1216
def update!(**args)
  @api_version = args[:api_version] if args.key?(:api_version)
  @kind = args[:kind] if args.key?(:kind)
  @metadata = args[:metadata] if args.key?(:metadata)
  @spec = args[:spec] if args.key?(:spec)
end