Method: partners.devices.updateMetadataAsync

Set metadata in batch asynchronously.

HTTP request

POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:updateMetadataAsync

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
partnerId

string (int64 format)

Partner ID.

Request body

The request body contains data with the following structure:

JSON representation
{
  "updates": [
    {
      object(UpdateMetadataArguments)
    }
  ],
}
Fields
updates[]

object(UpdateMetadataArguments)

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 Auth Guide.

UpdateMetadataArguments

Identifies metdata updates to one device.

JSON representation
{
  "deviceMetadata": {
    object(DeviceMetadata)
  },

  // Union field device can be only one of the following:
  "deviceIdentifier": {
    object(DeviceIdentifier)
  },
  "deviceId": string,
  // End of list of possible types for union field device.
}
Fields
deviceMetadata

object(DeviceMetadata)

The metadata to update.

Union field device. The device to update. device can be only one of the following:
deviceIdentifier

object(DeviceIdentifier)

Device identifier.

deviceId

string (int64 format)

Device ID of the device.

Send feedback about...

Android zero-touch enrollment