- HTTP request
- Path parameters
- Request body
- Response body
- Authorization Scopes
- UpdateMetadataArguments
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.
HTTP request
POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:updateMetadataAsync
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
partnerId |
Required. The reseller partner ID. |
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{
"updates": [
{
object ( |
Fields | |
---|---|
updates[] |
Required. The list of metadata updates. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidworkprovisioning
For more information, see the OAuth 2.0 Overview.
UpdateMetadataArguments
Identifies metadata updates to one device.
JSON representation | |
---|---|
{ "deviceMetadata": { object ( |
Fields | ||
---|---|---|
deviceMetadata |
Required. The metadata to update. |
|
Union field device . Required. The device to update. device can be only one of the following: |
||
deviceIdentifier |
Required. Device identifier. |
|
deviceId |
Required. Device ID of the device. |