Lower-level method that directly calls `spreadsheets/ /values:batchUpdate `_. :param dict body: (optional) `Values Batch Update Request body <https://developers.google.com/sheets/api/reference/res
(
self, id: str, body: Optional[Mapping[str, Any]] = None
)
| 256 | return r.json() |
| 257 | |
| 258 | def values_batch_update( |
| 259 | self, id: str, body: Optional[Mapping[str, Any]] = None |
| 260 | ) -> Any: |
| 261 | """Lower-level method that directly calls `spreadsheets/<ID>/values:batchUpdate <https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate>`_. |
| 262 | |
| 263 | :param dict body: (optional) `Values Batch Update Request body <https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate#request-body>`_. |
| 264 | :returns: `Values Batch Update Response body <https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate#response-body>`_. |
| 265 | :rtype: dict |
| 266 | """ |
| 267 | url = SPREADSHEET_VALUES_BATCH_UPDATE_URL % id |
| 268 | r = self.request("post", url, json=body) |
| 269 | return r.json() |
| 270 | |
| 271 | def spreadsheets_get(self, id: str, params: Optional[ParamsType] = None) -> Any: |
| 272 | """A method stub that directly calls `spreadsheets.get <https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/get>`_.""" |