Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 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="androidmanagement_v1.html">Android Management API</a> . <a href="androidmanagement_v1.enterprises.html">enterprises</a> . <a href="androidmanagement_v1.enterprises.devices.html">devices</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="androidmanagement_v1.enterprises.devices.operations.html">operations()</a></code> |
| 79 | </p> |
| 80 | <p class="firstline">Returns the operations Resource.</p> |
| 81 | |
| 82 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 83 | <code><a href="#close">close()</a></code></p> |
| 84 | <p class="firstline">Close httplib2 connections.</p> |
| 85 | <p class="toc_element"> |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 86 | <code><a href="#delete">delete(name, wipeDataFlags=None, wipeReasonMessage=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 87 | <p class="firstline">Deletes a device. This operation wipes the device.</p> |
| 88 | <p class="toc_element"> |
| 89 | <code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 90 | <p class="firstline">Gets a device.</p> |
| 91 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 92 | <code><a href="#issueCommand">issueCommand(name, body=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 93 | <p class="firstline">Issues a command to a device. The Operation resource returned contains a Command in its metadata field. Use the get operation method to get the status of the command.</p> |
| 94 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 95 | <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 96 | <p class="firstline">Lists devices for a given enterprise.</p> |
| 97 | <p class="toc_element"> |
| 98 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 99 | <p class="firstline">Retrieves the next page of results.</p> |
| 100 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 101 | <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 102 | <p class="firstline">Updates a device.</p> |
| 103 | <h3>Method Details</h3> |
| 104 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 105 | <code class="details" id="close">close()</code> |
| 106 | <pre>Close httplib2 connections.</pre> |
| 107 | </div> |
| 108 | |
| 109 | <div class="method"> |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 110 | <code class="details" id="delete">delete(name, wipeDataFlags=None, wipeReasonMessage=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 111 | <pre>Deletes a device. This operation wipes the device. |
| 112 | |
| 113 | Args: |
| 114 | name: string, The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}. (required) |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 115 | wipeDataFlags: string, Optional flags that control the device wiping behavior. (repeated) |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 116 | Allowed values |
| 117 | WIPE_DATA_FLAG_UNSPECIFIED - This value is ignored. |
| 118 | PRESERVE_RESET_PROTECTION_DATA - Preserve the factory reset protection data on the device. |
| 119 | WIPE_EXTERNAL_STORAGE - Additionally wipe the device's external storage (such as SD cards). |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 120 | wipeReasonMessage: string, Optional. A short message displayed to the user before wiping the work profile on personal devices. This has no effect on company owned devices. The maximum message length is 200 characters. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 121 | x__xgafv: string, V1 error format. |
| 122 | Allowed values |
| 123 | 1 - v1 error format |
| 124 | 2 - v2 error format |
| 125 | |
| 126 | Returns: |
| 127 | An object of the form: |
| 128 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 129 | { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for Empty is empty JSON object {}. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 130 | }</pre> |
| 131 | </div> |
| 132 | |
| 133 | <div class="method"> |
| 134 | <code class="details" id="get">get(name, x__xgafv=None)</code> |
| 135 | <pre>Gets a device. |
| 136 | |
| 137 | Args: |
| 138 | name: string, The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}. (required) |
| 139 | x__xgafv: string, V1 error format. |
| 140 | Allowed values |
| 141 | 1 - v1 error format |
| 142 | 2 - v2 error format |
| 143 | |
| 144 | Returns: |
| 145 | An object of the form: |
| 146 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 147 | { # A device owned by an enterprise. Unless otherwise noted, all fields are read-only and can't be modified by enterprises.devices.patch. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 148 | "enrollmentTokenData": "A String", # If the device was enrolled with an enrollment token with additional data provided, this field contains that data. |
| 149 | "networkInfo": { # Device network info. # Device network information. This information is only available if networkInfoEnabled is true in the device's policy. |
| 150 | "imei": "A String", # IMEI number of the GSM device. For example, A1000031212. |
| 151 | "networkOperatorName": "A String", # Alphabetic name of current registered operator. For example, Vodafone. |
| 152 | "meid": "A String", # MEID number of the CDMA device. For example, A00000292788E1. |
| 153 | "wifiMacAddress": "A String", # Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11. |
| 154 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 155 | "userName": "A String", # The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 156 | "memoryInfo": { # Information about device memory and storage. # Memory information. This information is only available if memoryInfoEnabled is true in the device's policy. |
| 157 | "totalRam": "A String", # Total RAM on device in bytes. |
| 158 | "totalInternalStorage": "A String", # Total internal storage on device in bytes. |
| 159 | }, |
| 160 | "appliedState": "A String", # The state currently applied to the device. |
| 161 | "policyName": "A String", # The name of the policy applied to the device, in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the device's user is applied. This field can be modified by a patch request. You can specify only the policyId when calling enterprises.devices.patch, as long as the policyId doesn’t contain any slashes. The rest of the policy name is inferred. |
| 162 | "appliedPolicyVersion": "A String", # The version of the policy currently applied to the device. |
| 163 | "user": { # A user belonging to an enterprise. # The user who owns the device. |
| 164 | "accountIdentifier": "A String", # A unique identifier you create for this user, such as user342 or asset#44418. This field must be set when the user is created and can't be updated. This field must not contain personally identifiable information (PII). This identifier must be 1024 characters or less; otherwise, the update policy request will fail. |
| 165 | }, |
| 166 | "systemProperties": { # Map of selected system properties name and value related to the device. This information is only available if systemPropertiesEnabled is true in the device's policy. |
| 167 | "a_key": "A String", |
| 168 | }, |
| 169 | "disabledReason": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # If the device state is DISABLED, an optional message that is displayed on the device indicating the reason the device is disabled. This field can be modified by a patch request. |
| 170 | "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. |
| 171 | "a_key": "A String", |
| 172 | }, |
| 173 | "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. |
| 174 | }, |
| 175 | "powerManagementEvents": [ # Power management events on the device in chronological order. This information is only available if powerManagementEventsEnabled is true in the device's policy. |
| 176 | { # A power management event. |
| 177 | "eventType": "A String", # Event type. |
| 178 | "batteryLevel": 3.14, # For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage. |
| 179 | "createTime": "A String", # The creation time of the event. |
| 180 | }, |
| 181 | ], |
| 182 | "displays": [ # Detailed information about displays on the device. This information is only available if displayInfoEnabled is true in the device's policy. |
| 183 | { # Device display information. |
| 184 | "state": "A String", # State of the display. |
| 185 | "displayId": 42, # Unique display id. |
| 186 | "density": 42, # Display density expressed as dots-per-inch. |
| 187 | "height": 42, # Display height in pixels. |
| 188 | "refreshRate": 42, # Refresh rate of the display in frames per second. |
| 189 | "name": "A String", # Name of the display. |
| 190 | "width": 42, # Display width in pixels. |
| 191 | }, |
| 192 | ], |
| 193 | "lastPolicySyncTime": "A String", # The last time the device fetched its policy. |
| 194 | "hardwareInfo": { # Information about device hardware. The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device's policy. # Detailed information about the device hardware. |
| 195 | "gpuThrottlingTemperatures": [ # GPU throttling temperature thresholds in Celsius for each GPU on the device. |
| 196 | 3.14, |
| 197 | ], |
| 198 | "serialNumber": "A String", # The device serial number. |
| 199 | "batteryShutdownTemperatures": [ # Battery shutdown temperature thresholds in Celsius for each battery on the device. |
| 200 | 3.14, |
| 201 | ], |
| 202 | "skinShutdownTemperatures": [ # Device skin shutdown temperature thresholds in Celsius. |
| 203 | 3.14, |
| 204 | ], |
| 205 | "skinThrottlingTemperatures": [ # Device skin throttling temperature thresholds in Celsius. |
| 206 | 3.14, |
| 207 | ], |
| 208 | "brand": "A String", # Brand of the device. For example, Google. |
| 209 | "cpuThrottlingTemperatures": [ # CPU throttling temperature thresholds in Celsius for each CPU on the device. |
| 210 | 3.14, |
| 211 | ], |
| 212 | "deviceBasebandVersion": "A String", # Baseband version. For example, MDM9625_104662.22.05.34p. |
| 213 | "hardware": "A String", # Name of the hardware. For example, Angler. |
| 214 | "batteryThrottlingTemperatures": [ # Battery throttling temperature thresholds in Celsius for each battery on the device. |
| 215 | 3.14, |
| 216 | ], |
| 217 | "model": "A String", # The model of the device. For example, Asus Nexus 7. |
| 218 | "cpuShutdownTemperatures": [ # CPU shutdown temperature thresholds in Celsius for each CPU on the device. |
| 219 | 3.14, |
| 220 | ], |
| 221 | "gpuShutdownTemperatures": [ # GPU shutdown temperature thresholds in Celsius for each GPU on the device. |
| 222 | 3.14, |
| 223 | ], |
| 224 | "manufacturer": "A String", # Manufacturer. For example, Motorola. |
| 225 | }, |
| 226 | "lastPolicyComplianceReportTime": "A String", # Deprecated. |
| 227 | "applicationReports": [ # Reports for apps installed on the device. This information is only available when application_reports_enabled is true in the device's policy. |
| 228 | { # Information reported about an installed app. |
| 229 | "signingKeyCertFingerprints": [ # The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number. |
| 230 | "A String", |
| 231 | ], |
| 232 | "versionName": "A String", # The app version as displayed to the user. |
| 233 | "displayName": "A String", # The display name of the app. |
| 234 | "packageName": "A String", # Package name of the app. |
| 235 | "versionCode": 42, # The app version code, which can be used to determine whether one version is more recent than another. |
| 236 | "events": [ # List of app events. The most recent 20 events are stored in the list. |
| 237 | { # An app-related event. |
| 238 | "eventType": "A String", # App event type. |
| 239 | "createTime": "A String", # The creation time of the event. |
| 240 | }, |
| 241 | ], |
| 242 | "state": "A String", # Application state. |
| 243 | "packageSha256Hash": "A String", # The SHA-256 hash of the app's APK file, which can be used to verify the app hasn't been modified. Each byte of the hash value is represented as a two-digit hexadecimal number. |
| 244 | "installerPackageName": "A String", # The package name of the app that installed this app. |
| 245 | "keyedAppStates": [ # List of keyed app states reported by the app. |
| 246 | { # Keyed app state reported by the app. |
| 247 | "createTime": "A String", # The creation time of the app state on the device. |
| 248 | "data": "A String", # Optionally, a machine-readable value to be read by the EMM. For example, setting values that the admin can choose to query against in the EMM console (e.g. “notify me if the battery_warning data < 10”). |
| 249 | "lastUpdateTime": "A String", # The time the app state was most recently updated. |
| 250 | "severity": "A String", # The severity of the app state. |
| 251 | "key": "A String", # The key for the app state. Acts as a point of reference for what the app is providing state for. For example, when providing managed configuration feedback, this key could be the managed configuration key. |
| 252 | "message": "A String", # Optionally, a free-form message string to explain the app state. If the state was triggered by a particular value (e.g. a managed configuration value), it should be included in the message. |
| 253 | }, |
| 254 | ], |
| 255 | "applicationSource": "A String", # The source of the package. |
| 256 | }, |
| 257 | ], |
| 258 | "memoryEvents": [ # Events related to memory and storage measurements in chronological order. This information is only available if memoryInfoEnabled is true in the device's policy. |
| 259 | { # An event related to memory and storage measurements. |
| 260 | "byteCount": "A String", # The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium. |
| 261 | "createTime": "A String", # The creation time of the event. |
| 262 | "eventType": "A String", # Event type. |
| 263 | }, |
| 264 | ], |
| 265 | "appliedPolicyName": "A String", # The name of the policy currently applied to the device. |
| 266 | "enrollmentTime": "A String", # The time of device enrollment. |
| 267 | "deviceSettings": { # Information about security related device settings on device. # Device settings information. This information is only available if deviceSettingsEnabled is true in the device's policy. |
| 268 | "adbEnabled": True or False, # Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device. |
| 269 | "encryptionStatus": "A String", # Encryption status from DevicePolicyManager. |
| 270 | "isDeviceSecure": True or False, # Whether the device is secured with PIN/password. |
| 271 | "isEncrypted": True or False, # Whether the storage encryption is enabled. |
| 272 | "developmentSettingsEnabled": True or False, # Whether developer mode is enabled on the device. |
| 273 | "unknownSourcesEnabled": True or False, # Whether installing apps from unknown sources is enabled. |
| 274 | "verifyAppsEnabled": True or False, # Whether Verify Apps (Google Play Protect (https://support.google.com/googleplay/answer/2812853)) is enabled on the device. |
| 275 | }, |
| 276 | "managementMode": "A String", # The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported. |
| 277 | "softwareInfo": { # Information about device software. # Detailed information about the device software. This information is only available if softwareInfoEnabled is true in the device's policy. |
| 278 | "androidVersion": "A String", # The user-visible Android version string. For example, 6.0.1. |
| 279 | "bootloaderVersion": "A String", # The system bootloader version number, e.g. 0.6.7. |
| 280 | "primaryLanguageCode": "A String", # An IETF BCP 47 language code for the primary locale on the device. |
| 281 | "deviceBuildSignature": "A String", # SHA-256 hash of android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the system package, which can be used to verify that the system build hasn't been modified. |
| 282 | "deviceKernelVersion": "A String", # Kernel version, for example, 2.6.32.9-g103d848. |
| 283 | "androidBuildTime": "A String", # Build time. |
| 284 | "systemUpdateInfo": { # Information about a potential pending system update. # Information about a potential pending system update. |
| 285 | "updateReceivedTime": "A String", # The time when the update was first available. A zero value indicates that this field is not set. This field is set only if an update is available (that is, updateStatus is neither UPDATE_STATUS_UNKNOWN nor UP_TO_DATE). |
| 286 | "updateStatus": "A String", # The status of an update: whether an update exists and what type it is. |
| 287 | }, |
| 288 | "securityPatchLevel": "A String", # Security patch level, e.g. 2016-05-01. |
| 289 | "androidDevicePolicyVersionCode": 42, # The Android Device Policy app version code. |
| 290 | "androidBuildNumber": "A String", # Android build ID string meant for displaying to the user. For example, shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys. |
| 291 | "androidDevicePolicyVersionName": "A String", # The Android Device Policy app version as displayed to the user. |
| 292 | }, |
| 293 | "enrollmentTokenName": "A String", # If the device was enrolled with an enrollment token, this field contains the name of the token. |
| 294 | "name": "A String", # The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}. |
| 295 | "nonComplianceDetails": [ # Details about policy settings that the device is not compliant with. |
| 296 | { # Provides detail about non-compliance with a policy setting. |
| 297 | "settingName": "A String", # The name of the policy setting. This is the JSON field name of a top-level Policy field. |
| 298 | "currentValue": "", # If the policy setting could not be applied, the current value of the setting on the device. |
| 299 | "packageName": "A String", # The package name indicating which app is out of compliance, if applicable. |
| 300 | "fieldPath": "A String", # For settings with nested fields, if a particular nested field is out of compliance, this specifies the full path to the offending field. The path is formatted in the same way the policy JSON field would be referenced in JavaScript, that is: 1) For object-typed fields, the field name is followed by a dot then by a subfield name. 2) For array-typed fields, the field name is followed by the array index enclosed in brackets. For example, to indicate a problem with the url field in the externalData field in the 3rd application, the path would be applications[2].externalData.url |
| 301 | "installationFailureReason": "A String", # If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can't be installed or updated. |
| 302 | "nonComplianceReason": "A String", # The reason the device is not in compliance with the setting. |
| 303 | }, |
| 304 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 305 | "securityPosture": { # The security posture of the device, as determined by the current device state and the policies applied. # Device's security posture value that reflects how secure the device is. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 306 | "devicePosture": "A String", # Device's security posture value. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 307 | "postureDetails": [ # Additional details regarding the security posture of the device. |
| 308 | { # Additional details regarding the security posture of the device. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 309 | "advice": [ # Corresponding admin-facing advice to mitigate this security risk and improve the security posture of the device. |
| 310 | { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 311 | "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 312 | "a_key": "A String", |
| 313 | }, |
| 314 | "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. |
| 315 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 316 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 317 | "securityRisk": "A String", # A specific security risk that negatively affects the security posture of the device. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 318 | }, |
| 319 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 320 | }, |
| 321 | "ownership": "A String", # Ownership of the managed device. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 322 | "previousDeviceNames": [ # If the same physical device has been enrolled multiple times, this field contains its previous device names. The serial number is used as the unique identifier to determine if the same physical device has enrolled previously. The names are in chronological order. |
| 323 | "A String", |
| 324 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 325 | "policyCompliant": True or False, # Whether the device is compliant with its policy. |
| 326 | "apiLevel": 42, # The API level of the Android platform version running on the device. |
| 327 | "state": "A String", # The state to be applied to the device. This field can be modified by a patch request. Note that when calling enterprises.devices.patch, ACTIVE and DISABLED are the only allowable values. To enter the device into a DELETED state, call enterprises.devices.delete. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 328 | "hardwareStatusSamples": [ # Hardware status samples in chronological order. This information is only available if hardwareStatusEnabled is true in the device's policy. |
| 329 | { # Hardware status. Temperatures may be compared to the temperature thresholds available in hardwareInfo to determine hardware health. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 330 | "skinTemperatures": [ # Current device skin temperatures in Celsius. |
| 331 | 3.14, |
| 332 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 333 | "cpuTemperatures": [ # Current CPU temperatures in Celsius for each CPU on the device. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 334 | 3.14, |
| 335 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 336 | "cpuUsages": [ # CPU usages in percentage for each core available on the device. Usage is 0 for each unplugged core. Empty array implies that CPU usage is not supported in the system. |
| 337 | 3.14, |
| 338 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 339 | "createTime": "A String", # The time the measurements were taken. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 340 | "batteryTemperatures": [ # Current battery temperatures in Celsius for each battery on the device. |
| 341 | 3.14, |
| 342 | ], |
| 343 | "gpuTemperatures": [ # Current GPU temperatures in Celsius for each GPU on the device. |
| 344 | 3.14, |
| 345 | ], |
| 346 | "fanSpeeds": [ # Fan speeds in RPM for each fan on the device. Empty array means that there are no fans or fan speed is not supported on the system. |
| 347 | 3.14, |
| 348 | ], |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 349 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 350 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 351 | "lastStatusReportTime": "A String", # The last time the device sent a status report. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 352 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 353 | </div> |
| 354 | |
| 355 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 356 | <code class="details" id="issueCommand">issueCommand(name, body=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 357 | <pre>Issues a command to a device. The Operation resource returned contains a Command in its metadata field. Use the get operation method to get the status of the command. |
| 358 | |
| 359 | Args: |
| 360 | name: string, The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 361 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 362 | The object takes the form of: |
| 363 | |
| 364 | { # A command. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 365 | "duration": "A String", # The duration for which the command is valid. The command will expire if not executed by the device during this time. The default duration if unspecified is ten minutes. There is no maximum duration. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 366 | "resetPasswordFlags": [ # For commands of type RESET_PASSWORD, optionally specifies flags. |
| 367 | "A String", |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 368 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 369 | "errorCode": "A String", # If the command failed, an error code explaining the failure. This is not set when the command is cancelled by the caller. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 370 | "type": "A String", # The type of the command. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 371 | "createTime": "A String", # The timestamp at which the command was created. The timestamp is automatically generated by the server. |
| 372 | "newPassword": "A String", # For commands of type RESET_PASSWORD, optionally specifies the new password. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 373 | "userName": "A String", # The resource name of the user that owns the device in the form enterprises/{enterpriseId}/users/{userId}. This is automatically generated by the server based on the device the command is sent to. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 374 | } |
| 375 | |
| 376 | x__xgafv: string, V1 error format. |
| 377 | Allowed values |
| 378 | 1 - v1 error format |
| 379 | 2 - v2 error format |
| 380 | |
| 381 | Returns: |
| 382 | An object of the form: |
| 383 | |
| 384 | { # This resource represents a long-running operation that is the result of a network API call. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 385 | "error": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 386 | "code": 42, # The status code, which should be an enum value of google.rpc.Code. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 387 | "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 388 | "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 389 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 390 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 391 | }, |
| 392 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 393 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 394 | "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse. |
| 395 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
| 396 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 397 | "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. |
| 398 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 399 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 400 | "done": True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available. |
| 401 | "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 402 | }</pre> |
| 403 | </div> |
| 404 | |
| 405 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 406 | <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 407 | <pre>Lists devices for a given enterprise. |
| 408 | |
| 409 | Args: |
| 410 | parent: string, The name of the enterprise in the form enterprises/{enterpriseId}. (required) |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 411 | pageSize: integer, The requested page size. The actual page size may be fixed to a min or max value. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 412 | pageToken: string, A token identifying a page of results returned by the server. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 413 | x__xgafv: string, V1 error format. |
| 414 | Allowed values |
| 415 | 1 - v1 error format |
| 416 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 417 | |
| 418 | Returns: |
| 419 | An object of the form: |
| 420 | |
| 421 | { # Response to a request to list devices for a given enterprise. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 422 | "devices": [ # The list of devices. |
| 423 | { # A device owned by an enterprise. Unless otherwise noted, all fields are read-only and can't be modified by enterprises.devices.patch. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 424 | "enrollmentTokenData": "A String", # If the device was enrolled with an enrollment token with additional data provided, this field contains that data. |
| 425 | "networkInfo": { # Device network info. # Device network information. This information is only available if networkInfoEnabled is true in the device's policy. |
| 426 | "imei": "A String", # IMEI number of the GSM device. For example, A1000031212. |
| 427 | "networkOperatorName": "A String", # Alphabetic name of current registered operator. For example, Vodafone. |
| 428 | "meid": "A String", # MEID number of the CDMA device. For example, A00000292788E1. |
| 429 | "wifiMacAddress": "A String", # Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11. |
| 430 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 431 | "userName": "A String", # The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 432 | "memoryInfo": { # Information about device memory and storage. # Memory information. This information is only available if memoryInfoEnabled is true in the device's policy. |
| 433 | "totalRam": "A String", # Total RAM on device in bytes. |
| 434 | "totalInternalStorage": "A String", # Total internal storage on device in bytes. |
| 435 | }, |
| 436 | "appliedState": "A String", # The state currently applied to the device. |
| 437 | "policyName": "A String", # The name of the policy applied to the device, in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the device's user is applied. This field can be modified by a patch request. You can specify only the policyId when calling enterprises.devices.patch, as long as the policyId doesn’t contain any slashes. The rest of the policy name is inferred. |
| 438 | "appliedPolicyVersion": "A String", # The version of the policy currently applied to the device. |
| 439 | "user": { # A user belonging to an enterprise. # The user who owns the device. |
| 440 | "accountIdentifier": "A String", # A unique identifier you create for this user, such as user342 or asset#44418. This field must be set when the user is created and can't be updated. This field must not contain personally identifiable information (PII). This identifier must be 1024 characters or less; otherwise, the update policy request will fail. |
| 441 | }, |
| 442 | "systemProperties": { # Map of selected system properties name and value related to the device. This information is only available if systemPropertiesEnabled is true in the device's policy. |
| 443 | "a_key": "A String", |
| 444 | }, |
| 445 | "disabledReason": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # If the device state is DISABLED, an optional message that is displayed on the device indicating the reason the device is disabled. This field can be modified by a patch request. |
| 446 | "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. |
| 447 | "a_key": "A String", |
| 448 | }, |
| 449 | "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. |
| 450 | }, |
| 451 | "powerManagementEvents": [ # Power management events on the device in chronological order. This information is only available if powerManagementEventsEnabled is true in the device's policy. |
| 452 | { # A power management event. |
| 453 | "eventType": "A String", # Event type. |
| 454 | "batteryLevel": 3.14, # For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage. |
| 455 | "createTime": "A String", # The creation time of the event. |
| 456 | }, |
| 457 | ], |
| 458 | "displays": [ # Detailed information about displays on the device. This information is only available if displayInfoEnabled is true in the device's policy. |
| 459 | { # Device display information. |
| 460 | "state": "A String", # State of the display. |
| 461 | "displayId": 42, # Unique display id. |
| 462 | "density": 42, # Display density expressed as dots-per-inch. |
| 463 | "height": 42, # Display height in pixels. |
| 464 | "refreshRate": 42, # Refresh rate of the display in frames per second. |
| 465 | "name": "A String", # Name of the display. |
| 466 | "width": 42, # Display width in pixels. |
| 467 | }, |
| 468 | ], |
| 469 | "lastPolicySyncTime": "A String", # The last time the device fetched its policy. |
| 470 | "hardwareInfo": { # Information about device hardware. The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device's policy. # Detailed information about the device hardware. |
| 471 | "gpuThrottlingTemperatures": [ # GPU throttling temperature thresholds in Celsius for each GPU on the device. |
| 472 | 3.14, |
| 473 | ], |
| 474 | "serialNumber": "A String", # The device serial number. |
| 475 | "batteryShutdownTemperatures": [ # Battery shutdown temperature thresholds in Celsius for each battery on the device. |
| 476 | 3.14, |
| 477 | ], |
| 478 | "skinShutdownTemperatures": [ # Device skin shutdown temperature thresholds in Celsius. |
| 479 | 3.14, |
| 480 | ], |
| 481 | "skinThrottlingTemperatures": [ # Device skin throttling temperature thresholds in Celsius. |
| 482 | 3.14, |
| 483 | ], |
| 484 | "brand": "A String", # Brand of the device. For example, Google. |
| 485 | "cpuThrottlingTemperatures": [ # CPU throttling temperature thresholds in Celsius for each CPU on the device. |
| 486 | 3.14, |
| 487 | ], |
| 488 | "deviceBasebandVersion": "A String", # Baseband version. For example, MDM9625_104662.22.05.34p. |
| 489 | "hardware": "A String", # Name of the hardware. For example, Angler. |
| 490 | "batteryThrottlingTemperatures": [ # Battery throttling temperature thresholds in Celsius for each battery on the device. |
| 491 | 3.14, |
| 492 | ], |
| 493 | "model": "A String", # The model of the device. For example, Asus Nexus 7. |
| 494 | "cpuShutdownTemperatures": [ # CPU shutdown temperature thresholds in Celsius for each CPU on the device. |
| 495 | 3.14, |
| 496 | ], |
| 497 | "gpuShutdownTemperatures": [ # GPU shutdown temperature thresholds in Celsius for each GPU on the device. |
| 498 | 3.14, |
| 499 | ], |
| 500 | "manufacturer": "A String", # Manufacturer. For example, Motorola. |
| 501 | }, |
| 502 | "lastPolicyComplianceReportTime": "A String", # Deprecated. |
| 503 | "applicationReports": [ # Reports for apps installed on the device. This information is only available when application_reports_enabled is true in the device's policy. |
| 504 | { # Information reported about an installed app. |
| 505 | "signingKeyCertFingerprints": [ # The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number. |
| 506 | "A String", |
| 507 | ], |
| 508 | "versionName": "A String", # The app version as displayed to the user. |
| 509 | "displayName": "A String", # The display name of the app. |
| 510 | "packageName": "A String", # Package name of the app. |
| 511 | "versionCode": 42, # The app version code, which can be used to determine whether one version is more recent than another. |
| 512 | "events": [ # List of app events. The most recent 20 events are stored in the list. |
| 513 | { # An app-related event. |
| 514 | "eventType": "A String", # App event type. |
| 515 | "createTime": "A String", # The creation time of the event. |
| 516 | }, |
| 517 | ], |
| 518 | "state": "A String", # Application state. |
| 519 | "packageSha256Hash": "A String", # The SHA-256 hash of the app's APK file, which can be used to verify the app hasn't been modified. Each byte of the hash value is represented as a two-digit hexadecimal number. |
| 520 | "installerPackageName": "A String", # The package name of the app that installed this app. |
| 521 | "keyedAppStates": [ # List of keyed app states reported by the app. |
| 522 | { # Keyed app state reported by the app. |
| 523 | "createTime": "A String", # The creation time of the app state on the device. |
| 524 | "data": "A String", # Optionally, a machine-readable value to be read by the EMM. For example, setting values that the admin can choose to query against in the EMM console (e.g. “notify me if the battery_warning data < 10”). |
| 525 | "lastUpdateTime": "A String", # The time the app state was most recently updated. |
| 526 | "severity": "A String", # The severity of the app state. |
| 527 | "key": "A String", # The key for the app state. Acts as a point of reference for what the app is providing state for. For example, when providing managed configuration feedback, this key could be the managed configuration key. |
| 528 | "message": "A String", # Optionally, a free-form message string to explain the app state. If the state was triggered by a particular value (e.g. a managed configuration value), it should be included in the message. |
| 529 | }, |
| 530 | ], |
| 531 | "applicationSource": "A String", # The source of the package. |
| 532 | }, |
| 533 | ], |
| 534 | "memoryEvents": [ # Events related to memory and storage measurements in chronological order. This information is only available if memoryInfoEnabled is true in the device's policy. |
| 535 | { # An event related to memory and storage measurements. |
| 536 | "byteCount": "A String", # The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium. |
| 537 | "createTime": "A String", # The creation time of the event. |
| 538 | "eventType": "A String", # Event type. |
| 539 | }, |
| 540 | ], |
| 541 | "appliedPolicyName": "A String", # The name of the policy currently applied to the device. |
| 542 | "enrollmentTime": "A String", # The time of device enrollment. |
| 543 | "deviceSettings": { # Information about security related device settings on device. # Device settings information. This information is only available if deviceSettingsEnabled is true in the device's policy. |
| 544 | "adbEnabled": True or False, # Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device. |
| 545 | "encryptionStatus": "A String", # Encryption status from DevicePolicyManager. |
| 546 | "isDeviceSecure": True or False, # Whether the device is secured with PIN/password. |
| 547 | "isEncrypted": True or False, # Whether the storage encryption is enabled. |
| 548 | "developmentSettingsEnabled": True or False, # Whether developer mode is enabled on the device. |
| 549 | "unknownSourcesEnabled": True or False, # Whether installing apps from unknown sources is enabled. |
| 550 | "verifyAppsEnabled": True or False, # Whether Verify Apps (Google Play Protect (https://support.google.com/googleplay/answer/2812853)) is enabled on the device. |
| 551 | }, |
| 552 | "managementMode": "A String", # The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported. |
| 553 | "softwareInfo": { # Information about device software. # Detailed information about the device software. This information is only available if softwareInfoEnabled is true in the device's policy. |
| 554 | "androidVersion": "A String", # The user-visible Android version string. For example, 6.0.1. |
| 555 | "bootloaderVersion": "A String", # The system bootloader version number, e.g. 0.6.7. |
| 556 | "primaryLanguageCode": "A String", # An IETF BCP 47 language code for the primary locale on the device. |
| 557 | "deviceBuildSignature": "A String", # SHA-256 hash of android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the system package, which can be used to verify that the system build hasn't been modified. |
| 558 | "deviceKernelVersion": "A String", # Kernel version, for example, 2.6.32.9-g103d848. |
| 559 | "androidBuildTime": "A String", # Build time. |
| 560 | "systemUpdateInfo": { # Information about a potential pending system update. # Information about a potential pending system update. |
| 561 | "updateReceivedTime": "A String", # The time when the update was first available. A zero value indicates that this field is not set. This field is set only if an update is available (that is, updateStatus is neither UPDATE_STATUS_UNKNOWN nor UP_TO_DATE). |
| 562 | "updateStatus": "A String", # The status of an update: whether an update exists and what type it is. |
| 563 | }, |
| 564 | "securityPatchLevel": "A String", # Security patch level, e.g. 2016-05-01. |
| 565 | "androidDevicePolicyVersionCode": 42, # The Android Device Policy app version code. |
| 566 | "androidBuildNumber": "A String", # Android build ID string meant for displaying to the user. For example, shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys. |
| 567 | "androidDevicePolicyVersionName": "A String", # The Android Device Policy app version as displayed to the user. |
| 568 | }, |
| 569 | "enrollmentTokenName": "A String", # If the device was enrolled with an enrollment token, this field contains the name of the token. |
| 570 | "name": "A String", # The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}. |
| 571 | "nonComplianceDetails": [ # Details about policy settings that the device is not compliant with. |
| 572 | { # Provides detail about non-compliance with a policy setting. |
| 573 | "settingName": "A String", # The name of the policy setting. This is the JSON field name of a top-level Policy field. |
| 574 | "currentValue": "", # If the policy setting could not be applied, the current value of the setting on the device. |
| 575 | "packageName": "A String", # The package name indicating which app is out of compliance, if applicable. |
| 576 | "fieldPath": "A String", # For settings with nested fields, if a particular nested field is out of compliance, this specifies the full path to the offending field. The path is formatted in the same way the policy JSON field would be referenced in JavaScript, that is: 1) For object-typed fields, the field name is followed by a dot then by a subfield name. 2) For array-typed fields, the field name is followed by the array index enclosed in brackets. For example, to indicate a problem with the url field in the externalData field in the 3rd application, the path would be applications[2].externalData.url |
| 577 | "installationFailureReason": "A String", # If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can't be installed or updated. |
| 578 | "nonComplianceReason": "A String", # The reason the device is not in compliance with the setting. |
| 579 | }, |
| 580 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 581 | "securityPosture": { # The security posture of the device, as determined by the current device state and the policies applied. # Device's security posture value that reflects how secure the device is. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 582 | "devicePosture": "A String", # Device's security posture value. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 583 | "postureDetails": [ # Additional details regarding the security posture of the device. |
| 584 | { # Additional details regarding the security posture of the device. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 585 | "advice": [ # Corresponding admin-facing advice to mitigate this security risk and improve the security posture of the device. |
| 586 | { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 587 | "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 588 | "a_key": "A String", |
| 589 | }, |
| 590 | "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. |
| 591 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 592 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 593 | "securityRisk": "A String", # A specific security risk that negatively affects the security posture of the device. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 594 | }, |
| 595 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 596 | }, |
| 597 | "ownership": "A String", # Ownership of the managed device. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 598 | "previousDeviceNames": [ # If the same physical device has been enrolled multiple times, this field contains its previous device names. The serial number is used as the unique identifier to determine if the same physical device has enrolled previously. The names are in chronological order. |
| 599 | "A String", |
| 600 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 601 | "policyCompliant": True or False, # Whether the device is compliant with its policy. |
| 602 | "apiLevel": 42, # The API level of the Android platform version running on the device. |
| 603 | "state": "A String", # The state to be applied to the device. This field can be modified by a patch request. Note that when calling enterprises.devices.patch, ACTIVE and DISABLED are the only allowable values. To enter the device into a DELETED state, call enterprises.devices.delete. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 604 | "hardwareStatusSamples": [ # Hardware status samples in chronological order. This information is only available if hardwareStatusEnabled is true in the device's policy. |
| 605 | { # Hardware status. Temperatures may be compared to the temperature thresholds available in hardwareInfo to determine hardware health. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 606 | "skinTemperatures": [ # Current device skin temperatures in Celsius. |
| 607 | 3.14, |
| 608 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 609 | "cpuTemperatures": [ # Current CPU temperatures in Celsius for each CPU on the device. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 610 | 3.14, |
| 611 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 612 | "cpuUsages": [ # CPU usages in percentage for each core available on the device. Usage is 0 for each unplugged core. Empty array implies that CPU usage is not supported in the system. |
| 613 | 3.14, |
| 614 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 615 | "createTime": "A String", # The time the measurements were taken. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 616 | "batteryTemperatures": [ # Current battery temperatures in Celsius for each battery on the device. |
| 617 | 3.14, |
| 618 | ], |
| 619 | "gpuTemperatures": [ # Current GPU temperatures in Celsius for each GPU on the device. |
| 620 | 3.14, |
| 621 | ], |
| 622 | "fanSpeeds": [ # Fan speeds in RPM for each fan on the device. Empty array means that there are no fans or fan speed is not supported on the system. |
| 623 | 3.14, |
| 624 | ], |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 625 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 626 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 627 | "lastStatusReportTime": "A String", # The last time the device sent a status report. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 628 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 629 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 630 | "nextPageToken": "A String", # If there are more results, a token to retrieve next page of results. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 631 | }</pre> |
| 632 | </div> |
| 633 | |
| 634 | <div class="method"> |
| 635 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 636 | <pre>Retrieves the next page of results. |
| 637 | |
| 638 | Args: |
| 639 | previous_request: The request for the previous page. (required) |
| 640 | previous_response: The response from the request for the previous page. (required) |
| 641 | |
| 642 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 643 | A request object that you can call 'execute()' on to request the next |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 644 | page. Returns None if there are no more items in the collection. |
| 645 | </pre> |
| 646 | </div> |
| 647 | |
| 648 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 649 | <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 650 | <pre>Updates a device. |
| 651 | |
| 652 | Args: |
| 653 | name: string, The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 654 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 655 | The object takes the form of: |
| 656 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 657 | { # A device owned by an enterprise. Unless otherwise noted, all fields are read-only and can't be modified by enterprises.devices.patch. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 658 | "enrollmentTokenData": "A String", # If the device was enrolled with an enrollment token with additional data provided, this field contains that data. |
| 659 | "networkInfo": { # Device network info. # Device network information. This information is only available if networkInfoEnabled is true in the device's policy. |
| 660 | "imei": "A String", # IMEI number of the GSM device. For example, A1000031212. |
| 661 | "networkOperatorName": "A String", # Alphabetic name of current registered operator. For example, Vodafone. |
| 662 | "meid": "A String", # MEID number of the CDMA device. For example, A00000292788E1. |
| 663 | "wifiMacAddress": "A String", # Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11. |
| 664 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 665 | "userName": "A String", # The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 666 | "memoryInfo": { # Information about device memory and storage. # Memory information. This information is only available if memoryInfoEnabled is true in the device's policy. |
| 667 | "totalRam": "A String", # Total RAM on device in bytes. |
| 668 | "totalInternalStorage": "A String", # Total internal storage on device in bytes. |
| 669 | }, |
| 670 | "appliedState": "A String", # The state currently applied to the device. |
| 671 | "policyName": "A String", # The name of the policy applied to the device, in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the device's user is applied. This field can be modified by a patch request. You can specify only the policyId when calling enterprises.devices.patch, as long as the policyId doesn’t contain any slashes. The rest of the policy name is inferred. |
| 672 | "appliedPolicyVersion": "A String", # The version of the policy currently applied to the device. |
| 673 | "user": { # A user belonging to an enterprise. # The user who owns the device. |
| 674 | "accountIdentifier": "A String", # A unique identifier you create for this user, such as user342 or asset#44418. This field must be set when the user is created and can't be updated. This field must not contain personally identifiable information (PII). This identifier must be 1024 characters or less; otherwise, the update policy request will fail. |
| 675 | }, |
| 676 | "systemProperties": { # Map of selected system properties name and value related to the device. This information is only available if systemPropertiesEnabled is true in the device's policy. |
| 677 | "a_key": "A String", |
| 678 | }, |
| 679 | "disabledReason": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # If the device state is DISABLED, an optional message that is displayed on the device indicating the reason the device is disabled. This field can be modified by a patch request. |
| 680 | "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. |
| 681 | "a_key": "A String", |
| 682 | }, |
| 683 | "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. |
| 684 | }, |
| 685 | "powerManagementEvents": [ # Power management events on the device in chronological order. This information is only available if powerManagementEventsEnabled is true in the device's policy. |
| 686 | { # A power management event. |
| 687 | "eventType": "A String", # Event type. |
| 688 | "batteryLevel": 3.14, # For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage. |
| 689 | "createTime": "A String", # The creation time of the event. |
| 690 | }, |
| 691 | ], |
| 692 | "displays": [ # Detailed information about displays on the device. This information is only available if displayInfoEnabled is true in the device's policy. |
| 693 | { # Device display information. |
| 694 | "state": "A String", # State of the display. |
| 695 | "displayId": 42, # Unique display id. |
| 696 | "density": 42, # Display density expressed as dots-per-inch. |
| 697 | "height": 42, # Display height in pixels. |
| 698 | "refreshRate": 42, # Refresh rate of the display in frames per second. |
| 699 | "name": "A String", # Name of the display. |
| 700 | "width": 42, # Display width in pixels. |
| 701 | }, |
| 702 | ], |
| 703 | "lastPolicySyncTime": "A String", # The last time the device fetched its policy. |
| 704 | "hardwareInfo": { # Information about device hardware. The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device's policy. # Detailed information about the device hardware. |
| 705 | "gpuThrottlingTemperatures": [ # GPU throttling temperature thresholds in Celsius for each GPU on the device. |
| 706 | 3.14, |
| 707 | ], |
| 708 | "serialNumber": "A String", # The device serial number. |
| 709 | "batteryShutdownTemperatures": [ # Battery shutdown temperature thresholds in Celsius for each battery on the device. |
| 710 | 3.14, |
| 711 | ], |
| 712 | "skinShutdownTemperatures": [ # Device skin shutdown temperature thresholds in Celsius. |
| 713 | 3.14, |
| 714 | ], |
| 715 | "skinThrottlingTemperatures": [ # Device skin throttling temperature thresholds in Celsius. |
| 716 | 3.14, |
| 717 | ], |
| 718 | "brand": "A String", # Brand of the device. For example, Google. |
| 719 | "cpuThrottlingTemperatures": [ # CPU throttling temperature thresholds in Celsius for each CPU on the device. |
| 720 | 3.14, |
| 721 | ], |
| 722 | "deviceBasebandVersion": "A String", # Baseband version. For example, MDM9625_104662.22.05.34p. |
| 723 | "hardware": "A String", # Name of the hardware. For example, Angler. |
| 724 | "batteryThrottlingTemperatures": [ # Battery throttling temperature thresholds in Celsius for each battery on the device. |
| 725 | 3.14, |
| 726 | ], |
| 727 | "model": "A String", # The model of the device. For example, Asus Nexus 7. |
| 728 | "cpuShutdownTemperatures": [ # CPU shutdown temperature thresholds in Celsius for each CPU on the device. |
| 729 | 3.14, |
| 730 | ], |
| 731 | "gpuShutdownTemperatures": [ # GPU shutdown temperature thresholds in Celsius for each GPU on the device. |
| 732 | 3.14, |
| 733 | ], |
| 734 | "manufacturer": "A String", # Manufacturer. For example, Motorola. |
| 735 | }, |
| 736 | "lastPolicyComplianceReportTime": "A String", # Deprecated. |
| 737 | "applicationReports": [ # Reports for apps installed on the device. This information is only available when application_reports_enabled is true in the device's policy. |
| 738 | { # Information reported about an installed app. |
| 739 | "signingKeyCertFingerprints": [ # The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number. |
| 740 | "A String", |
| 741 | ], |
| 742 | "versionName": "A String", # The app version as displayed to the user. |
| 743 | "displayName": "A String", # The display name of the app. |
| 744 | "packageName": "A String", # Package name of the app. |
| 745 | "versionCode": 42, # The app version code, which can be used to determine whether one version is more recent than another. |
| 746 | "events": [ # List of app events. The most recent 20 events are stored in the list. |
| 747 | { # An app-related event. |
| 748 | "eventType": "A String", # App event type. |
| 749 | "createTime": "A String", # The creation time of the event. |
| 750 | }, |
| 751 | ], |
| 752 | "state": "A String", # Application state. |
| 753 | "packageSha256Hash": "A String", # The SHA-256 hash of the app's APK file, which can be used to verify the app hasn't been modified. Each byte of the hash value is represented as a two-digit hexadecimal number. |
| 754 | "installerPackageName": "A String", # The package name of the app that installed this app. |
| 755 | "keyedAppStates": [ # List of keyed app states reported by the app. |
| 756 | { # Keyed app state reported by the app. |
| 757 | "createTime": "A String", # The creation time of the app state on the device. |
| 758 | "data": "A String", # Optionally, a machine-readable value to be read by the EMM. For example, setting values that the admin can choose to query against in the EMM console (e.g. “notify me if the battery_warning data < 10”). |
| 759 | "lastUpdateTime": "A String", # The time the app state was most recently updated. |
| 760 | "severity": "A String", # The severity of the app state. |
| 761 | "key": "A String", # The key for the app state. Acts as a point of reference for what the app is providing state for. For example, when providing managed configuration feedback, this key could be the managed configuration key. |
| 762 | "message": "A String", # Optionally, a free-form message string to explain the app state. If the state was triggered by a particular value (e.g. a managed configuration value), it should be included in the message. |
| 763 | }, |
| 764 | ], |
| 765 | "applicationSource": "A String", # The source of the package. |
| 766 | }, |
| 767 | ], |
| 768 | "memoryEvents": [ # Events related to memory and storage measurements in chronological order. This information is only available if memoryInfoEnabled is true in the device's policy. |
| 769 | { # An event related to memory and storage measurements. |
| 770 | "byteCount": "A String", # The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium. |
| 771 | "createTime": "A String", # The creation time of the event. |
| 772 | "eventType": "A String", # Event type. |
| 773 | }, |
| 774 | ], |
| 775 | "appliedPolicyName": "A String", # The name of the policy currently applied to the device. |
| 776 | "enrollmentTime": "A String", # The time of device enrollment. |
| 777 | "deviceSettings": { # Information about security related device settings on device. # Device settings information. This information is only available if deviceSettingsEnabled is true in the device's policy. |
| 778 | "adbEnabled": True or False, # Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device. |
| 779 | "encryptionStatus": "A String", # Encryption status from DevicePolicyManager. |
| 780 | "isDeviceSecure": True or False, # Whether the device is secured with PIN/password. |
| 781 | "isEncrypted": True or False, # Whether the storage encryption is enabled. |
| 782 | "developmentSettingsEnabled": True or False, # Whether developer mode is enabled on the device. |
| 783 | "unknownSourcesEnabled": True or False, # Whether installing apps from unknown sources is enabled. |
| 784 | "verifyAppsEnabled": True or False, # Whether Verify Apps (Google Play Protect (https://support.google.com/googleplay/answer/2812853)) is enabled on the device. |
| 785 | }, |
| 786 | "managementMode": "A String", # The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported. |
| 787 | "softwareInfo": { # Information about device software. # Detailed information about the device software. This information is only available if softwareInfoEnabled is true in the device's policy. |
| 788 | "androidVersion": "A String", # The user-visible Android version string. For example, 6.0.1. |
| 789 | "bootloaderVersion": "A String", # The system bootloader version number, e.g. 0.6.7. |
| 790 | "primaryLanguageCode": "A String", # An IETF BCP 47 language code for the primary locale on the device. |
| 791 | "deviceBuildSignature": "A String", # SHA-256 hash of android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the system package, which can be used to verify that the system build hasn't been modified. |
| 792 | "deviceKernelVersion": "A String", # Kernel version, for example, 2.6.32.9-g103d848. |
| 793 | "androidBuildTime": "A String", # Build time. |
| 794 | "systemUpdateInfo": { # Information about a potential pending system update. # Information about a potential pending system update. |
| 795 | "updateReceivedTime": "A String", # The time when the update was first available. A zero value indicates that this field is not set. This field is set only if an update is available (that is, updateStatus is neither UPDATE_STATUS_UNKNOWN nor UP_TO_DATE). |
| 796 | "updateStatus": "A String", # The status of an update: whether an update exists and what type it is. |
| 797 | }, |
| 798 | "securityPatchLevel": "A String", # Security patch level, e.g. 2016-05-01. |
| 799 | "androidDevicePolicyVersionCode": 42, # The Android Device Policy app version code. |
| 800 | "androidBuildNumber": "A String", # Android build ID string meant for displaying to the user. For example, shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys. |
| 801 | "androidDevicePolicyVersionName": "A String", # The Android Device Policy app version as displayed to the user. |
| 802 | }, |
| 803 | "enrollmentTokenName": "A String", # If the device was enrolled with an enrollment token, this field contains the name of the token. |
| 804 | "name": "A String", # The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}. |
| 805 | "nonComplianceDetails": [ # Details about policy settings that the device is not compliant with. |
| 806 | { # Provides detail about non-compliance with a policy setting. |
| 807 | "settingName": "A String", # The name of the policy setting. This is the JSON field name of a top-level Policy field. |
| 808 | "currentValue": "", # If the policy setting could not be applied, the current value of the setting on the device. |
| 809 | "packageName": "A String", # The package name indicating which app is out of compliance, if applicable. |
| 810 | "fieldPath": "A String", # For settings with nested fields, if a particular nested field is out of compliance, this specifies the full path to the offending field. The path is formatted in the same way the policy JSON field would be referenced in JavaScript, that is: 1) For object-typed fields, the field name is followed by a dot then by a subfield name. 2) For array-typed fields, the field name is followed by the array index enclosed in brackets. For example, to indicate a problem with the url field in the externalData field in the 3rd application, the path would be applications[2].externalData.url |
| 811 | "installationFailureReason": "A String", # If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can't be installed or updated. |
| 812 | "nonComplianceReason": "A String", # The reason the device is not in compliance with the setting. |
| 813 | }, |
| 814 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 815 | "securityPosture": { # The security posture of the device, as determined by the current device state and the policies applied. # Device's security posture value that reflects how secure the device is. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 816 | "devicePosture": "A String", # Device's security posture value. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 817 | "postureDetails": [ # Additional details regarding the security posture of the device. |
| 818 | { # Additional details regarding the security posture of the device. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 819 | "advice": [ # Corresponding admin-facing advice to mitigate this security risk and improve the security posture of the device. |
| 820 | { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 821 | "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 822 | "a_key": "A String", |
| 823 | }, |
| 824 | "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. |
| 825 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 826 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 827 | "securityRisk": "A String", # A specific security risk that negatively affects the security posture of the device. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 828 | }, |
| 829 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 830 | }, |
| 831 | "ownership": "A String", # Ownership of the managed device. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 832 | "previousDeviceNames": [ # If the same physical device has been enrolled multiple times, this field contains its previous device names. The serial number is used as the unique identifier to determine if the same physical device has enrolled previously. The names are in chronological order. |
| 833 | "A String", |
| 834 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 835 | "policyCompliant": True or False, # Whether the device is compliant with its policy. |
| 836 | "apiLevel": 42, # The API level of the Android platform version running on the device. |
| 837 | "state": "A String", # The state to be applied to the device. This field can be modified by a patch request. Note that when calling enterprises.devices.patch, ACTIVE and DISABLED are the only allowable values. To enter the device into a DELETED state, call enterprises.devices.delete. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 838 | "hardwareStatusSamples": [ # Hardware status samples in chronological order. This information is only available if hardwareStatusEnabled is true in the device's policy. |
| 839 | { # Hardware status. Temperatures may be compared to the temperature thresholds available in hardwareInfo to determine hardware health. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 840 | "skinTemperatures": [ # Current device skin temperatures in Celsius. |
| 841 | 3.14, |
| 842 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 843 | "cpuTemperatures": [ # Current CPU temperatures in Celsius for each CPU on the device. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 844 | 3.14, |
| 845 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 846 | "cpuUsages": [ # CPU usages in percentage for each core available on the device. Usage is 0 for each unplugged core. Empty array implies that CPU usage is not supported in the system. |
| 847 | 3.14, |
| 848 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 849 | "createTime": "A String", # The time the measurements were taken. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 850 | "batteryTemperatures": [ # Current battery temperatures in Celsius for each battery on the device. |
| 851 | 3.14, |
| 852 | ], |
| 853 | "gpuTemperatures": [ # Current GPU temperatures in Celsius for each GPU on the device. |
| 854 | 3.14, |
| 855 | ], |
| 856 | "fanSpeeds": [ # Fan speeds in RPM for each fan on the device. Empty array means that there are no fans or fan speed is not supported on the system. |
| 857 | 3.14, |
| 858 | ], |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 859 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 860 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 861 | "lastStatusReportTime": "A String", # The last time the device sent a status report. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 862 | } |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 863 | |
| 864 | updateMask: string, The field mask indicating the fields to update. If not set, all modifiable fields will be modified. |
| 865 | x__xgafv: string, V1 error format. |
| 866 | Allowed values |
| 867 | 1 - v1 error format |
| 868 | 2 - v2 error format |
| 869 | |
| 870 | Returns: |
| 871 | An object of the form: |
| 872 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 873 | { # A device owned by an enterprise. Unless otherwise noted, all fields are read-only and can't be modified by enterprises.devices.patch. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 874 | "enrollmentTokenData": "A String", # If the device was enrolled with an enrollment token with additional data provided, this field contains that data. |
| 875 | "networkInfo": { # Device network info. # Device network information. This information is only available if networkInfoEnabled is true in the device's policy. |
| 876 | "imei": "A String", # IMEI number of the GSM device. For example, A1000031212. |
| 877 | "networkOperatorName": "A String", # Alphabetic name of current registered operator. For example, Vodafone. |
| 878 | "meid": "A String", # MEID number of the CDMA device. For example, A00000292788E1. |
| 879 | "wifiMacAddress": "A String", # Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11. |
| 880 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 881 | "userName": "A String", # The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 882 | "memoryInfo": { # Information about device memory and storage. # Memory information. This information is only available if memoryInfoEnabled is true in the device's policy. |
| 883 | "totalRam": "A String", # Total RAM on device in bytes. |
| 884 | "totalInternalStorage": "A String", # Total internal storage on device in bytes. |
| 885 | }, |
| 886 | "appliedState": "A String", # The state currently applied to the device. |
| 887 | "policyName": "A String", # The name of the policy applied to the device, in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the device's user is applied. This field can be modified by a patch request. You can specify only the policyId when calling enterprises.devices.patch, as long as the policyId doesn’t contain any slashes. The rest of the policy name is inferred. |
| 888 | "appliedPolicyVersion": "A String", # The version of the policy currently applied to the device. |
| 889 | "user": { # A user belonging to an enterprise. # The user who owns the device. |
| 890 | "accountIdentifier": "A String", # A unique identifier you create for this user, such as user342 or asset#44418. This field must be set when the user is created and can't be updated. This field must not contain personally identifiable information (PII). This identifier must be 1024 characters or less; otherwise, the update policy request will fail. |
| 891 | }, |
| 892 | "systemProperties": { # Map of selected system properties name and value related to the device. This information is only available if systemPropertiesEnabled is true in the device's policy. |
| 893 | "a_key": "A String", |
| 894 | }, |
| 895 | "disabledReason": { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. # If the device state is DISABLED, an optional message that is displayed on the device indicating the reason the device is disabled. This field can be modified by a patch request. |
| 896 | "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. |
| 897 | "a_key": "A String", |
| 898 | }, |
| 899 | "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. |
| 900 | }, |
| 901 | "powerManagementEvents": [ # Power management events on the device in chronological order. This information is only available if powerManagementEventsEnabled is true in the device's policy. |
| 902 | { # A power management event. |
| 903 | "eventType": "A String", # Event type. |
| 904 | "batteryLevel": 3.14, # For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage. |
| 905 | "createTime": "A String", # The creation time of the event. |
| 906 | }, |
| 907 | ], |
| 908 | "displays": [ # Detailed information about displays on the device. This information is only available if displayInfoEnabled is true in the device's policy. |
| 909 | { # Device display information. |
| 910 | "state": "A String", # State of the display. |
| 911 | "displayId": 42, # Unique display id. |
| 912 | "density": 42, # Display density expressed as dots-per-inch. |
| 913 | "height": 42, # Display height in pixels. |
| 914 | "refreshRate": 42, # Refresh rate of the display in frames per second. |
| 915 | "name": "A String", # Name of the display. |
| 916 | "width": 42, # Display width in pixels. |
| 917 | }, |
| 918 | ], |
| 919 | "lastPolicySyncTime": "A String", # The last time the device fetched its policy. |
| 920 | "hardwareInfo": { # Information about device hardware. The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device's policy. # Detailed information about the device hardware. |
| 921 | "gpuThrottlingTemperatures": [ # GPU throttling temperature thresholds in Celsius for each GPU on the device. |
| 922 | 3.14, |
| 923 | ], |
| 924 | "serialNumber": "A String", # The device serial number. |
| 925 | "batteryShutdownTemperatures": [ # Battery shutdown temperature thresholds in Celsius for each battery on the device. |
| 926 | 3.14, |
| 927 | ], |
| 928 | "skinShutdownTemperatures": [ # Device skin shutdown temperature thresholds in Celsius. |
| 929 | 3.14, |
| 930 | ], |
| 931 | "skinThrottlingTemperatures": [ # Device skin throttling temperature thresholds in Celsius. |
| 932 | 3.14, |
| 933 | ], |
| 934 | "brand": "A String", # Brand of the device. For example, Google. |
| 935 | "cpuThrottlingTemperatures": [ # CPU throttling temperature thresholds in Celsius for each CPU on the device. |
| 936 | 3.14, |
| 937 | ], |
| 938 | "deviceBasebandVersion": "A String", # Baseband version. For example, MDM9625_104662.22.05.34p. |
| 939 | "hardware": "A String", # Name of the hardware. For example, Angler. |
| 940 | "batteryThrottlingTemperatures": [ # Battery throttling temperature thresholds in Celsius for each battery on the device. |
| 941 | 3.14, |
| 942 | ], |
| 943 | "model": "A String", # The model of the device. For example, Asus Nexus 7. |
| 944 | "cpuShutdownTemperatures": [ # CPU shutdown temperature thresholds in Celsius for each CPU on the device. |
| 945 | 3.14, |
| 946 | ], |
| 947 | "gpuShutdownTemperatures": [ # GPU shutdown temperature thresholds in Celsius for each GPU on the device. |
| 948 | 3.14, |
| 949 | ], |
| 950 | "manufacturer": "A String", # Manufacturer. For example, Motorola. |
| 951 | }, |
| 952 | "lastPolicyComplianceReportTime": "A String", # Deprecated. |
| 953 | "applicationReports": [ # Reports for apps installed on the device. This information is only available when application_reports_enabled is true in the device's policy. |
| 954 | { # Information reported about an installed app. |
| 955 | "signingKeyCertFingerprints": [ # The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number. |
| 956 | "A String", |
| 957 | ], |
| 958 | "versionName": "A String", # The app version as displayed to the user. |
| 959 | "displayName": "A String", # The display name of the app. |
| 960 | "packageName": "A String", # Package name of the app. |
| 961 | "versionCode": 42, # The app version code, which can be used to determine whether one version is more recent than another. |
| 962 | "events": [ # List of app events. The most recent 20 events are stored in the list. |
| 963 | { # An app-related event. |
| 964 | "eventType": "A String", # App event type. |
| 965 | "createTime": "A String", # The creation time of the event. |
| 966 | }, |
| 967 | ], |
| 968 | "state": "A String", # Application state. |
| 969 | "packageSha256Hash": "A String", # The SHA-256 hash of the app's APK file, which can be used to verify the app hasn't been modified. Each byte of the hash value is represented as a two-digit hexadecimal number. |
| 970 | "installerPackageName": "A String", # The package name of the app that installed this app. |
| 971 | "keyedAppStates": [ # List of keyed app states reported by the app. |
| 972 | { # Keyed app state reported by the app. |
| 973 | "createTime": "A String", # The creation time of the app state on the device. |
| 974 | "data": "A String", # Optionally, a machine-readable value to be read by the EMM. For example, setting values that the admin can choose to query against in the EMM console (e.g. “notify me if the battery_warning data < 10”). |
| 975 | "lastUpdateTime": "A String", # The time the app state was most recently updated. |
| 976 | "severity": "A String", # The severity of the app state. |
| 977 | "key": "A String", # The key for the app state. Acts as a point of reference for what the app is providing state for. For example, when providing managed configuration feedback, this key could be the managed configuration key. |
| 978 | "message": "A String", # Optionally, a free-form message string to explain the app state. If the state was triggered by a particular value (e.g. a managed configuration value), it should be included in the message. |
| 979 | }, |
| 980 | ], |
| 981 | "applicationSource": "A String", # The source of the package. |
| 982 | }, |
| 983 | ], |
| 984 | "memoryEvents": [ # Events related to memory and storage measurements in chronological order. This information is only available if memoryInfoEnabled is true in the device's policy. |
| 985 | { # An event related to memory and storage measurements. |
| 986 | "byteCount": "A String", # The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium. |
| 987 | "createTime": "A String", # The creation time of the event. |
| 988 | "eventType": "A String", # Event type. |
| 989 | }, |
| 990 | ], |
| 991 | "appliedPolicyName": "A String", # The name of the policy currently applied to the device. |
| 992 | "enrollmentTime": "A String", # The time of device enrollment. |
| 993 | "deviceSettings": { # Information about security related device settings on device. # Device settings information. This information is only available if deviceSettingsEnabled is true in the device's policy. |
| 994 | "adbEnabled": True or False, # Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device. |
| 995 | "encryptionStatus": "A String", # Encryption status from DevicePolicyManager. |
| 996 | "isDeviceSecure": True or False, # Whether the device is secured with PIN/password. |
| 997 | "isEncrypted": True or False, # Whether the storage encryption is enabled. |
| 998 | "developmentSettingsEnabled": True or False, # Whether developer mode is enabled on the device. |
| 999 | "unknownSourcesEnabled": True or False, # Whether installing apps from unknown sources is enabled. |
| 1000 | "verifyAppsEnabled": True or False, # Whether Verify Apps (Google Play Protect (https://support.google.com/googleplay/answer/2812853)) is enabled on the device. |
| 1001 | }, |
| 1002 | "managementMode": "A String", # The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported. |
| 1003 | "softwareInfo": { # Information about device software. # Detailed information about the device software. This information is only available if softwareInfoEnabled is true in the device's policy. |
| 1004 | "androidVersion": "A String", # The user-visible Android version string. For example, 6.0.1. |
| 1005 | "bootloaderVersion": "A String", # The system bootloader version number, e.g. 0.6.7. |
| 1006 | "primaryLanguageCode": "A String", # An IETF BCP 47 language code for the primary locale on the device. |
| 1007 | "deviceBuildSignature": "A String", # SHA-256 hash of android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the system package, which can be used to verify that the system build hasn't been modified. |
| 1008 | "deviceKernelVersion": "A String", # Kernel version, for example, 2.6.32.9-g103d848. |
| 1009 | "androidBuildTime": "A String", # Build time. |
| 1010 | "systemUpdateInfo": { # Information about a potential pending system update. # Information about a potential pending system update. |
| 1011 | "updateReceivedTime": "A String", # The time when the update was first available. A zero value indicates that this field is not set. This field is set only if an update is available (that is, updateStatus is neither UPDATE_STATUS_UNKNOWN nor UP_TO_DATE). |
| 1012 | "updateStatus": "A String", # The status of an update: whether an update exists and what type it is. |
| 1013 | }, |
| 1014 | "securityPatchLevel": "A String", # Security patch level, e.g. 2016-05-01. |
| 1015 | "androidDevicePolicyVersionCode": 42, # The Android Device Policy app version code. |
| 1016 | "androidBuildNumber": "A String", # Android build ID string meant for displaying to the user. For example, shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys. |
| 1017 | "androidDevicePolicyVersionName": "A String", # The Android Device Policy app version as displayed to the user. |
| 1018 | }, |
| 1019 | "enrollmentTokenName": "A String", # If the device was enrolled with an enrollment token, this field contains the name of the token. |
| 1020 | "name": "A String", # The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}. |
| 1021 | "nonComplianceDetails": [ # Details about policy settings that the device is not compliant with. |
| 1022 | { # Provides detail about non-compliance with a policy setting. |
| 1023 | "settingName": "A String", # The name of the policy setting. This is the JSON field name of a top-level Policy field. |
| 1024 | "currentValue": "", # If the policy setting could not be applied, the current value of the setting on the device. |
| 1025 | "packageName": "A String", # The package name indicating which app is out of compliance, if applicable. |
| 1026 | "fieldPath": "A String", # For settings with nested fields, if a particular nested field is out of compliance, this specifies the full path to the offending field. The path is formatted in the same way the policy JSON field would be referenced in JavaScript, that is: 1) For object-typed fields, the field name is followed by a dot then by a subfield name. 2) For array-typed fields, the field name is followed by the array index enclosed in brackets. For example, to indicate a problem with the url field in the externalData field in the 3rd application, the path would be applications[2].externalData.url |
| 1027 | "installationFailureReason": "A String", # If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can't be installed or updated. |
| 1028 | "nonComplianceReason": "A String", # The reason the device is not in compliance with the setting. |
| 1029 | }, |
| 1030 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 1031 | "securityPosture": { # The security posture of the device, as determined by the current device state and the policies applied. # Device's security posture value that reflects how secure the device is. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 1032 | "devicePosture": "A String", # Device's security posture value. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 1033 | "postureDetails": [ # Additional details regarding the security posture of the device. |
| 1034 | { # Additional details regarding the security posture of the device. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 1035 | "advice": [ # Corresponding admin-facing advice to mitigate this security risk and improve the security posture of the device. |
| 1036 | { # Provides a user-facing message with locale info. The maximum message length is 4096 characters. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 1037 | "localizedMessages": { # A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 1038 | "a_key": "A String", |
| 1039 | }, |
| 1040 | "defaultMessage": "A String", # The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided. |
| 1041 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1042 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 1043 | "securityRisk": "A String", # A specific security risk that negatively affects the security posture of the device. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1044 | }, |
| 1045 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 1046 | }, |
| 1047 | "ownership": "A String", # Ownership of the managed device. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 1048 | "previousDeviceNames": [ # If the same physical device has been enrolled multiple times, this field contains its previous device names. The serial number is used as the unique identifier to determine if the same physical device has enrolled previously. The names are in chronological order. |
| 1049 | "A String", |
| 1050 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 1051 | "policyCompliant": True or False, # Whether the device is compliant with its policy. |
| 1052 | "apiLevel": 42, # The API level of the Android platform version running on the device. |
| 1053 | "state": "A String", # The state to be applied to the device. This field can be modified by a patch request. Note that when calling enterprises.devices.patch, ACTIVE and DISABLED are the only allowable values. To enter the device into a DELETED state, call enterprises.devices.delete. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 1054 | "hardwareStatusSamples": [ # Hardware status samples in chronological order. This information is only available if hardwareStatusEnabled is true in the device's policy. |
| 1055 | { # Hardware status. Temperatures may be compared to the temperature thresholds available in hardwareInfo to determine hardware health. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 1056 | "skinTemperatures": [ # Current device skin temperatures in Celsius. |
| 1057 | 3.14, |
| 1058 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 1059 | "cpuTemperatures": [ # Current CPU temperatures in Celsius for each CPU on the device. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1060 | 3.14, |
| 1061 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 1062 | "cpuUsages": [ # CPU usages in percentage for each core available on the device. Usage is 0 for each unplugged core. Empty array implies that CPU usage is not supported in the system. |
| 1063 | 3.14, |
| 1064 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 1065 | "createTime": "A String", # The time the measurements were taken. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 1066 | "batteryTemperatures": [ # Current battery temperatures in Celsius for each battery on the device. |
| 1067 | 3.14, |
| 1068 | ], |
| 1069 | "gpuTemperatures": [ # Current GPU temperatures in Celsius for each GPU on the device. |
| 1070 | 3.14, |
| 1071 | ], |
| 1072 | "fanSpeeds": [ # Fan speeds in RPM for each fan on the device. Empty array means that there are no fans or fan speed is not supported on the system. |
| 1073 | 3.14, |
| 1074 | ], |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1075 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 1076 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 1077 | "lastStatusReportTime": "A String", # The last time the device sent a status report. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 1078 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1079 | </div> |
| 1080 | |
| 1081 | </body></html> |