class Google::Apis::CloudbuildV1alpha1::SmtpDelivery
SMTPDelivery is the delivery configuration for an SMTP (email) notification.
Attributes
This is the SMTP account/email that appears in the `From:` of the email. If empty, it is assumed to be sender. Corresponds to the JSON property `fromAddress` @return [String]
NotifierSecretRef
contains the reference to a secret stored in the corresponding NotifierSpec
. Corresponds to the JSON property `password` @return [Google::Apis::CloudbuildV1alpha1::NotifierSecretRef]
The SMTP port of the server. Corresponds to the JSON property `port` @return [String]
This is the list of addresses to which we send the email (i.e. in the `To:` of the email). Corresponds to the JSON property `recipientAddresses` @return [Array<String>]
This is the SMTP account/email that is used to send the message. Corresponds to the JSON property `senderAddress` @return [String]
The address of the SMTP server. Corresponds to the JSON property `server` @return [String]
Public Class Methods
# File lib/google/apis/cloudbuild_v1alpha1/classes.rb, line 1675 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudbuild_v1alpha1/classes.rb, line 1680 def update!(**args) @from_address = args[:from_address] if args.key?(:from_address) @password = args[:password] if args.key?(:password) @port = args[:port] if args.key?(:port) @recipient_addresses = args[:recipient_addresses] if args.key?(:recipient_addresses) @sender_address = args[:sender_address] if args.key?(:sender_address) @server = args[:server] if args.key?(:server) end