Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1ResetPasswordResponse

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

Response message for ResetPassword.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1ResetPasswordResponse

Returns a new instance of GoogleCloudIdentitytoolkitV1ResetPasswordResponse.



1711
1712
1713
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1711

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

Instance Attribute Details

#emailString

The email associated with the out-of-band code that was used. Corresponds to the JSON property email

Returns:

  • (String)


1688
1689
1690
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1688

def email
  @email
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1693
1694
1695
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1693

def kind
  @kind
end

#mfa_infoGoogle::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1MfaEnrollment

Information on which multi-factor authentication (MFA) providers are enabled for an account. Corresponds to the JSON property mfaInfo



1699
1700
1701
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1699

def mfa_info
  @mfa_info
end

#new_emailString

Corresponds to the JSON property newEmail

Returns:

  • (String)


1704
1705
1706
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1704

def new_email
  @new_email
end

#request_typeString

Corresponds to the JSON property requestType

Returns:

  • (String)


1709
1710
1711
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1709

def request_type
  @request_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1716
1717
1718
1719
1720
1721
1722
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1716

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