Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport

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

Peripherals report. * Granular permission needed: TELEMETRY_API_PERIPHERALS_REPORT

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1PeripheralsReport

Returns a new instance of GoogleChromeManagementV1PeripheralsReport.



2796
2797
2798
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2796

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

Instance Attribute Details

#report_timeString

Output only. Timestamp of when the report was collected. Corresponds to the JSON property reportTime

Returns:

  • (String)


2789
2790
2791
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2789

def report_time
  @report_time
end

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

Reports of all usb connected devices. Corresponds to the JSON property usbPeripheralReport



2794
2795
2796
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2794

def usb_peripheral_report
  @usb_peripheral_report
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2801
2802
2803
2804
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2801

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