Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1MfaInfo
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1MfaInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v1/classes.rb,
lib/google/apis/identitytoolkit_v1/representations.rb,
lib/google/apis/identitytoolkit_v1/representations.rb
Overview
Multi-factor authentication related information.
Instance Attribute Summary collapse
-
#enrollments ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1MfaEnrollment>
The second factors the user has enrolled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1MfaInfo
constructor
A new instance of GoogleCloudIdentitytoolkitV1MfaInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1MfaInfo
Returns a new instance of GoogleCloudIdentitytoolkitV1MfaInfo.
1422 1423 1424 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1422 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enrollments ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1MfaEnrollment>
The second factors the user has enrolled.
Corresponds to the JSON property enrollments
1420 1421 1422 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1420 def enrollments @enrollments end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1427 1428 1429 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1427 def update!(**args) @enrollments = args[:enrollments] if args.key?(:enrollments) end |