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.
1416 1417 1418 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1416 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
1414 1415 1416 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1414 def enrollments @enrollments end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1421 1422 1423 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1421 def update!(**args) @enrollments = args[:enrollments] if args.key?(:enrollments) end |