class Google::Apis::CloudbuildV1beta1::NotifierMetadata
NotifierMetadata
contains the data which can be used to reference or describe this notifier.
Attributes
name[RW]
The human-readable and user-given name for the notifier. For example: “repo- merge-email-notifier”. Corresponds to the JSON property `name` @return [String]
notifier[RW]
The string representing the name and version of notifier to deploy. Expected to be of the form of “/:”. For example: “gcr.io/my-project/notifiers/smtp:1.2. 34”. Corresponds to the JSON property `notifier` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudbuild_v1beta1/classes.rb, line 1242 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 1247 def update!(**args) @name = args[:name] if args.key?(:name) @notifier = args[:notifier] if args.key?(:notifier) end