Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo
- 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
-
#android_verification_proof ⇒ String
Android only.
-
#code ⇒ String
User-entered verification code.
-
#phone_number ⇒ String
Required if Android verification proof is presented.
-
#session_info ⇒ String
An opaque string that represents the enrollment session.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo
constructor
A new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo
Returns a new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo.
1869 1870 1871 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1869 def initialize(**args) update!(**args) end |
Instance Attribute Details
#android_verification_proof ⇒ String
Android only. Uses for "instant" phone number verification though GmsCore.
Corresponds to the JSON property androidVerificationProof
1852 1853 1854 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1852 def android_verification_proof @android_verification_proof end |
#code ⇒ String
User-entered verification code.
Corresponds to the JSON property code
1857 1858 1859 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1857 def code @code end |
#phone_number ⇒ String
Required if Android verification proof is presented.
Corresponds to the JSON property phoneNumber
1862 1863 1864 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1862 def phone_number @phone_number end |
#session_info ⇒ String
An opaque string that represents the enrollment session.
Corresponds to the JSON property sessionInfo
1867 1868 1869 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1867 def session_info @session_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1874 1875 1876 1877 1878 1879 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1874 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 |