Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse

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

StartMfaEnrollment response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse

Returns a new instance of GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse.



2626
2627
2628
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2626

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

Instance Attribute Details

#phone_session_infoGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo

Phone Verification info for a StartMfa response. Corresponds to the JSON property phoneSessionInfo



2619
2620
2621
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2619

def phone_session_info
  @phone_session_info
end

#totp_session_infoGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo

Mfa response info specific to TOTP auth for StartMfa. Corresponds to the JSON property totpSessionInfo



2624
2625
2626
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2624

def totp_session_info
  @totp_session_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2631
2632
2633
2634
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2631

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