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.



1376
1377
1378
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1376

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



1374
1375
1376
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1374

def enrollments
  @enrollments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1381
1382
1383
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1381

def update!(**args)
  @enrollments = args[:enrollments] if args.key?(:enrollments)
end