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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1PeripheralsReport

Returns a new instance of GoogleChromeManagementV1PeripheralsReport.



2140
2141
2142
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2140

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)


2133
2134
2135
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2133

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



2138
2139
2140
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2138

def usb_peripheral_report
  @usb_peripheral_report
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2145
2146
2147
2148
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2145

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