v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1336218221.3 KB
projects

Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.

delete/v1/{+name}

Path parameters

namestring required

The name of the operation resource to be deleted.

Query parameters

etag'SOURCE_UNSPECIFIED' | 'LIVE' | 'SIMULATOR' | 'EVAL' | 'AGENT_TOOL'

Optional. The current etag of the app version. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the app version, deletion will be blocked and an ABORTED error will be returned.

forceboolean

Optional. Indicates whether to forcefully delete the tool, even if it is still referenced by agents/examples. * If force = false, the deletion will fail if any agents still reference the tool. * If force = true, all existing references from agents will be removed and the tool will be deleted.

Response

Successful response