Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailTemplate
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailTemplate
- 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
Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project's display name. % DISPLAY_NAME% - The user's display name.
Instance Attribute Summary collapse
-
#body ⇒ String
Email body Corresponds to the JSON property
body
. -
#body_format ⇒ String
Email body format Corresponds to the JSON property
bodyFormat
. -
#customized ⇒ Boolean
(also: #customized?)
Output only.
-
#reply_to ⇒ String
Reply-to address Corresponds to the JSON property
replyTo
. -
#sender_display_name ⇒ String
Sender display name Corresponds to the JSON property
senderDisplayName
. -
#sender_local_part ⇒ String
Local part of From address Corresponds to the JSON property
senderLocalPart
. -
#subject ⇒ String
Subject of the email Corresponds to the JSON property
subject
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2EmailTemplate
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2EmailTemplate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2EmailTemplate
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2EmailTemplate.
641 642 643 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 641 def initialize(**args) update!(**args) end |
Instance Attribute Details
#body ⇒ String
Email body
Corresponds to the JSON property body
608 609 610 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 608 def body @body end |
#body_format ⇒ String
Email body format
Corresponds to the JSON property bodyFormat
613 614 615 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 613 def body_format @body_format end |
#customized ⇒ Boolean Also known as: customized?
Output only. Whether the body or subject of the email is customized.
Corresponds to the JSON property customized
618 619 620 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 618 def customized @customized end |
#reply_to ⇒ String
Reply-to address
Corresponds to the JSON property replyTo
624 625 626 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 624 def reply_to @reply_to end |
#sender_display_name ⇒ String
Sender display name
Corresponds to the JSON property senderDisplayName
629 630 631 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 629 def sender_display_name @sender_display_name end |
#sender_local_part ⇒ String
Local part of From address
Corresponds to the JSON property senderLocalPart
634 635 636 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 634 def sender_local_part @sender_local_part end |
#subject ⇒ String
Subject of the email
Corresponds to the JSON property subject
639 640 641 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 639 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
646 647 648 649 650 651 652 653 654 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 646 def update!(**args) @body = args[:body] if args.key?(:body) @body_format = args[:body_format] if args.key?(:body_format) @customized = args[:customized] if args.key?(:customized) @reply_to = args[:reply_to] if args.key?(:reply_to) @sender_display_name = args[:sender_display_name] if args.key?(:sender_display_name) @sender_local_part = args[:sender_local_part] if args.key?(:sender_local_part) @subject = args[:subject] if args.key?(:subject) end |