Debian Codegraph @

docs/dyn/androiddeviceprovisioning_v1.partners.devices.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="androiddeviceprovisioning_v1.html">Android Device Provisioning Partner API</a> . <a href="androiddeviceprovisioning_v1.partners.html">partners</a> . <a href="androiddeviceprovisioning_v1.partners.devices.html">devices</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#claim">claim(partnerId, body=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Claims a device for a customer and adds it to zero-touch enrollment. If the device is already claimed by another customer, the call returns an error.</p>
80 <p class="toc_element">
81 <code><a href="#claimAsync">claimAsync(partnerId, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Claims a batch of devices for a customer asynchronously. Adds the devices to zero-touch enrollment. To learn more, read [Long‑running batch operations](/zero-touch/guides/how-it-works#operations).</p>
83 <p class="toc_element">
84 <code><a href="#close">close()</a></code></p>
85 <p class="firstline">Close httplib2 connections.</p>
86 <p class="toc_element">
87 <code><a href="#findByIdentifier">findByIdentifier(partnerId, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Finds devices by hardware identifiers, such as IMEI.</p>
89 <p class="toc_element">
90 <code><a href="#findByIdentifier_next">findByIdentifier_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <p class="toc_element">
93 <code><a href="#findByOwner">findByOwner(partnerId, body=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Finds devices claimed for customers. The results only contain devices registered to the reseller that's identified by the `partnerId` argument. The customer's devices purchased from other resellers don't appear in the results.</p>
95 <p class="toc_element">
96 <code><a href="#findByOwner_next">findByOwner_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
100 <p class="firstline">Gets a device.</p>
101 <p class="toc_element">
102 <code><a href="#getSimLockState">getSimLockState(partnerId, body=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Gets a device's SIM lock state.</p>
104 <p class="toc_element">
105 <code><a href="#metadata">metadata(metadataOwnerId, deviceId, body=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Updates reseller metadata associated with the device. Android devices only.</p>
107 <p class="toc_element">
108 <code><a href="#unclaim">unclaim(partnerId, body=None, x__xgafv=None)</a></code></p>
109 <p class="firstline">Unclaims a device from a customer and removes it from zero-touch enrollment.</p>
110 <p class="toc_element">
111 <code><a href="#unclaimAsync">unclaimAsync(partnerId, body=None, x__xgafv=None)</a></code></p>
112 <p class="firstline">Unclaims a batch of devices for a customer asynchronously. Removes the devices from zero-touch enrollment. To learn more, read [Long‑running batch operations](/zero-touch/guides/how-it-works#operations).</p>
113 <p class="toc_element">
114 <code><a href="#updateMetadataAsync">updateMetadataAsync(partnerId, body=None, x__xgafv=None)</a></code></p>
115 <p class="firstline">Updates the reseller metadata attached to a batch of devices. This method updates devices asynchronously and returns an `Operation` that can be used to track progress. Read [Long‑running batch operations](/zero-touch/guides/how-it-works#operations). Android Devices only.</p>
116 <h3>Method Details</h3>
117 <div class="method">
118 <code class="details" id="claim">claim(partnerId, body=None, x__xgafv=None)</code>
119 <pre>Claims a device for a customer and adds it to zero-touch enrollment. If the device is already claimed by another customer, the call returns an error.
120
121 Args:
122 partnerId: string, Required. The ID of the reseller partner. (required)
123 body: object, The request body.
124 The object takes the form of:
125
126 { # Request message to claim a device on behalf of a customer.
127 &quot;configurationId&quot;: &quot;A String&quot;, # Optional. The ID of the configuration applied to the device section.
128 &quot;customerId&quot;: &quot;A String&quot;, # The ID of the customer for whom the device is being claimed.
129 &quot;deviceIdentifier&quot;: { # Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers). # Required. Required. The device identifier of the device to claim.
130 &quot;chromeOsAttestedDeviceId&quot;: &quot;A String&quot;, # An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.
131 &quot;deviceType&quot;: &quot;A String&quot;, # The type of the device
132 &quot;imei&quot;: &quot;A String&quot;, # The device’s IMEI number. Validated on input.
133 &quot;imei2&quot;: &quot;A String&quot;, # The device’s second IMEI number.
134 &quot;manufacturer&quot;: &quot;A String&quot;, # The device manufacturer’s name. Matches the device&#x27;s built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).
135 &quot;meid&quot;: &quot;A String&quot;, # The device’s MEID number.
136 &quot;meid2&quot;: &quot;A String&quot;, # The device’s second MEID number.
137 &quot;model&quot;: &quot;A String&quot;, # The device model&#x27;s name. Allowed values are listed in [Android models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://support.google.com/chrome/a/answer/10130175#identify_compatible).
138 &quot;serialNumber&quot;: &quot;A String&quot;, # The manufacturer&#x27;s serial number for the device. This value might not be unique across different device models.
139 },
140 &quot;deviceMetadata&quot;: { # Metadata entries that can be attached to a `Device`. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata). # Optional. The metadata to attach to the device.
141 &quot;entries&quot;: { # Metadata entries recorded as key-value pairs.
142 &quot;a_key&quot;: &quot;A String&quot;,
143 },
144 },
145 &quot;googleWorkspaceCustomerId&quot;: &quot;A String&quot;, # The Google Workspace customer ID.
146 &quot;preProvisioningToken&quot;: &quot;A String&quot;, # Optional. Must and can only be set for Chrome OS devices.
147 &quot;sectionType&quot;: &quot;A String&quot;, # Required. The section type of the device&#x27;s provisioning record.
148 &quot;simlockProfileId&quot;: &quot;A String&quot;, # Optional. Must and can only be set when DeviceProvisioningSectionType is SECTION_TYPE_SIM_LOCK. The unique identifier of the SimLock profile.
149 }
150
151 x__xgafv: string, V1 error format.
152 Allowed values
153 1 - v1 error format
154 2 - v2 error format
155
156 Returns:
157 An object of the form:
158
159 { # Response message containing device id of the claim.
160 &quot;deviceId&quot;: &quot;A String&quot;, # The device ID of the claimed device.
161 &quot;deviceName&quot;: &quot;A String&quot;, # The resource name of the device in the format `partners/[PARTNER_ID]/devices/[DEVICE_ID]`.
162 }</pre>
163 </div>
164
165 <div class="method">
166 <code class="details" id="claimAsync">claimAsync(partnerId, body=None, x__xgafv=None)</code>
167 <pre>Claims a batch of devices for a customer asynchronously. Adds the devices to zero-touch enrollment. To learn more, read [Long‑running batch operations](/zero-touch/guides/how-it-works#operations).
168
169 Args:
170 partnerId: string, Required. The ID of the reseller partner. (required)
171 body: object, The request body.
172 The object takes the form of:
173
174 { # Request to claim devices asynchronously in batch. Claiming a device adds the device to zero-touch enrollment and shows the device in the customer&#x27;s view of the portal.
175 &quot;claims&quot;: [ # Required. A list of device claims.
176 { # Identifies one claim request.
177 &quot;configurationId&quot;: &quot;A String&quot;, # Optional. The ID of the configuration applied to the device section.
178 &quot;customerId&quot;: &quot;A String&quot;, # The ID of the customer for whom the device is being claimed.
179 &quot;deviceIdentifier&quot;: { # Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers). # Required. Required. Device identifier of the device.
180 &quot;chromeOsAttestedDeviceId&quot;: &quot;A String&quot;, # An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.
181 &quot;deviceType&quot;: &quot;A String&quot;, # The type of the device
182 &quot;imei&quot;: &quot;A String&quot;, # The device’s IMEI number. Validated on input.
183 &quot;imei2&quot;: &quot;A String&quot;, # The device’s second IMEI number.
184 &quot;manufacturer&quot;: &quot;A String&quot;, # The device manufacturer’s name. Matches the device&#x27;s built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).
185 &quot;meid&quot;: &quot;A String&quot;, # The device’s MEID number.
186 &quot;meid2&quot;: &quot;A String&quot;, # The device’s second MEID number.
187 &quot;model&quot;: &quot;A String&quot;, # The device model&#x27;s name. Allowed values are listed in [Android models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://support.google.com/chrome/a/answer/10130175#identify_compatible).
188 &quot;serialNumber&quot;: &quot;A String&quot;, # The manufacturer&#x27;s serial number for the device. This value might not be unique across different device models.
189 },
190 &quot;deviceMetadata&quot;: { # Metadata entries that can be attached to a `Device`. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata). # Required. The metadata to attach to the device at claim.
191 &quot;entries&quot;: { # Metadata entries recorded as key-value pairs.
192 &quot;a_key&quot;: &quot;A String&quot;,
193 },
194 },
195 &quot;googleWorkspaceCustomerId&quot;: &quot;A String&quot;, # The Google Workspace customer ID.
196 &quot;preProvisioningToken&quot;: &quot;A String&quot;, # Optional. Must and can only be set for Chrome OS devices.
197 &quot;sectionType&quot;: &quot;A String&quot;, # Required. The section type of the device&#x27;s provisioning record.
198 &quot;simlockProfileId&quot;: &quot;A String&quot;, # Optional. Must and can only be set when DeviceProvisioningSectionType is SECTION_TYPE_SIM_LOCK. The unique identifier of the SimLock profile.
199 },
200 ],
201 }
202
203 x__xgafv: string, V1 error format.
204 Allowed values
205 1 - v1 error format
206 2 - v2 error format
207
208 Returns:
209 An object of the form:
210
211 { # This resource represents a long-running operation that is the result of a network API call.
212 &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.
213 &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). # This field will always be not set if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`. In this case, error information for each device is set in `response.perDeviceStatus.result.status`.
214 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
215 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
216 {
217 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
218 },
219 ],
220 &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.
221 },
222 &quot;metadata&quot;: { # This field will contain a `DevicesLongRunningOperationMetadata` object if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`.
223 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
224 },
225 &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}`.
226 &quot;response&quot;: { # This field will contain a `DevicesLongRunningOperationResponse` object if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`.
227 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
228 },
229 }</pre>
230 </div>
231
232 <div class="method">
233 <code class="details" id="close">close()</code>
234 <pre>Close httplib2 connections.</pre>
235 </div>
236
237 <div class="method">
238 <code class="details" id="findByIdentifier">findByIdentifier(partnerId, body=None, x__xgafv=None)</code>
239 <pre>Finds devices by hardware identifiers, such as IMEI.
240
241 Args:
242 partnerId: string, Required. The ID of the reseller partner. (required)
243 body: object, The request body.
244 The object takes the form of:
245
246 { # Request to find devices.
247 &quot;deviceIdentifier&quot;: { # Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers). # Required. Required. The device identifier to search for. If serial number is provided then case insensitive serial number matches are allowed.
248 &quot;chromeOsAttestedDeviceId&quot;: &quot;A String&quot;, # An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.
249 &quot;deviceType&quot;: &quot;A String&quot;, # The type of the device
250 &quot;imei&quot;: &quot;A String&quot;, # The device’s IMEI number. Validated on input.
251 &quot;imei2&quot;: &quot;A String&quot;, # The device’s second IMEI number.
252 &quot;manufacturer&quot;: &quot;A String&quot;, # The device manufacturer’s name. Matches the device&#x27;s built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).
253 &quot;meid&quot;: &quot;A String&quot;, # The device’s MEID number.
254 &quot;meid2&quot;: &quot;A String&quot;, # The device’s second MEID number.
255 &quot;model&quot;: &quot;A String&quot;, # The device model&#x27;s name. Allowed values are listed in [Android models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://support.google.com/chrome/a/answer/10130175#identify_compatible).
256 &quot;serialNumber&quot;: &quot;A String&quot;, # The manufacturer&#x27;s serial number for the device. This value might not be unique across different device models.
257 },
258 &quot;limit&quot;: &quot;A String&quot;, # Required. The maximum number of devices to show in a page of results. Must be between 1 and 100 inclusive.
259 &quot;pageToken&quot;: &quot;A String&quot;, # A token specifying which result page to return.
260 }
261
262 x__xgafv: string, V1 error format.
263 Allowed values
264 1 - v1 error format
265 2 - v2 error format
266
267 Returns:
268 An object of the form:
269
270 { # Response containing found devices.
271 &quot;devices&quot;: [ # Found devices.
272 { # An Android or Chrome OS device registered for zero-touch enrollment.
273 &quot;claims&quot;: [ # Output only. The provisioning claims for a device. Devices claimed for zero-touch enrollment have a claim with the type `SECTION_TYPE_ZERO_TOUCH`. Call `partners.devices.unclaim` or `partners.devices.unclaimAsync` to remove the device from zero-touch enrollment.
274 { # A record of a device claimed by a reseller for a customer. Devices claimed for zero-touch enrollment have a claim with the type `SECTION_TYPE_ZERO_TOUCH`. To learn more, read [Claim devices for customers](/zero-touch/guides/how-it-works#claim).
275 &quot;additionalService&quot;: &quot;A String&quot;, # The Additional service registered for the device.
276 &quot;googleWorkspaceCustomerId&quot;: &quot;A String&quot;, # The ID of the Google Workspace account that owns the Chrome OS device.
277 &quot;ownerCompanyId&quot;: &quot;A String&quot;, # The ID of the Customer that purchased the device.
278 &quot;resellerId&quot;: &quot;A String&quot;, # The ID of the reseller that claimed the device.
279 &quot;sectionType&quot;: &quot;A String&quot;, # Output only. The type of claim made on the device.
280 &quot;vacationModeExpireTime&quot;: &quot;A String&quot;, # The timestamp when the device will exit ‘vacation mode’. This value is present iff the device is in &#x27;vacation mode&#x27;.
281 &quot;vacationModeStartTime&quot;: &quot;A String&quot;, # The timestamp when the device was put into ‘vacation mode’. This value is present iff the device is in &#x27;vacation mode&#x27;.
282 },
283 ],
284 &quot;configuration&quot;: &quot;A String&quot;, # Not available to resellers.
285 &quot;deviceId&quot;: &quot;A String&quot;, # Output only. The ID of the device. Assigned by the server.
286 &quot;deviceIdentifier&quot;: { # Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers). # The hardware IDs that identify a manufactured device. To learn more, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
287 &quot;chromeOsAttestedDeviceId&quot;: &quot;A String&quot;, # An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.
288 &quot;deviceType&quot;: &quot;A String&quot;, # The type of the device
289 &quot;imei&quot;: &quot;A String&quot;, # The device’s IMEI number. Validated on input.
290 &quot;imei2&quot;: &quot;A String&quot;, # The device’s second IMEI number.
291 &quot;manufacturer&quot;: &quot;A String&quot;, # The device manufacturer’s name. Matches the device&#x27;s built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).
292 &quot;meid&quot;: &quot;A String&quot;, # The device’s MEID number.
293 &quot;meid2&quot;: &quot;A String&quot;, # The device’s second MEID number.
294 &quot;model&quot;: &quot;A String&quot;, # The device model&#x27;s name. Allowed values are listed in [Android models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://support.google.com/chrome/a/answer/10130175#identify_compatible).
295 &quot;serialNumber&quot;: &quot;A String&quot;, # The manufacturer&#x27;s serial number for the device. This value might not be unique across different device models.
296 },
297 &quot;deviceMetadata&quot;: { # Metadata entries that can be attached to a `Device`. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata). # The metadata attached to the device. Structured as key-value pairs. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata).
298 &quot;entries&quot;: { # Metadata entries recorded as key-value pairs.
299 &quot;a_key&quot;: &quot;A String&quot;,
300 },
301 },
302 &quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name in the format `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. Assigned by the server.
303 },
304 ],
305 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token used to access the next page of results. Omitted if no further results are available.
306 &quot;totalSize&quot;: 42, # The total count of items in the list irrespective of pagination.
307 }</pre>
308 </div>
309
310 <div class="method">
311 <code class="details" id="findByIdentifier_next">findByIdentifier_next()</code>
312 <pre>Retrieves the next page of results.
313
314 Args:
315 previous_request: The request for the previous page. (required)
316 previous_response: The response from the request for the previous page. (required)
317
318 Returns:
319 A request object that you can call &#x27;execute()&#x27; on to request the next
320 page. Returns None if there are no more items in the collection.
321 </pre>
322 </div>
323
324 <div class="method">
325 <code class="details" id="findByOwner">findByOwner(partnerId, body=None, x__xgafv=None)</code>
326 <pre>Finds devices claimed for customers. The results only contain devices registered to the reseller that&#x27;s identified by the `partnerId` argument. The customer&#x27;s devices purchased from other resellers don&#x27;t appear in the results.
327
328 Args:
329 partnerId: string, Required. The ID of the reseller partner. (required)
330 body: object, The request body.
331 The object takes the form of:
332
333 { # Request to find devices by customers.
334 &quot;customerId&quot;: [ # The list of customer IDs to search for.
335 &quot;A String&quot;,
336 ],
337 &quot;googleWorkspaceCustomerId&quot;: [ # The list of IDs of Google Workspace accounts to search for.
338 &quot;A String&quot;,
339 ],
340 &quot;limit&quot;: &quot;A String&quot;, # Required. The maximum number of devices to show in a page of results. Must be between 1 and 100 inclusive.
341 &quot;pageToken&quot;: &quot;A String&quot;, # A token specifying which result page to return.
342 &quot;sectionType&quot;: &quot;A String&quot;, # Required. The section type of the device&#x27;s provisioning record.
343 }
344
345 x__xgafv: string, V1 error format.
346 Allowed values
347 1 - v1 error format
348 2 - v2 error format
349
350 Returns:
351 An object of the form:
352
353 { # Response containing found devices.
354 &quot;devices&quot;: [ # The customer&#x27;s devices.
355 { # An Android or Chrome OS device registered for zero-touch enrollment.
356 &quot;claims&quot;: [ # Output only. The provisioning claims for a device. Devices claimed for zero-touch enrollment have a claim with the type `SECTION_TYPE_ZERO_TOUCH`. Call `partners.devices.unclaim` or `partners.devices.unclaimAsync` to remove the device from zero-touch enrollment.
357 { # A record of a device claimed by a reseller for a customer. Devices claimed for zero-touch enrollment have a claim with the type `SECTION_TYPE_ZERO_TOUCH`. To learn more, read [Claim devices for customers](/zero-touch/guides/how-it-works#claim).
358 &quot;additionalService&quot;: &quot;A String&quot;, # The Additional service registered for the device.
359 &quot;googleWorkspaceCustomerId&quot;: &quot;A String&quot;, # The ID of the Google Workspace account that owns the Chrome OS device.
360 &quot;ownerCompanyId&quot;: &quot;A String&quot;, # The ID of the Customer that purchased the device.
361 &quot;resellerId&quot;: &quot;A String&quot;, # The ID of the reseller that claimed the device.
362 &quot;sectionType&quot;: &quot;A String&quot;, # Output only. The type of claim made on the device.
363 &quot;vacationModeExpireTime&quot;: &quot;A String&quot;, # The timestamp when the device will exit ‘vacation mode’. This value is present iff the device is in &#x27;vacation mode&#x27;.
364 &quot;vacationModeStartTime&quot;: &quot;A String&quot;, # The timestamp when the device was put into ‘vacation mode’. This value is present iff the device is in &#x27;vacation mode&#x27;.
365 },
366 ],
367 &quot;configuration&quot;: &quot;A String&quot;, # Not available to resellers.
368 &quot;deviceId&quot;: &quot;A String&quot;, # Output only. The ID of the device. Assigned by the server.
369 &quot;deviceIdentifier&quot;: { # Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers). # The hardware IDs that identify a manufactured device. To learn more, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
370 &quot;chromeOsAttestedDeviceId&quot;: &quot;A String&quot;, # An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.
371 &quot;deviceType&quot;: &quot;A String&quot;, # The type of the device
372 &quot;imei&quot;: &quot;A String&quot;, # The device’s IMEI number. Validated on input.
373 &quot;imei2&quot;: &quot;A String&quot;, # The device’s second IMEI number.
374 &quot;manufacturer&quot;: &quot;A String&quot;, # The device manufacturer’s name. Matches the device&#x27;s built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).
375 &quot;meid&quot;: &quot;A String&quot;, # The device’s MEID number.
376 &quot;meid2&quot;: &quot;A String&quot;, # The device’s second MEID number.
377 &quot;model&quot;: &quot;A String&quot;, # The device model&#x27;s name. Allowed values are listed in [Android models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://support.google.com/chrome/a/answer/10130175#identify_compatible).
378 &quot;serialNumber&quot;: &quot;A String&quot;, # The manufacturer&#x27;s serial number for the device. This value might not be unique across different device models.
379 },
380 &quot;deviceMetadata&quot;: { # Metadata entries that can be attached to a `Device`. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata). # The metadata attached to the device. Structured as key-value pairs. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata).
381 &quot;entries&quot;: { # Metadata entries recorded as key-value pairs.
382 &quot;a_key&quot;: &quot;A String&quot;,
383 },
384 },
385 &quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name in the format `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. Assigned by the server.
386 },
387 ],
388 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token used to access the next page of results. Omitted if no further results are available.
389 &quot;totalSize&quot;: 42, # The total count of items in the list irrespective of pagination.
390 }</pre>
391 </div>
392
393 <div class="method">
394 <code class="details" id="findByOwner_next">findByOwner_next()</code>
395 <pre>Retrieves the next page of results.
396
397 Args:
398 previous_request: The request for the previous page. (required)
399 previous_response: The response from the request for the previous page. (required)
400
401 Returns:
402 A request object that you can call &#x27;execute()&#x27; on to request the next
403 page. Returns None if there are no more items in the collection.
404 </pre>
405 </div>
406
407 <div class="method">
408 <code class="details" id="get">get(name, x__xgafv=None)</code>
409 <pre>Gets a device.
410
411 Args:
412 name: string, Required. The device API resource name in the format `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. (required)
413 x__xgafv: string, V1 error format.
414 Allowed values
415 1 - v1 error format
416 2 - v2 error format
417
418 Returns:
419 An object of the form:
420
421 { # An Android or Chrome OS device registered for zero-touch enrollment.
422 &quot;claims&quot;: [ # Output only. The provisioning claims for a device. Devices claimed for zero-touch enrollment have a claim with the type `SECTION_TYPE_ZERO_TOUCH`. Call `partners.devices.unclaim` or `partners.devices.unclaimAsync` to remove the device from zero-touch enrollment.
423 { # A record of a device claimed by a reseller for a customer. Devices claimed for zero-touch enrollment have a claim with the type `SECTION_TYPE_ZERO_TOUCH`. To learn more, read [Claim devices for customers](/zero-touch/guides/how-it-works#claim).
424 &quot;additionalService&quot;: &quot;A String&quot;, # The Additional service registered for the device.
425 &quot;googleWorkspaceCustomerId&quot;: &quot;A String&quot;, # The ID of the Google Workspace account that owns the Chrome OS device.
426 &quot;ownerCompanyId&quot;: &quot;A String&quot;, # The ID of the Customer that purchased the device.
427 &quot;resellerId&quot;: &quot;A String&quot;, # The ID of the reseller that claimed the device.
428 &quot;sectionType&quot;: &quot;A String&quot;, # Output only. The type of claim made on the device.
429 &quot;vacationModeExpireTime&quot;: &quot;A String&quot;, # The timestamp when the device will exit ‘vacation mode’. This value is present iff the device is in &#x27;vacation mode&#x27;.
430 &quot;vacationModeStartTime&quot;: &quot;A String&quot;, # The timestamp when the device was put into ‘vacation mode’. This value is present iff the device is in &#x27;vacation mode&#x27;.
431 },
432 ],
433 &quot;configuration&quot;: &quot;A String&quot;, # Not available to resellers.
434 &quot;deviceId&quot;: &quot;A String&quot;, # Output only. The ID of the device. Assigned by the server.
435 &quot;deviceIdentifier&quot;: { # Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers). # The hardware IDs that identify a manufactured device. To learn more, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
436 &quot;chromeOsAttestedDeviceId&quot;: &quot;A String&quot;, # An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.
437 &quot;deviceType&quot;: &quot;A String&quot;, # The type of the device
438 &quot;imei&quot;: &quot;A String&quot;, # The device’s IMEI number. Validated on input.
439 &quot;imei2&quot;: &quot;A String&quot;, # The device’s second IMEI number.
440 &quot;manufacturer&quot;: &quot;A String&quot;, # The device manufacturer’s name. Matches the device&#x27;s built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).
441 &quot;meid&quot;: &quot;A String&quot;, # The device’s MEID number.
442 &quot;meid2&quot;: &quot;A String&quot;, # The device’s second MEID number.
443 &quot;model&quot;: &quot;A String&quot;, # The device model&#x27;s name. Allowed values are listed in [Android models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://support.google.com/chrome/a/answer/10130175#identify_compatible).
444 &quot;serialNumber&quot;: &quot;A String&quot;, # The manufacturer&#x27;s serial number for the device. This value might not be unique across different device models.
445 },
446 &quot;deviceMetadata&quot;: { # Metadata entries that can be attached to a `Device`. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata). # The metadata attached to the device. Structured as key-value pairs. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata).
447 &quot;entries&quot;: { # Metadata entries recorded as key-value pairs.
448 &quot;a_key&quot;: &quot;A String&quot;,
449 },
450 },
451 &quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name in the format `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. Assigned by the server.
452 }</pre>
453 </div>
454
455 <div class="method">
456 <code class="details" id="getSimLockState">getSimLockState(partnerId, body=None, x__xgafv=None)</code>
457 <pre>Gets a device&#x27;s SIM lock state.
458
459 Args:
460 partnerId: string, Required. The ID of the partner. (required)
461 body: object, The request body.
462 The object takes the form of:
463
464 { # Request to get a device&#x27;s SIM lock status.
465 &quot;deviceIdentifier&quot;: { # Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers). # Required. Required. The device identifier to search for.
466 &quot;chromeOsAttestedDeviceId&quot;: &quot;A String&quot;, # An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.
467 &quot;deviceType&quot;: &quot;A String&quot;, # The type of the device
468 &quot;imei&quot;: &quot;A String&quot;, # The device’s IMEI number. Validated on input.
469 &quot;imei2&quot;: &quot;A String&quot;, # The device’s second IMEI number.
470 &quot;manufacturer&quot;: &quot;A String&quot;, # The device manufacturer’s name. Matches the device&#x27;s built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).
471 &quot;meid&quot;: &quot;A String&quot;, # The device’s MEID number.
472 &quot;meid2&quot;: &quot;A String&quot;, # The device’s second MEID number.
473 &quot;model&quot;: &quot;A String&quot;, # The device model&#x27;s name. Allowed values are listed in [Android models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://support.google.com/chrome/a/answer/10130175#identify_compatible).
474 &quot;serialNumber&quot;: &quot;A String&quot;, # The manufacturer&#x27;s serial number for the device. This value might not be unique across different device models.
475 },
476 }
477
478 x__xgafv: string, V1 error format.
479 Allowed values
480 1 - v1 error format
481 2 - v2 error format
482
483 Returns:
484 An object of the form:
485
486 { # Response containing a device&#x27;s SimLock state.
487 &quot;simLockState&quot;: &quot;A String&quot;,
488 }</pre>
489 </div>
490
491 <div class="method">
492 <code class="details" id="metadata">metadata(metadataOwnerId, deviceId, body=None, x__xgafv=None)</code>
493 <pre>Updates reseller metadata associated with the device. Android devices only.
494
495 Args:
496 metadataOwnerId: string, Required. The owner of the newly set metadata. Set this to the partner ID. (required)
497 deviceId: string, Required. The ID of the device. (required)
498 body: object, The request body.
499 The object takes the form of:
500
501 { # Request to set metadata for a device.
502 &quot;deviceMetadata&quot;: { # Metadata entries that can be attached to a `Device`. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata). # Required. The metadata to attach to the device.
503 &quot;entries&quot;: { # Metadata entries recorded as key-value pairs.
504 &quot;a_key&quot;: &quot;A String&quot;,
505 },
506 },
507 }
508
509 x__xgafv: string, V1 error format.
510 Allowed values
511 1 - v1 error format
512 2 - v2 error format
513
514 Returns:
515 An object of the form:
516
517 { # Metadata entries that can be attached to a `Device`. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata).
518 &quot;entries&quot;: { # Metadata entries recorded as key-value pairs.
519 &quot;a_key&quot;: &quot;A String&quot;,
520 },
521 }</pre>
522 </div>
523
524 <div class="method">
525 <code class="details" id="unclaim">unclaim(partnerId, body=None, x__xgafv=None)</code>
526 <pre>Unclaims a device from a customer and removes it from zero-touch enrollment.
527
528 Args:
529 partnerId: string, Required. The ID of the reseller partner. (required)
530 body: object, The request body.
531 The object takes the form of:
532
533 { # Request message to unclaim a device.
534 &quot;deviceId&quot;: &quot;A String&quot;, # Required. The device ID returned by `ClaimDevice`.
535 &quot;deviceIdentifier&quot;: { # Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers). # Required. The device identifier you used when you claimed this device.
536 &quot;chromeOsAttestedDeviceId&quot;: &quot;A String&quot;, # An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.
537 &quot;deviceType&quot;: &quot;A String&quot;, # The type of the device
538 &quot;imei&quot;: &quot;A String&quot;, # The device’s IMEI number. Validated on input.
539 &quot;imei2&quot;: &quot;A String&quot;, # The device’s second IMEI number.
540 &quot;manufacturer&quot;: &quot;A String&quot;, # The device manufacturer’s name. Matches the device&#x27;s built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).
541 &quot;meid&quot;: &quot;A String&quot;, # The device’s MEID number.
542 &quot;meid2&quot;: &quot;A String&quot;, # The device’s second MEID number.
543 &quot;model&quot;: &quot;A String&quot;, # The device model&#x27;s name. Allowed values are listed in [Android models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://support.google.com/chrome/a/answer/10130175#identify_compatible).
544 &quot;serialNumber&quot;: &quot;A String&quot;, # The manufacturer&#x27;s serial number for the device. This value might not be unique across different device models.
545 },
546 &quot;sectionType&quot;: &quot;A String&quot;, # Required. The section type of the device&#x27;s provisioning record.
547 &quot;vacationModeDays&quot;: 42, # The duration of the vacation unlock starting from when the request is processed. (1 day is treated as 24 hours)
548 &quot;vacationModeExpireTime&quot;: &quot;A String&quot;, # The expiration time of the vacation unlock.
549 }
550
551 x__xgafv: string, V1 error format.
552 Allowed values
553 1 - v1 error format
554 2 - v2 error format
555
556 Returns:
557 An object of the form:
558
559 { # 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); }
560 }</pre>
561 </div>
562
563 <div class="method">
564 <code class="details" id="unclaimAsync">unclaimAsync(partnerId, body=None, x__xgafv=None)</code>
565 <pre>Unclaims a batch of devices for a customer asynchronously. Removes the devices from zero-touch enrollment. To learn more, read [Long‑running batch operations](/zero-touch/guides/how-it-works#operations).
566
567 Args:
568 partnerId: string, Required. The reseller partner ID. (required)
569 body: object, The request body.
570 The object takes the form of:
571
572 { # Request to unclaim devices asynchronously in batch.
573 &quot;unclaims&quot;: [ # Required. The list of devices to unclaim.
574 { # Identifies one unclaim request.
575 &quot;deviceId&quot;: &quot;A String&quot;, # Required. Device ID of the device.
576 &quot;deviceIdentifier&quot;: { # Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers). # Required. Device identifier of the device.
577 &quot;chromeOsAttestedDeviceId&quot;: &quot;A String&quot;, # An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.
578 &quot;deviceType&quot;: &quot;A String&quot;, # The type of the device
579 &quot;imei&quot;: &quot;A String&quot;, # The device’s IMEI number. Validated on input.
580 &quot;imei2&quot;: &quot;A String&quot;, # The device’s second IMEI number.
581 &quot;manufacturer&quot;: &quot;A String&quot;, # The device manufacturer’s name. Matches the device&#x27;s built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).
582 &quot;meid&quot;: &quot;A String&quot;, # The device’s MEID number.
583 &quot;meid2&quot;: &quot;A String&quot;, # The device’s second MEID number.
584 &quot;model&quot;: &quot;A String&quot;, # The device model&#x27;s name. Allowed values are listed in [Android models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://support.google.com/chrome/a/answer/10130175#identify_compatible).
585 &quot;serialNumber&quot;: &quot;A String&quot;, # The manufacturer&#x27;s serial number for the device. This value might not be unique across different device models.
586 },
587 &quot;sectionType&quot;: &quot;A String&quot;, # Required. The section type of the device&#x27;s provisioning record.
588 &quot;vacationModeDays&quot;: 42, # Optional. The duration of the vacation unlock starting from when the request is processed. (1 day is treated as 24 hours)
589 &quot;vacationModeExpireTime&quot;: &quot;A String&quot;, # Optional. The expiration time of the vacation unlock.
590 },
591 ],
592 }
593
594 x__xgafv: string, V1 error format.
595 Allowed values
596 1 - v1 error format
597 2 - v2 error format
598
599 Returns:
600 An object of the form:
601
602 { # This resource represents a long-running operation that is the result of a network API call.
603 &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.
604 &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). # This field will always be not set if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`. In this case, error information for each device is set in `response.perDeviceStatus.result.status`.
605 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
606 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
607 {
608 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
609 },
610 ],
611 &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.
612 },
613 &quot;metadata&quot;: { # This field will contain a `DevicesLongRunningOperationMetadata` object if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`.
614 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
615 },
616 &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}`.
617 &quot;response&quot;: { # This field will contain a `DevicesLongRunningOperationResponse` object if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`.
618 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
619 },
620 }</pre>
621 </div>
622
623 <div class="method">
624 <code class="details" id="updateMetadataAsync">updateMetadataAsync(partnerId, body=None, x__xgafv=None)</code>
625 <pre>Updates the reseller metadata attached to a batch of devices. This method updates devices asynchronously and returns an `Operation` that can be used to track progress. Read [Long‑running batch operations](/zero-touch/guides/how-it-works#operations). Android Devices only.
626
627 Args:
628 partnerId: string, Required. The reseller partner ID. (required)
629 body: object, The request body.
630 The object takes the form of:
631
632 { # Request to update device metadata in batch.
633 &quot;updates&quot;: [ # Required. The list of metadata updates.
634 { # Identifies metadata updates to one device.
635 &quot;deviceId&quot;: &quot;A String&quot;, # Required. Device ID of the device.
636 &quot;deviceIdentifier&quot;: { # Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers). # Required. Device identifier.
637 &quot;chromeOsAttestedDeviceId&quot;: &quot;A String&quot;, # An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.
638 &quot;deviceType&quot;: &quot;A String&quot;, # The type of the device
639 &quot;imei&quot;: &quot;A String&quot;, # The device’s IMEI number. Validated on input.
640 &quot;imei2&quot;: &quot;A String&quot;, # The device’s second IMEI number.
641 &quot;manufacturer&quot;: &quot;A String&quot;, # The device manufacturer’s name. Matches the device&#x27;s built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).
642 &quot;meid&quot;: &quot;A String&quot;, # The device’s MEID number.
643 &quot;meid2&quot;: &quot;A String&quot;, # The device’s second MEID number.
644 &quot;model&quot;: &quot;A String&quot;, # The device model&#x27;s name. Allowed values are listed in [Android models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://support.google.com/chrome/a/answer/10130175#identify_compatible).
645 &quot;serialNumber&quot;: &quot;A String&quot;, # The manufacturer&#x27;s serial number for the device. This value might not be unique across different device models.
646 },
647 &quot;deviceMetadata&quot;: { # Metadata entries that can be attached to a `Device`. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata). # Required. The metadata to update.
648 &quot;entries&quot;: { # Metadata entries recorded as key-value pairs.
649 &quot;a_key&quot;: &quot;A String&quot;,
650 },
651 },
652 },
653 ],
654 }
655
656 x__xgafv: string, V1 error format.
657 Allowed values
658 1 - v1 error format
659 2 - v2 error format
660
661 Returns:
662 An object of the form:
663
664 { # This resource represents a long-running operation that is the result of a network API call.
665 &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.
666 &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). # This field will always be not set if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`. In this case, error information for each device is set in `response.perDeviceStatus.result.status`.
667 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
668 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
669 {
670 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
671 },
672 ],
673 &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.
674 },
675 &quot;metadata&quot;: { # This field will contain a `DevicesLongRunningOperationMetadata` object if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`.
676 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
677 },
678 &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}`.
679 &quot;response&quot;: { # This field will contain a `DevicesLongRunningOperationResponse` object if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`.
680 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
681 },
682 }</pre>
683 </div>
684
685 </body></html>