Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SendEmail
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SendEmail
- 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 email sending.
Instance Attribute Summary collapse
-
#callback_uri ⇒ String
action url in email template.
-
#change_email_template ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailTemplate
Email template.
-
#dns_info ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2DnsInfo
Information of custom domain DNS verification.
-
#legacy_reset_password_template ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailTemplate
Email template.
-
#method_prop ⇒ String
The method used for sending an email.
-
#reset_password_template ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailTemplate
Email template.
-
#revert_second_factor_addition_template ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailTemplate
Email template.
-
#smtp ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Smtp
Configuration for SMTP relay Corresponds to the JSON property
smtp. -
#verify_email_template ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailTemplate
Email template.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2SendEmail
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2SendEmail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2SendEmail
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2SendEmail.
1366 1367 1368 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1366 def initialize(**args) update!(**args) end |
Instance Attribute Details
#callback_uri ⇒ String
action url in email template.
Corresponds to the JSON property callbackUri
1298 1299 1300 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1298 def callback_uri @callback_uri end |
#change_email_template ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailTemplate
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 GCP project's display name. %DISPLAY_NAME% - The
user's display name.
Corresponds to the JSON property changeEmailTemplate
1308 1309 1310 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1308 def change_email_template @change_email_template end |
#dns_info ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2DnsInfo
Information of custom domain DNS verification. By default, default_domain will
be used. A custom domain can be configured using VerifyCustomDomain.
Corresponds to the JSON property dnsInfo
1314 1315 1316 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1314 def dns_info @dns_info end |
#legacy_reset_password_template ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailTemplate
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 GCP project's display name. %DISPLAY_NAME% - The
user's display name.
Corresponds to the JSON property legacyResetPasswordTemplate
1324 1325 1326 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1324 def legacy_reset_password_template @legacy_reset_password_template end |
#method_prop ⇒ String
The method used for sending an email.
Corresponds to the JSON property method
1329 1330 1331 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1329 def method_prop @method_prop end |
#reset_password_template ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailTemplate
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 GCP project's display name. %DISPLAY_NAME% - The
user's display name.
Corresponds to the JSON property resetPasswordTemplate
1339 1340 1341 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1339 def reset_password_template @reset_password_template end |
#revert_second_factor_addition_template ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailTemplate
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 GCP project's display name. %DISPLAY_NAME% - The
user's display name.
Corresponds to the JSON property revertSecondFactorAdditionTemplate
1349 1350 1351 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1349 def revert_second_factor_addition_template @revert_second_factor_addition_template end |
#smtp ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Smtp
Configuration for SMTP relay
Corresponds to the JSON property smtp
1354 1355 1356 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1354 def smtp @smtp end |
#verify_email_template ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailTemplate
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 GCP project's display name. %DISPLAY_NAME% - The
user's display name.
Corresponds to the JSON property verifyEmailTemplate
1364 1365 1366 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1364 def verify_email_template @verify_email_template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1371 def update!(**args) @callback_uri = args[:callback_uri] if args.key?(:callback_uri) @change_email_template = args[:change_email_template] if args.key?(:change_email_template) @dns_info = args[:dns_info] if args.key?(:dns_info) @legacy_reset_password_template = args[:legacy_reset_password_template] if args.key?(:legacy_reset_password_template) @method_prop = args[:method_prop] if args.key?(:method_prop) @reset_password_template = args[:reset_password_template] if args.key?(:reset_password_template) @revert_second_factor_addition_template = args[:revert_second_factor_addition_template] if args.key?(:revert_second_factor_addition_template) @smtp = args[:smtp] if args.key?(:smtp) @verify_email_template = args[:verify_email_template] if args.key?(:verify_email_template) end |