Method: enterprises.devices.operations.get
長時間実行オペレーションの最新状態を取得します。クライアントはこのメソッドを使用して、API サービスで推奨される間隔でオペレーションの結果をポーリングできます。
HTTP リクエスト
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*/operations/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
オペレーション リソースの名前。
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には Operation
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidmanagement
詳細については、OAuth 2.0 Overview をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-30 UTC。
[null,null,["最終更新日 2025-01-30 UTC。"],[[["Retrieves the current status of a long-running operation for an Android device."],["Uses a GET request with the operation resource name specified in the URL path."],["Requires an empty request body and returns an `Operation` object in the response."],["Needs authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."]]],["The core content describes how to retrieve the latest state of a long-running operation via a `GET` HTTP request to a specific URL. The URL uses gRPC Transcoding syntax and requires a `name` path parameter, representing the operation resource. The request body must be empty. A successful request returns an `Operation` instance in the response body. Authorization requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope.\n"]]