Tracks the status of a long-running operation to claim, unclaim, or attach metadata to devices. To learn more, read Long‑running batch operations.
JSON representation | |
---|---|
{
"successCount": integer,
"perDeviceStatus": [
{
object ( |
Fields | |
---|---|
successCount |
A summary of how many items in the operation the server processed successfully. Updated as the operation progresses. |
perDeviceStatus[] |
The processing status for each device in the operation. One |
OperationPerDevice
A task for each device in the operation. Corresponds to each device change in the request.
JSON representation | |
---|---|
{ "result": { object ( |
Fields | ||
---|---|---|
result |
The processing result for each device. |
|
Union field request . Containing the request received by the server. request can be only one of the following: |
||
claim |
A copy of the original device-claim request received by the server. |
|
unclaim |
A copy of the original device-unclaim request received by the server. |
|
updateMetadata |
A copy of the original metadata-update request received by the server. |
PerDeviceStatusInBatch
Captures the processing status for each device in the operation.
JSON representation | |
---|---|
{
"status": enum ( |
Fields | |
---|---|
status |
The result status of the device after processing. |
deviceId |
If processing succeeds, the device ID of the device. |
errorMessage |
If processing fails, a developer message explaining what went wrong. |
errorIdentifier |
If processing fails, the error type. |