Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo

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

Mfa request info specific to TOTP auth for FinalizeMfa.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_infoString

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

Returns:

  • (String)


2356
2357
2358
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2356

def session_info
  @session_info
end

#verification_codeString

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

Returns:

  • (String)


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