Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1UserNotification

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1UserNotification

Returns a new instance of GoogleCloudIdentitytoolkitV1UserNotification.



3878
3879
3880
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3878

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#notification_codeString

Warning notification enum. Can be used for localization. Corresponds to the JSON property notificationCode

Returns:

  • (String)


3871
3872
3873
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3871

def notification_code
  @notification_code
end

#notification_messageString

Warning notification string. Can be used as fallback. Corresponds to the JSON property notificationMessage

Returns:

  • (String)


3876
3877
3878
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3876

def notification_message
  @notification_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3883
3884
3885
3886
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3883

def update!(**args)
  @notification_code = args[:notification_code] if args.key?(:notification_code)
  @notification_message = args[:notification_message] if args.key?(:notification_message)
end