Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo
- 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
Mfa request info specific to TOTP auth for FinalizeMfa.
Instance Attribute Summary collapse
-
#session_info ⇒ String
An opaque string that represents the enrollment session.
-
#verification_code ⇒ String
User-entered verification code.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo
constructor
A new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo
Returns a new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo.
2363 2364 2365 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2363 def initialize(**args) update!(**args) end |
Instance Attribute Details
#session_info ⇒ String
An opaque string that represents the enrollment session.
Corresponds to the JSON property sessionInfo
2356 2357 2358 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2356 def session_info @session_info end |
#verification_code ⇒ String
User-entered verification code.
Corresponds to the JSON property verificationCode
2361 2362 2363 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2361 def verification_code @verification_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2368 2369 2370 2371 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2368 def update!(**args) @session_info = args[:session_info] if args.key?(:session_info) @verification_code = args[:verification_code] if args.key?(:verification_code) end |