tasks.tasks.patch
Partially update a Google Task using patch semantics, changing only supplied fields and returning the API response as JSON.
Instructions
Updates the specified task. This method supports patch semantics [HTTP PATCH] — updates the resource; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON Task object accepting assignmentInfo, completed, deleted, due, etag, hidden, id, kind and 9 more fields; pass it via params or whole via body_file Siblings over the same resource: clear, delete, get, insert, list, move, update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | [URL path segment] Task identifier. | |
| 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. | |
| tasklist | Yes | [URL path segment] Task list identifier. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON Task object. | |
| request_body | No | Request body of type Task: pass it via `params` (merged into the built body) or whole via `body_file`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| due | No | ||
| etag | No | ||
| kind | No | ||
| links | No | ||
| notes | No | ||
| title | No | ||
| hidden | No | ||
| parent | No | ||
| status | No | ||
| deleted | No | ||
| updated | No | ||
| position | No | ||
| selfLink | No | ||
| completed | No | ||
| webViewLink | No | ||
| assignmentInfo | No |