DevicesLongRunningOperationResponse

メタデータの要求、要求解除、デバイスへのアタッチの長時間実行オペレーションのステータスを追跡します。詳細については、長時間実行のバッチ オペレーションをご覧ください。

JSON 表現
{
  "successCount": integer,
  "perDeviceStatus": [
    {
      object (OperationPerDevice)
    }
  ]
}
フィールド
successCount

integer

サーバーによって正常に処理されたオペレーション内のアイテム数の概要。オペレーションが進行すると更新されます。

perDeviceStatus[]

object (OperationPerDevice)

オペレーションにおける各デバイスの処理ステータス。1 台のデバイスにつき 1 回、PerDeviceStatus。リストの順序は、元のリクエストのアイテムと一致します。

オペレーションあたりのデバイス数

オペレーションに含まれる各デバイスのタスク。リクエストにおける各デバイスの変更に対応します。

JSON 表現
{
  "result": {
    object (PerDeviceStatusInBatch)
  },

  // Union field request can be only one of the following:
  "claim": {
    object (PartnerClaim)
  },
  "unclaim": {
    object (PartnerUnclaim)
  },
  "updateMetadata": {
    object (UpdateMetadataArguments)
  }
  // End of list of possible types for union field request.
}
フィールド
result

object (PerDeviceStatusInBatch)

各デバイスの処理結果。

共用体フィールド request。サーバーが受信したリクエストが含まれています。request は次のいずれかになります。
claim

object (PartnerClaim)

サーバーが受け取った元のデバイス申請リクエストのコピー。

unclaim

object (PartnerUnclaim)

サーバーが受信した、元のデバイス未使用リクエストのコピー。

updateMetadata

object (UpdateMetadataArguments)

サーバーで受信した元のメタデータ更新リクエストのコピー。

PerDeviceStatusInBatch

オペレーションの各デバイスの処理ステータスをキャプチャします。

JSON 表現
{
  "status": enum (PerDeviceStatus),
  "deviceId": string,
  "errorMessage": string,
  "errorIdentifier": string
}
フィールド
status

enum (PerDeviceStatus)

処理後のデバイスの結果ステータス。

deviceId

string (int64 format)

処理が成功した場合、デバイスのデバイス ID。

errorMessage

string

処理に失敗した場合は、何が起きたのかをデベロッパー メッセージで説明します。

errorIdentifier

string

処理が失敗した場合は、エラーのタイプ。