Class: Google::Apis::MerchantapiAccountsV1beta::VerificationMailSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb

Overview

Settings related to the verification email that is sent after adding a user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VerificationMailSettings

Returns a new instance of VerificationMailSettings.



4582
4583
4584
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 4582

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

Instance Attribute Details

#verification_mail_modeString

Optional. Mode of the verification mail. If not set, the default is SEND_VERIFICATION_MAIL. Corresponds to the JSON property verificationMailMode

Returns:

  • (String)


4580
4581
4582
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 4580

def verification_mail_mode
  @verification_mail_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4587
4588
4589
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 4587

def update!(**args)
  @verification_mail_mode = args[:verification_mail_mode] if args.key?(:verification_mail_mode)
end