Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2WithdrawMfaRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2WithdrawMfaRequest
- 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
Withdraws MFA.
Instance Attribute Summary collapse
-
#id_token ⇒ String
Required.
-
#mfa_enrollment_id ⇒ String
Required.
-
#tenant_id ⇒ String
The ID of the Identity Platform tenant that the user unenrolling MFA belongs to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2WithdrawMfaRequest
constructor
A new instance of GoogleCloudIdentitytoolkitV2WithdrawMfaRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2WithdrawMfaRequest
Returns a new instance of GoogleCloudIdentitytoolkitV2WithdrawMfaRequest.
2962 2963 2964 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2962 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id_token ⇒ String
Required. User's ID token.
Corresponds to the JSON property idToken
2949 2950 2951 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2949 def id_token @id_token end |
#mfa_enrollment_id ⇒ String
Required. MFA enrollment id from a current MFA enrollment.
Corresponds to the JSON property mfaEnrollmentId
2954 2955 2956 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2954 def mfa_enrollment_id @mfa_enrollment_id end |
#tenant_id ⇒ String
The ID of the Identity Platform tenant that the user unenrolling MFA belongs
to. If not set, the user belongs to the default Identity Platform project.
Corresponds to the JSON property tenantId
2960 2961 2962 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2960 def tenant_id @tenant_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2967 2968 2969 2970 2971 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2967 def update!(**args) @id_token = args[:id_token] if args.key?(:id_token) @mfa_enrollment_id = args[:mfa_enrollment_id] if args.key?(:mfa_enrollment_id) @tenant_id = args[:tenant_id] if args.key?(:tenant_id) end |