Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest

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

Finishes enrolling a second factor for the user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest

Returns a new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest.



1801
1802
1803
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1801

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

Instance Attribute Details

#display_nameString

Display name which is entered by users to distinguish between different second factors with same type or different type. Corresponds to the JSON property displayName

Returns:

  • (String)


1783
1784
1785
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1783

def display_name
  @display_name
end

#id_tokenString

Required. ID token. Corresponds to the JSON property idToken

Returns:

  • (String)


1788
1789
1790
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1788

def id_token
  @id_token
end

#phone_verification_infoGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo

Phone Verification info for a FinalizeMfa request. Corresponds to the JSON property phoneVerificationInfo



1793
1794
1795
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1793

def phone_verification_info
  @phone_verification_info
end

#tenant_idString

The ID of the Identity Platform tenant that the user enrolling MFA belongs to. If not set, the user belongs to the default Identity Platform project. Corresponds to the JSON property tenantId

Returns:

  • (String)


1799
1800
1801
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1799

def tenant_id
  @tenant_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1806
1807
1808
1809
1810
1811
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1806

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @id_token = args[:id_token] if args.key?(:id_token)
  @phone_verification_info = args[:phone_verification_info] if args.key?(:phone_verification_info)
  @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
end