| 1 |
<html><body> |
| 2 |
<style> |
| 3 |
|
| 4 |
body, 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 |
|
| 15 |
body { |
| 16 |
font-size: 13px; |
| 17 |
padding: 1em; |
| 18 |
} |
| 19 |
|
| 20 |
h1 { |
| 21 |
font-size: 26px; |
| 22 |
margin-bottom: 1em; |
| 23 |
} |
| 24 |
|
| 25 |
h2 { |
| 26 |
font-size: 24px; |
| 27 |
margin-bottom: 1em; |
| 28 |
} |
| 29 |
|
| 30 |
h3 { |
| 31 |
font-size: 20px; |
| 32 |
margin-bottom: 1em; |
| 33 |
margin-top: 1em; |
| 34 |
} |
| 35 |
|
| 36 |
pre, code { |
| 37 |
line-height: 1.5; |
| 38 |
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 |
} |
| 40 |
|
| 41 |
pre { |
| 42 |
margin-top: 0.5em; |
| 43 |
} |
| 44 |
|
| 45 |
h1, h2, h3, p { |
| 46 |
font-family: Arial, sans serif; |
| 47 |
} |
| 48 |
|
| 49 |
h1, 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.users.html">users</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="#get">get(name, readMask=None, x__xgafv=None)</a></code></p> |
| 82 |
<p class="firstline">Get telemetry user.</p> |
| 83 |
<p class="toc_element"> |
| 84 |
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</a></code></p> |
| 85 |
<p class="firstline">List all telemetry users.</p> |
| 86 |
<p class="toc_element"> |
| 87 |
<code><a href="#list_next">list_next()</a></code></p> |
| 88 |
<p class="firstline">Retrieves the next page of results.</p> |
| 89 |
<h3>Method Details</h3> |
| 90 |
<div class="method"> |
| 91 |
<code class="details" id="close">close()</code> |
| 92 |
<pre>Close httplib2 connections.</pre> |
| 93 |
</div> |
| 94 |
|
| 95 |
<div class="method"> |
| 96 |
<code class="details" id="get">get(name, readMask=None, x__xgafv=None)</code> |
| 97 |
<pre>Get telemetry user. |
| 98 |
|
| 99 |
Args: |
| 100 |
name: string, Required. Name of the `TelemetryUser` to return. (required) |
| 101 |
readMask: string, Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - user_id - user_email - user_device.device_id - user_device.audio_status_report - user_device.device_activity_report - user_device.network_bandwidth_report - user_device.peripherals_report - user_device.app_report |
| 102 |
x__xgafv: string, V1 error format. |
| 103 |
Allowed values |
| 104 |
1 - v1 error format |
| 105 |
2 - v2 error format |
| 106 |
|
| 107 |
Returns: |
| 108 |
An object of the form: |
| 109 |
|
| 110 |
{ # Telemetry data collected from a managed user. * Granular permission needed: TELEMETRY_API_USER |
| 111 |
"customer": "A String", # G Suite Customer whose enterprise enrolled the device. |
| 112 |
"name": "A String", # Resource name of the user. |
| 113 |
"orgUnitId": "A String", # Organization unit of the user. |
| 114 |
"userDevice": [ # Telemetry data collected from a managed user and device. |
| 115 |
{ # Telemetry data collected for a managed user and device. * Granular permission needed: TELEMETRY_API_DEVICE |
| 116 |
"appReport": [ # Output only. App reports collected periodically sorted in a decreasing order of report_time. |
| 117 |
{ # App report. |
| 118 |
"reportTime": "A String", # Timestamp when the report was collected. |
| 119 |
"usageData": [ # App usage data. |
| 120 |
{ # App usage data. |
| 121 |
"appId": "A String", # App id. |
| 122 |
"appInstanceId": "A String", # Application instance id. This will be unique per window/instance. |
| 123 |
"appType": "A String", # Type of app. |
| 124 |
"runningDuration": "A String", # App foreground running time. |
| 125 |
}, |
| 126 |
], |
| 127 |
}, |
| 128 |
], |
| 129 |
"audioStatusReport": [ # Output only. Audio reports collected periodically sorted in a decreasing order of report_time. |
| 130 |
{ # Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceAudioStatus](https://chromeenterprise.google/policies/#ReportDeviceAudioStatus) * Data Collection Frequency: 10 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_AUDIO_REPORT |
| 131 |
"inputDevice": "A String", # Output only. Active input device's name. |
| 132 |
"inputGain": 42, # Output only. Active input device's gain in [0, 100]. |
| 133 |
"inputMute": True or False, # Output only. Is active input device mute or not. |
| 134 |
"outputDevice": "A String", # Output only. Active output device's name. |
| 135 |
"outputMute": True or False, # Output only. Is active output device mute or not. |
| 136 |
"outputVolume": 42, # Output only. Active output device's volume in [0, 100]. |
| 137 |
"reportTime": "A String", # Output only. Timestamp of when the sample was collected on device. |
| 138 |
}, |
| 139 |
], |
| 140 |
"deviceActivityReport": [ # Output only. Device activity reports collected periodically sorted in a decreasing order of report_time. |
| 141 |
{ # Device activity report. * Granular permission needed: TELEMETRY_API_DEVICE_ACTIVITY_REPORT |
| 142 |
"deviceActivityState": "A String", # Output only. Device activity state. |
| 143 |
"reportTime": "A String", # Output only. Timestamp of when the report was collected. |
| 144 |
}, |
| 145 |
], |
| 146 |
"deviceId": "A String", # The unique Directory API ID of the device. This value is the same as the Admin Console's Directory API ID in the ChromeOS Devices tab. |
| 147 |
"networkBandwidthReport": [ # Output only. Network bandwidth reports collected periodically sorted in a decreasing order of report_time. |
| 148 |
{ # Network bandwidth report. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT |
| 149 |
"downloadSpeedKbps": "A String", # Output only. Download speed in kilobits per second. |
| 150 |
"reportTime": "A String", # Output only. Timestamp of when the report was collected. |
| 151 |
}, |
| 152 |
], |
| 153 |
"peripheralsReport": [ # Output only. Peripherals reports collected periodically sorted in a decreasing order of report_time. |
| 154 |
{ # Peripherals report. * Granular permission needed: TELEMETRY_API_PERIPHERALS_REPORT |
| 155 |
"reportTime": "A String", # Output only. Timestamp of when the report was collected. |
| 156 |
"usbPeripheralReport": [ # Reports of all usb connected devices. |
| 157 |
{ # USB connected peripheral report. |
| 158 |
"categories": [ # Output only. Categories the device belongs to https://www.usb.org/defined-class-codes |
| 159 |
"A String", |
| 160 |
], |
| 161 |
"classId": 42, # Output only. Class ID https://www.usb.org/defined-class-codes |
| 162 |
"firmwareVersion": "A String", # Output only. Firmware version |
| 163 |
"name": "A String", # Output only. Device name, model name, or product name |
| 164 |
"pid": 42, # Output only. Product ID |
| 165 |
"subclassId": 42, # Output only. Subclass ID https://www.usb.org/defined-class-codes |
| 166 |
"vendor": "A String", # Output only. Vendor name |
| 167 |
"vid": 42, # Output only. Vendor ID |
| 168 |
}, |
| 169 |
], |
| 170 |
}, |
| 171 |
], |
| 172 |
}, |
| 173 |
], |
| 174 |
"userEmail": "A String", # Email address of the user. |
| 175 |
"userId": "A String", # Directory ID of the user. |
| 176 |
}</pre> |
| 177 |
</div> |
| 178 |
|
| 179 |
<div class="method"> |
| 180 |
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</code> |
| 181 |
<pre>List all telemetry users. |
| 182 |
|
| 183 |
Args: |
| 184 |
parent: string, Required. Customer id or "my_customer" to use the customer associated to the account making the request. (required) |
| 185 |
filter: string, Only include resources that match the filter. Supported filter fields: - user_id - user_org_unit_id |
| 186 |
pageSize: integer, Maximum number of results to return. Default value is 100. Maximum value is 1000. |
| 187 |
pageToken: string, Token to specify next page in the list. |
| 188 |
readMask: string, Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - user_id - user_email - user_device.device_id - user_device.audio_status_report - user_device.device_activity_report - user_device.network_bandwidth_report - user_device.peripherals_report - user_device.app_report |
| 189 |
x__xgafv: string, V1 error format. |
| 190 |
Allowed values |
| 191 |
1 - v1 error format |
| 192 |
2 - v2 error format |
| 193 |
|
| 194 |
Returns: |
| 195 |
An object of the form: |
| 196 |
|
| 197 |
{ # Response message for listing telemetry users for a customer. |
| 198 |
"nextPageToken": "A String", # Token to specify next page in the list. |
| 199 |
"telemetryUsers": [ # Telemetry users returned in the response. |
| 200 |
{ # Telemetry data collected from a managed user. * Granular permission needed: TELEMETRY_API_USER |
| 201 |
"customer": "A String", # G Suite Customer whose enterprise enrolled the device. |
| 202 |
"name": "A String", # Resource name of the user. |
| 203 |
"orgUnitId": "A String", # Organization unit of the user. |
| 204 |
"userDevice": [ # Telemetry data collected from a managed user and device. |
| 205 |
{ # Telemetry data collected for a managed user and device. * Granular permission needed: TELEMETRY_API_DEVICE |
| 206 |
"appReport": [ # Output only. App reports collected periodically sorted in a decreasing order of report_time. |
| 207 |
{ # App report. |
| 208 |
"reportTime": "A String", # Timestamp when the report was collected. |
| 209 |
"usageData": [ # App usage data. |
| 210 |
{ # App usage data. |
| 211 |
"appId": "A String", # App id. |
| 212 |
"appInstanceId": "A String", # Application instance id. This will be unique per window/instance. |
| 213 |
"appType": "A String", # Type of app. |
| 214 |
"runningDuration": "A String", # App foreground running time. |
| 215 |
}, |
| 216 |
], |
| 217 |
}, |
| 218 |
], |
| 219 |
"audioStatusReport": [ # Output only. Audio reports collected periodically sorted in a decreasing order of report_time. |
| 220 |
{ # Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceAudioStatus](https://chromeenterprise.google/policies/#ReportDeviceAudioStatus) * Data Collection Frequency: 10 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_AUDIO_REPORT |
| 221 |
"inputDevice": "A String", # Output only. Active input device's name. |
| 222 |
"inputGain": 42, # Output only. Active input device's gain in [0, 100]. |
| 223 |
"inputMute": True or False, # Output only. Is active input device mute or not. |
| 224 |
"outputDevice": "A String", # Output only. Active output device's name. |
| 225 |
"outputMute": True or False, # Output only. Is active output device mute or not. |
| 226 |
"outputVolume": 42, # Output only. Active output device's volume in [0, 100]. |
| 227 |
"reportTime": "A String", # Output only. Timestamp of when the sample was collected on device. |
| 228 |
}, |
| 229 |
], |
| 230 |
"deviceActivityReport": [ # Output only. Device activity reports collected periodically sorted in a decreasing order of report_time. |
| 231 |
{ # Device activity report. * Granular permission needed: TELEMETRY_API_DEVICE_ACTIVITY_REPORT |
| 232 |
"deviceActivityState": "A String", # Output only. Device activity state. |
| 233 |
"reportTime": "A String", # Output only. Timestamp of when the report was collected. |
| 234 |
}, |
| 235 |
], |
| 236 |
"deviceId": "A String", # The unique Directory API ID of the device. This value is the same as the Admin Console's Directory API ID in the ChromeOS Devices tab. |
| 237 |
"networkBandwidthReport": [ # Output only. Network bandwidth reports collected periodically sorted in a decreasing order of report_time. |
| 238 |
{ # Network bandwidth report. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT |
| 239 |
"downloadSpeedKbps": "A String", # Output only. Download speed in kilobits per second. |
| 240 |
"reportTime": "A String", # Output only. Timestamp of when the report was collected. |
| 241 |
}, |
| 242 |
], |
| 243 |
"peripheralsReport": [ # Output only. Peripherals reports collected periodically sorted in a decreasing order of report_time. |
| 244 |
{ # Peripherals report. * Granular permission needed: TELEMETRY_API_PERIPHERALS_REPORT |
| 245 |
"reportTime": "A String", # Output only. Timestamp of when the report was collected. |
| 246 |
"usbPeripheralReport": [ # Reports of all usb connected devices. |
| 247 |
{ # USB connected peripheral report. |
| 248 |
"categories": [ # Output only. Categories the device belongs to https://www.usb.org/defined-class-codes |
| 249 |
"A String", |
| 250 |
], |
| 251 |
"classId": 42, # Output only. Class ID https://www.usb.org/defined-class-codes |
| 252 |
"firmwareVersion": "A String", # Output only. Firmware version |
| 253 |
"name": "A String", # Output only. Device name, model name, or product name |
| 254 |
"pid": 42, # Output only. Product ID |
| 255 |
"subclassId": 42, # Output only. Subclass ID https://www.usb.org/defined-class-codes |
| 256 |
"vendor": "A String", # Output only. Vendor name |
| 257 |
"vid": 42, # Output only. Vendor ID |
| 258 |
}, |
| 259 |
], |
| 260 |
}, |
| 261 |
], |
| 262 |
}, |
| 263 |
], |
| 264 |
"userEmail": "A String", # Email address of the user. |
| 265 |
"userId": "A String", # Directory ID of the user. |
| 266 |
}, |
| 267 |
], |
| 268 |
}</pre> |
| 269 |
</div> |
| 270 |
|
| 271 |
<div class="method"> |
| 272 |
<code class="details" id="list_next">list_next()</code> |
| 273 |
<pre>Retrieves the next page of results. |
| 274 |
|
| 275 |
Args: |
| 276 |
previous_request: The request for the previous page. (required) |
| 277 |
previous_response: The response from the request for the previous page. (required) |
| 278 |
|
| 279 |
Returns: |
| 280 |
A request object that you can call 'execute()' on to request the next |
| 281 |
page. Returns None if there are no more items in the collection. |
| 282 |
</pre> |
| 283 |
</div> |
| 284 |
|
| 285 |
</body></html> |