drive.operations.get
Poll the current state of a long-running Google Drive operation by name and return its JSON result for progress tracking.
Instructions
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service [HTTP GET]. Returns the requested resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | [URL path segment] The name of the operation resource. | |
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | No | ||
| name | No | ||
| error | No | ||
| metadata | No | ||
| response | No |