class Google::Apis::GmailV1::SmtpMsa
Configuration for communication with an SMTP service.
Attributes
The hostname of the SMTP service. Required. Corresponds to the JSON property `host` @return [String]
The password that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs
settings; it is never populated in responses. Corresponds to the JSON property `password` @return [String]
The port of the SMTP service. Required. Corresponds to the JSON property `port` @return [Fixnum]
The protocol that will be used to secure communication with the SMTP service. Required. Corresponds to the JSON property `securityMode` @return [String]
The username that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs
settings; it is never populated in responses. Corresponds to the JSON property `username` @return [String]
Public Class Methods
# File lib/google/apis/gmail_v1/classes.rb, line 1422 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/gmail_v1/classes.rb, line 1427 def update!(**args) @host = args[:host] if args.key?(:host) @password = args[:password] if args.key?(:password) @port = args[:port] if args.key?(:port) @security_mode = args[:security_mode] if args.key?(:security_mode) @username = args[:username] if args.key?(:username) end