Class: Google::Apis::OsloginV1beta::UniversalTwoFactor

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

Instance Method Summary collapse

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_idString

Application ID for the U2F protocol. Corresponds to the JSON property appId

Returns:

  • (String)


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