Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2NotificationConfig
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2NotificationConfig
- 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
Configuration related to sending notifications to users.
Instance Attribute Summary collapse
-
#default_locale ⇒ String
Default locale used for email and SMS in IETF BCP 47 format.
-
#send_email ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SendEmail
Options for email sending.
-
#send_sms ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SendSms
Options for SMS sending.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2NotificationConfig
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2NotificationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2NotificationConfig
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2NotificationConfig.
1052 1053 1054 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1052 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_locale ⇒ String
Default locale used for email and SMS in IETF BCP 47 format.
Corresponds to the JSON property defaultLocale
1040 1041 1042 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1040 def default_locale @default_locale end |
#send_email ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SendEmail
Options for email sending.
Corresponds to the JSON property sendEmail
1045 1046 1047 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1045 def send_email @send_email end |
#send_sms ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SendSms
Options for SMS sending.
Corresponds to the JSON property sendSms
1050 1051 1052 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1050 def send_sms @send_sms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1057 1058 1059 1060 1061 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1057 def update!(**args) @default_locale = args[:default_locale] if args.key?(:default_locale) @send_email = args[:send_email] if args.key?(:send_email) @send_sms = args[:send_sms] if args.key?(:send_sms) end |