Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsTemplate
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsTemplate
- 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
-
#content ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2SmsTemplate
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2SmsTemplate.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#content ⇒ String
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
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 |