Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SendSms
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SendSms
- 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
Options for SMS sending.
Instance Attribute Summary collapse
-
#sms_template ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsTemplate
The template to use when sending an SMS.
-
#use_device_locale ⇒ Boolean
(also: #use_device_locale?)
Whether to use the accept_language header for SMS.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2SendSms
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2SendSms.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2SendSms
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2SendSms.
1277 1278 1279 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1277 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sms_template ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsTemplate
The template to use when sending an SMS.
Corresponds to the JSON property smsTemplate
1269 1270 1271 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1269 def sms_template @sms_template end |
#use_device_locale ⇒ Boolean Also known as: use_device_locale?
Whether to use the accept_language header for SMS.
Corresponds to the JSON property useDeviceLocale
1274 1275 1276 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1274 def use_device_locale @use_device_locale end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1282 1283 1284 1285 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1282 def update!(**args) @sms_template = args[:sms_template] if args.key?(:sms_template) @use_device_locale = args[:use_device_locale] if args.key?(:use_device_locale) end |