Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo

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

TOTP verification info for FinalizeMfaSignInRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo

Returns a new instance of GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo.



2396
2397
2398
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2396

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

Instance Attribute Details

#verification_codeString

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

Returns:

  • (String)


2394
2395
2396
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2394

def verification_code
  @verification_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2401
2402
2403
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2401

def update!(**args)
  @verification_code = args[:verification_code] if args.key?(:verification_code)
end