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.



1416
1417
1418
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1416

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



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