sheets.spreadsheets.values.batchUpdateByDataFilter
Writes values to multiple spreadsheet ranges selected by data filters, enabling targeted batch updates in one request.
Instructions
Sets values in one or more ranges of a spreadsheet. For more information, see Read, write, and search metadata. The caller must specify the spreadsheet ID, a valueInputOption, and one or more DataFilterValueRanges [HTTP POST] — creates or triggers a change; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON BatchUpdateValuesByDataFilterRequest object accepting data, includeValuesInResponse, responseDateTimeRenderOption, responseValueRenderOption, valueInputOption; pass it via params or whole via body_file Siblings over the same resource: append, batchClear, batchClearByDataFilter, batchGet, batchGetByDataFilter, batchUpdate, clear, get, update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. The body is a JSON BatchUpdateValuesByDataFilterRequest object. | |
| request_body | No | Request body of type BatchUpdateValuesByDataFilterRequest: pass it via `params` (merged into the built body) or whole via `body_file`. | |
| spreadsheetId | Yes | [URL path segment] The ID of the spreadsheet to update. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| responses | No | ||
| spreadsheetId | No | ||
| totalUpdatedRows | No | ||
| totalUpdatedCells | No | ||
| totalUpdatedSheets | No | ||
| totalUpdatedColumns | No |