Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Smtp
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Smtp
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb
Overview
Configuration for SMTP relay
Instance Attribute Summary collapse
-
#host ⇒ String
SMTP relay host Corresponds to the JSON property
host
. -
#password ⇒ String
SMTP relay password Corresponds to the JSON property
password
. -
#port ⇒ Fixnum
SMTP relay port Corresponds to the JSON property
port
. -
#security_mode ⇒ String
SMTP security mode.
-
#sender_email ⇒ String
Sender email for the SMTP relay Corresponds to the JSON property
senderEmail
. -
#username ⇒ String
SMTP relay username Corresponds to the JSON property
username
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2Smtp
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2Smtp.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2Smtp
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2Smtp.
1770 1771 1772 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1770 def initialize(**args) update!(**args) end |
Instance Attribute Details
#host ⇒ String
SMTP relay host
Corresponds to the JSON property host
1743 1744 1745 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1743 def host @host end |
#password ⇒ String
SMTP relay password
Corresponds to the JSON property password
1748 1749 1750 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1748 def password @password end |
#port ⇒ Fixnum
SMTP relay port
Corresponds to the JSON property port
1753 1754 1755 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1753 def port @port end |
#security_mode ⇒ String
SMTP security mode.
Corresponds to the JSON property securityMode
1758 1759 1760 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1758 def security_mode @security_mode end |
#sender_email ⇒ String
Sender email for the SMTP relay
Corresponds to the JSON property senderEmail
1763 1764 1765 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1763 def sender_email @sender_email end |
#username ⇒ String
SMTP relay username
Corresponds to the JSON property username
1768 1769 1770 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1768 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1775 1776 1777 1778 1779 1780 1781 1782 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1775 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) @sender_email = args[:sender_email] if args.key?(:sender_email) @username = args[:username] if args.key?(:username) end |