Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1UsbPeripheralReport

Returns a new instance of GoogleChromeManagementV1UsbPeripheralReport.



4403
4404
4405
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4403

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#categoriesArray<String>

Output only. Categories the device belongs to https://www.usb.org/defined- class-codes Corresponds to the JSON property categories

Returns:

  • (Array<String>)


4366
4367
4368
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4366

def categories
  @categories
end

#class_idFixnum

Output only. Class ID https://www.usb.org/defined-class-codes Corresponds to the JSON property classId

Returns:

  • (Fixnum)


4371
4372
4373
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4371

def class_id
  @class_id
end

#firmware_versionString

Output only. Firmware version Corresponds to the JSON property firmwareVersion

Returns:

  • (String)


4376
4377
4378
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4376

def firmware_version
  @firmware_version
end

#nameString

Output only. Device name, model name, or product name Corresponds to the JSON property name

Returns:

  • (String)


4381
4382
4383
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4381

def name
  @name
end

#pidFixnum

Output only. Product ID Corresponds to the JSON property pid

Returns:

  • (Fixnum)


4386
4387
4388
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4386

def pid
  @pid
end

#subclass_idFixnum

Output only. Subclass ID https://www.usb.org/defined-class-codes Corresponds to the JSON property subclassId

Returns:

  • (Fixnum)


4391
4392
4393
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4391

def subclass_id
  @subclass_id
end

#vendorString

Output only. Vendor name Corresponds to the JSON property vendor

Returns:

  • (String)


4396
4397
4398
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4396

def vendor
  @vendor
end

#vidFixnum

Output only. Vendor ID Corresponds to the JSON property vid

Returns:

  • (Fixnum)


4401
4402
4403
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4401

def vid
  @vid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4408

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