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.



1665
1666
1667
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1665

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)


1642
1643
1644
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1642

def email
  @email
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1647
1648
1649
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1647

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



1653
1654
1655
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1653

def mfa_info
  @mfa_info
end

#new_emailString

Corresponds to the JSON property newEmail

Returns:

  • (String)


1658
1659
1660
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1658

def new_email
  @new_email
end

#request_typeString

Corresponds to the JSON property requestType

Returns:

  • (String)


1663
1664
1665
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1663

def request_type
  @request_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1670
1671
1672
1673
1674
1675
1676
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1670

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