Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1UserNotification
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1UserNotification
- 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
Warning notifications for the user.
Instance Attribute Summary collapse
-
#notification_code ⇒ String
Warning notification enum.
-
#notification_message ⇒ String
Warning notification string.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1UserNotification
constructor
A new instance of GoogleCloudIdentitytoolkitV1UserNotification.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1UserNotification
3901 3902 3903 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3901 def initialize(**args) update!(**args) end |
Instance Attribute Details
#notification_code ⇒ String
Warning notification enum. Can be used for localization.
Corresponds to the JSON property notificationCode
3894 3895 3896 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3894 def notification_code @notification_code end |
#notification_message ⇒ String
Warning notification string. Can be used as fallback.
Corresponds to the JSON property notificationMessage
3899 3900 3901 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3899 def end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3906 3907 3908 3909 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3906 def update!(**args) @notification_code = args[:notification_code] if args.key?(:notification_code) = args[:notification_message] if args.key?(:notification_message) end |