Class: Google::Apis::IdentitytoolkitV3::ResetPasswordRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::ResetPasswordRequest
- 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
Request to reset the password.
Instance Attribute Summary collapse
-
#email ⇒ String
The email address of the user.
-
#new_password ⇒ String
The new password inputted by the user.
-
#old_password ⇒ String
The old password inputted by the user.
-
#oob_code ⇒ String
The confirmation code.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResetPasswordRequest
constructor
A new instance of ResetPasswordRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResetPasswordRequest
Returns a new instance of ResetPasswordRequest
703 704 705 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 703 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
The email address of the user.
Corresponds to the JSON property email
686 687 688 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 686 def email @email end |
#new_password ⇒ String
The new password inputted by the user.
Corresponds to the JSON property newPassword
691 692 693 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 691 def new_password @new_password end |
#old_password ⇒ String
The old password inputted by the user.
Corresponds to the JSON property oldPassword
696 697 698 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 696 def old_password @old_password end |
#oob_code ⇒ String
The confirmation code.
Corresponds to the JSON property oobCode
701 702 703 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 701 def oob_code @oob_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
708 709 710 711 712 713 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 708 def update!(**args) @email = args[:email] if args.key?(:email) @new_password = args[:new_password] if args.key?(:new_password) @old_password = args[:old_password] if args.key?(:old_password) @oob_code = args[:oob_code] if args.key?(:oob_code) end |