Method: operations.delete
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
長時間実行オペレーションを削除します。このメソッドは、クライアントがそのオペレーション結果に関心がなくなったことを表しています。このメソッドではオペレーションはキャンセルされません。このメソッドがサーバーでサポートされていない場合は、google.rpc.Code.UNIMPLEMENTED
を返します。
HTTP リクエスト
DELETE https://routeoptimization.googleapis.com/v1/{name=operations/**}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
削除するオペレーション リソースの名前。
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功すると、レスポンスの本文は空の JSON オブジェクトになります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/cloud-platform
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-31 UTC。
[null,null,["最終更新日 2025-08-31 UTC。"],[],["This document details how to delete a long-running operation via an HTTP DELETE request. The target URL is constructed using a path parameter, `name`, which specifies the operation resource to be deleted. The request body must be empty. A successful deletion returns an empty JSON object in the response body. This action indicates client disinterest and doesn't cancel the operation. The request requires authorization through the `https://www.googleapis.com/auth/cloud-platform` OAuth scope.\n"],null,[]]