Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest
- 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
-
#display_name ⇒ String
Display name which is entered by users to distinguish between different second factors with same type or different type.
-
#id_token ⇒ String
Required.
-
#phone_verification_info ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo
Phone Verification info for a FinalizeMfa request.
-
#tenant_id ⇒ String
The ID of the Identity Platform tenant that the user enrolling MFA belongs to.
-
#totp_verification_info ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo
Mfa request info specific to TOTP auth for FinalizeMfa.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest
constructor
A new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest
Returns a new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest.
1974 1975 1976 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1974 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
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
1951 1952 1953 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1951 def display_name @display_name end |
#id_token ⇒ String
Required. ID token.
Corresponds to the JSON property idToken
1956 1957 1958 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1956 def id_token @id_token end |
#phone_verification_info ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo
Phone Verification info for a FinalizeMfa request.
Corresponds to the JSON property phoneVerificationInfo
1961 1962 1963 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1961 def phone_verification_info @phone_verification_info end |
#tenant_id ⇒ String
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
1967 1968 1969 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1967 def tenant_id @tenant_id end |
#totp_verification_info ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo
Mfa request info specific to TOTP auth for FinalizeMfa.
Corresponds to the JSON property totpVerificationInfo
1972 1973 1974 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1972 def totp_verification_info @totp_verification_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1979 1980 1981 1982 1983 1984 1985 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1979 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) @totp_verification_info = args[:totp_verification_info] if args.key?(:totp_verification_info) end |