class Google::Apis::CloudbuildV1beta1::SmtpDelivery

SMTPDelivery is the delivery configuration for an SMTP (email) notification.

Attributes

from_address[RW]

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]

password[RW]

NotifierSecretRef contains the reference to a secret stored in the corresponding NotifierSpec. Corresponds to the JSON property `password` @return [Google::Apis::CloudbuildV1beta1::NotifierSecretRef]

port[RW]

The SMTP port of the server. Corresponds to the JSON property `port` @return [String]

recipient_addresses[RW]

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>]

sender_address[RW]

This is the SMTP account/email that is used to send the message. Corresponds to the JSON property `senderAddress` @return [String]

server[RW]

The address of the SMTP server. Corresponds to the JSON property `server` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudbuild_v1beta1/classes.rb, line 1665
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 1670
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