Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsTemplate

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

The template to use when sending an SMS.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2SmsTemplate

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2SmsTemplate.



1726
1727
1728
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1726

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

Instance Attribute Details

#contentString

Output only. The SMS's content. Can contain the following placeholders which will be replaced with the appropriate values: %APP_NAME% - For Android or iOS apps, the app's display name. For web apps, the domain hosting the application. %LOGIN_CODE% - The OOB code being sent in the SMS. Corresponds to the JSON property content

Returns:

  • (String)


1724
1725
1726
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1724

def content
  @content
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1731
1732
1733
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1731

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