Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb
Overview
USB connected peripheral report.
Instance Attribute Summary collapse
-
#categories ⇒ Array<String>
Output only.
-
#class_id ⇒ Fixnum
Output only.
-
#firmware_version ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#pid ⇒ Fixnum
Output only.
-
#subclass_id ⇒ Fixnum
Output only.
-
#vendor ⇒ String
Output only.
-
#vid ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1UsbPeripheralReport
constructor
A new instance of GoogleChromeManagementV1UsbPeripheralReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1UsbPeripheralReport
Returns a new instance of GoogleChromeManagementV1UsbPeripheralReport.
4289 4290 4291 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4289 def initialize(**args) update!(**args) end |
Instance Attribute Details
#categories ⇒ Array<String>
Output only. Categories the device belongs to https://www.usb.org/defined-
class-codes
Corresponds to the JSON property categories
4252 4253 4254 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4252 def categories @categories end |
#class_id ⇒ Fixnum
Output only. Class ID https://www.usb.org/defined-class-codes
Corresponds to the JSON property classId
4257 4258 4259 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4257 def class_id @class_id end |
#firmware_version ⇒ String
Output only. Firmware version
Corresponds to the JSON property firmwareVersion
4262 4263 4264 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4262 def firmware_version @firmware_version end |
#name ⇒ String
Output only. Device name, model name, or product name
Corresponds to the JSON property name
4267 4268 4269 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4267 def name @name end |
#pid ⇒ Fixnum
Output only. Product ID
Corresponds to the JSON property pid
4272 4273 4274 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4272 def pid @pid end |
#subclass_id ⇒ Fixnum
Output only. Subclass ID https://www.usb.org/defined-class-codes
Corresponds to the JSON property subclassId
4277 4278 4279 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4277 def subclass_id @subclass_id end |
#vendor ⇒ String
Output only. Vendor name
Corresponds to the JSON property vendor
4282 4283 4284 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4282 def vendor @vendor end |
#vid ⇒ Fixnum
Output only. Vendor ID
Corresponds to the JSON property vid
4287 4288 4289 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4287 def vid @vid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4294 def update!(**args) @categories = args[:categories] if args.key?(:categories) @class_id = args[:class_id] if args.key?(:class_id) @firmware_version = args[:firmware_version] if args.key?(:firmware_version) @name = args[:name] if args.key?(:name) @pid = args[:pid] if args.key?(:pid) @subclass_id = args[:subclass_id] if args.key?(:subclass_id) @vendor = args[:vendor] if args.key?(:vendor) @vid = args[:vid] if args.key?(:vid) end |