POST
gsheets_spreadsheets_values_batch_update.py
from charter.packs import gsheets
result = await gsheets.spreadsheets_values_batch_update.ainvoke({"spreadsheetId": ..., "valueInputOption": ..., "data": ...})
Requires
https://www.googleapis.com/auth/spreadsheets. Costs 1 against the provider’s own quota.Path parameters
| Field | Type | Description |
|---|---|---|
spreadsheetId * | string | The ID of the spreadsheet to update. |
Body
| Field | Type | Description |
|---|---|---|
valueInputOption * | ValueInputOption | How the input data should be interpreted. |
data * | ValueRange[] | The new values to apply to the spreadsheet. min 1 items |
includeValuesInResponse | boolean | Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. The updatedData field within each of the BatchUpdateValuesResponse.responses contains the updated values. If the range to write was larger than the range actually written, the response includes all values in the requested range (excluding trailing empty rows and columns). |
responseValueRenderOption | ValueRenderOption | Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE. |
responseDateTimeRenderOption | DateTimeRenderOption | Determines how dates, times, and durations in the response should be rendered. This is ignored if responseValueRenderOption is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER. |