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.
2533 2534 2535 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2533 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
2526 2527 2528 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2526 def session_info @session_info end |
#verification_code ⇒ String
User-entered verification code.
Corresponds to the JSON property verificationCode
2531 2532 2533 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2531 def verification_code @verification_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2538 2539 2540 2541 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2538 def update!(**args) @session_info = args[:session_info] if args.key?(:session_info) @verification_code = args[:verification_code] if args.key?(:verification_code) end |