Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUsbPeripheralsEvent

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

TelemetryUsbPeripheralsEvent is triggered USB devices are either added or removed. * Granular permission needed: TELEMETRY_API_PERIPHERALS_REPORT

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryUsbPeripheralsEvent

Returns a new instance of GoogleChromeManagementV1TelemetryUsbPeripheralsEvent.



3688
3689
3690
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3688

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

Instance Attribute Details

#usb_peripheral_reportArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport>

List of usb devices that were either added or removed. Corresponds to the JSON property usbPeripheralReport



3686
3687
3688
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3686

def usb_peripheral_report
  @usb_peripheral_report
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3693
3694
3695
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3693

def update!(**args)
  @usb_peripheral_report = args[:usb_peripheral_report] if args.key?(:usb_peripheral_report)
end