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.



2613
2614
2615
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2613

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)


2606
2607
2608
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2606

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



2611
2612
2613
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2611

def usb_peripheral_report
  @usb_peripheral_report
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2618
2619
2620
2621
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2618

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