Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1MfaInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#enrollmentsArray<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