Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1EmailTemplate
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1EmailTemplate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v1/classes.rb,
lib/google/apis/identitytoolkit_v1/representations.rb,
lib/google/apis/identitytoolkit_v1/representations.rb
Overview
Email template
Instance Attribute Summary collapse
-
#body ⇒ String
Email body Corresponds to the JSON property
body. -
#customized ⇒ Boolean
(also: #customized?)
Whether the body or subject of the email is customized.
-
#disabled ⇒ Boolean
(also: #disabled?)
Whether the template is disabled.
-
#format ⇒ String
Email body format Corresponds to the JSON property
format. -
#from ⇒ String
From address of the email Corresponds to the JSON property
from. -
#from_display_name ⇒ String
From display name Corresponds to the JSON property
fromDisplayName. -
#from_local_part ⇒ String
Local part of From address Corresponds to the JSON property
fromLocalPart. -
#locale ⇒ String
Value is in III language code format (e.g. "zh-CN", "es").
-
#reply_to ⇒ String
Reply-to address Corresponds to the JSON property
replyTo. -
#subject ⇒ String
Subject of the email Corresponds to the JSON property
subject.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1EmailTemplate
constructor
A new instance of GoogleCloudIdentitytoolkitV1EmailTemplate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1EmailTemplate
Returns a new instance of GoogleCloudIdentitytoolkitV1EmailTemplate.
623 624 625 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 623 def initialize(**args) update!(**args) end |
Instance Attribute Details
#body ⇒ String
Email body
Corresponds to the JSON property body
573 574 575 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 573 def body @body end |
#customized ⇒ Boolean Also known as: customized?
Whether the body or subject of the email is customized.
Corresponds to the JSON property customized
578 579 580 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 578 def customized @customized end |
#disabled ⇒ Boolean Also known as: disabled?
Whether the template is disabled. If true, a default template will be used.
Corresponds to the JSON property disabled
584 585 586 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 584 def disabled @disabled end |
#format ⇒ String
Email body format
Corresponds to the JSON property format
590 591 592 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 590 def format @format end |
#from ⇒ String
From address of the email
Corresponds to the JSON property from
595 596 597 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 595 def from @from end |
#from_display_name ⇒ String
From display name
Corresponds to the JSON property fromDisplayName
600 601 602 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 600 def from_display_name @from_display_name end |
#from_local_part ⇒ String
Local part of From address
Corresponds to the JSON property fromLocalPart
605 606 607 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 605 def from_local_part @from_local_part end |
#locale ⇒ String
Value is in III language code format (e.g. "zh-CN", "es"). Both '-' and '_'
separators are accepted.
Corresponds to the JSON property locale
611 612 613 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 611 def locale @locale end |
#reply_to ⇒ String
Reply-to address
Corresponds to the JSON property replyTo
616 617 618 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 616 def reply_to @reply_to end |
#subject ⇒ String
Subject of the email
Corresponds to the JSON property subject
621 622 623 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 621 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
628 629 630 631 632 633 634 635 636 637 638 639 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 628 def update!(**args) @body = args[:body] if args.key?(:body) @customized = args[:customized] if args.key?(:customized) @disabled = args[:disabled] if args.key?(:disabled) @format = args[:format] if args.key?(:format) @from = args[:from] if args.key?(:from) @from_display_name = args[:from_display_name] if args.key?(:from_display_name) @from_local_part = args[:from_local_part] if args.key?(:from_local_part) @locale = args[:locale] if args.key?(:locale) @reply_to = args[:reply_to] if args.key?(:reply_to) @subject = args[:subject] if args.key?(:subject) end |