Class: Google::Apis::IdentitytoolkitV3::ResetPasswordResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/identitytoolkit_v3/classes.rb,
generated/google/apis/identitytoolkit_v3/representations.rb,
generated/google/apis/identitytoolkit_v3/representations.rb

Overview

Response of resetting the password.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ResetPasswordResponse

Returns a new instance of ResetPasswordResponse



1680
1681
1682
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1680

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

Instance Attribute Details

#emailString

The user's email. If the out-of-band code is for email recovery, the user's original email. Corresponds to the JSON property email

Returns:

  • (String)


1663
1664
1665
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1663

def email
  @email
end

#kindString

The fixed string "identitytoolkit#ResetPasswordResponse". Corresponds to the JSON property kind

Returns:

  • (String)


1668
1669
1670
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1668

def kind
  @kind
end

#new_emailString

If the out-of-band code is for email recovery, the user's new email. Corresponds to the JSON property newEmail

Returns:

  • (String)


1673
1674
1675
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1673

def new_email
  @new_email
end

#request_typeString

The request type. Corresponds to the JSON property requestType

Returns:

  • (String)


1678
1679
1680
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1678

def request_type
  @request_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1685
1686
1687
1688
1689
1690
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1685

def update!(**args)
  @email = args[:email] if args.key?(:email)
  @kind = args[:kind] if args.key?(:kind)
  @new_email = args[:new_email] if args.key?(:new_email)
  @request_type = args[:request_type] if args.key?(:request_type)
end