Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1MfaFactor
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1MfaFactor
- 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
Instance Attribute Summary collapse
-
#display_name ⇒ String
Display name for this mfa option e.g.
-
#phone_info ⇒ String
Phone number to receive OTP for MFA.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1MfaFactor
constructor
A new instance of GoogleCloudIdentitytoolkitV1MfaFactor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1MfaFactor
Returns a new instance of GoogleCloudIdentitytoolkitV1MfaFactor.
1396 1397 1398 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1396 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Display name for this mfa option e.g. "corp cell phone".
Corresponds to the JSON property displayName
1389 1390 1391 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1389 def display_name @display_name end |
#phone_info ⇒ String
Phone number to receive OTP for MFA.
Corresponds to the JSON property phoneInfo
1394 1395 1396 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1394 def phone_info @phone_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1401 1402 1403 1404 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1401 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @phone_info = args[:phone_info] if args.key?(:phone_info) end |