blob: 0615a52a9fb870f1a6db3379857f212ccca1c6a0 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="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 Frenkel3e17f892020-10-06 16:46:05 -070083 <code><a href="#close">close()</a></code></p>
84<p class="firstline">Close httplib2 connections.</p>
85<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070086 <code><a href="#delete">delete(name, wipeDataFlags=None, wipeReasonMessage=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070087<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'Mearadd494642020-05-01 07:42:23 -070092 <code><a href="#issueCommand">issueCommand(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070093<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">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -080095 <code><a href="#list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070096<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'Mearadd494642020-05-01 07:42:23 -0700101 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700102<p class="firstline">Updates a device.</p>
103<h3>Method Details</h3>
104<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107</div>
108
109<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700110 <code class="details" id="delete">delete(name, wipeDataFlags=None, wipeReasonMessage=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700111 <pre>Deletes a device. This operation wipes the device.
112
113Args:
114 name: string, The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700115 wipeDataFlags: string, Optional flags that control the device wiping behavior. (repeated)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700116 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&#x27;s external storage (such as SD cards).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700120 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 Kim715bd7f2019-06-14 16:50:42 -0700121 x__xgafv: string, V1 error format.
122 Allowed values
123 1 - v1 error format
124 2 - v2 error format
125
126Returns:
127 An object of the form:
128
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700129 { # 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 Kim715bd7f2019-06-14 16:50:42 -0700130 }</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
137Args:
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
144Returns:
145 An object of the form:
146
Bu Sun Kim65020912020-05-20 12:08:20 -0700147 { # A device owned by an enterprise. Unless otherwise noted, all fields are read-only and can&#x27;t be modified by enterprises.devices.patch.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700148 &quot;networkInfo&quot;: { # Device network info. # Device network information. This information is only available if networkInfoEnabled is true in the device&#x27;s policy.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800149 &quot;wifiMacAddress&quot;: &quot;A String&quot;, # Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700150 &quot;networkOperatorName&quot;: &quot;A String&quot;, # Alphabetic name of current registered operator. For example, Vodafone.
151 &quot;meid&quot;: &quot;A String&quot;, # MEID number of the CDMA device. For example, A00000292788E1.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800152 &quot;imei&quot;: &quot;A String&quot;, # IMEI number of the GSM device. For example, A1000031212.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700153 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800154 &quot;softwareInfo&quot;: { # Information about device software. # Detailed information about the device software. This information is only available if softwareInfoEnabled is true in the device&#x27;s policy.
155 &quot;androidDevicePolicyVersionName&quot;: &quot;A String&quot;, # The Android Device Policy app version as displayed to the user.
156 &quot;deviceKernelVersion&quot;: &quot;A String&quot;, # Kernel version, for example, 2.6.32.9-g103d848.
157 &quot;androidDevicePolicyVersionCode&quot;: 42, # The Android Device Policy app version code.
158 &quot;deviceBuildSignature&quot;: &quot;A String&quot;, # 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&#x27;t been modified.
159 &quot;androidBuildNumber&quot;: &quot;A String&quot;, # Android build ID string meant for displaying to the user. For example, shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys.
160 &quot;systemUpdateInfo&quot;: { # Information about a potential pending system update. # Information about a potential pending system update.
161 &quot;updateReceivedTime&quot;: &quot;A String&quot;, # 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).
162 &quot;updateStatus&quot;: &quot;A String&quot;, # The status of an update: whether an update exists and what type it is.
163 },
164 &quot;primaryLanguageCode&quot;: &quot;A String&quot;, # An IETF BCP 47 language code for the primary locale on the device.
165 &quot;bootloaderVersion&quot;: &quot;A String&quot;, # The system bootloader version number, e.g. 0.6.7.
166 &quot;securityPatchLevel&quot;: &quot;A String&quot;, # Security patch level, e.g. 2016-05-01.
167 &quot;androidBuildTime&quot;: &quot;A String&quot;, # Build time.
168 &quot;androidVersion&quot;: &quot;A String&quot;, # The user-visible Android version string. For example, 6.0.1.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700169 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800170 &quot;ownership&quot;: &quot;A String&quot;, # Ownership of the managed device.
171 &quot;powerManagementEvents&quot;: [ # Power management events on the device in chronological order. This information is only available if powerManagementEventsEnabled is true in the device&#x27;s policy.
172 { # A power management event.
173 &quot;batteryLevel&quot;: 3.14, # For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage.
174 &quot;eventType&quot;: &quot;A String&quot;, # Event type.
175 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the event.
176 },
177 ],
178 &quot;enrollmentTokenData&quot;: &quot;A String&quot;, # If the device was enrolled with an enrollment token with additional data provided, this field contains that data.
179 &quot;lastPolicySyncTime&quot;: &quot;A String&quot;, # The last time the device fetched its policy.
180 &quot;name&quot;: &quot;A String&quot;, # The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.
181 &quot;enrollmentTime&quot;: &quot;A String&quot;, # The time of device enrollment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700182 &quot;appliedPolicyVersion&quot;: &quot;A String&quot;, # The version of the policy currently applied to the device.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800183 &quot;deviceSettings&quot;: { # Information about security related device settings on device. # Device settings information. This information is only available if deviceSettingsEnabled is true in the device&#x27;s policy.
184 &quot;unknownSourcesEnabled&quot;: True or False, # Whether installing apps from unknown sources is enabled.
185 &quot;verifyAppsEnabled&quot;: True or False, # Whether Verify Apps (Google Play Protect (https://support.google.com/googleplay/answer/2812853)) is enabled on the device.
186 &quot;isEncrypted&quot;: True or False, # Whether the storage encryption is enabled.
187 &quot;adbEnabled&quot;: True or False, # Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device.
188 &quot;isDeviceSecure&quot;: True or False, # Whether the device is secured with PIN/password.
189 &quot;developmentSettingsEnabled&quot;: True or False, # Whether developer mode is enabled on the device.
190 &quot;encryptionStatus&quot;: &quot;A String&quot;, # Encryption status from DevicePolicyManager.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700191 },
192 &quot;disabledReason&quot;: { # 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.
193 &quot;localizedMessages&quot;: { # 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.
194 &quot;a_key&quot;: &quot;A String&quot;,
195 },
196 &quot;defaultMessage&quot;: &quot;A String&quot;, # The default message displayed if no localized message is specified or the user&#x27;s locale doesn&#x27;t match with any of the localized messages. A default message must be provided if any localized messages are provided.
197 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800198 &quot;appliedPolicyName&quot;: &quot;A String&quot;, # The name of the policy currently applied to the device.
199 &quot;lastPolicyComplianceReportTime&quot;: &quot;A String&quot;, # Deprecated.
200 &quot;previousDeviceNames&quot;: [ # 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.
201 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700202 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800203 &quot;systemProperties&quot;: { # Map of selected system properties name and value related to the device. This information is only available if systemPropertiesEnabled is true in the device&#x27;s policy.
204 &quot;a_key&quot;: &quot;A String&quot;,
205 },
206 &quot;memoryInfo&quot;: { # Information about device memory and storage. # Memory information. This information is only available if memoryInfoEnabled is true in the device&#x27;s policy.
207 &quot;totalInternalStorage&quot;: &quot;A String&quot;, # Total internal storage on device in bytes.
208 &quot;totalRam&quot;: &quot;A String&quot;, # Total RAM on device in bytes.
209 },
210 &quot;policyCompliant&quot;: True or False, # Whether the device is compliant with its policy.
211 &quot;state&quot;: &quot;A String&quot;, # 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.
212 &quot;policyName&quot;: &quot;A String&quot;, # 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&#x27;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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700213 &quot;hardwareInfo&quot;: { # Information about device hardware. The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device&#x27;s policy. # Detailed information about the device hardware.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800214 &quot;batteryThrottlingTemperatures&quot;: [ # Battery throttling temperature thresholds in Celsius for each battery on the device.
215 3.14,
216 ],
217 &quot;hardware&quot;: &quot;A String&quot;, # Name of the hardware. For example, Angler.
218 &quot;cpuShutdownTemperatures&quot;: [ # CPU shutdown temperature thresholds in Celsius for each CPU on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700219 3.14,
220 ],
221 &quot;serialNumber&quot;: &quot;A String&quot;, # The device serial number.
222 &quot;batteryShutdownTemperatures&quot;: [ # Battery shutdown temperature thresholds in Celsius for each battery on the device.
223 3.14,
224 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700225 &quot;skinThrottlingTemperatures&quot;: [ # Device skin throttling temperature thresholds in Celsius.
226 3.14,
227 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800228 &quot;model&quot;: &quot;A String&quot;, # The model of the device. For example, Asus Nexus 7.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700229 &quot;brand&quot;: &quot;A String&quot;, # Brand of the device. For example, Google.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800230 &quot;manufacturer&quot;: &quot;A String&quot;, # Manufacturer. For example, Motorola.
231 &quot;gpuShutdownTemperatures&quot;: [ # GPU shutdown temperature thresholds in Celsius for each GPU on the device.
232 3.14,
233 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700234 &quot;cpuThrottlingTemperatures&quot;: [ # CPU throttling temperature thresholds in Celsius for each CPU on the device.
235 3.14,
236 ],
237 &quot;deviceBasebandVersion&quot;: &quot;A String&quot;, # Baseband version. For example, MDM9625_104662.22.05.34p.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800238 &quot;gpuThrottlingTemperatures&quot;: [ # GPU throttling temperature thresholds in Celsius for each GPU on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700239 3.14,
240 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800241 &quot;skinShutdownTemperatures&quot;: [ # Device skin shutdown temperature thresholds in Celsius.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700242 3.14,
243 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700244 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800245 &quot;userName&quot;: &quot;A String&quot;, # The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}.
246 &quot;displays&quot;: [ # Detailed information about displays on the device. This information is only available if displayInfoEnabled is true in the device&#x27;s policy.
247 { # Device display information.
248 &quot;width&quot;: 42, # Display width in pixels.
249 &quot;density&quot;: 42, # Display density expressed as dots-per-inch.
250 &quot;refreshRate&quot;: 42, # Refresh rate of the display in frames per second.
251 &quot;height&quot;: 42, # Display height in pixels.
252 &quot;state&quot;: &quot;A String&quot;, # State of the display.
253 &quot;displayId&quot;: 42, # Unique display id.
254 &quot;name&quot;: &quot;A String&quot;, # Name of the display.
255 },
256 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700257 &quot;applicationReports&quot;: [ # Reports for apps installed on the device. This information is only available when application_reports_enabled is true in the device&#x27;s policy.
258 { # Information reported about an installed app.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800259 &quot;state&quot;: &quot;A String&quot;, # Application state.
260 &quot;applicationSource&quot;: &quot;A String&quot;, # The source of the package.
261 &quot;versionName&quot;: &quot;A String&quot;, # The app version as displayed to the user.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700262 &quot;signingKeyCertFingerprints&quot;: [ # 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.
263 &quot;A String&quot;,
264 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700265 &quot;events&quot;: [ # List of app events. The most recent 20 events are stored in the list.
266 { # An app-related event.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700267 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the event.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800268 &quot;eventType&quot;: &quot;A String&quot;, # App event type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700269 },
270 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700271 &quot;packageSha256Hash&quot;: &quot;A String&quot;, # The SHA-256 hash of the app&#x27;s APK file, which can be used to verify the app hasn&#x27;t been modified. Each byte of the hash value is represented as a two-digit hexadecimal number.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800272 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the app.
273 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the app.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700274 &quot;keyedAppStates&quot;: [ # List of keyed app states reported by the app.
275 { # Keyed app state reported by the app.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800276 &quot;key&quot;: &quot;A String&quot;, # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700277 &quot;data&quot;: &quot;A String&quot;, # 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 &lt; 10”).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800278 &quot;message&quot;: &quot;A String&quot;, # 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.
279 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the app state on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700280 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # The time the app state was most recently updated.
281 &quot;severity&quot;: &quot;A String&quot;, # The severity of the app state.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700282 },
283 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800284 &quot;installerPackageName&quot;: &quot;A String&quot;, # The package name of the app that installed this app.
285 &quot;versionCode&quot;: 42, # The app version code, which can be used to determine whether one version is more recent than another.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700286 },
287 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800288 &quot;user&quot;: { # A user belonging to an enterprise. # The user who owns the device.
289 &quot;accountIdentifier&quot;: &quot;A String&quot;, # 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&#x27;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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700290 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800291 &quot;apiLevel&quot;: 42, # The API level of the Android platform version running on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700292 &quot;managementMode&quot;: &quot;A String&quot;, # The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800293 &quot;commonCriteriaModeInfo&quot;: { # Information about Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC).This information is only available if statusReportingSettings.commonCriteriaModeEnabled is true in the device&#x27;s policy. # Information about Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC).This information is only available if statusReportingSettings.commonCriteriaModeEnabled is true in the device&#x27;s policy.
294 &quot;commonCriteriaModeStatus&quot;: &quot;A String&quot;, # Whether Common Criteria Mode is enabled.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700295 },
296 &quot;enrollmentTokenName&quot;: &quot;A String&quot;, # If the device was enrolled with an enrollment token, this field contains the name of the token.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800297 &quot;hardwareStatusSamples&quot;: [ # Hardware status samples in chronological order. This information is only available if hardwareStatusEnabled is true in the device&#x27;s policy.
298 { # Hardware status. Temperatures may be compared to the temperature thresholds available in hardwareInfo to determine hardware health.
299 &quot;gpuTemperatures&quot;: [ # Current GPU temperatures in Celsius for each GPU on the device.
300 3.14,
301 ],
302 &quot;cpuUsages&quot;: [ # 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.
303 3.14,
304 ],
305 &quot;batteryTemperatures&quot;: [ # Current battery temperatures in Celsius for each battery on the device.
306 3.14,
307 ],
308 &quot;cpuTemperatures&quot;: [ # Current CPU temperatures in Celsius for each CPU on the device.
309 3.14,
310 ],
311 &quot;createTime&quot;: &quot;A String&quot;, # The time the measurements were taken.
312 &quot;fanSpeeds&quot;: [ # 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.
313 3.14,
314 ],
315 &quot;skinTemperatures&quot;: [ # Current device skin temperatures in Celsius.
316 3.14,
317 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700318 },
319 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800320 &quot;appliedState&quot;: &quot;A String&quot;, # The state currently applied to the device.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700321 &quot;securityPosture&quot;: { # The security posture of the device, as determined by the current device state and the policies applied. # Device&#x27;s security posture value that reflects how secure the device is.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700322 &quot;devicePosture&quot;: &quot;A String&quot;, # Device&#x27;s security posture value.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700323 &quot;postureDetails&quot;: [ # Additional details regarding the security posture of the device.
324 { # Additional details regarding the security posture of the device.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800325 &quot;securityRisk&quot;: &quot;A String&quot;, # A specific security risk that negatively affects the security posture of the device.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700326 &quot;advice&quot;: [ # Corresponding admin-facing advice to mitigate this security risk and improve the security posture of the device.
327 { # Provides a user-facing message with locale info. The maximum message length is 4096 characters.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700328 &quot;localizedMessages&quot;: { # 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 Kimd059ad82020-07-22 17:02:09 -0700329 &quot;a_key&quot;: &quot;A String&quot;,
330 },
331 &quot;defaultMessage&quot;: &quot;A String&quot;, # The default message displayed if no localized message is specified or the user&#x27;s locale doesn&#x27;t match with any of the localized messages. A default message must be provided if any localized messages are provided.
332 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700333 ],
334 },
335 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700336 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800337 &quot;lastStatusReportTime&quot;: &quot;A String&quot;, # The last time the device sent a status report.
338 &quot;nonComplianceDetails&quot;: [ # Details about policy settings that the device is not compliant with.
339 { # Provides detail about non-compliance with a policy setting.
340 &quot;settingName&quot;: &quot;A String&quot;, # The name of the policy setting. This is the JSON field name of a top-level Policy field.
341 &quot;fieldPath&quot;: &quot;A String&quot;, # 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
342 &quot;packageName&quot;: &quot;A String&quot;, # The package name indicating which app is out of compliance, if applicable.
343 &quot;currentValue&quot;: &quot;&quot;, # If the policy setting could not be applied, the current value of the setting on the device.
344 &quot;installationFailureReason&quot;: &quot;A String&quot;, # If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can&#x27;t be installed or updated.
345 &quot;nonComplianceReason&quot;: &quot;A String&quot;, # The reason the device is not in compliance with the setting.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700346 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700347 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800348 &quot;memoryEvents&quot;: [ # Events related to memory and storage measurements in chronological order. This information is only available if memoryInfoEnabled is true in the device&#x27;s policy.
349 { # An event related to memory and storage measurements.
350 &quot;eventType&quot;: &quot;A String&quot;, # Event type.
351 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the event.
352 &quot;byteCount&quot;: &quot;A String&quot;, # The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium.
353 },
354 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700355 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700356</div>
357
358<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700359 <code class="details" id="issueCommand">issueCommand(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700360 <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.
361
362Args:
363 name: string, The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700364 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700365 The object takes the form of:
366
367{ # A command.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700368 &quot;duration&quot;: &quot;A String&quot;, # 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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800369 &quot;newPassword&quot;: &quot;A String&quot;, # For commands of type RESET_PASSWORD, optionally specifies the new password.
370 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp at which the command was created. The timestamp is automatically generated by the server.
371 &quot;type&quot;: &quot;A String&quot;, # The type of the command.
372 &quot;errorCode&quot;: &quot;A String&quot;, # If the command failed, an error code explaining the failure. This is not set when the command is cancelled by the caller.
373 &quot;userName&quot;: &quot;A String&quot;, # 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 Kim65020912020-05-20 12:08:20 -0700374 &quot;resetPasswordFlags&quot;: [ # For commands of type RESET_PASSWORD, optionally specifies flags.
375 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700376 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700377 }
378
379 x__xgafv: string, V1 error format.
380 Allowed values
381 1 - v1 error format
382 2 - v2 error format
383
384Returns:
385 An object of the form:
386
387 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800388 &quot;name&quot;: &quot;A String&quot;, # 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}.
389 &quot;done&quot;: 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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700390 &quot;error&quot;: { # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700391 &quot;message&quot;: &quot;A String&quot;, # 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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800392 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim65020912020-05-20 12:08:20 -0700393 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700394 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700395 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700396 },
397 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700398 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700399 &quot;response&quot;: { # 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.
400 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
401 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700402 &quot;metadata&quot;: { # 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.
403 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700404 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700405 }</pre>
406</div>
407
408<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800409 <code class="details" id="list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700410 <pre>Lists devices for a given enterprise.
411
412Args:
413 parent: string, The name of the enterprise in the form enterprises/{enterpriseId}. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700414 pageToken: string, A token identifying a page of results returned by the server.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800415 pageSize: integer, The requested page size. The actual page size may be fixed to a min or max value.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700416 x__xgafv: string, V1 error format.
417 Allowed values
418 1 - v1 error format
419 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700420
421Returns:
422 An object of the form:
423
424 { # Response to a request to list devices for a given enterprise.
Bu Sun Kim65020912020-05-20 12:08:20 -0700425 &quot;devices&quot;: [ # The list of devices.
426 { # A device owned by an enterprise. Unless otherwise noted, all fields are read-only and can&#x27;t be modified by enterprises.devices.patch.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700427 &quot;networkInfo&quot;: { # Device network info. # Device network information. This information is only available if networkInfoEnabled is true in the device&#x27;s policy.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800428 &quot;wifiMacAddress&quot;: &quot;A String&quot;, # Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700429 &quot;networkOperatorName&quot;: &quot;A String&quot;, # Alphabetic name of current registered operator. For example, Vodafone.
430 &quot;meid&quot;: &quot;A String&quot;, # MEID number of the CDMA device. For example, A00000292788E1.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800431 &quot;imei&quot;: &quot;A String&quot;, # IMEI number of the GSM device. For example, A1000031212.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700432 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800433 &quot;softwareInfo&quot;: { # Information about device software. # Detailed information about the device software. This information is only available if softwareInfoEnabled is true in the device&#x27;s policy.
434 &quot;androidDevicePolicyVersionName&quot;: &quot;A String&quot;, # The Android Device Policy app version as displayed to the user.
435 &quot;deviceKernelVersion&quot;: &quot;A String&quot;, # Kernel version, for example, 2.6.32.9-g103d848.
436 &quot;androidDevicePolicyVersionCode&quot;: 42, # The Android Device Policy app version code.
437 &quot;deviceBuildSignature&quot;: &quot;A String&quot;, # 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&#x27;t been modified.
438 &quot;androidBuildNumber&quot;: &quot;A String&quot;, # Android build ID string meant for displaying to the user. For example, shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys.
439 &quot;systemUpdateInfo&quot;: { # Information about a potential pending system update. # Information about a potential pending system update.
440 &quot;updateReceivedTime&quot;: &quot;A String&quot;, # 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).
441 &quot;updateStatus&quot;: &quot;A String&quot;, # The status of an update: whether an update exists and what type it is.
442 },
443 &quot;primaryLanguageCode&quot;: &quot;A String&quot;, # An IETF BCP 47 language code for the primary locale on the device.
444 &quot;bootloaderVersion&quot;: &quot;A String&quot;, # The system bootloader version number, e.g. 0.6.7.
445 &quot;securityPatchLevel&quot;: &quot;A String&quot;, # Security patch level, e.g. 2016-05-01.
446 &quot;androidBuildTime&quot;: &quot;A String&quot;, # Build time.
447 &quot;androidVersion&quot;: &quot;A String&quot;, # The user-visible Android version string. For example, 6.0.1.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700448 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800449 &quot;ownership&quot;: &quot;A String&quot;, # Ownership of the managed device.
450 &quot;powerManagementEvents&quot;: [ # Power management events on the device in chronological order. This information is only available if powerManagementEventsEnabled is true in the device&#x27;s policy.
451 { # A power management event.
452 &quot;batteryLevel&quot;: 3.14, # For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage.
453 &quot;eventType&quot;: &quot;A String&quot;, # Event type.
454 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the event.
455 },
456 ],
457 &quot;enrollmentTokenData&quot;: &quot;A String&quot;, # If the device was enrolled with an enrollment token with additional data provided, this field contains that data.
458 &quot;lastPolicySyncTime&quot;: &quot;A String&quot;, # The last time the device fetched its policy.
459 &quot;name&quot;: &quot;A String&quot;, # The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.
460 &quot;enrollmentTime&quot;: &quot;A String&quot;, # The time of device enrollment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700461 &quot;appliedPolicyVersion&quot;: &quot;A String&quot;, # The version of the policy currently applied to the device.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800462 &quot;deviceSettings&quot;: { # Information about security related device settings on device. # Device settings information. This information is only available if deviceSettingsEnabled is true in the device&#x27;s policy.
463 &quot;unknownSourcesEnabled&quot;: True or False, # Whether installing apps from unknown sources is enabled.
464 &quot;verifyAppsEnabled&quot;: True or False, # Whether Verify Apps (Google Play Protect (https://support.google.com/googleplay/answer/2812853)) is enabled on the device.
465 &quot;isEncrypted&quot;: True or False, # Whether the storage encryption is enabled.
466 &quot;adbEnabled&quot;: True or False, # Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device.
467 &quot;isDeviceSecure&quot;: True or False, # Whether the device is secured with PIN/password.
468 &quot;developmentSettingsEnabled&quot;: True or False, # Whether developer mode is enabled on the device.
469 &quot;encryptionStatus&quot;: &quot;A String&quot;, # Encryption status from DevicePolicyManager.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700470 },
471 &quot;disabledReason&quot;: { # 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.
472 &quot;localizedMessages&quot;: { # 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.
473 &quot;a_key&quot;: &quot;A String&quot;,
474 },
475 &quot;defaultMessage&quot;: &quot;A String&quot;, # The default message displayed if no localized message is specified or the user&#x27;s locale doesn&#x27;t match with any of the localized messages. A default message must be provided if any localized messages are provided.
476 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800477 &quot;appliedPolicyName&quot;: &quot;A String&quot;, # The name of the policy currently applied to the device.
478 &quot;lastPolicyComplianceReportTime&quot;: &quot;A String&quot;, # Deprecated.
479 &quot;previousDeviceNames&quot;: [ # 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.
480 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700481 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800482 &quot;systemProperties&quot;: { # Map of selected system properties name and value related to the device. This information is only available if systemPropertiesEnabled is true in the device&#x27;s policy.
483 &quot;a_key&quot;: &quot;A String&quot;,
484 },
485 &quot;memoryInfo&quot;: { # Information about device memory and storage. # Memory information. This information is only available if memoryInfoEnabled is true in the device&#x27;s policy.
486 &quot;totalInternalStorage&quot;: &quot;A String&quot;, # Total internal storage on device in bytes.
487 &quot;totalRam&quot;: &quot;A String&quot;, # Total RAM on device in bytes.
488 },
489 &quot;policyCompliant&quot;: True or False, # Whether the device is compliant with its policy.
490 &quot;state&quot;: &quot;A String&quot;, # 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.
491 &quot;policyName&quot;: &quot;A String&quot;, # 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&#x27;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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700492 &quot;hardwareInfo&quot;: { # Information about device hardware. The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device&#x27;s policy. # Detailed information about the device hardware.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800493 &quot;batteryThrottlingTemperatures&quot;: [ # Battery throttling temperature thresholds in Celsius for each battery on the device.
494 3.14,
495 ],
496 &quot;hardware&quot;: &quot;A String&quot;, # Name of the hardware. For example, Angler.
497 &quot;cpuShutdownTemperatures&quot;: [ # CPU shutdown temperature thresholds in Celsius for each CPU on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700498 3.14,
499 ],
500 &quot;serialNumber&quot;: &quot;A String&quot;, # The device serial number.
501 &quot;batteryShutdownTemperatures&quot;: [ # Battery shutdown temperature thresholds in Celsius for each battery on the device.
502 3.14,
503 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700504 &quot;skinThrottlingTemperatures&quot;: [ # Device skin throttling temperature thresholds in Celsius.
505 3.14,
506 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800507 &quot;model&quot;: &quot;A String&quot;, # The model of the device. For example, Asus Nexus 7.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700508 &quot;brand&quot;: &quot;A String&quot;, # Brand of the device. For example, Google.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800509 &quot;manufacturer&quot;: &quot;A String&quot;, # Manufacturer. For example, Motorola.
510 &quot;gpuShutdownTemperatures&quot;: [ # GPU shutdown temperature thresholds in Celsius for each GPU on the device.
511 3.14,
512 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700513 &quot;cpuThrottlingTemperatures&quot;: [ # CPU throttling temperature thresholds in Celsius for each CPU on the device.
514 3.14,
515 ],
516 &quot;deviceBasebandVersion&quot;: &quot;A String&quot;, # Baseband version. For example, MDM9625_104662.22.05.34p.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800517 &quot;gpuThrottlingTemperatures&quot;: [ # GPU throttling temperature thresholds in Celsius for each GPU on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700518 3.14,
519 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800520 &quot;skinShutdownTemperatures&quot;: [ # Device skin shutdown temperature thresholds in Celsius.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700521 3.14,
522 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700523 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800524 &quot;userName&quot;: &quot;A String&quot;, # The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}.
525 &quot;displays&quot;: [ # Detailed information about displays on the device. This information is only available if displayInfoEnabled is true in the device&#x27;s policy.
526 { # Device display information.
527 &quot;width&quot;: 42, # Display width in pixels.
528 &quot;density&quot;: 42, # Display density expressed as dots-per-inch.
529 &quot;refreshRate&quot;: 42, # Refresh rate of the display in frames per second.
530 &quot;height&quot;: 42, # Display height in pixels.
531 &quot;state&quot;: &quot;A String&quot;, # State of the display.
532 &quot;displayId&quot;: 42, # Unique display id.
533 &quot;name&quot;: &quot;A String&quot;, # Name of the display.
534 },
535 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700536 &quot;applicationReports&quot;: [ # Reports for apps installed on the device. This information is only available when application_reports_enabled is true in the device&#x27;s policy.
537 { # Information reported about an installed app.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800538 &quot;state&quot;: &quot;A String&quot;, # Application state.
539 &quot;applicationSource&quot;: &quot;A String&quot;, # The source of the package.
540 &quot;versionName&quot;: &quot;A String&quot;, # The app version as displayed to the user.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700541 &quot;signingKeyCertFingerprints&quot;: [ # 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.
542 &quot;A String&quot;,
543 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700544 &quot;events&quot;: [ # List of app events. The most recent 20 events are stored in the list.
545 { # An app-related event.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700546 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the event.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800547 &quot;eventType&quot;: &quot;A String&quot;, # App event type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700548 },
549 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700550 &quot;packageSha256Hash&quot;: &quot;A String&quot;, # The SHA-256 hash of the app&#x27;s APK file, which can be used to verify the app hasn&#x27;t been modified. Each byte of the hash value is represented as a two-digit hexadecimal number.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800551 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the app.
552 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the app.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700553 &quot;keyedAppStates&quot;: [ # List of keyed app states reported by the app.
554 { # Keyed app state reported by the app.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800555 &quot;key&quot;: &quot;A String&quot;, # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700556 &quot;data&quot;: &quot;A String&quot;, # 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 &lt; 10”).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800557 &quot;message&quot;: &quot;A String&quot;, # 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.
558 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the app state on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700559 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # The time the app state was most recently updated.
560 &quot;severity&quot;: &quot;A String&quot;, # The severity of the app state.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700561 },
562 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800563 &quot;installerPackageName&quot;: &quot;A String&quot;, # The package name of the app that installed this app.
564 &quot;versionCode&quot;: 42, # The app version code, which can be used to determine whether one version is more recent than another.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700565 },
566 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800567 &quot;user&quot;: { # A user belonging to an enterprise. # The user who owns the device.
568 &quot;accountIdentifier&quot;: &quot;A String&quot;, # 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&#x27;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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700569 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800570 &quot;apiLevel&quot;: 42, # The API level of the Android platform version running on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700571 &quot;managementMode&quot;: &quot;A String&quot;, # The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800572 &quot;commonCriteriaModeInfo&quot;: { # Information about Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC).This information is only available if statusReportingSettings.commonCriteriaModeEnabled is true in the device&#x27;s policy. # Information about Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC).This information is only available if statusReportingSettings.commonCriteriaModeEnabled is true in the device&#x27;s policy.
573 &quot;commonCriteriaModeStatus&quot;: &quot;A String&quot;, # Whether Common Criteria Mode is enabled.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700574 },
575 &quot;enrollmentTokenName&quot;: &quot;A String&quot;, # If the device was enrolled with an enrollment token, this field contains the name of the token.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800576 &quot;hardwareStatusSamples&quot;: [ # Hardware status samples in chronological order. This information is only available if hardwareStatusEnabled is true in the device&#x27;s policy.
577 { # Hardware status. Temperatures may be compared to the temperature thresholds available in hardwareInfo to determine hardware health.
578 &quot;gpuTemperatures&quot;: [ # Current GPU temperatures in Celsius for each GPU on the device.
579 3.14,
580 ],
581 &quot;cpuUsages&quot;: [ # 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.
582 3.14,
583 ],
584 &quot;batteryTemperatures&quot;: [ # Current battery temperatures in Celsius for each battery on the device.
585 3.14,
586 ],
587 &quot;cpuTemperatures&quot;: [ # Current CPU temperatures in Celsius for each CPU on the device.
588 3.14,
589 ],
590 &quot;createTime&quot;: &quot;A String&quot;, # The time the measurements were taken.
591 &quot;fanSpeeds&quot;: [ # 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.
592 3.14,
593 ],
594 &quot;skinTemperatures&quot;: [ # Current device skin temperatures in Celsius.
595 3.14,
596 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700597 },
598 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800599 &quot;appliedState&quot;: &quot;A String&quot;, # The state currently applied to the device.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700600 &quot;securityPosture&quot;: { # The security posture of the device, as determined by the current device state and the policies applied. # Device&#x27;s security posture value that reflects how secure the device is.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700601 &quot;devicePosture&quot;: &quot;A String&quot;, # Device&#x27;s security posture value.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700602 &quot;postureDetails&quot;: [ # Additional details regarding the security posture of the device.
603 { # Additional details regarding the security posture of the device.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800604 &quot;securityRisk&quot;: &quot;A String&quot;, # A specific security risk that negatively affects the security posture of the device.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700605 &quot;advice&quot;: [ # Corresponding admin-facing advice to mitigate this security risk and improve the security posture of the device.
606 { # Provides a user-facing message with locale info. The maximum message length is 4096 characters.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700607 &quot;localizedMessages&quot;: { # 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 Kimd059ad82020-07-22 17:02:09 -0700608 &quot;a_key&quot;: &quot;A String&quot;,
609 },
610 &quot;defaultMessage&quot;: &quot;A String&quot;, # The default message displayed if no localized message is specified or the user&#x27;s locale doesn&#x27;t match with any of the localized messages. A default message must be provided if any localized messages are provided.
611 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700612 ],
613 },
614 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700615 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800616 &quot;lastStatusReportTime&quot;: &quot;A String&quot;, # The last time the device sent a status report.
617 &quot;nonComplianceDetails&quot;: [ # Details about policy settings that the device is not compliant with.
618 { # Provides detail about non-compliance with a policy setting.
619 &quot;settingName&quot;: &quot;A String&quot;, # The name of the policy setting. This is the JSON field name of a top-level Policy field.
620 &quot;fieldPath&quot;: &quot;A String&quot;, # 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
621 &quot;packageName&quot;: &quot;A String&quot;, # The package name indicating which app is out of compliance, if applicable.
622 &quot;currentValue&quot;: &quot;&quot;, # If the policy setting could not be applied, the current value of the setting on the device.
623 &quot;installationFailureReason&quot;: &quot;A String&quot;, # If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can&#x27;t be installed or updated.
624 &quot;nonComplianceReason&quot;: &quot;A String&quot;, # The reason the device is not in compliance with the setting.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700625 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700626 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800627 &quot;memoryEvents&quot;: [ # Events related to memory and storage measurements in chronological order. This information is only available if memoryInfoEnabled is true in the device&#x27;s policy.
628 { # An event related to memory and storage measurements.
629 &quot;eventType&quot;: &quot;A String&quot;, # Event type.
630 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the event.
631 &quot;byteCount&quot;: &quot;A String&quot;, # The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium.
632 },
633 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700634 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700635 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700636 &quot;nextPageToken&quot;: &quot;A String&quot;, # If there are more results, a token to retrieve next page of results.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700637 }</pre>
638</div>
639
640<div class="method">
641 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
642 <pre>Retrieves the next page of results.
643
644Args:
645 previous_request: The request for the previous page. (required)
646 previous_response: The response from the request for the previous page. (required)
647
648Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700649 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700650 page. Returns None if there are no more items in the collection.
651 </pre>
652</div>
653
654<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700655 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700656 <pre>Updates a device.
657
658Args:
659 name: string, The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700660 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700661 The object takes the form of:
662
Bu Sun Kim65020912020-05-20 12:08:20 -0700663{ # A device owned by an enterprise. Unless otherwise noted, all fields are read-only and can&#x27;t be modified by enterprises.devices.patch.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700664 &quot;networkInfo&quot;: { # Device network info. # Device network information. This information is only available if networkInfoEnabled is true in the device&#x27;s policy.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800665 &quot;wifiMacAddress&quot;: &quot;A String&quot;, # Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700666 &quot;networkOperatorName&quot;: &quot;A String&quot;, # Alphabetic name of current registered operator. For example, Vodafone.
667 &quot;meid&quot;: &quot;A String&quot;, # MEID number of the CDMA device. For example, A00000292788E1.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800668 &quot;imei&quot;: &quot;A String&quot;, # IMEI number of the GSM device. For example, A1000031212.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700669 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800670 &quot;softwareInfo&quot;: { # Information about device software. # Detailed information about the device software. This information is only available if softwareInfoEnabled is true in the device&#x27;s policy.
671 &quot;androidDevicePolicyVersionName&quot;: &quot;A String&quot;, # The Android Device Policy app version as displayed to the user.
672 &quot;deviceKernelVersion&quot;: &quot;A String&quot;, # Kernel version, for example, 2.6.32.9-g103d848.
673 &quot;androidDevicePolicyVersionCode&quot;: 42, # The Android Device Policy app version code.
674 &quot;deviceBuildSignature&quot;: &quot;A String&quot;, # 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&#x27;t been modified.
675 &quot;androidBuildNumber&quot;: &quot;A String&quot;, # Android build ID string meant for displaying to the user. For example, shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys.
676 &quot;systemUpdateInfo&quot;: { # Information about a potential pending system update. # Information about a potential pending system update.
677 &quot;updateReceivedTime&quot;: &quot;A String&quot;, # 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).
678 &quot;updateStatus&quot;: &quot;A String&quot;, # The status of an update: whether an update exists and what type it is.
679 },
680 &quot;primaryLanguageCode&quot;: &quot;A String&quot;, # An IETF BCP 47 language code for the primary locale on the device.
681 &quot;bootloaderVersion&quot;: &quot;A String&quot;, # The system bootloader version number, e.g. 0.6.7.
682 &quot;securityPatchLevel&quot;: &quot;A String&quot;, # Security patch level, e.g. 2016-05-01.
683 &quot;androidBuildTime&quot;: &quot;A String&quot;, # Build time.
684 &quot;androidVersion&quot;: &quot;A String&quot;, # The user-visible Android version string. For example, 6.0.1.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700685 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800686 &quot;ownership&quot;: &quot;A String&quot;, # Ownership of the managed device.
687 &quot;powerManagementEvents&quot;: [ # Power management events on the device in chronological order. This information is only available if powerManagementEventsEnabled is true in the device&#x27;s policy.
688 { # A power management event.
689 &quot;batteryLevel&quot;: 3.14, # For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage.
690 &quot;eventType&quot;: &quot;A String&quot;, # Event type.
691 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the event.
692 },
693 ],
694 &quot;enrollmentTokenData&quot;: &quot;A String&quot;, # If the device was enrolled with an enrollment token with additional data provided, this field contains that data.
695 &quot;lastPolicySyncTime&quot;: &quot;A String&quot;, # The last time the device fetched its policy.
696 &quot;name&quot;: &quot;A String&quot;, # The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.
697 &quot;enrollmentTime&quot;: &quot;A String&quot;, # The time of device enrollment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700698 &quot;appliedPolicyVersion&quot;: &quot;A String&quot;, # The version of the policy currently applied to the device.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800699 &quot;deviceSettings&quot;: { # Information about security related device settings on device. # Device settings information. This information is only available if deviceSettingsEnabled is true in the device&#x27;s policy.
700 &quot;unknownSourcesEnabled&quot;: True or False, # Whether installing apps from unknown sources is enabled.
701 &quot;verifyAppsEnabled&quot;: True or False, # Whether Verify Apps (Google Play Protect (https://support.google.com/googleplay/answer/2812853)) is enabled on the device.
702 &quot;isEncrypted&quot;: True or False, # Whether the storage encryption is enabled.
703 &quot;adbEnabled&quot;: True or False, # Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device.
704 &quot;isDeviceSecure&quot;: True or False, # Whether the device is secured with PIN/password.
705 &quot;developmentSettingsEnabled&quot;: True or False, # Whether developer mode is enabled on the device.
706 &quot;encryptionStatus&quot;: &quot;A String&quot;, # Encryption status from DevicePolicyManager.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700707 },
708 &quot;disabledReason&quot;: { # 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.
709 &quot;localizedMessages&quot;: { # 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.
710 &quot;a_key&quot;: &quot;A String&quot;,
711 },
712 &quot;defaultMessage&quot;: &quot;A String&quot;, # The default message displayed if no localized message is specified or the user&#x27;s locale doesn&#x27;t match with any of the localized messages. A default message must be provided if any localized messages are provided.
713 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800714 &quot;appliedPolicyName&quot;: &quot;A String&quot;, # The name of the policy currently applied to the device.
715 &quot;lastPolicyComplianceReportTime&quot;: &quot;A String&quot;, # Deprecated.
716 &quot;previousDeviceNames&quot;: [ # 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.
717 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700718 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800719 &quot;systemProperties&quot;: { # Map of selected system properties name and value related to the device. This information is only available if systemPropertiesEnabled is true in the device&#x27;s policy.
720 &quot;a_key&quot;: &quot;A String&quot;,
721 },
722 &quot;memoryInfo&quot;: { # Information about device memory and storage. # Memory information. This information is only available if memoryInfoEnabled is true in the device&#x27;s policy.
723 &quot;totalInternalStorage&quot;: &quot;A String&quot;, # Total internal storage on device in bytes.
724 &quot;totalRam&quot;: &quot;A String&quot;, # Total RAM on device in bytes.
725 },
726 &quot;policyCompliant&quot;: True or False, # Whether the device is compliant with its policy.
727 &quot;state&quot;: &quot;A String&quot;, # 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.
728 &quot;policyName&quot;: &quot;A String&quot;, # 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&#x27;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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700729 &quot;hardwareInfo&quot;: { # Information about device hardware. The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device&#x27;s policy. # Detailed information about the device hardware.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800730 &quot;batteryThrottlingTemperatures&quot;: [ # Battery throttling temperature thresholds in Celsius for each battery on the device.
731 3.14,
732 ],
733 &quot;hardware&quot;: &quot;A String&quot;, # Name of the hardware. For example, Angler.
734 &quot;cpuShutdownTemperatures&quot;: [ # CPU shutdown temperature thresholds in Celsius for each CPU on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700735 3.14,
736 ],
737 &quot;serialNumber&quot;: &quot;A String&quot;, # The device serial number.
738 &quot;batteryShutdownTemperatures&quot;: [ # Battery shutdown temperature thresholds in Celsius for each battery on the device.
739 3.14,
740 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700741 &quot;skinThrottlingTemperatures&quot;: [ # Device skin throttling temperature thresholds in Celsius.
742 3.14,
743 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800744 &quot;model&quot;: &quot;A String&quot;, # The model of the device. For example, Asus Nexus 7.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700745 &quot;brand&quot;: &quot;A String&quot;, # Brand of the device. For example, Google.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800746 &quot;manufacturer&quot;: &quot;A String&quot;, # Manufacturer. For example, Motorola.
747 &quot;gpuShutdownTemperatures&quot;: [ # GPU shutdown temperature thresholds in Celsius for each GPU on the device.
748 3.14,
749 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700750 &quot;cpuThrottlingTemperatures&quot;: [ # CPU throttling temperature thresholds in Celsius for each CPU on the device.
751 3.14,
752 ],
753 &quot;deviceBasebandVersion&quot;: &quot;A String&quot;, # Baseband version. For example, MDM9625_104662.22.05.34p.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800754 &quot;gpuThrottlingTemperatures&quot;: [ # GPU throttling temperature thresholds in Celsius for each GPU on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700755 3.14,
756 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800757 &quot;skinShutdownTemperatures&quot;: [ # Device skin shutdown temperature thresholds in Celsius.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700758 3.14,
759 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700760 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800761 &quot;userName&quot;: &quot;A String&quot;, # The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}.
762 &quot;displays&quot;: [ # Detailed information about displays on the device. This information is only available if displayInfoEnabled is true in the device&#x27;s policy.
763 { # Device display information.
764 &quot;width&quot;: 42, # Display width in pixels.
765 &quot;density&quot;: 42, # Display density expressed as dots-per-inch.
766 &quot;refreshRate&quot;: 42, # Refresh rate of the display in frames per second.
767 &quot;height&quot;: 42, # Display height in pixels.
768 &quot;state&quot;: &quot;A String&quot;, # State of the display.
769 &quot;displayId&quot;: 42, # Unique display id.
770 &quot;name&quot;: &quot;A String&quot;, # Name of the display.
771 },
772 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700773 &quot;applicationReports&quot;: [ # Reports for apps installed on the device. This information is only available when application_reports_enabled is true in the device&#x27;s policy.
774 { # Information reported about an installed app.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800775 &quot;state&quot;: &quot;A String&quot;, # Application state.
776 &quot;applicationSource&quot;: &quot;A String&quot;, # The source of the package.
777 &quot;versionName&quot;: &quot;A String&quot;, # The app version as displayed to the user.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700778 &quot;signingKeyCertFingerprints&quot;: [ # 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.
779 &quot;A String&quot;,
780 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700781 &quot;events&quot;: [ # List of app events. The most recent 20 events are stored in the list.
782 { # An app-related event.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700783 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the event.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800784 &quot;eventType&quot;: &quot;A String&quot;, # App event type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700785 },
786 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700787 &quot;packageSha256Hash&quot;: &quot;A String&quot;, # The SHA-256 hash of the app&#x27;s APK file, which can be used to verify the app hasn&#x27;t been modified. Each byte of the hash value is represented as a two-digit hexadecimal number.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800788 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the app.
789 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the app.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700790 &quot;keyedAppStates&quot;: [ # List of keyed app states reported by the app.
791 { # Keyed app state reported by the app.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800792 &quot;key&quot;: &quot;A String&quot;, # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700793 &quot;data&quot;: &quot;A String&quot;, # 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 &lt; 10”).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800794 &quot;message&quot;: &quot;A String&quot;, # 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.
795 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the app state on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700796 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # The time the app state was most recently updated.
797 &quot;severity&quot;: &quot;A String&quot;, # The severity of the app state.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700798 },
799 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800800 &quot;installerPackageName&quot;: &quot;A String&quot;, # The package name of the app that installed this app.
801 &quot;versionCode&quot;: 42, # The app version code, which can be used to determine whether one version is more recent than another.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700802 },
803 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800804 &quot;user&quot;: { # A user belonging to an enterprise. # The user who owns the device.
805 &quot;accountIdentifier&quot;: &quot;A String&quot;, # 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&#x27;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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700806 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800807 &quot;apiLevel&quot;: 42, # The API level of the Android platform version running on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700808 &quot;managementMode&quot;: &quot;A String&quot;, # The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800809 &quot;commonCriteriaModeInfo&quot;: { # Information about Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC).This information is only available if statusReportingSettings.commonCriteriaModeEnabled is true in the device&#x27;s policy. # Information about Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC).This information is only available if statusReportingSettings.commonCriteriaModeEnabled is true in the device&#x27;s policy.
810 &quot;commonCriteriaModeStatus&quot;: &quot;A String&quot;, # Whether Common Criteria Mode is enabled.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700811 },
812 &quot;enrollmentTokenName&quot;: &quot;A String&quot;, # If the device was enrolled with an enrollment token, this field contains the name of the token.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800813 &quot;hardwareStatusSamples&quot;: [ # Hardware status samples in chronological order. This information is only available if hardwareStatusEnabled is true in the device&#x27;s policy.
814 { # Hardware status. Temperatures may be compared to the temperature thresholds available in hardwareInfo to determine hardware health.
815 &quot;gpuTemperatures&quot;: [ # Current GPU temperatures in Celsius for each GPU on the device.
816 3.14,
817 ],
818 &quot;cpuUsages&quot;: [ # 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.
819 3.14,
820 ],
821 &quot;batteryTemperatures&quot;: [ # Current battery temperatures in Celsius for each battery on the device.
822 3.14,
823 ],
824 &quot;cpuTemperatures&quot;: [ # Current CPU temperatures in Celsius for each CPU on the device.
825 3.14,
826 ],
827 &quot;createTime&quot;: &quot;A String&quot;, # The time the measurements were taken.
828 &quot;fanSpeeds&quot;: [ # 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.
829 3.14,
830 ],
831 &quot;skinTemperatures&quot;: [ # Current device skin temperatures in Celsius.
832 3.14,
833 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700834 },
835 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800836 &quot;appliedState&quot;: &quot;A String&quot;, # The state currently applied to the device.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700837 &quot;securityPosture&quot;: { # The security posture of the device, as determined by the current device state and the policies applied. # Device&#x27;s security posture value that reflects how secure the device is.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700838 &quot;devicePosture&quot;: &quot;A String&quot;, # Device&#x27;s security posture value.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700839 &quot;postureDetails&quot;: [ # Additional details regarding the security posture of the device.
840 { # Additional details regarding the security posture of the device.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800841 &quot;securityRisk&quot;: &quot;A String&quot;, # A specific security risk that negatively affects the security posture of the device.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700842 &quot;advice&quot;: [ # Corresponding admin-facing advice to mitigate this security risk and improve the security posture of the device.
843 { # Provides a user-facing message with locale info. The maximum message length is 4096 characters.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700844 &quot;localizedMessages&quot;: { # 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 Kimd059ad82020-07-22 17:02:09 -0700845 &quot;a_key&quot;: &quot;A String&quot;,
846 },
847 &quot;defaultMessage&quot;: &quot;A String&quot;, # The default message displayed if no localized message is specified or the user&#x27;s locale doesn&#x27;t match with any of the localized messages. A default message must be provided if any localized messages are provided.
848 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700849 ],
850 },
851 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700852 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800853 &quot;lastStatusReportTime&quot;: &quot;A String&quot;, # The last time the device sent a status report.
854 &quot;nonComplianceDetails&quot;: [ # Details about policy settings that the device is not compliant with.
855 { # Provides detail about non-compliance with a policy setting.
856 &quot;settingName&quot;: &quot;A String&quot;, # The name of the policy setting. This is the JSON field name of a top-level Policy field.
857 &quot;fieldPath&quot;: &quot;A String&quot;, # 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
858 &quot;packageName&quot;: &quot;A String&quot;, # The package name indicating which app is out of compliance, if applicable.
859 &quot;currentValue&quot;: &quot;&quot;, # If the policy setting could not be applied, the current value of the setting on the device.
860 &quot;installationFailureReason&quot;: &quot;A String&quot;, # If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can&#x27;t be installed or updated.
861 &quot;nonComplianceReason&quot;: &quot;A String&quot;, # The reason the device is not in compliance with the setting.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700862 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700863 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800864 &quot;memoryEvents&quot;: [ # Events related to memory and storage measurements in chronological order. This information is only available if memoryInfoEnabled is true in the device&#x27;s policy.
865 { # An event related to memory and storage measurements.
866 &quot;eventType&quot;: &quot;A String&quot;, # Event type.
867 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the event.
868 &quot;byteCount&quot;: &quot;A String&quot;, # The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium.
869 },
870 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700871}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700872
873 updateMask: string, The field mask indicating the fields to update. If not set, all modifiable fields will be modified.
874 x__xgafv: string, V1 error format.
875 Allowed values
876 1 - v1 error format
877 2 - v2 error format
878
879Returns:
880 An object of the form:
881
Bu Sun Kim65020912020-05-20 12:08:20 -0700882 { # A device owned by an enterprise. Unless otherwise noted, all fields are read-only and can&#x27;t be modified by enterprises.devices.patch.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700883 &quot;networkInfo&quot;: { # Device network info. # Device network information. This information is only available if networkInfoEnabled is true in the device&#x27;s policy.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800884 &quot;wifiMacAddress&quot;: &quot;A String&quot;, # Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700885 &quot;networkOperatorName&quot;: &quot;A String&quot;, # Alphabetic name of current registered operator. For example, Vodafone.
886 &quot;meid&quot;: &quot;A String&quot;, # MEID number of the CDMA device. For example, A00000292788E1.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800887 &quot;imei&quot;: &quot;A String&quot;, # IMEI number of the GSM device. For example, A1000031212.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700888 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800889 &quot;softwareInfo&quot;: { # Information about device software. # Detailed information about the device software. This information is only available if softwareInfoEnabled is true in the device&#x27;s policy.
890 &quot;androidDevicePolicyVersionName&quot;: &quot;A String&quot;, # The Android Device Policy app version as displayed to the user.
891 &quot;deviceKernelVersion&quot;: &quot;A String&quot;, # Kernel version, for example, 2.6.32.9-g103d848.
892 &quot;androidDevicePolicyVersionCode&quot;: 42, # The Android Device Policy app version code.
893 &quot;deviceBuildSignature&quot;: &quot;A String&quot;, # 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&#x27;t been modified.
894 &quot;androidBuildNumber&quot;: &quot;A String&quot;, # Android build ID string meant for displaying to the user. For example, shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys.
895 &quot;systemUpdateInfo&quot;: { # Information about a potential pending system update. # Information about a potential pending system update.
896 &quot;updateReceivedTime&quot;: &quot;A String&quot;, # 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).
897 &quot;updateStatus&quot;: &quot;A String&quot;, # The status of an update: whether an update exists and what type it is.
898 },
899 &quot;primaryLanguageCode&quot;: &quot;A String&quot;, # An IETF BCP 47 language code for the primary locale on the device.
900 &quot;bootloaderVersion&quot;: &quot;A String&quot;, # The system bootloader version number, e.g. 0.6.7.
901 &quot;securityPatchLevel&quot;: &quot;A String&quot;, # Security patch level, e.g. 2016-05-01.
902 &quot;androidBuildTime&quot;: &quot;A String&quot;, # Build time.
903 &quot;androidVersion&quot;: &quot;A String&quot;, # The user-visible Android version string. For example, 6.0.1.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700904 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800905 &quot;ownership&quot;: &quot;A String&quot;, # Ownership of the managed device.
906 &quot;powerManagementEvents&quot;: [ # Power management events on the device in chronological order. This information is only available if powerManagementEventsEnabled is true in the device&#x27;s policy.
907 { # A power management event.
908 &quot;batteryLevel&quot;: 3.14, # For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage.
909 &quot;eventType&quot;: &quot;A String&quot;, # Event type.
910 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the event.
911 },
912 ],
913 &quot;enrollmentTokenData&quot;: &quot;A String&quot;, # If the device was enrolled with an enrollment token with additional data provided, this field contains that data.
914 &quot;lastPolicySyncTime&quot;: &quot;A String&quot;, # The last time the device fetched its policy.
915 &quot;name&quot;: &quot;A String&quot;, # The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.
916 &quot;enrollmentTime&quot;: &quot;A String&quot;, # The time of device enrollment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700917 &quot;appliedPolicyVersion&quot;: &quot;A String&quot;, # The version of the policy currently applied to the device.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800918 &quot;deviceSettings&quot;: { # Information about security related device settings on device. # Device settings information. This information is only available if deviceSettingsEnabled is true in the device&#x27;s policy.
919 &quot;unknownSourcesEnabled&quot;: True or False, # Whether installing apps from unknown sources is enabled.
920 &quot;verifyAppsEnabled&quot;: True or False, # Whether Verify Apps (Google Play Protect (https://support.google.com/googleplay/answer/2812853)) is enabled on the device.
921 &quot;isEncrypted&quot;: True or False, # Whether the storage encryption is enabled.
922 &quot;adbEnabled&quot;: True or False, # Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device.
923 &quot;isDeviceSecure&quot;: True or False, # Whether the device is secured with PIN/password.
924 &quot;developmentSettingsEnabled&quot;: True or False, # Whether developer mode is enabled on the device.
925 &quot;encryptionStatus&quot;: &quot;A String&quot;, # Encryption status from DevicePolicyManager.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700926 },
927 &quot;disabledReason&quot;: { # 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.
928 &quot;localizedMessages&quot;: { # 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.
929 &quot;a_key&quot;: &quot;A String&quot;,
930 },
931 &quot;defaultMessage&quot;: &quot;A String&quot;, # The default message displayed if no localized message is specified or the user&#x27;s locale doesn&#x27;t match with any of the localized messages. A default message must be provided if any localized messages are provided.
932 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800933 &quot;appliedPolicyName&quot;: &quot;A String&quot;, # The name of the policy currently applied to the device.
934 &quot;lastPolicyComplianceReportTime&quot;: &quot;A String&quot;, # Deprecated.
935 &quot;previousDeviceNames&quot;: [ # 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.
936 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700937 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800938 &quot;systemProperties&quot;: { # Map of selected system properties name and value related to the device. This information is only available if systemPropertiesEnabled is true in the device&#x27;s policy.
939 &quot;a_key&quot;: &quot;A String&quot;,
940 },
941 &quot;memoryInfo&quot;: { # Information about device memory and storage. # Memory information. This information is only available if memoryInfoEnabled is true in the device&#x27;s policy.
942 &quot;totalInternalStorage&quot;: &quot;A String&quot;, # Total internal storage on device in bytes.
943 &quot;totalRam&quot;: &quot;A String&quot;, # Total RAM on device in bytes.
944 },
945 &quot;policyCompliant&quot;: True or False, # Whether the device is compliant with its policy.
946 &quot;state&quot;: &quot;A String&quot;, # 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.
947 &quot;policyName&quot;: &quot;A String&quot;, # 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&#x27;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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700948 &quot;hardwareInfo&quot;: { # Information about device hardware. The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device&#x27;s policy. # Detailed information about the device hardware.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800949 &quot;batteryThrottlingTemperatures&quot;: [ # Battery throttling temperature thresholds in Celsius for each battery on the device.
950 3.14,
951 ],
952 &quot;hardware&quot;: &quot;A String&quot;, # Name of the hardware. For example, Angler.
953 &quot;cpuShutdownTemperatures&quot;: [ # CPU shutdown temperature thresholds in Celsius for each CPU on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700954 3.14,
955 ],
956 &quot;serialNumber&quot;: &quot;A String&quot;, # The device serial number.
957 &quot;batteryShutdownTemperatures&quot;: [ # Battery shutdown temperature thresholds in Celsius for each battery on the device.
958 3.14,
959 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700960 &quot;skinThrottlingTemperatures&quot;: [ # Device skin throttling temperature thresholds in Celsius.
961 3.14,
962 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800963 &quot;model&quot;: &quot;A String&quot;, # The model of the device. For example, Asus Nexus 7.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700964 &quot;brand&quot;: &quot;A String&quot;, # Brand of the device. For example, Google.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800965 &quot;manufacturer&quot;: &quot;A String&quot;, # Manufacturer. For example, Motorola.
966 &quot;gpuShutdownTemperatures&quot;: [ # GPU shutdown temperature thresholds in Celsius for each GPU on the device.
967 3.14,
968 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700969 &quot;cpuThrottlingTemperatures&quot;: [ # CPU throttling temperature thresholds in Celsius for each CPU on the device.
970 3.14,
971 ],
972 &quot;deviceBasebandVersion&quot;: &quot;A String&quot;, # Baseband version. For example, MDM9625_104662.22.05.34p.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800973 &quot;gpuThrottlingTemperatures&quot;: [ # GPU throttling temperature thresholds in Celsius for each GPU on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700974 3.14,
975 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800976 &quot;skinShutdownTemperatures&quot;: [ # Device skin shutdown temperature thresholds in Celsius.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700977 3.14,
978 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700979 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800980 &quot;userName&quot;: &quot;A String&quot;, # The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}.
981 &quot;displays&quot;: [ # Detailed information about displays on the device. This information is only available if displayInfoEnabled is true in the device&#x27;s policy.
982 { # Device display information.
983 &quot;width&quot;: 42, # Display width in pixels.
984 &quot;density&quot;: 42, # Display density expressed as dots-per-inch.
985 &quot;refreshRate&quot;: 42, # Refresh rate of the display in frames per second.
986 &quot;height&quot;: 42, # Display height in pixels.
987 &quot;state&quot;: &quot;A String&quot;, # State of the display.
988 &quot;displayId&quot;: 42, # Unique display id.
989 &quot;name&quot;: &quot;A String&quot;, # Name of the display.
990 },
991 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700992 &quot;applicationReports&quot;: [ # Reports for apps installed on the device. This information is only available when application_reports_enabled is true in the device&#x27;s policy.
993 { # Information reported about an installed app.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800994 &quot;state&quot;: &quot;A String&quot;, # Application state.
995 &quot;applicationSource&quot;: &quot;A String&quot;, # The source of the package.
996 &quot;versionName&quot;: &quot;A String&quot;, # The app version as displayed to the user.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700997 &quot;signingKeyCertFingerprints&quot;: [ # 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.
998 &quot;A String&quot;,
999 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001000 &quot;events&quot;: [ # List of app events. The most recent 20 events are stored in the list.
1001 { # An app-related event.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001002 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the event.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001003 &quot;eventType&quot;: &quot;A String&quot;, # App event type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001004 },
1005 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001006 &quot;packageSha256Hash&quot;: &quot;A String&quot;, # The SHA-256 hash of the app&#x27;s APK file, which can be used to verify the app hasn&#x27;t been modified. Each byte of the hash value is represented as a two-digit hexadecimal number.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001007 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the app.
1008 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the app.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001009 &quot;keyedAppStates&quot;: [ # List of keyed app states reported by the app.
1010 { # Keyed app state reported by the app.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001011 &quot;key&quot;: &quot;A String&quot;, # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001012 &quot;data&quot;: &quot;A String&quot;, # 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 &lt; 10”).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001013 &quot;message&quot;: &quot;A String&quot;, # 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.
1014 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the app state on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001015 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # The time the app state was most recently updated.
1016 &quot;severity&quot;: &quot;A String&quot;, # The severity of the app state.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001017 },
1018 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001019 &quot;installerPackageName&quot;: &quot;A String&quot;, # The package name of the app that installed this app.
1020 &quot;versionCode&quot;: 42, # The app version code, which can be used to determine whether one version is more recent than another.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001021 },
1022 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001023 &quot;user&quot;: { # A user belonging to an enterprise. # The user who owns the device.
1024 &quot;accountIdentifier&quot;: &quot;A String&quot;, # 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&#x27;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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001025 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001026 &quot;apiLevel&quot;: 42, # The API level of the Android platform version running on the device.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001027 &quot;managementMode&quot;: &quot;A String&quot;, # The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001028 &quot;commonCriteriaModeInfo&quot;: { # Information about Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC).This information is only available if statusReportingSettings.commonCriteriaModeEnabled is true in the device&#x27;s policy. # Information about Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC).This information is only available if statusReportingSettings.commonCriteriaModeEnabled is true in the device&#x27;s policy.
1029 &quot;commonCriteriaModeStatus&quot;: &quot;A String&quot;, # Whether Common Criteria Mode is enabled.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001030 },
1031 &quot;enrollmentTokenName&quot;: &quot;A String&quot;, # If the device was enrolled with an enrollment token, this field contains the name of the token.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001032 &quot;hardwareStatusSamples&quot;: [ # Hardware status samples in chronological order. This information is only available if hardwareStatusEnabled is true in the device&#x27;s policy.
1033 { # Hardware status. Temperatures may be compared to the temperature thresholds available in hardwareInfo to determine hardware health.
1034 &quot;gpuTemperatures&quot;: [ # Current GPU temperatures in Celsius for each GPU on the device.
1035 3.14,
1036 ],
1037 &quot;cpuUsages&quot;: [ # 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.
1038 3.14,
1039 ],
1040 &quot;batteryTemperatures&quot;: [ # Current battery temperatures in Celsius for each battery on the device.
1041 3.14,
1042 ],
1043 &quot;cpuTemperatures&quot;: [ # Current CPU temperatures in Celsius for each CPU on the device.
1044 3.14,
1045 ],
1046 &quot;createTime&quot;: &quot;A String&quot;, # The time the measurements were taken.
1047 &quot;fanSpeeds&quot;: [ # 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.
1048 3.14,
1049 ],
1050 &quot;skinTemperatures&quot;: [ # Current device skin temperatures in Celsius.
1051 3.14,
1052 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001053 },
1054 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001055 &quot;appliedState&quot;: &quot;A String&quot;, # The state currently applied to the device.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001056 &quot;securityPosture&quot;: { # The security posture of the device, as determined by the current device state and the policies applied. # Device&#x27;s security posture value that reflects how secure the device is.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001057 &quot;devicePosture&quot;: &quot;A String&quot;, # Device&#x27;s security posture value.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001058 &quot;postureDetails&quot;: [ # Additional details regarding the security posture of the device.
1059 { # Additional details regarding the security posture of the device.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001060 &quot;securityRisk&quot;: &quot;A String&quot;, # A specific security risk that negatively affects the security posture of the device.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001061 &quot;advice&quot;: [ # Corresponding admin-facing advice to mitigate this security risk and improve the security posture of the device.
1062 { # Provides a user-facing message with locale info. The maximum message length is 4096 characters.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001063 &quot;localizedMessages&quot;: { # 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 Kimd059ad82020-07-22 17:02:09 -07001064 &quot;a_key&quot;: &quot;A String&quot;,
1065 },
1066 &quot;defaultMessage&quot;: &quot;A String&quot;, # The default message displayed if no localized message is specified or the user&#x27;s locale doesn&#x27;t match with any of the localized messages. A default message must be provided if any localized messages are provided.
1067 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001068 ],
1069 },
1070 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001071 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001072 &quot;lastStatusReportTime&quot;: &quot;A String&quot;, # The last time the device sent a status report.
1073 &quot;nonComplianceDetails&quot;: [ # Details about policy settings that the device is not compliant with.
1074 { # Provides detail about non-compliance with a policy setting.
1075 &quot;settingName&quot;: &quot;A String&quot;, # The name of the policy setting. This is the JSON field name of a top-level Policy field.
1076 &quot;fieldPath&quot;: &quot;A String&quot;, # 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
1077 &quot;packageName&quot;: &quot;A String&quot;, # The package name indicating which app is out of compliance, if applicable.
1078 &quot;currentValue&quot;: &quot;&quot;, # If the policy setting could not be applied, the current value of the setting on the device.
1079 &quot;installationFailureReason&quot;: &quot;A String&quot;, # If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can&#x27;t be installed or updated.
1080 &quot;nonComplianceReason&quot;: &quot;A String&quot;, # The reason the device is not in compliance with the setting.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001081 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001082 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001083 &quot;memoryEvents&quot;: [ # Events related to memory and storage measurements in chronological order. This information is only available if memoryInfoEnabled is true in the device&#x27;s policy.
1084 { # An event related to memory and storage measurements.
1085 &quot;eventType&quot;: &quot;A String&quot;, # Event type.
1086 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of the event.
1087 &quot;byteCount&quot;: &quot;A String&quot;, # The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium.
1088 },
1089 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001090 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001091</div>
1092
1093</body></html>