class Google::Apis::IdentitytoolkitV3::ResetPasswordRequest

Request to reset the password.

Attributes

email[RW]

The email address of the user. Corresponds to the JSON property `email` @return [String]

new_password[RW]

The new password inputted by the user. Corresponds to the JSON property `newPassword` @return [String]

old_password[RW]

The old password inputted by the user. Corresponds to the JSON property `oldPassword` @return [String]

oob_code[RW]

The confirmation code. Corresponds to the JSON property `oobCode` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/identitytoolkit_v3/classes.rb, line 563
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/identitytoolkit_v3/classes.rb, line 568
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