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.



3592
3593
3594
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3592

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



3590
3591
3592
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3590

def usb_peripheral_report
  @usb_peripheral_report
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3597
3598
3599
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3597

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