Close httplib2 connections.
list(parent, filter=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)
List telemetry events.
Retrieves the next page of results.
close()
Close httplib2 connections.
list(parent, filter=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)
List telemetry events. Args: parent: string, Required. Customer id or "my_customer" to use the customer associated to the account making the request. (required) filter: string, Optional. Only include resources that match the filter. Supported filter fields: - device_id - user_id - device_org_unit_id - user_org_unit_id - timestamp - event_type The "timestamp" filter accepts either Epoch milliseconds or RFC 3339 formatted time surrounded by simple double quotes. pageSize: integer, Optional. Maximum number of results to return. Default value is 100. Maximum value is 1000. pageToken: string, Optional. Token to specify next page in the list. readMask: string, Required. Read mask to specify which fields to return. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response message for listing telemetry events for a customer. "nextPageToken": "A String", # Token to specify next page in the list. "telemetryEvents": [ # Telemetry events returned in the response. { # Telemetry data reported by a managed device. "audioSevereUnderrunEvent": { # `TelemetryAudioSevereUnderrunEvent` is triggered when a audio devices run out of buffer data for more than 5 seconds. # Output only. Payload for audio severe underrun event. Present only when the `event_type` field is `AUDIO_SEVERE_UNDERRUN`. }, "device": { # Information about a device associated with telemetry data. # Output only. Information about the device associated with the event. "deviceId": "A String", # Output only. 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. "orgUnitId": "A String", # Output only. Organization unit ID of the device. }, "eventType": "A String", # The event type of the current event. "httpsLatencyChangeEvent": { # Https latency routine is run periodically and `TelemetryHttpsLatencyChangeEvent` is triggered if a latency problem was detected or if the device has recovered from a latency problem.. # Output only. Payload for HTTPS latency change event. Present only when `event_type` is `NETWORK_HTTPS_LATENCY_CHANGE`. "httpsLatencyRoutineData": { # Data that describes the result of the HTTPS latency diagnostics routine, with the HTTPS requests issued to Google websites. # HTTPS latency routine data that triggered the event. "latency": "A String", # Output only. HTTPS latency if routine succeeded or failed because of HIGH_LATENCY or VERY_HIGH_LATENCY. "problem": "A String", # Output only. HTTPS latency routine problem if a problem occurred. }, "httpsLatencyState": "A String", # Current HTTPS latency state. }, "name": "A String", # Output only. Resource name of the event. "reportTime": "A String", # Timestamp that represents when the event was reported. "usbPeripheralsEvent": { # `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or removed. # Output only. Payload for usb peripherals event. Present only when the `event_type` field is either `USB_ADDED` or `USB_REMOVED`. "usbPeripheralReport": [ # List of usb devices that were either added or removed. { # USB connected peripheral report. "categories": [ # Output only. Categories the device belongs to https://www.usb.org/defined-class-codes "A String", ], "classId": 42, # Output only. Class ID https://www.usb.org/defined-class-codes "firmwareVersion": "A String", # Output only. Firmware version "name": "A String", # Output only. Device name, model name, or product name "pid": 42, # Output only. Product ID "subclassId": 42, # Output only. Subclass ID https://www.usb.org/defined-class-codes "vendor": "A String", # Output only. Vendor name "vid": 42, # Output only. Vendor ID }, ], }, "user": { # Information about a user associated with telemetry data. # Output only. Information about the user associated with the event. "email": "A String", # Output only. User's email. "orgUnitId": "A String", # Output only. Organization unit ID of the user. }, }, ], }
list_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.