Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Smtp

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2Smtp

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2Smtp.



1867
1868
1869
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1867

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#hostString

SMTP relay host Corresponds to the JSON property host

Returns:

  • (String)


1840
1841
1842
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1840

def host
  @host
end

#passwordString

SMTP relay password Corresponds to the JSON property password

Returns:

  • (String)


1845
1846
1847
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1845

def password
  @password
end

#portFixnum

SMTP relay port Corresponds to the JSON property port

Returns:

  • (Fixnum)


1850
1851
1852
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1850

def port
  @port
end

#security_modeString

SMTP security mode. Corresponds to the JSON property securityMode

Returns:

  • (String)


1855
1856
1857
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1855

def security_mode
  @security_mode
end

#sender_emailString

Sender email for the SMTP relay Corresponds to the JSON property senderEmail

Returns:

  • (String)


1860
1861
1862
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1860

def sender_email
  @sender_email
end

#usernameString

SMTP relay username Corresponds to the JSON property username

Returns:

  • (String)


1865
1866
1867
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1865

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1872
1873
1874
1875
1876
1877
1878
1879
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1872

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