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.
1506 1507 1508 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1506 def initialize(**args) update!(**args) end |
Instance Attribute Details
#host ⇒ String
SMTP relay host
Corresponds to the JSON property host
1479 1480 1481 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1479 def host @host end |
#password ⇒ String
SMTP relay password
Corresponds to the JSON property password
1484 1485 1486 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1484 def password @password end |
#port ⇒ Fixnum
SMTP relay port
Corresponds to the JSON property port
1489 1490 1491 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1489 def port @port end |
#security_mode ⇒ String
SMTP security mode.
Corresponds to the JSON property securityMode
1494 1495 1496 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1494 def security_mode @security_mode end |
#sender_email ⇒ String
Sender email for the SMTP relay
Corresponds to the JSON property senderEmail
1499 1500 1501 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1499 def sender_email @sender_email end |
#username ⇒ String
SMTP relay username
Corresponds to the JSON property username
1504 1505 1506 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1504 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1511 1512 1513 1514 1515 1516 1517 1518 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1511 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 |