Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb

Overview

Phone Verification info for a FinalizeMfa request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo

Returns a new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo.



1730
1731
1732
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1730

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

Instance Attribute Details

#android_verification_proofString

Android only. Uses for "instant" phone number verification though GmsCore. Corresponds to the JSON property androidVerificationProof

Returns:

  • (String)


1713
1714
1715
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1713

def android_verification_proof
  @android_verification_proof
end

#codeString

User-entered verification code. Corresponds to the JSON property code

Returns:

  • (String)


1718
1719
1720
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1718

def code
  @code
end

#phone_numberString

Required if Android verification proof is presented. Corresponds to the JSON property phoneNumber

Returns:

  • (String)


1723
1724
1725
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1723

def phone_number
  @phone_number
end

#session_infoString

An opaque string that represents the enrollment session. Corresponds to the JSON property sessionInfo

Returns:

  • (String)


1728
1729
1730
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1728

def session_info
  @session_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1735
1736
1737
1738
1739
1740
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1735

def update!(**args)
  @android_verification_proof = args[:android_verification_proof] if args.key?(:android_verification_proof)
  @code = args[:code] if args.key?(:code)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
  @session_info = args[:session_info] if args.key?(:session_info)
end