blob: 75e3f96fe1ea93292805543c4bc203679cd47bc7 [file] [log] [blame]
yoshi-code-bot815c1ac2021-11-15 23:24:17 -08001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="chromemanagement_v1.html">Chrome Management API</a> . <a href="chromemanagement_v1.customers.html">customers</a> . <a href="chromemanagement_v1.customers.telemetry.html">telemetry</a> . <a href="chromemanagement_v1.customers.telemetry.devices.html">devices</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</a></code></p>
82<p class="firstline">List all telemetry devices.</p>
83<p class="toc_element">
84 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
85<p class="firstline">Retrieves the next page of results.</p>
86<h3>Method Details</h3>
87<div class="method">
88 <code class="details" id="close">close()</code>
89 <pre>Close httplib2 connections.</pre>
90</div>
91
92<div class="method">
93 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</code>
94 <pre>List all telemetry devices.
95
96Args:
97 parent: string, Required. Customer id or &quot;my_customer&quot; to use the customer associated to the account making the request. (required)
98 filter: string, Optional. Only include resources that match the filter. Supported filter fields: - org_unit_id - serial_number
99 pageSize: integer, Maximum number of results to return. Maximum and default are 100.
100 pageToken: string, Token to specify next page in the list.
101 readMask: string, Required. Read mask to specify which fields to return.
102 x__xgafv: string, V1 error format.
103 Allowed values
104 1 - v1 error format
105 2 - v2 error format
106
107Returns:
108 An object of the form:
109
110 {
111 &quot;devices&quot;: [ # Telemetry devices returned in the response.
112 { # Telemetry data collected from a managed device.
113 &quot;batteryInfo&quot;: [ # Output only. Information on battery specs for the device.
114 { # Battery info
115 &quot;designCapacity&quot;: &quot;A String&quot;, # Output only. Design capacity (mAmpere-hours).
116 &quot;designMinVoltage&quot;: 42, # Output only. Designed minimum output voltage (mV)
117 &quot;manufactureDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. # Output only. The date the battery was manufactured.
118 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
119 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
120 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
121 },
122 &quot;manufacturer&quot;: &quot;A String&quot;, # Output only. Battery manufacturer.
123 &quot;serialNumber&quot;: &quot;A String&quot;, # Output only. Battery serial number.
124 &quot;technology&quot;: &quot;A String&quot;, # Output only. Technology of the battery. Example: Li-ion
125 },
126 ],
127 &quot;batteryStatusReport&quot;: [ # Output only. Battery reports collected periodically.
128 { # Status data for battery.
129 &quot;batteryHealth&quot;: &quot;A String&quot;, # Output only. Battery health.
130 &quot;cycleCount&quot;: 42, # Output only. Cycle count.
131 &quot;fullChargeCapacity&quot;: &quot;A String&quot;, # Output only. Full charge capacity (mAmpere-hours).
132 &quot;reportTime&quot;: &quot;A String&quot;, # Output only. Timestamp of when the sample was collected on device
133 &quot;sample&quot;: [ # Output only. Sampling data for the battery.
134 { # Sampling data for battery.
135 &quot;chargeRate&quot;: 42, # Output only. Battery charge percentage.
136 &quot;current&quot;: &quot;A String&quot;, # Output only. Battery current (mA).
137 &quot;dischargeRate&quot;: 42, # Output only. The battery discharge rate measured in mW. Positive if the battery is being discharged, negative if it&#x27;s being charged.
138 &quot;remainingCapacity&quot;: &quot;A String&quot;, # Output only. Battery remaining capacity (mAmpere-hours).
139 &quot;reportTime&quot;: &quot;A String&quot;, # Output only. Timestamp of when the sample was collected on device
140 &quot;status&quot;: &quot;A String&quot;, # Output only. Battery status read from sysfs. Example: Discharging
141 &quot;temperature&quot;: 42, # Output only. Temperature in Celsius degrees.
142 &quot;voltage&quot;: &quot;A String&quot;, # Output only. Battery voltage (millivolt).
143 },
144 ],
145 &quot;serialNumber&quot;: &quot;A String&quot;, # Output only. Battery serial number.
146 },
147 ],
148 &quot;cpuInfo&quot;: [ # Output only. Information regarding CPU specs for the device.
149 { # CPU specs for a CPU.
150 &quot;architecture&quot;: &quot;A String&quot;, # Output only. The CPU architecture.
151 &quot;maxClockSpeed&quot;: 42, # Output only. The max CPU clock speed in kHz.
152 &quot;model&quot;: &quot;A String&quot;, # Output only. The CPU model name. Example: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
153 },
154 ],
155 &quot;cpuStatusReport&quot;: [ # Output only. CPU status reports collected periodically.
156 { # Contains samples of the cpu status reports.
157 &quot;cpuTemperatureInfo&quot;: [ # Output only. CPU temperature sample info per CPU core in Celsius
158 { # CPU temperature of a device. Sampled per CPU core in Celsius
159 &quot;label&quot;: &quot;A String&quot;, # Output only. CPU label. Example: Core 0
160 &quot;temperatureCelsius&quot;: 42, # Output only. CPU temperature in Celsius.
161 },
162 ],
163 &quot;cpuUtilizationPct&quot;: 42, # Output only. Sample of CPU utilization (0-100 percent).
164 &quot;reportTime&quot;: &quot;A String&quot;, # Output only. The timestamp in milliseconds representing time at which this report was sampled.
165 &quot;sampleFrequency&quot;: &quot;A String&quot;, # Output only. Frequency the report is sampled.
166 },
167 ],
168 &quot;customer&quot;: &quot;A String&quot;, # Output only. Google Workspace Customer whose enterprise enrolled the device.
169 &quot;deviceId&quot;: &quot;A String&quot;, # Output only. The unique Directory API ID of the device. This value is the same as the Admin Console&#x27;s Directory API ID in the Chrome OS Devices tab
170 &quot;graphicsInfo&quot;: { # Information of the graphics subsystem. # Output only. Contains information regarding Graphic peripherals for the device.
171 &quot;adapterInfo&quot;: { # Information of a graphics adapter (GPU). # Output only. Information about the graphics adapter (GPU).
172 &quot;adapter&quot;: &quot;A String&quot;, # Output only. Adapter name. Example: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2).
173 &quot;deviceId&quot;: &quot;A String&quot;, # Output only. Represents the graphics card device id.
174 &quot;driverVersion&quot;: &quot;A String&quot;, # Output only. Version of the GPU driver.
175 },
176 },
177 &quot;graphicsStatusReport&quot;: [ # Output only. Graphics reports collected periodically.
178 { # Information of the graphics subsystem.
179 &quot;displays&quot;: [ # Output only. Information about the displays for the device.
180 { # Information for a display.
181 &quot;deviceId&quot;: &quot;A String&quot;, # Output only. Represents the graphics card device id.
182 &quot;isInternal&quot;: True or False, # Output only. Indicates if display is internal or not.
183 &quot;refreshRate&quot;: 42, # Output only. Refresh rate in Hz.
184 &quot;resolutionHeight&quot;: 42, # Output only. Resolution height in pixels.
185 &quot;resolutionWidth&quot;: 42, # Output only. Resolution width in pixels.
186 },
187 ],
188 &quot;reportTime&quot;: &quot;A String&quot;, # Output only. Time at which the graphics data was reported.
189 },
190 ],
191 &quot;memoryInfo&quot;: { # Memory information of a device. # Output only. Information regarding memory specs for the device.
192 &quot;availableRamBytes&quot;: &quot;A String&quot;, # Output only. Amount of available RAM in bytes.
193 &quot;totalRamBytes&quot;: &quot;A String&quot;, # Output only. Total RAM in bytes.
194 },
195 &quot;memoryStatusReport&quot;: [ # Output only. Memory status reports collected periodically.
196 { # Contains samples of memory status reports.
197 &quot;pageFaults&quot;: 42, # Output only. Number of page faults during this collection
198 &quot;reportTime&quot;: &quot;A String&quot;, # Output only. The timestamp in milliseconds representing time at which this report was sampled.
199 &quot;sampleFrequency&quot;: &quot;A String&quot;, # Output only. Frequency the report is sampled.
200 &quot;systemRamFreeBytes&quot;: &quot;A String&quot;, # Output only. Amount of free RAM in bytes (unreliable due to Garbage Collection).
201 },
202 ],
203 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the device.
204 &quot;networkStatusReport&quot;: [ # Output only. Network specs collected periodically.
205 { # State of visible/configured networks.
206 &quot;gatewayIpAddress&quot;: &quot;A String&quot;, # Output only. Gateway IP address.
207 &quot;lanIpAddress&quot;: &quot;A String&quot;, # Output only. LAN IP address.
208 &quot;reportTime&quot;: &quot;A String&quot;, # Output only. Time at which the network state was reported.
209 &quot;sampleFrequency&quot;: &quot;A String&quot;, # Output only. Frequency the report is sampled.
210 &quot;signalStrengthDbm&quot;: 42, # Output only. Signal strength for wireless networks measured in decibels.
211 },
212 ],
213 &quot;orgUnitId&quot;: &quot;A String&quot;, # Output only. Organization unit ID of the device.
214 &quot;osUpdateStatus&quot;: [ # Output only. Contains relevant information regarding ChromeOS update status.
215 { # Contains information regarding the current OS update status.
216 &quot;lastRebootTime&quot;: &quot;A String&quot;, # Output only. Timestamp of the last reboot.
217 &quot;lastUpdateCheckTime&quot;: &quot;A String&quot;, # Output only. Timestamp of the last update check.
218 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. Timestamp of the last successful update.
219 &quot;newPlatformVersion&quot;: &quot;A String&quot;, # Output only. New platform version of the os image being downloaded and applied. It is only set when update status is OS_IMAGE_DOWNLOAD_IN_PROGRESS or OS_UPDATE_NEED_REBOOT. Note this could be a dummy &quot;0.0.0.0&quot; for OS_UPDATE_NEED_REBOOT status for some edge cases, e.g. update engine is restarted without a reboot.
220 &quot;newRequestedPlatformVersion&quot;: &quot;A String&quot;, # Output only. New requested platform version from the pending updated kiosk app.
221 &quot;updateState&quot;: &quot;A String&quot;, # Output only. Current state of the os update.
222 },
223 ],
224 &quot;serialNumber&quot;: &quot;A String&quot;, # Output only. Device serial number. This value is the same as the Admin Console&#x27;s Serial Number in the Chrome OS Devices tab.
225 &quot;storageInfo&quot;: { # Status data for storage. # Output only. Information of storage specs for the device.
226 &quot;availableDiskBytes&quot;: &quot;A String&quot;, # The available space for user data storage in the device in bytes.
227 &quot;totalDiskBytes&quot;: &quot;A String&quot;, # The total space for user data storage in the device in bytes.
228 &quot;volume&quot;: [ # Information for disk volumes
229 { # Information for disk volumes
230 &quot;storageFreeBytes&quot;: &quot;A String&quot;, # Free storage space in bytes.
231 &quot;storageTotalBytes&quot;: &quot;A String&quot;, # Total storage space in bytes.
232 &quot;volumeId&quot;: &quot;A String&quot;, # Disk volume id.
233 },
234 ],
235 },
236 &quot;storageStatusReport&quot;: [ # Output only. Storage reports collected periodically.
237 { # Status data for storage.
238 &quot;disk&quot;: [ # Output only. Reports on disk
239 { # Status of the single storage device.
240 &quot;bytesReadThisSession&quot;: &quot;A String&quot;, # Output only. Number of bytes read since last boot.
241 &quot;bytesWrittenThisSession&quot;: &quot;A String&quot;, # Output only. Number of bytes written since last boot.
242 &quot;discardTimeThisSession&quot;: &quot;A String&quot;, # Output only. Time spent discarding since last boot. Discarding is writing to clear blocks which are no longer in use. Supported on kernels 4.18+.
243 &quot;health&quot;: &quot;A String&quot;, # Output only. Disk health.
244 &quot;ioTimeThisSession&quot;: &quot;A String&quot;, # Output only. Counts the time the disk and queue were busy, so unlike the fields above, parallel requests are not counted multiple times.
245 &quot;manufacturer&quot;: &quot;A String&quot;, # Output only. Disk manufacturer.
246 &quot;model&quot;: &quot;A String&quot;, # Output only. Disk model.
247 &quot;readTimeThisSession&quot;: &quot;A String&quot;, # Output only. Time spent reading from disk since last boot.
248 &quot;serialNumber&quot;: &quot;A String&quot;, # Output only. Disk serial number.
249 &quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. Disk size.
250 &quot;type&quot;: &quot;A String&quot;, # Output only. Disk type: eMMC / NVMe / ATA / SCSI.
251 &quot;volumeIds&quot;: [ # Output only. Disk volumes.
252 &quot;A String&quot;,
253 ],
254 &quot;writeTimeThisSession&quot;: &quot;A String&quot;, # Output only. Time spent writing to disk since last boot.
255 },
256 ],
257 &quot;reportTime&quot;: &quot;A String&quot;, # Output only. Timestamp of when the sample was collected on device
258 },
259 ],
260 },
261 ],
262 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to specify next page in the list.
263}</pre>
264</div>
265
266<div class="method">
267 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
268 <pre>Retrieves the next page of results.
269
270Args:
271 previous_request: The request for the previous page. (required)
272 previous_response: The response from the request for the previous page. (required)
273
274Returns:
275 A request object that you can call &#x27;execute()&#x27; on to request the next
276 page. Returns None if there are no more items in the collection.
277 </pre>
278</div>
279
280</body></html>