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.



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

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)


2600
2601
2602
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2600

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



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

def usb_peripheral_report
  @usb_peripheral_report
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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