Class: Google::Apis::IdentitytoolkitV3::ResetPasswordResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::ResetPasswordResponse
- 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
-
#email ⇒ String
The user's email.
-
#kind ⇒ String
The fixed string "identitytoolkit#ResetPasswordResponse".
-
#new_email ⇒ String
If the out-of-band code is for email recovery, the user's new email.
-
#request_type ⇒ String
The request type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResetPasswordResponse
constructor
A new instance of ResetPasswordResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResetPasswordResponse
Returns a new instance of ResetPasswordResponse
1773 1774 1775 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1773 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
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
1756 1757 1758 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1756 def email @email end |
#kind ⇒ String
The fixed string "identitytoolkit#ResetPasswordResponse".
Corresponds to the JSON property kind
1761 1762 1763 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1761 def kind @kind end |
#new_email ⇒ String
If the out-of-band code is for email recovery, the user's new email.
Corresponds to the JSON property newEmail
1766 1767 1768 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1766 def new_email @new_email end |
#request_type ⇒ String
The request type.
Corresponds to the JSON property requestType
1771 1772 1773 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1771 def request_type @request_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1778 1779 1780 1781 1782 1783 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1778 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 |