Class: Google::Apis::OsloginV1beta::UniversalTwoFactor
- Inherits:
-
Object
- Object
- Google::Apis::OsloginV1beta::UniversalTwoFactor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/oslogin_v1beta/classes.rb,
lib/google/apis/oslogin_v1beta/representations.rb,
lib/google/apis/oslogin_v1beta/representations.rb
Overview
Security key information specific to the U2F protocol.
Instance Attribute Summary collapse
-
#app_id ⇒ String
Application ID for the U2F protocol.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UniversalTwoFactor
constructor
A new instance of UniversalTwoFactor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UniversalTwoFactor
Returns a new instance of UniversalTwoFactor.
314 315 316 |
# File 'lib/google/apis/oslogin_v1beta/classes.rb', line 314 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_id ⇒ String
Application ID for the U2F protocol.
Corresponds to the JSON property appId
312 313 314 |
# File 'lib/google/apis/oslogin_v1beta/classes.rb', line 312 def app_id @app_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
319 320 321 |
# File 'lib/google/apis/oslogin_v1beta/classes.rb', line 319 def update!(**args) @app_id = args[:app_id] if args.key?(:app_id) end |