From 4de0e4e09acb869e7b07984d727c3ca14ddb97a6 Mon Sep 17 00:00:00 2001 From: alifeee Date: Thu, 29 Jun 2023 13:14:16 +0100 Subject: [PATCH 01/28] 5.10.0 release --- HISTORY.rst | 25 +++++++++++++++++++++++++ gspread/__init__.py | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 099c00152..5fbfb1eba 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,31 @@ Release History =============== +5.10.0 (2023-06-29) +------------------ + +* Fix rows_auto_resize in worksheet.py by removing redundant self by @MagicMc23 in https://github.com/burnash/gspread/pull/1194 +* Add deprecation warning for future release 6.0.x by @lavigne958 in https://github.com/burnash/gspread/pull/1195 +* FEATURE: show/hide gridlines (#1197) by @alifeee in https://github.com/burnash/gspread/pull/1202 +* CLEANUP: cleanup tox.ini, and ignore ./env by @alifeee in https://github.com/burnash/gspread/pull/1200 +* Refactor/update-contributing-guide by @alifeee in https://github.com/burnash/gspread/pull/1206 +* Spelling fix (with legacy option) by @alifeee in https://github.com/burnash/gspread/pull/1210 +* 457-fetch-without-hidden-worksheets by @alifeee in https://github.com/burnash/gspread/pull/1207 +* Add_deprecated_warning_sort_method by @lavigne958 in https://github.com/burnash/gspread/pull/1198 +* Update (and test for) internal properties on change by @alifeee in https://github.com/burnash/gspread/pull/1211 +* Feature: Add "Remove tab colour" method by @alifeee in https://github.com/burnash/gspread/pull/1199 +* Refresh-test-cassettes by @alifeee in https://github.com/burnash/gspread/pull/1217 +* update self._properties after batch_update by @alifeee in https://github.com/burnash/gspread/pull/1221 +* 700-fill-merged-cells by @alifeee in https://github.com/burnash/gspread/pull/1215 +* Fix/update-internal-properties by @alifeee in https://github.com/burnash/gspread/pull/1225 +* Add breaking change warning in Worksheet.update() by @lavigne958 in https://github.com/burnash/gspread/pull/1226 +* Bump codespell from 2.2.4 to 2.2.5 by @dependabot in https://github.com/burnash/gspread/pull/1232 +* Add/refresh last update time by @alifeee in https://github.com/burnash/gspread/pull/1233 +* Update-build-tools by @alifeee in https://github.com/burnash/gspread/pull/1231 +* add read the doc configuration file by @lavigne958 in https://github.com/burnash/gspread/pull/1235 +* update licence year by @alifeee in https://github.com/burnash/gspread/pull/1237 +* remove deprecated methods from tests by @alifeee in https://github.com/burnash/gspread/pull/1238 + 5.9.0 (2023-05-11) ------------------ diff --git a/gspread/__init__.py b/gspread/__init__.py index 186803a22..a1ca081c8 100644 --- a/gspread/__init__.py +++ b/gspread/__init__.py @@ -1,6 +1,6 @@ """Google Spreadsheets Python API""" -__version__ = "5.9.0" +__version__ = "5.10.0" __author__ = "Anton Burnashev" From a12a6ef6676a947bc13dadf87ca6a2c9f58d7a7c Mon Sep 17 00:00:00 2001 From: alifeee Date: Thu, 29 Jun 2023 14:15:12 +0100 Subject: [PATCH 02/28] ignore docs/build --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index c87f94767..4e19af3c0 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ env/ # build gspread.egg-info/ dist/ +docs/build/ From 4529e0e68c9d5f4e82b2fa4bb584e260fb613c4f Mon Sep 17 00:00:00 2001 From: alifeee Date: Thu, 29 Jun 2023 15:05:11 +0100 Subject: [PATCH 03/28] add release process to CONTRIBUTING.md --- .github/CONTRIBUTING.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 506a9d101..8af0d314c 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -118,3 +118,18 @@ This will mostly result in a lot of updated files in `tests/cassettes/`. Don't f Please add them in a dedicated commit, in order to make the review process easier. Afterwards, remember to [run the tests in offline mode](#run-tests-offline) to make sure you have recorded everything correctly. + +## Release + +Old release notes are [here](https://gist.github.com/burnash/335f977a74b8bfdc7968). + +New release system: + +- Update version number in [`gspread/__init__.py`](../gspread/__init__.py). +- Get changelog from drafting a new [GitHub release](https://github.com/burnash/gspread/releases/new) (do not publish, instead cancel.) +- Add changelog to [`HISTORY.rst`](../HISTORY.rst). +- Commit the changes as `Release vX.Y.Z` (do not push yet.) +- Run `tox -e lint,py,build,doc` to check build/etc. +- Push the commit. Wait for the CI to pass. +- Add a tag `vX.Y.Z` to the commit locally. This will trigger a new release on PyPi, and make a release on GitHub. +- View the release on [GitHub](https://github.com/burnash/gspread/releases) and [PyPi](https://pypi.org/project/gspread/)! From a189604b85527766acd386d59307d1994fa4f0e8 Mon Sep 17 00:00:00 2001 From: Alexandre Lavigne Date: Sun, 9 Jul 2023 10:11:45 +0200 Subject: [PATCH 04/28] Update/clean readme badges --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7a5329b0d..94ef8db36 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,12 @@ # Google Spreadsheets Python API v4 -![latest workflow](https://github.com/burnash/gspread/actions/workflows/main.yaml/badge.svg?branch=master) -[![GitHub version](https://badge.fury.io/gh/burnash%2Fgspread.svg)](https://badge.fury.io/gh/burnash%2Fgspread) -![PyPi]( https://badge.fury.io/py/gspread.svg) -![downloads](https://img.shields.io/pypi/dm/gspread.svg) -![doc](https://readthedocs.org/projects/gspread/badge/?version=latest) +![main workflow](https://img.shields.io/github/actions/workflow/status/burnash/gspread/main.yaml?logo=github) +![github license](https://img.shields.io/pypi/l/gspread?logo=github) +![latest download](https://img.shields.io/github/downloads-pre/burnash/gspread/latest/total?logo=github) +![documentation](https://img.shields.io/readthedocs/gspread?logo=readthedocs) +![pypi download](https://img.shields.io/pypi/dm/gspread?logo=pypi) +![pypi version](https://img.shields.io/pypi/v/gspread?logo=pypi) +![python version](https://img.shields.io/pypi/pyversions/gspread?style=pypi) Simple interface for working with Google Sheets. From 43a22ebec5e607e6904e9df077529d8a5e1f2a3d Mon Sep 17 00:00:00 2001 From: alifeee Date: Sun, 9 Jul 2023 19:15:31 +0100 Subject: [PATCH 05/28] update supported python versions --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index ef94f219f..30c3bfa7e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,8 @@ classifiers = [ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Development Status :: 5 - Production/Stable", From 6c0f05384fc47d3fa831321c91143ba1e1a0ec6e Mon Sep 17 00:00:00 2001 From: alifeee Date: Sat, 15 Jul 2023 17:28:48 +0100 Subject: [PATCH 06/28] get drive metadata on Spreadsheet initialisation --- gspread/spreadsheet.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gspread/spreadsheet.py b/gspread/spreadsheet.py index 74852aae0..66b5c85ad 100644 --- a/gspread/spreadsheet.py +++ b/gspread/spreadsheet.py @@ -34,6 +34,9 @@ def __init__(self, client, properties): metadata = self.fetch_sheet_metadata() self._properties.update(metadata["properties"]) + drive_metadata = self.client._get_file_drive_metadata() + self._properties.update(drive_metadata) + @property def id(self): """Spreadsheet ID.""" From 72477702d59bb34129adb1a9fa483ff997a55311 Mon Sep 17 00:00:00 2001 From: alifeee Date: Sat, 15 Jul 2023 17:29:04 +0100 Subject: [PATCH 07/28] remove API calls from `@property`s --- gspread/spreadsheet.py | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/gspread/spreadsheet.py b/gspread/spreadsheet.py index 66b5c85ad..8c9fd19b9 100644 --- a/gspread/spreadsheet.py +++ b/gspread/spreadsheet.py @@ -55,21 +55,12 @@ def url(self): @property def creationTime(self): """Spreadsheet Creation time.""" - try: - return self._properties["createdTime"] - except KeyError: - metadata = self.client._get_file_drive_metadata(self.id) - self._properties.update(metadata) - return self._properties["createdTime"] + return self._properties["createdTime"] @property def lastUpdateTime(self): - """Spreadsheet last updated time.""" - try: - return self._properties["modifiedTime"] - except KeyError: - self.refresh_lastUpdateTime() - return self._properties["modifiedTime"] + """Spreadsheet last updated time. Only updated on initialisation. For actual last updated time, use get_lastUpdateTime().""" + return self._properties["modifiedTime"] @property def updated(self): @@ -746,7 +737,7 @@ def list_protected_ranges(self, sheetid): return sheet.get("protectedRanges", []) - def refresh_lastUpdateTime(self): - """Refresh the lastUpdateTime property of the spreadsheet.""" + def get_lastUpdateTime(self): + """Get the lastUpdateTime metadata from the Drive API.""" metadata = self.client._get_file_drive_metadata(self.id) - self._properties["modifiedTime"] = metadata["modifiedTime"] + return metadata["modifiedTime"] From 162bc214f68eaadb10261719de55e05d12631104 Mon Sep 17 00:00:00 2001 From: alifeee Date: Sat, 15 Jul 2023 17:49:18 +0100 Subject: [PATCH 08/28] warn of lastUpdateTime being outdated --- gspread/spreadsheet.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gspread/spreadsheet.py b/gspread/spreadsheet.py index 8c9fd19b9..e2d818cfb 100644 --- a/gspread/spreadsheet.py +++ b/gspread/spreadsheet.py @@ -60,6 +60,12 @@ def creationTime(self): @property def lastUpdateTime(self): """Spreadsheet last updated time. Only updated on initialisation. For actual last updated time, use get_lastUpdateTime().""" + warnings.warn( + """ + This is only updated on initialisation and is probably outdated by the time you use it. + For an up to date last updated time, use get_lastUpdateTime(). + """ + ) return self._properties["modifiedTime"] @property From 5be7f6bc5579acf89569640a2a871b102b5fb343 Mon Sep 17 00:00:00 2001 From: alifeee Date: Sat, 15 Jul 2023 17:49:26 +0100 Subject: [PATCH 09/28] remove unneccessary import --- gspread/spreadsheet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gspread/spreadsheet.py b/gspread/spreadsheet.py index e2d818cfb..c682139ae 100644 --- a/gspread/spreadsheet.py +++ b/gspread/spreadsheet.py @@ -6,6 +6,7 @@ """ +import warnings from .exceptions import WorksheetNotFound from .urls import ( DRIVE_FILES_API_V3_URL, @@ -74,8 +75,6 @@ def updated(self): This feature is not supported in Sheets API v4. """ - import warnings - warnings.warn( "Spreadsheet.updated() is deprecated, " "this feature is not supported in Sheets API v4", From 430fa8102bf08ddecb051b3f1185742776b72525 Mon Sep 17 00:00:00 2001 From: alifeee Date: Sat, 15 Jul 2023 17:52:26 +0100 Subject: [PATCH 10/28] make get_file_drive_metadata public method --- gspread/client.py | 2 +- gspread/spreadsheet.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gspread/client.py b/gspread/client.py index 63370686c..0a02a7e91 100644 --- a/gspread/client.py +++ b/gspread/client.py @@ -92,7 +92,7 @@ def request( else: raise APIError(response) - def _get_file_drive_metadata(self, id): + def get_file_drive_metadata(self, id): """Get the metadata from the Drive API for a specific file This method is mainly here to retrieve the create/update time of a file (these metadata are only accessible from the Drive API). diff --git a/gspread/spreadsheet.py b/gspread/spreadsheet.py index c682139ae..aa5fbf483 100644 --- a/gspread/spreadsheet.py +++ b/gspread/spreadsheet.py @@ -35,7 +35,7 @@ def __init__(self, client, properties): metadata = self.fetch_sheet_metadata() self._properties.update(metadata["properties"]) - drive_metadata = self.client._get_file_drive_metadata() + drive_metadata = self.client.get_file_drive_metadata() self._properties.update(drive_metadata) @property @@ -744,5 +744,5 @@ def list_protected_ranges(self, sheetid): def get_lastUpdateTime(self): """Get the lastUpdateTime metadata from the Drive API.""" - metadata = self.client._get_file_drive_metadata(self.id) + metadata = self.client.get_file_drive_metadata(self.id) return metadata["modifiedTime"] From 348f2f1b0f81e5e721eaa040c3ac5c4bd3c7c680 Mon Sep 17 00:00:00 2001 From: alifeee Date: Sat, 15 Jul 2023 18:30:11 +0100 Subject: [PATCH 11/28] add id argument to get_file_drive_metadata --- gspread/spreadsheet.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gspread/spreadsheet.py b/gspread/spreadsheet.py index aa5fbf483..5afb034ce 100644 --- a/gspread/spreadsheet.py +++ b/gspread/spreadsheet.py @@ -35,7 +35,7 @@ def __init__(self, client, properties): metadata = self.fetch_sheet_metadata() self._properties.update(metadata["properties"]) - drive_metadata = self.client.get_file_drive_metadata() + drive_metadata = self.client.get_file_drive_metadata(self._properties["id"]) self._properties.update(drive_metadata) @property @@ -743,6 +743,10 @@ def list_protected_ranges(self, sheetid): return sheet.get("protectedRanges", []) def get_lastUpdateTime(self): - """Get the lastUpdateTime metadata from the Drive API.""" + """Get the lastUpdateTime metadata from the Drive API. + Also updates the cached value in the _properties dict. + """ metadata = self.client.get_file_drive_metadata(self.id) + # remove this upon deprecation of lastUpdateTime @property + self._properties["modifiedTime"] = metadata["modifiedTime"] return metadata["modifiedTime"] From dcb702d079edcfe4d2b49367ae7484bd24a3d453 Mon Sep 17 00:00:00 2001 From: alifeee Date: Sat, 15 Jul 2023 18:30:31 +0100 Subject: [PATCH 12/28] update tests for lastUpdateTime --- ...readsheetTest.test_get_lastUpdateTime.json | 569 ++++++++++++++++++ ...SpreadsheetTest.test_get_updated_time.json | 315 ---------- ...eadsheetTest.test_lastUpdateTime_prop.json | 489 +++++++++++++++ tests/spreadsheet_test.py | 32 +- 4 files changed, 1077 insertions(+), 328 deletions(-) create mode 100644 tests/cassettes/SpreadsheetTest.test_get_lastUpdateTime.json delete mode 100644 tests/cassettes/SpreadsheetTest.test_get_updated_time.json create mode 100644 tests/cassettes/SpreadsheetTest.test_lastUpdateTime_prop.json diff --git a/tests/cassettes/SpreadsheetTest.test_get_lastUpdateTime.json b/tests/cassettes/SpreadsheetTest.test_get_lastUpdateTime.json new file mode 100644 index 000000000..ff71462b9 --- /dev/null +++ b/tests/cassettes/SpreadsheetTest.test_get_lastUpdateTime.json @@ -0,0 +1,569 @@ +{ + "version": 1, + "interactions": [ + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "111" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Date": [ + "Sat, 15 Jul 2023 17:19:08 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Date": [ + "Sat, 15 Jul 2023 17:19:08 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "3342" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Date": [ + "Sat, 15 Jul 2023 17:19:09 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "208" + ] + }, + "body": { + "string": "{\n \"id\": \"1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"createdTime\": \"2023-07-15T17:19:05.759Z\",\n \"modifiedTime\": \"2023-07-15T17:19:05.776Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Date": [ + "Sat, 15 Jul 2023 17:19:09 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "208" + ] + }, + "body": { + "string": "{\n \"id\": \"1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"createdTime\": \"2023-07-15T17:19:05.759Z\",\n \"modifiedTime\": \"2023-07-15T17:19:05.776Z\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ:batchUpdate", + "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"title\": \"\\ud83c\\udf8a Updated Title #123 \\ud83c\\udf89\"}, \"fields\": \"title\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "141" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Date": [ + "Sat, 15 Jul 2023 17:19:10 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Date": [ + "Sat, 15 Jul 2023 17:19:10 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"id\": \"1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ\",\n \"name\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"createdTime\": \"2023-07-15T17:19:05.759Z\",\n \"modifiedTime\": \"2023-07-15T17:19:09.770Z\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Length": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Content-Type": [ + "text/html" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Date": [ + "Sat, 15 Jul 2023 17:19:11 GMT" + ], + "Server": [ + "ESF" + ] + }, + "body": { + "string": "" + } + } + } + ] +} diff --git a/tests/cassettes/SpreadsheetTest.test_get_updated_time.json b/tests/cassettes/SpreadsheetTest.test_get_updated_time.json deleted file mode 100644 index 3c2e449a6..000000000 --- a/tests/cassettes/SpreadsheetTest.test_get_updated_time.json +++ /dev/null @@ -1,315 +0,0 @@ -{ - "version": 1, - "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_get_updated_time\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "109" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "196" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1TT0_0EiSAfDRl8HClRxJPFiuqA4KTsFCMOXfxfLmymE\",\n \"name\": \"Test SpreadsheetTest test_get_updated_time\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TT0_0EiSAfDRl8HClRxJPFiuqA4KTsFCMOXfxfLmymE?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3340" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1TT0_0EiSAfDRl8HClRxJPFiuqA4KTsFCMOXfxfLmymE\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_updated_time\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TT0_0EiSAfDRl8HClRxJPFiuqA4KTsFCMOXfxfLmymE/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1TT0_0EiSAfDRl8HClRxJPFiuqA4KTsFCMOXfxfLmymE?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "206" - ] - }, - "body": { - "string": "{\n \"id\": \"1TT0_0EiSAfDRl8HClRxJPFiuqA4KTsFCMOXfxfLmymE\",\n \"name\": \"Test SpreadsheetTest test_get_updated_time\",\n \"createdTime\": \"2023-06-08T22:15:06.270Z\",\n \"modifiedTime\": \"2023-06-08T22:15:07.602Z\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1TT0_0EiSAfDRl8HClRxJPFiuqA4KTsFCMOXfxfLmymE?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:10 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - } - ] -} diff --git a/tests/cassettes/SpreadsheetTest.test_lastUpdateTime_prop.json b/tests/cassettes/SpreadsheetTest.test_lastUpdateTime_prop.json new file mode 100644 index 000000000..95c5f3eb0 --- /dev/null +++ b/tests/cassettes/SpreadsheetTest.test_lastUpdateTime_prop.json @@ -0,0 +1,489 @@ +{ + "version": 1, + "interactions": [ + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_lastUpdateTime_prop\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "112" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Sat, 15 Jul 2023 17:19:45 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "content-length": [ + "199" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs\",\n \"name\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Sat, 15 Jul 2023 17:19:46 GMT" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Cache-Control": [ + "private" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Sat, 15 Jul 2023 17:19:46 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "content-length": [ + "209" + ] + }, + "body": { + "string": "{\n \"id\": \"1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs\",\n \"name\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"createdTime\": \"2023-07-15T17:19:43.452Z\",\n \"modifiedTime\": \"2023-07-15T17:19:44.522Z\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs:batchUpdate", + "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"title\": \"\\ud83c\\udf8a Updated Title #123 \\ud83c\\udf89\"}, \"fields\": \"title\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "141" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Sat, 15 Jul 2023 17:19:46 GMT" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Cache-Control": [ + "private" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Sat, 15 Jul 2023 17:19:47 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"id\": \"1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs\",\n \"name\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"createdTime\": \"2023-07-15T17:19:43.452Z\",\n \"modifiedTime\": \"2023-07-15T17:19:46.671Z\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Date": [ + "Sat, 15 Jul 2023 17:19:47 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "text/html" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Content-Length": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Server": [ + "ESF" + ] + }, + "body": { + "string": "" + } + } + } + ] +} diff --git a/tests/spreadsheet_test.py b/tests/spreadsheet_test.py index 5bf98cf63..236feea10 100644 --- a/tests/spreadsheet_test.py +++ b/tests/spreadsheet_test.py @@ -191,26 +191,32 @@ def test_update_title(self): self.assertEqual(new_title, properties["title"]) @pytest.mark.vcr() - def test_get_updated_time(self): - metadata_before = self.spreadsheet._properties - self.assertNotIn("modifiedTime", metadata_before) + def test_get_lastUpdateTime(self): + """Test get_lastUpdateTime method works""" + lastUpdateTime_before = self.spreadsheet.get_lastUpdateTime() - lastUpdateTime = self.spreadsheet.lastUpdateTime - metadata_after = self.spreadsheet._properties + time.sleep(0.01) + self.spreadsheet.update_title("🎊 Updated Title #123 🎉") - self.assertIsNotNone(lastUpdateTime) - self.assertIn("modifiedTime", metadata_after) - self.assertEqual(lastUpdateTime, metadata_after["modifiedTime"]) + lastUpdateTime_after = self.spreadsheet.get_lastUpdateTime() + + self.assertNotEqual(lastUpdateTime_before, lastUpdateTime_after) @pytest.mark.vcr() - def test_refresh_lastUpdateTime(self): - lastUpdateTime_before = self.spreadsheet.lastUpdateTime + def test_lastUpdateTime_prop(self): + """test lastUpdateTime property behaviour""" + lastUpdateTime_before_prop = self.spreadsheet.lastUpdateTime time.sleep(0.01) self.spreadsheet.update_title("🎊 Updated Title #123 🎉") - self.spreadsheet.refresh_lastUpdateTime() + lastUpdateTime_after_prop_initial = self.spreadsheet.lastUpdateTime + lastUpdateTime_after = self.spreadsheet.get_lastUpdateTime() + lastUpdateTime_after_prop_final = self.spreadsheet.lastUpdateTime - lastUpdateTime_after = self.spreadsheet.lastUpdateTime + # lastUpdateTime prop should be immediately available + self.assertIsNotNone(lastUpdateTime_before_prop) - self.assertNotEqual(lastUpdateTime_before, lastUpdateTime_after) + # prop is updated by function (side effect) + self.assertNotEqual(lastUpdateTime_after_prop_initial, lastUpdateTime_after) + self.assertEqual(lastUpdateTime_after_prop_final, lastUpdateTime_after) From 191721b582e2020dba004674f4ab44f214788af5 Mon Sep 17 00:00:00 2001 From: alifeee Date: Sun, 16 Jul 2023 13:17:52 +0100 Subject: [PATCH 13/28] add test_fill_gaps and docstring for fill_gaps --- gspread/utils.py | 19 +++++++++++++++++++ tests/utils_test.py | 15 +++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/gspread/utils.py b/gspread/utils.py index cad032fb3..a532f82d5 100644 --- a/gspread/utils.py +++ b/gspread/utils.py @@ -536,6 +536,25 @@ def rightpad(row, max_len): def fill_gaps(L, rows=None, cols=None): + """Fill gaps in a list of lists. + e.g., + L = [ + [1, 2, 3], + ] + --> fill_gaps(L, 2, 4) + [ + [1, 2, 3, ""], + ["", "", "", ""] + ] + + Args: + L (list[list[T]]): List of lists to fill gaps in. + rows (int, optional): Number of rows to fill. Defaults to None. + cols (int, optional): Number of columns to fill. Defaults to None. + + Returns: + list[list[T]]: List of lists with gaps filled. + """ try: max_cols = max(len(row) for row in L) if cols is None else cols max_rows = len(L) if rows is None else rows diff --git a/tests/utils_test.py b/tests/utils_test.py index 0d193185d..727ed8f40 100644 --- a/tests/utils_test.py +++ b/tests/utils_test.py @@ -259,3 +259,18 @@ def test_combine_merge_values(self): actual_combine = utils.combined_merge_values(sheet_metadata, sheet_data) self.assertEqual(actual_combine, expected_combine) + + def test_fill_gaps(self): + """test fill_gaps function""" + matrix = [ + [1, 2, 3, 4], + [5, 6, 7, 8], + ] + expected = [ + [1, 2, 3, 4, "", ""], + [5, 6, 7, 8, "", ""], + ["", "", "", "", "", ""], + ] + actual = utils.fill_gaps(matrix, 3, 6) + + self.assertEqual(actual, expected) From 835ecf2fd4a2f4b1b371f536fce39ea5601f0178 Mon Sep 17 00:00:00 2001 From: alifeee Date: Sun, 16 Jul 2023 16:30:49 +0100 Subject: [PATCH 14/28] fix docstring (angry sphinx noises) --- gspread/utils.py | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/gspread/utils.py b/gspread/utils.py index a532f82d5..6886a315f 100644 --- a/gspread/utils.py +++ b/gspread/utils.py @@ -537,23 +537,27 @@ def rightpad(row, max_len): def fill_gaps(L, rows=None, cols=None): """Fill gaps in a list of lists. - e.g., - L = [ - [1, 2, 3], - ] - --> fill_gaps(L, 2, 4) - [ - [1, 2, 3, ""], - ["", "", "", ""] - ] - - Args: - L (list[list[T]]): List of lists to fill gaps in. - rows (int, optional): Number of rows to fill. Defaults to None. - cols (int, optional): Number of columns to fill. Defaults to None. - - Returns: - list[list[T]]: List of lists with gaps filled. + e.g.,:: + + >>> L = [ + ... [1, 2, 3], + ... ] + >>> fill_gaps(L, 2, 4) + [ + [1, 2, 3, ""], + ["", "", "", ""] + ] + + :param L: List of lists to fill gaps in. + :param rows: Number of rows to fill. + :param cols: Number of columns to fill. + + :type L: list[list[T]] + :type rows: int + :type cols: int + + :return: List of lists with gaps filled. + :rtype: list[list[T]]: """ try: max_cols = max(len(row) for row in L) if cols is None else cols From a9d925e7578974e063cef78a410d9e9c13e259e4 Mon Sep 17 00:00:00 2001 From: alifeee Date: Thu, 20 Jul 2023 10:02:58 +0100 Subject: [PATCH 15/28] whitespace changes --- gspread/spreadsheet.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gspread/spreadsheet.py b/gspread/spreadsheet.py index 5afb034ce..3086ba533 100644 --- a/gspread/spreadsheet.py +++ b/gspread/spreadsheet.py @@ -60,7 +60,9 @@ def creationTime(self): @property def lastUpdateTime(self): - """Spreadsheet last updated time. Only updated on initialisation. For actual last updated time, use get_lastUpdateTime().""" + """Spreadsheet last updated time. + Only updated on initialisation. + For actual last updated time, use get_lastUpdateTime().""" warnings.warn( """ This is only updated on initialisation and is probably outdated by the time you use it. From 68b01d03c79cc7bf4f4183f978ca7d7dc7130d5d Mon Sep 17 00:00:00 2001 From: alifeee Date: Thu, 20 Jul 2023 10:03:08 +0100 Subject: [PATCH 16/28] reload test cassettes --- tests/cassettes/CellTest.test_a1_value.json | 949 +- .../CellTest.test_define_named_range.json | 967 +- .../CellTest.test_delete_named_range.json | 963 +- tests/cassettes/CellTest.test_equality.json | 1375 ++- .../cassettes/CellTest.test_merge_cells.json | 1389 ++- .../CellTest.test_numeric_value.json | 1276 ++- tests/cassettes/CellTest.test_properties.json | 834 +- ....test_access_non_existing_spreadsheet.json | 101 +- tests/cassettes/ClientTest.test_copy.json | 1165 +- tests/cassettes/ClientTest.test_create.json | 372 +- .../cassettes/ClientTest.test_import_csv.json | 1179 +- .../ClientTest.test_no_found_exeption.json | 111 +- tests/cassettes/ClientTest.test_openall.json | 9723 ++++++++++++++++- ...preadsheetTest.test_add_del_worksheet.json | 961 +- ...readsheetTest.test_get_lastUpdateTime.json | 564 + .../SpreadsheetTest.test_get_worksheet.json | 481 +- ...eadsheetTest.test_get_worksheet_by_id.json | 481 +- ...eadsheetTest.test_lastUpdateTime_prop.json | 484 + .../SpreadsheetTest.test_properties.json | 405 +- .../SpreadsheetTest.test_sheet1.json | 481 +- ...eadsheetTest.test_timezone_and_locale.json | 645 +- .../SpreadsheetTest.test_update_title.json | 480 + ...SpreadsheetTest.test_values_batch_get.json | 644 ++ .../SpreadsheetTest.test_values_get.json | 644 ++ .../SpreadsheetTest.test_worksheet.json | 398 + ...eadsheetTest.test_worksheet_iteration.json | 474 + .../SpreadsheetTest.test_worksheets.json | 556 + ...etTest.test_worksheets_exclude_hidden.json | 720 ++ tests/cassettes/WorksheetTest.test_acell.json | 553 + .../WorksheetTest.test_append_row.json | 635 ++ ...Test.test_append_row_with_empty_value.json | 717 ++ ..._row_with_empty_value_and_table_range.json | 717 ++ ...orksheetTest.test_auto_resize_columns.json | 793 ++ .../WorksheetTest.test_basic_filters.json | 1191 ++ .../WorksheetTest.test_batch_clear.json | 1255 +++ .../WorksheetTest.test_batch_get.json | 635 ++ .../WorksheetTest.test_batch_update.json | 635 ++ tests/cassettes/WorksheetTest.test_cell.json | 553 + tests/cassettes/WorksheetTest.test_clear.json | 790 ++ .../WorksheetTest.test_clear_tab_color.json | 793 ++ .../WorksheetTest.test_copy_cut_range.json | 951 ++ .../WorksheetTest.test_delete_cols.json | 1021 ++ .../WorksheetTest.test_delete_row.json | 1273 +++ tests/cassettes/WorksheetTest.test_find.json | 1191 ++ .../cassettes/WorksheetTest.test_findall.json | 945 ++ .../cassettes/WorksheetTest.test_format.json | 635 ++ .../cassettes/WorksheetTest.test_freeze.json | 951 ++ .../WorksheetTest.test_get_all_records.json | 1021 ++ ...test_get_all_records_different_header.json | 1021 ++ ...t.test_get_all_records_duplicate_keys.json | 793 ++ ...test_get_all_records_expected_headers.json | 945 ++ ...et_all_records_numericise_unformatted.json | 793 ++ ..._get_all_records_value_render_options.json | 945 ++ .../WorksheetTest.test_get_all_values.json | 1021 ++ ...t_all_values_date_time_render_options.json | 1021 ++ ...t_get_all_values_title_is_a1_notation.json | 1103 ++ ...t_get_values_and_combine_merged_cells.json | 1115 ++ .../WorksheetTest.test_group_columns.json | 793 ++ .../WorksheetTest.test_group_rows.json | 793 ++ .../WorksheetTest.test_hide_columns_rows.json | 805 ++ .../WorksheetTest.test_hide_gridlines.json | 711 ++ ...orksheetTest.test_hide_show_worksheet.json | 1033 ++ .../WorksheetTest.test_insert_cols.json | 951 ++ .../WorksheetTest.test_insert_row.json | 1197 ++ tests/cassettes/WorksheetTest.test_range.json | 629 ++ ...rksheetTest.test_range_get_all_values.json | 793 ++ .../WorksheetTest.test_range_reversed.json | 629 ++ .../WorksheetTest.test_range_unbounded.json | 629 ++ ...WorksheetTest.test_reorder_worksheets.json | 787 ++ .../cassettes/WorksheetTest.test_resize.json | 951 ++ .../WorksheetTest.test_show_gridlines.json | 793 ++ tests/cassettes/WorksheetTest.test_sort.json | 1507 +++ .../WorksheetTest.test_update_acell.json | 635 ++ .../WorksheetTest.test_update_and_get.json | 635 ++ .../WorksheetTest.test_update_cell.json | 1267 +++ ...ksheetTest.test_update_cell_multiline.json | 635 ++ ...orksheetTest.test_update_cell_objects.json | 711 ++ ...orksheetTest.test_update_cell_unicode.json | 635 ++ .../WorksheetTest.test_update_cells.json | 711 ++ ...tTest.test_update_cells_noncontiguous.json | 869 ++ ...rksheetTest.test_update_cells_unicode.json | 711 ++ .../WorksheetTest.test_update_tab_color.json | 711 ++ .../WorksheetTest.test_update_title.json | 711 ++ .../WorksheetTest.test_worksheet_notes.json | 1653 +++ ...sheetTest.test_worksheet_update_index.json | 875 ++ 85 files changed, 77225 insertions(+), 1369 deletions(-) diff --git a/tests/cassettes/CellTest.test_a1_value.json b/tests/cassettes/CellTest.test_a1_value.json index 6b8a9bd3d..6d1027b5d 100644 --- a/tests/cassettes/CellTest.test_a1_value.json +++ b/tests/cassettes/CellTest.test_a1_value.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "94" ], @@ -39,55 +42,55 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Transfer-Encoding": [ + "chunked" + ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Date": [ - "Thu, 08 Jun 2023 22:14:06 GMT" + "Thu, 20 Jul 2023 08:47:46 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], "content-length": [ "181" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1lCVGsP0AcffIUvwl03Pjj7zawG1cdVSxH2Cqa0_6bGw\",\n \"name\": \"Test CellTest test_a1_value\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ\",\n \"name\": \"Test CellTest test_a1_value\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lCVGsP0AcffIUvwl03Pjj7zawG1cdVSxH2Cqa0_6bGw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,6 +108,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -116,9 +122,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -127,40 +130,43 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:06 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:47 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ "3325" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1lCVGsP0AcffIUvwl03Pjj7zawG1cdVSxH2Cqa0_6bGw\",\n \"properties\": {\n \"title\": \"Test CellTest test_a1_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lCVGsP0AcffIUvwl03Pjj7zawG1cdVSxH2Cqa0_6bGw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ\",\n \"properties\": {\n \"title\": \"Test CellTest test_a1_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lCVGsP0AcffIUvwl03Pjj7zawG1cdVSxH2Cqa0_6bGw?includeGridData=false", + "uri": "https://www.googleapis.com/drive/v3/files/1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -178,6 +184,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -189,9 +198,86 @@ "message": "OK" }, "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], "Transfer-Encoding": [ "chunked" ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:47:47 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"id\": \"1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ\",\n \"name\": \"Test CellTest test_a1_value\",\n \"createdTime\": \"2023-07-20T08:47:44.700Z\",\n \"modifiedTime\": \"2023-07-20T08:47:44.720Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { "Content-Type": [ "application/json; charset=UTF-8" ], @@ -200,40 +286,43 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:06 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:47 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ "3325" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1lCVGsP0AcffIUvwl03Pjj7zawG1cdVSxH2Cqa0_6bGw\",\n \"properties\": {\n \"title\": \"Test CellTest test_a1_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lCVGsP0AcffIUvwl03Pjj7zawG1cdVSxH2Cqa0_6bGw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ\",\n \"properties\": {\n \"title\": \"Test CellTest test_a1_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lCVGsP0AcffIUvwl03Pjj7zawG1cdVSxH2Cqa0_6bGw/values/%27Sheet1%27%21D4?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ/values/%27Sheet1%27%21D4?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -251,6 +340,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -262,9 +354,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -273,26 +362,29 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:06 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:48 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ "55" @@ -306,7 +398,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lCVGsP0AcffIUvwl03Pjj7zawG1cdVSxH2Cqa0_6bGw/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"Dummy\"]]}", "headers": { "User-Agent": [ @@ -324,6 +416,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "23" ], @@ -341,9 +436,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -352,40 +444,43 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:07 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:48 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ "165" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1lCVGsP0AcffIUvwl03Pjj7zawG1cdVSxH2Cqa0_6bGw\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lCVGsP0AcffIUvwl03Pjj7zawG1cdVSxH2Cqa0_6bGw/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -403,6 +498,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -414,9 +512,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -425,26 +520,29 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:07 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:48 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ "116" @@ -458,7 +556,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1lCVGsP0AcffIUvwl03Pjj7zawG1cdVSxH2Cqa0_6bGw?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1Sle_EDNRq8PsQGzmskqQWIGnUT4epR-d9A-9gaJsrrQ?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -476,6 +574,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "0" ], @@ -490,41 +591,673 @@ "message": "No Content" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], "Content-Type": [ "text/html" ], - "Content-Length": [ - "0" - ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:07 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Content-Length": [ + "0" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:47:49 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ] + }, + "body": { + "string": "" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test CellTest test_a1_value\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "94" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:16 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "181" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI\",\n \"name\": \"Test CellTest test_a1_value\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3325" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI\",\n \"properties\": {\n \"title\": \"Test CellTest test_a1_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:17 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"id\": \"1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI\",\n \"name\": \"Test CellTest test_a1_value\",\n \"createdTime\": \"2023-07-20T08:54:14.016Z\",\n \"modifiedTime\": \"2023-07-20T08:54:14.035Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3325" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI\",\n \"properties\": {\n \"title\": \"Test CellTest test_a1_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI/values/%27Sheet1%27%21D4?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "55" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!D4\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"Dummy\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "116" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\",\n \"Dummy\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1Vptx0DVg5lsmYXLHgqlPQXIRaF-C-f-HE8i308L48XI?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:18 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ] }, "body": { diff --git a/tests/cassettes/CellTest.test_define_named_range.json b/tests/cassettes/CellTest.test_define_named_range.json index 6bbbb2aa4..a136c3301 100644 --- a/tests/cassettes/CellTest.test_define_named_range.json +++ b/tests/cassettes/CellTest.test_define_named_range.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "104" ], @@ -39,55 +42,55 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Transfer-Encoding": [ + "chunked" + ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Date": [ - "Thu, 08 Jun 2023 22:14:10 GMT" + "Thu, 20 Jul 2023 08:47:51 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], "content-length": [ "191" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1h-RQLDEbT1qRkIQiq8rdJSiCqCo4VikeXm8F5w5IweA\",\n \"name\": \"Test CellTest test_define_named_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI\",\n \"name\": \"Test CellTest test_define_named_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-RQLDEbT1qRkIQiq8rdJSiCqCo4VikeXm8F5w5IweA?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,6 +108,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -116,9 +122,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -127,40 +130,43 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:10 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:51 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ "3335" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h-RQLDEbT1qRkIQiq8rdJSiCqCo4VikeXm8F5w5IweA\",\n \"properties\": {\n \"title\": \"Test CellTest test_define_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1h-RQLDEbT1qRkIQiq8rdJSiCqCo4VikeXm8F5w5IweA/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI\",\n \"properties\": {\n \"title\": \"Test CellTest test_define_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-RQLDEbT1qRkIQiq8rdJSiCqCo4VikeXm8F5w5IweA?includeGridData=false", + "uri": "https://www.googleapis.com/drive/v3/files/1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -178,6 +184,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -189,9 +198,86 @@ "message": "OK" }, "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], "Transfer-Encoding": [ "chunked" ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:47:51 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "201" + ] + }, + "body": { + "string": "{\n \"id\": \"1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI\",\n \"name\": \"Test CellTest test_define_named_range\",\n \"createdTime\": \"2023-07-20T08:47:49.640Z\",\n \"modifiedTime\": \"2023-07-20T08:47:50.525Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { "Content-Type": [ "application/json; charset=UTF-8" ], @@ -200,40 +286,43 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:10 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:52 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ "3335" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h-RQLDEbT1qRkIQiq8rdJSiCqCo4VikeXm8F5w5IweA\",\n \"properties\": {\n \"title\": \"Test CellTest test_define_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1h-RQLDEbT1qRkIQiq8rdJSiCqCo4VikeXm8F5w5IweA/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI\",\n \"properties\": {\n \"title\": \"Test CellTest test_define_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-RQLDEbT1qRkIQiq8rdJSiCqCo4VikeXm8F5w5IweA:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI:batchUpdate", "body": "{\"requests\": [{\"addNamedRange\": {\"namedRange\": {\"name\": \"TestDefineNamedRange\", \"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}}}}]}", "headers": { "User-Agent": [ @@ -251,6 +340,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "190" ], @@ -268,9 +360,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -279,40 +368,43 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:11 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:52 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ - "412" + "413" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h-RQLDEbT1qRkIQiq8rdJSiCqCo4VikeXm8F5w5IweA\",\n \"replies\": [\n {\n \"addNamedRange\": {\n \"namedRange\": {\n \"namedRangeId\": \"386178785\",\n \"name\": \"TestDefineNamedRange\",\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI\",\n \"replies\": [\n {\n \"addNamedRange\": {\n \"namedRange\": {\n \"namedRangeId\": \"1027309467\",\n \"name\": \"TestDefineNamedRange\",\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-RQLDEbT1qRkIQiq8rdJSiCqCo4VikeXm8F5w5IweA?fields=namedRanges", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI?fields=namedRanges", "body": null, "headers": { "User-Agent": [ @@ -330,6 +422,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -341,9 +436,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -352,41 +444,44 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:11 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:52 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ - "250" + "251" ] }, "body": { - "string": "{\n \"namedRanges\": [\n {\n \"namedRangeId\": \"386178785\",\n \"name\": \"TestDefineNamedRange\",\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n }\n ]\n}\n" + "string": "{\n \"namedRanges\": [\n {\n \"namedRangeId\": \"1027309467\",\n \"name\": \"TestDefineNamedRange\",\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n }\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-RQLDEbT1qRkIQiq8rdJSiCqCo4VikeXm8F5w5IweA:batchUpdate", - "body": "{\"requests\": [{\"deleteNamedRange\": {\"namedRangeId\": \"386178785\"}}]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI:batchUpdate", + "body": "{\"requests\": [{\"deleteNamedRange\": {\"namedRangeId\": \"1027309467\"}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -403,8 +498,11 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ - "67" + "68" ], "Content-Type": [ "application/json" @@ -420,9 +518,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -431,40 +526,43 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:11 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:52 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h-RQLDEbT1qRkIQiq8rdJSiCqCo4VikeXm8F5w5IweA\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1h-RQLDEbT1qRkIQiq8rdJSiCqCo4VikeXm8F5w5IweA?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1WADX3MU1axnVuqJivovc7d-H4TbTdrIGoxApTWZ4iVI?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -482,6 +580,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "0" ], @@ -496,41 +597,679 @@ "message": "No Content" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], "Content-Type": [ "text/html" ], - "Content-Length": [ - "0" - ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:12 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Content-Length": [ + "0" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:47:53 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ] + }, + "body": { + "string": "" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test CellTest test_define_named_range\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:21 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk\",\n \"name\": \"Test CellTest test_define_named_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:21 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3335" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk\",\n \"properties\": {\n \"title\": \"Test CellTest test_define_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:22 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "201" + ] + }, + "body": { + "string": "{\n \"id\": \"1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk\",\n \"name\": \"Test CellTest test_define_named_range\",\n \"createdTime\": \"2023-07-20T08:54:19.159Z\",\n \"modifiedTime\": \"2023-07-20T08:54:19.175Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3335" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk\",\n \"properties\": {\n \"title\": \"Test CellTest test_define_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk:batchUpdate", + "body": "{\"requests\": [{\"addNamedRange\": {\"namedRange\": {\"name\": \"TestDefineNamedRange\", \"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "413" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk\",\n \"replies\": [\n {\n \"addNamedRange\": {\n \"namedRange\": {\n \"namedRangeId\": \"1179381582\",\n \"name\": \"TestDefineNamedRange\",\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk?fields=namedRanges", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "251" + ] + }, + "body": { + "string": "{\n \"namedRanges\": [\n {\n \"namedRangeId\": \"1179381582\",\n \"name\": \"TestDefineNamedRange\",\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk:batchUpdate", + "body": "{\"requests\": [{\"deleteNamedRange\": {\"namedRangeId\": \"1179381582\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "68" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:23 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1sBAg7oDQBjCGRiV7oaoKUhOcUjW4OEjdK-bN4uMuHlk?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:23 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ] }, "body": { diff --git a/tests/cassettes/CellTest.test_delete_named_range.json b/tests/cassettes/CellTest.test_delete_named_range.json index 7035f9905..bb7a39146 100644 --- a/tests/cassettes/CellTest.test_delete_named_range.json +++ b/tests/cassettes/CellTest.test_delete_named_range.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "104" ], @@ -39,55 +42,55 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Transfer-Encoding": [ + "chunked" + ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Date": [ - "Thu, 08 Jun 2023 22:14:15 GMT" + "Thu, 20 Jul 2023 08:47:55 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], "content-length": [ "191" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Lqn9AqpgHImPiEP16VWDuUCk5_bh7HL_HhHCgxOMn6k\",\n \"name\": \"Test CellTest test_delete_named_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q\",\n \"name\": \"Test CellTest test_delete_named_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lqn9AqpgHImPiEP16VWDuUCk5_bh7HL_HhHCgxOMn6k?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,6 +108,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -116,9 +122,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -127,40 +130,43 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:16 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:56 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ "3335" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Lqn9AqpgHImPiEP16VWDuUCk5_bh7HL_HhHCgxOMn6k\",\n \"properties\": {\n \"title\": \"Test CellTest test_delete_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Lqn9AqpgHImPiEP16VWDuUCk5_bh7HL_HhHCgxOMn6k/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q\",\n \"properties\": {\n \"title\": \"Test CellTest test_delete_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lqn9AqpgHImPiEP16VWDuUCk5_bh7HL_HhHCgxOMn6k?includeGridData=false", + "uri": "https://www.googleapis.com/drive/v3/files/13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -178,6 +184,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -189,9 +198,86 @@ "message": "OK" }, "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], "Transfer-Encoding": [ "chunked" ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:47:56 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "201" + ] + }, + "body": { + "string": "{\n \"id\": \"13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q\",\n \"name\": \"Test CellTest test_delete_named_range\",\n \"createdTime\": \"2023-07-20T08:47:53.621Z\",\n \"modifiedTime\": \"2023-07-20T08:47:53.640Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { "Content-Type": [ "application/json; charset=UTF-8" ], @@ -200,40 +286,43 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:16 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:56 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ "3335" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Lqn9AqpgHImPiEP16VWDuUCk5_bh7HL_HhHCgxOMn6k\",\n \"properties\": {\n \"title\": \"Test CellTest test_delete_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Lqn9AqpgHImPiEP16VWDuUCk5_bh7HL_HhHCgxOMn6k/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q\",\n \"properties\": {\n \"title\": \"Test CellTest test_delete_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lqn9AqpgHImPiEP16VWDuUCk5_bh7HL_HhHCgxOMn6k:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q:batchUpdate", "body": "{\"requests\": [{\"addNamedRange\": {\"namedRange\": {\"name\": \"TestDeleteNamedRange\", \"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}}}}]}", "headers": { "User-Agent": [ @@ -251,6 +340,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "190" ], @@ -268,9 +360,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -279,41 +368,44 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:16 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:56 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ - "412" + "413" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Lqn9AqpgHImPiEP16VWDuUCk5_bh7HL_HhHCgxOMn6k\",\n \"replies\": [\n {\n \"addNamedRange\": {\n \"namedRange\": {\n \"namedRangeId\": \"506474362\",\n \"name\": \"TestDeleteNamedRange\",\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q\",\n \"replies\": [\n {\n \"addNamedRange\": {\n \"namedRange\": {\n \"namedRangeId\": \"1792097461\",\n \"name\": \"TestDeleteNamedRange\",\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lqn9AqpgHImPiEP16VWDuUCk5_bh7HL_HhHCgxOMn6k:batchUpdate", - "body": "{\"requests\": [{\"deleteNamedRange\": {\"namedRangeId\": \"506474362\"}}]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q:batchUpdate", + "body": "{\"requests\": [{\"deleteNamedRange\": {\"namedRangeId\": \"1792097461\"}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -330,8 +422,11 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ - "67" + "68" ], "Content-Type": [ "application/json" @@ -347,9 +442,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -358,40 +450,43 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:16 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:57 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Lqn9AqpgHImPiEP16VWDuUCk5_bh7HL_HhHCgxOMn6k\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lqn9AqpgHImPiEP16VWDuUCk5_bh7HL_HhHCgxOMn6k?fields=namedRanges", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q?fields=namedRanges", "body": null, "headers": { "User-Agent": [ @@ -409,6 +504,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -420,9 +518,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -431,26 +526,29 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:17 GMT" + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "Date": [ + "Thu, 20 Jul 2023 08:47:57 GMT" + ], + "Server": [ + "ESF" ], "content-length": [ "3" @@ -464,7 +562,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1Lqn9AqpgHImPiEP16VWDuUCk5_bh7HL_HhHCgxOMn6k?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/13QxVEIWjvrnLMkouaVOlHXMwxRfUE4COIYvatF0pO7Q?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -482,6 +580,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "0" ], @@ -496,41 +597,679 @@ "message": "No Content" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], "Content-Type": [ "text/html" ], - "Content-Length": [ - "0" - ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:17 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Content-Length": [ + "0" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:47:57 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ] + }, + "body": { + "string": "" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test CellTest test_delete_named_range\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:25 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts\",\n \"name\": \"Test CellTest test_delete_named_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:26 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3335" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts\",\n \"properties\": {\n \"title\": \"Test CellTest test_delete_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:26 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "201" + ] + }, + "body": { + "string": "{\n \"id\": \"1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts\",\n \"name\": \"Test CellTest test_delete_named_range\",\n \"createdTime\": \"2023-07-20T08:54:23.944Z\",\n \"modifiedTime\": \"2023-07-20T08:54:24.780Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:26 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3335" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts\",\n \"properties\": {\n \"title\": \"Test CellTest test_delete_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts:batchUpdate", + "body": "{\"requests\": [{\"addNamedRange\": {\"namedRange\": {\"name\": \"TestDeleteNamedRange\", \"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:26 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "412" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts\",\n \"replies\": [\n {\n \"addNamedRange\": {\n \"namedRange\": {\n \"namedRangeId\": \"643866637\",\n \"name\": \"TestDeleteNamedRange\",\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts:batchUpdate", + "body": "{\"requests\": [{\"deleteNamedRange\": {\"namedRangeId\": \"643866637\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "67" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:27 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts?fields=namedRanges", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:27 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3" + ] + }, + "body": { + "string": "{}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1tW62QMA6TFaYIgYAKE7_ZKfRk_-XkixUVL_pAzVi_ts?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:27 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ] }, "body": { diff --git a/tests/cassettes/CellTest.test_equality.json b/tests/cassettes/CellTest.test_equality.json index 0a3d9709f..13d31400f 100644 --- a/tests/cassettes/CellTest.test_equality.json +++ b/tests/cassettes/CellTest.test_equality.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "94" ], @@ -39,55 +42,211 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Transfer-Encoding": [ "chunked" ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:47:59 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "181" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o\",\n \"name\": \"Test CellTest test_equality\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ - "Origin, X-Origin" + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:47:59 GMT" ], "Server": [ "ESF" ], + "content-length": [ + "3325" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o\",\n \"properties\": {\n \"title\": \"Test CellTest test_equality\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Transfer-Encoding": [ + "chunked" + ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Date": [ - "Thu, 08 Jun 2023 22:14:21 GMT" + "Thu, 20 Jul 2023 08:48:00 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], "content-length": [ - "181" + "191" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k\",\n \"name\": \"Test CellTest test_equality\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"id\": \"1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o\",\n \"name\": \"Test CellTest test_equality\",\n \"createdTime\": \"2023-07-20T08:47:58.076Z\",\n \"modifiedTime\": \"2023-07-20T08:47:58.885Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,6 +264,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -116,9 +278,88 @@ "message": "OK" }, "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], "Transfer-Encoding": [ "chunked" ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:00 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "3325" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o\",\n \"properties\": {\n \"title\": \"Test CellTest test_equality\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"test_equality 1\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "33" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { "Content-Type": [ "application/json; charset=UTF-8" ], @@ -127,40 +368,833 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:00 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:00 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "110" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_equality 1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:01 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "110" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_equality 1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o/values/%27Sheet1%27%21A2?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"test_equality 1\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "33" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:01 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o\",\n \"updatedRange\": \"Sheet1!A2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o/values/%27Sheet1%27%21A2?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:01 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "110" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_equality 1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"test_equality 1\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "33" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:01 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:01 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "110" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_equality 1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1lUCFNTXM5Qd4yS3QAazomIhyT0BYxQMltPTuQc6Kw8o?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Content-Length": [ + "0" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:02 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ] + }, + "body": { + "string": "" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test CellTest test_equality\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "94" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:30 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "181" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA\",\n \"name\": \"Test CellTest test_equality\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:31 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3325" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA\",\n \"properties\": {\n \"title\": \"Test CellTest test_equality\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:21 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:31 GMT" ], - "Cache-Control": [ - "private" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ - "3325" + "191" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k\",\n \"properties\": {\n \"title\": \"Test CellTest test_equality\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k/edit\"\n}\n" + "string": "{\n \"id\": \"10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA\",\n \"name\": \"Test CellTest test_equality\",\n \"createdTime\": \"2023-07-20T08:54:28.355Z\",\n \"modifiedTime\": \"2023-07-20T08:54:28.372Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -178,6 +1212,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -189,8 +1226,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -200,40 +1240,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:21 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:31 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "3325" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k\",\n \"properties\": {\n \"title\": \"Test CellTest test_equality\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA\",\n \"properties\": {\n \"title\": \"Test CellTest test_equality\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA/edit\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"test_equality 1\"]]}", "headers": { "User-Agent": [ @@ -251,6 +1288,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "33" ], @@ -268,8 +1308,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -279,40 +1322,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:21 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:32 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "165" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -330,6 +1370,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -341,8 +1384,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -352,26 +1398,23 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:22 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:32 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "110" @@ -385,7 +1428,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -403,6 +1446,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -414,8 +1460,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -425,26 +1474,23 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:22 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:32 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "110" @@ -458,7 +1504,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k/values/%27Sheet1%27%21A2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA/values/%27Sheet1%27%21A2?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"test_equality 1\"]]}", "headers": { "User-Agent": [ @@ -476,6 +1522,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "33" ], @@ -493,8 +1542,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -504,40 +1556,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:22 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:32 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "165" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k\",\n \"updatedRange\": \"Sheet1!A2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA\",\n \"updatedRange\": \"Sheet1!A2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k/values/%27Sheet1%27%21A2?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA/values/%27Sheet1%27%21A2?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -555,6 +1604,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -566,8 +1618,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -577,26 +1632,23 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:22 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:33 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "110" @@ -610,7 +1662,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"test_equality 1\"]]}", "headers": { "User-Agent": [ @@ -628,6 +1680,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "33" ], @@ -645,8 +1700,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -656,40 +1714,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:22 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:33 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "165" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -707,6 +1762,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -718,8 +1776,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -729,26 +1790,23 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:23 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:33 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "110" @@ -762,7 +1820,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1f2Xz-DmK95enb66Q1f_KZf_n1MWRuYFJGHlq8ry4E2k?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/10ot2mreYevGZVIdYxK4ieNvk5nGm9rafAC88o9ukXLA?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -780,6 +1838,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "0" ], @@ -794,41 +1855,41 @@ "message": "No Content" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "text/html" ], - "Content-Length": [ - "0" - ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], "Pragma": [ "no-cache" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Content-Length": [ + "0" ], "Date": [ - "Thu, 08 Jun 2023 22:14:23 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Thu, 20 Jul 2023 08:54:34 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ] }, "body": { diff --git a/tests/cassettes/CellTest.test_merge_cells.json b/tests/cassettes/CellTest.test_merge_cells.json index 16fb4c422..06d1e0910 100644 --- a/tests/cassettes/CellTest.test_merge_cells.json +++ b/tests/cassettes/CellTest.test_merge_cells.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "97" ], @@ -39,55 +42,211 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Transfer-Encoding": [ "chunked" ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:04 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "184" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8\",\n \"name\": \"Test CellTest test_merge_cells\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ - "Origin, X-Origin" + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:05 GMT" ], "Server": [ "ESF" ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Transfer-Encoding": [ + "chunked" + ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Date": [ - "Thu, 08 Jun 2023 22:14:26 GMT" + "Thu, 20 Jul 2023 08:48:05 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], "content-length": [ - "184" + "194" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8\",\n \"name\": \"Test CellTest test_merge_cells\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"id\": \"1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8\",\n \"name\": \"Test CellTest test_merge_cells\",\n \"createdTime\": \"2023-07-20T08:48:02.877Z\",\n \"modifiedTime\": \"2023-07-20T08:48:03.770Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,6 +264,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -116,9 +278,88 @@ "message": "OK" }, "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], "Transfer-Encoding": [ "chunked" ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:05 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8/values/%27Sheet1%27%21A1%3AB2?valueInputOption=RAW", + "body": "{\"values\": [[42, 43], [43, 44]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "32" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { "Content-Type": [ "application/json; charset=UTF-8" ], @@ -127,40 +368,839 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:05 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "168" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8\",\n \"updatedRange\": \"Sheet1!A1:B2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 2,\n \"updatedCells\": 4\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8:batchUpdate", + "body": "{\"requests\": [{\"mergeCells\": {\"mergeType\": \"MERGE_ROWS\", \"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "166" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:06 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:06 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "3638" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n },\n \"merges\": [\n {\n \"startRowIndex\": 0,\n \"endRowIndex\": 1,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n },\n {\n \"startRowIndex\": 1,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8:batchUpdate", + "body": "{\"requests\": [{\"mergeCells\": {\"mergeType\": \"MERGE_ALL\", \"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "165" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:06 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:07 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "3496" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n },\n \"merges\": [\n {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8:batchUpdate", + "body": "{\"requests\": [{\"unmergeCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "141" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:07 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:07 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1BBSpc40Femt2x9Q2rLqVWb7OpLzY-_ufLjRetqE5-i8?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Content-Length": [ + "0" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:08 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ] + }, + "body": { + "string": "" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test CellTest test_merge_cells\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "97" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:35 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "184" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE\",\n \"name\": \"Test CellTest test_merge_cells\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:36 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:26 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:36 GMT" ], - "Cache-Control": [ - "private" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ - "3328" + "194" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8/edit\"\n}\n" + "string": "{\n \"id\": \"1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE\",\n \"name\": \"Test CellTest test_merge_cells\",\n \"createdTime\": \"2023-07-20T08:54:34.403Z\",\n \"modifiedTime\": \"2023-07-20T08:54:34.926Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -178,6 +1218,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -189,8 +1232,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -200,40 +1246,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:26 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:36 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "3328" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE/edit\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8/values/%27Sheet1%27%21A1%3AB2?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE/values/%27Sheet1%27%21A1%3AB2?valueInputOption=RAW", "body": "{\"values\": [[42, 43], [43, 44]]}", "headers": { "User-Agent": [ @@ -251,6 +1294,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "32" ], @@ -268,8 +1314,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -279,40 +1328,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:27 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:37 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "168" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8\",\n \"updatedRange\": \"Sheet1!A1:B2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 2,\n \"updatedCells\": 4\n}\n" + "string": "{\n \"spreadsheetId\": \"1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE\",\n \"updatedRange\": \"Sheet1!A1:B2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 2,\n \"updatedCells\": 4\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE:batchUpdate", "body": "{\"requests\": [{\"mergeCells\": {\"mergeType\": \"MERGE_ROWS\", \"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}}}]}", "headers": { "User-Agent": [ @@ -330,6 +1376,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "166" ], @@ -347,8 +1396,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -358,40 +1410,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:27 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:37 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -409,6 +1458,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -420,8 +1472,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -431,40 +1486,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:27 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:37 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "3638" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n },\n \"merges\": [\n {\n \"startRowIndex\": 0,\n \"endRowIndex\": 1,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n },\n {\n \"startRowIndex\": 1,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n },\n \"merges\": [\n {\n \"startRowIndex\": 0,\n \"endRowIndex\": 1,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n },\n {\n \"startRowIndex\": 1,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE:batchUpdate", "body": "{\"requests\": [{\"mergeCells\": {\"mergeType\": \"MERGE_ALL\", \"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}}}]}", "headers": { "User-Agent": [ @@ -482,6 +1534,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "165" ], @@ -499,8 +1554,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -510,40 +1568,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:27 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:37 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -561,6 +1616,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -572,8 +1630,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -583,40 +1644,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:27 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:38 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "3496" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n },\n \"merges\": [\n {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n },\n \"merges\": [\n {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE:batchUpdate", "body": "{\"requests\": [{\"unmergeCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}}}]}", "headers": { "User-Agent": [ @@ -634,6 +1692,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "141" ], @@ -651,8 +1712,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -662,40 +1726,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:28 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:38 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -713,6 +1774,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -724,8 +1788,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -735,40 +1802,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:28 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:38 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "3328" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE\",\n \"properties\": {\n \"title\": \"Test CellTest test_merge_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1hvqdNzpo_GXB6Y9xALb8DRgcfjh1lI40XRQok7_lMD8?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1N2QeXbh8cskuQYnVZT51C0NZ25nRzF7rfg4CvYMSdlE?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -786,6 +1850,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "0" ], @@ -800,41 +1867,41 @@ "message": "No Content" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "text/html" ], - "Content-Length": [ - "0" - ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], "Pragma": [ "no-cache" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Content-Length": [ + "0" ], "Date": [ - "Thu, 08 Jun 2023 22:14:28 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Thu, 20 Jul 2023 08:54:38 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ] }, "body": { diff --git a/tests/cassettes/CellTest.test_numeric_value.json b/tests/cassettes/CellTest.test_numeric_value.json index 60fd63971..8fea34fe0 100644 --- a/tests/cassettes/CellTest.test_numeric_value.json +++ b/tests/cassettes/CellTest.test_numeric_value.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "99" ], @@ -39,55 +42,1003 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Transfer-Encoding": [ "chunked" ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:10 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "186" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us\",\n \"name\": \"Test CellTest test_numeric_value\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ - "Origin, X-Origin" + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:11 GMT" ], "Server": [ "ESF" ], + "content-length": [ + "3330" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us\",\n \"properties\": {\n \"title\": \"Test CellTest test_numeric_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Transfer-Encoding": [ + "chunked" + ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:11 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "196" + ] + }, + "body": { + "string": "{\n \"id\": \"1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us\",\n \"name\": \"Test CellTest test_numeric_value\",\n \"createdTime\": \"2023-07-20T08:48:08.567Z\",\n \"modifiedTime\": \"2023-07-20T08:48:08.584Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], "X-Frame-Options": [ "SAMEORIGIN" ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:11 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "3330" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us\",\n \"properties\": {\n \"title\": \"Test CellTest test_numeric_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"= 1 / 1024\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "28" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:12 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:12 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"0.0009765625\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"2,000,000.01\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "30" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:12 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:12 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"2,000,000.01\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"Non-numeric value\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "35" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:13 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:13 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "112" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"Non-numeric value\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1nOrG_xsXGrtKIMf6a_h6G_LyP6TsTS5CT9Rcvgmv-us?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Content-Length": [ + "0" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:13 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ] + }, + "body": { + "string": "" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test CellTest test_numeric_value\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "99" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:41 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "186" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ\",\n \"name\": \"Test CellTest test_numeric_value\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], "Date": [ - "Thu, 08 Jun 2023 22:14:31 GMT" + "Thu, 20 Jul 2023 08:54:41 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ - "186" + "3330" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8\",\n \"name\": \"Test CellTest test_numeric_value\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ\",\n \"properties\": {\n \"title\": \"Test CellTest test_numeric_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8?includeGridData=false", + "uri": "https://www.googleapis.com/drive/v3/files/1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -105,6 +1056,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -116,51 +1070,55 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:31 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:41 GMT" ], - "Cache-Control": [ - "private" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ - "3330" + "196" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8\",\n \"properties\": {\n \"title\": \"Test CellTest test_numeric_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8/edit\"\n}\n" + "string": "{\n \"id\": \"1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ\",\n \"name\": \"Test CellTest test_numeric_value\",\n \"createdTime\": \"2023-07-20T08:54:39.530Z\",\n \"modifiedTime\": \"2023-07-20T08:54:40.323Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -178,6 +1136,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -189,8 +1150,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -200,40 +1164,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:31 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:42 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "3330" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8\",\n \"properties\": {\n \"title\": \"Test CellTest test_numeric_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ\",\n \"properties\": {\n \"title\": \"Test CellTest test_numeric_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ/edit\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"= 1 / 1024\"]]}", "headers": { "User-Agent": [ @@ -251,6 +1212,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "28" ], @@ -268,8 +1232,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -279,40 +1246,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:32 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:42 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "165" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -330,6 +1294,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -341,8 +1308,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -352,26 +1322,23 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:32 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:42 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "107" @@ -385,7 +1352,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"2,000,000.01\"]]}", "headers": { "User-Agent": [ @@ -403,6 +1370,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "30" ], @@ -420,8 +1390,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -431,40 +1404,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:32 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:42 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "165" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -482,6 +1452,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -493,8 +1466,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -504,26 +1480,23 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:32 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:43 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "107" @@ -537,7 +1510,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"Non-numeric value\"]]}", "headers": { "User-Agent": [ @@ -555,6 +1528,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "35" ], @@ -572,8 +1548,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -583,40 +1562,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:33 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:43 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "165" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -634,6 +1610,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -645,8 +1624,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -656,26 +1638,23 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:33 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:43 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "112" @@ -689,7 +1668,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1Bkx_8CHZva3Q-jt9y7mx0RKUrEzf-nIjMOGFOvIw-G8?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1Y5QW_t9f496JTVru70ArhYT0b0xy_KBlNyMfwBC9SSQ?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -707,6 +1686,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "0" ], @@ -721,41 +1703,41 @@ "message": "No Content" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "text/html" ], - "Content-Length": [ - "0" - ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], "Pragma": [ "no-cache" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Content-Length": [ + "0" ], "Date": [ - "Thu, 08 Jun 2023 22:14:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Thu, 20 Jul 2023 08:54:44 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ] }, "body": { diff --git a/tests/cassettes/CellTest.test_properties.json b/tests/cassettes/CellTest.test_properties.json index 13b5f99b0..a3e4e3300 100644 --- a/tests/cassettes/CellTest.test_properties.json +++ b/tests/cassettes/CellTest.test_properties.json @@ -22,6 +22,565 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "96" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:15 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "183" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1fkVKz-EZPp1z2TI-TLKj06V3BmLl4iQExKt6D_RdQdw\",\n \"name\": \"Test CellTest test_properties\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fkVKz-EZPp1z2TI-TLKj06V3BmLl4iQExKt6D_RdQdw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:16 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "3327" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1fkVKz-EZPp1z2TI-TLKj06V3BmLl4iQExKt6D_RdQdw\",\n \"properties\": {\n \"title\": \"Test CellTest test_properties\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1fkVKz-EZPp1z2TI-TLKj06V3BmLl4iQExKt6D_RdQdw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1fkVKz-EZPp1z2TI-TLKj06V3BmLl4iQExKt6D_RdQdw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:16 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "193" + ] + }, + "body": { + "string": "{\n \"id\": \"1fkVKz-EZPp1z2TI-TLKj06V3BmLl4iQExKt6D_RdQdw\",\n \"name\": \"Test CellTest test_properties\",\n \"createdTime\": \"2023-07-20T08:48:14.243Z\",\n \"modifiedTime\": \"2023-07-20T08:48:15.032Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fkVKz-EZPp1z2TI-TLKj06V3BmLl4iQExKt6D_RdQdw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:16 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "3327" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1fkVKz-EZPp1z2TI-TLKj06V3BmLl4iQExKt6D_RdQdw\",\n \"properties\": {\n \"title\": \"Test CellTest test_properties\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1fkVKz-EZPp1z2TI-TLKj06V3BmLl4iQExKt6D_RdQdw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fkVKz-EZPp1z2TI-TLKj06V3BmLl4iQExKt6D_RdQdw/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"test_properties 1\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "35" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:16 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1fkVKz-EZPp1z2TI-TLKj06V3BmLl4iQExKt6D_RdQdw\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fkVKz-EZPp1z2TI-TLKj06V3BmLl4iQExKt6D_RdQdw/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:17 GMT" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "112" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_properties 1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1fkVKz-EZPp1z2TI-TLKj06V3BmLl4iQExKt6D_RdQdw?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Content-Length": [ + "0" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Thu, 20 Jul 2023 08:48:17 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ] + }, + "body": { + "string": "" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test CellTest test_properties\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "96" ], @@ -39,11 +598,11 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -51,43 +610,43 @@ "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:36 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:47 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ "183" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1mZ3os1ujsY6mDDkHyh7yoi_KeleYF6nDz2L5UYEzzVk\",\n \"name\": \"Test CellTest test_properties\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ep2_AnhXBX_hNgISlk9mDD-k2yVSqWKHqkuVUK_h9aE\",\n \"name\": \"Test CellTest test_properties\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mZ3os1ujsY6mDDkHyh7yoi_KeleYF6nDz2L5UYEzzVk?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ep2_AnhXBX_hNgISlk9mDD-k2yVSqWKHqkuVUK_h9aE?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,6 +664,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -116,8 +678,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -127,40 +692,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:37 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:47 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "3327" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1mZ3os1ujsY6mDDkHyh7yoi_KeleYF6nDz2L5UYEzzVk\",\n \"properties\": {\n \"title\": \"Test CellTest test_properties\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1mZ3os1ujsY6mDDkHyh7yoi_KeleYF6nDz2L5UYEzzVk/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1ep2_AnhXBX_hNgISlk9mDD-k2yVSqWKHqkuVUK_h9aE\",\n \"properties\": {\n \"title\": \"Test CellTest test_properties\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ep2_AnhXBX_hNgISlk9mDD-k2yVSqWKHqkuVUK_h9aE/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mZ3os1ujsY6mDDkHyh7yoi_KeleYF6nDz2L5UYEzzVk?includeGridData=false", + "uri": "https://www.googleapis.com/drive/v3/files/1ep2_AnhXBX_hNgISlk9mDD-k2yVSqWKHqkuVUK_h9aE?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -178,6 +740,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -189,9 +754,92 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Transfer-Encoding": [ "chunked" ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:47 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "193" + ] + }, + "body": { + "string": "{\n \"id\": \"1ep2_AnhXBX_hNgISlk9mDD-k2yVSqWKHqkuVUK_h9aE\",\n \"name\": \"Test CellTest test_properties\",\n \"createdTime\": \"2023-07-20T08:54:44.530Z\",\n \"modifiedTime\": \"2023-07-20T08:54:44.555Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ep2_AnhXBX_hNgISlk9mDD-k2yVSqWKHqkuVUK_h9aE?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -200,40 +848,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:37 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:47 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "3327" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1mZ3os1ujsY6mDDkHyh7yoi_KeleYF6nDz2L5UYEzzVk\",\n \"properties\": {\n \"title\": \"Test CellTest test_properties\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1mZ3os1ujsY6mDDkHyh7yoi_KeleYF6nDz2L5UYEzzVk/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1ep2_AnhXBX_hNgISlk9mDD-k2yVSqWKHqkuVUK_h9aE\",\n \"properties\": {\n \"title\": \"Test CellTest test_properties\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ep2_AnhXBX_hNgISlk9mDD-k2yVSqWKHqkuVUK_h9aE/edit\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mZ3os1ujsY6mDDkHyh7yoi_KeleYF6nDz2L5UYEzzVk/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ep2_AnhXBX_hNgISlk9mDD-k2yVSqWKHqkuVUK_h9aE/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"test_properties 1\"]]}", "headers": { "User-Agent": [ @@ -251,6 +896,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "35" ], @@ -268,8 +916,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -279,40 +930,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:37 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:48 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "165" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1mZ3os1ujsY6mDDkHyh7yoi_KeleYF6nDz2L5UYEzzVk\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1ep2_AnhXBX_hNgISlk9mDD-k2yVSqWKHqkuVUK_h9aE\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mZ3os1ujsY6mDDkHyh7yoi_KeleYF6nDz2L5UYEzzVk/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ep2_AnhXBX_hNgISlk9mDD-k2yVSqWKHqkuVUK_h9aE/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -330,6 +978,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -341,8 +992,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -352,26 +1006,23 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:37 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:48 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "112" @@ -385,7 +1036,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1mZ3os1ujsY6mDDkHyh7yoi_KeleYF6nDz2L5UYEzzVk?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1ep2_AnhXBX_hNgISlk9mDD-k2yVSqWKHqkuVUK_h9aE?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -403,6 +1054,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "0" ], @@ -417,41 +1071,41 @@ "message": "No Content" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "text/html" ], - "Content-Length": [ - "0" - ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], "Pragma": [ "no-cache" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Content-Length": [ + "0" ], "Date": [ - "Thu, 08 Jun 2023 22:14:38 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Thu, 20 Jul 2023 08:54:48 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ] }, "body": { diff --git a/tests/cassettes/ClientTest.test_access_non_existing_spreadsheet.json b/tests/cassettes/ClientTest.test_access_non_existing_spreadsheet.json index d0071eb86..91f15a71a 100644 --- a/tests/cassettes/ClientTest.test_access_non_existing_spreadsheet.json +++ b/tests/cassettes/ClientTest.test_access_non_existing_spreadsheet.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -33,37 +36,113 @@ "message": "Not Found" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:29 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "114" + ] + }, + "body": { + "string": "{\n \"error\": {\n \"code\": 404,\n \"message\": \"Requested entity was not found.\",\n \"status\": \"NOT_FOUND\"\n }\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/test?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 404, + "message": "Not Found" + }, + "headers": { "Server": [ "ESF" ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:38 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:49 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "114" diff --git a/tests/cassettes/ClientTest.test_copy.json b/tests/cassettes/ClientTest.test_copy.json index 7f0e4780d..b496213e6 100644 --- a/tests/cassettes/ClientTest.test_copy.json +++ b/tests/cassettes/ClientTest.test_copy.json @@ -22,11 +22,886 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "75" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:31 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "162" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc\",\n \"name\": \"Original\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:32 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3306" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc\",\n \"properties\": {\n \"title\": \"Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:32 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "172" + ] + }, + "body": { + "string": "{\n \"id\": \"1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc\",\n \"name\": \"Original\",\n \"createdTime\": \"2023-07-20T08:51:29.888Z\",\n \"modifiedTime\": \"2023-07-20T08:51:30.929Z\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files/1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc/copy?supportsAllDrives=True", + "body": "{\"name\": null, \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "69" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:35 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "170" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k\",\n \"name\": \"Copy of Original\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:36 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k\",\n \"properties\": {\n \"title\": \"Copy of Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:36 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k\",\n \"name\": \"Copy of Original\",\n \"createdTime\": \"2023-07-20T08:51:32.898Z\",\n \"modifiedTime\": \"2023-07-20T08:51:34.993Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc/comments?fields=comments%2Fcontent%2Ccomments%2Fanchor%2CnextPageToken&includeDeleted=False&pageSize=100&pageToken=", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:36 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "21" + ] + }, + "body": { + "string": "{\n \"comments\": []\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:36 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3306" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc\",\n \"properties\": {\n \"title\": \"Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:37 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k\",\n \"properties\": {\n \"title\": \"Copy of Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Original\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "75" ], - "Content-Type": [ - "application/json" + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:52 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "162" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw\",\n \"name\": \"Original\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:53 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3306" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw\",\n \"properties\": {\n \"title\": \"Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" ], "authorization": [ "" @@ -39,11 +914,11 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -51,44 +926,44 @@ "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:41 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:53 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ - "162" + "172" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4\",\n \"name\": \"Original\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"id\": \"1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw\",\n \"name\": \"Original\",\n \"createdTime\": \"2023-07-20T08:54:50.035Z\",\n \"modifiedTime\": \"2023-07-20T08:54:50.051Z\"\n}\n" } } }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4?includeGridData=false", - "body": null, + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files/1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw/copy?supportsAllDrives=True", + "body": "{\"name\": null, \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -105,6 +980,15 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "69" + ], + "Content-Type": [ + "application/json" + ], "authorization": [ "" ] @@ -116,52 +1000,56 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:42 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:55 GMT" ], - "Cache-Control": [ - "private" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ - "3306" + "170" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4\",\n \"properties\": {\n \"title\": \"Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4/edit\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0\",\n \"name\": \"Copy of Original\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4/copy?supportsAllDrives=True", - "body": "{\"name\": null, \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0?includeGridData=false", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -178,11 +1066,8 @@ "x-goog-api-client": [ "cred-type/sa" ], - "Content-Length": [ - "69" - ], - "Content-Type": [ - "application/json" + "x-identity-trust-boundary": [ + "0" ], "authorization": [ "" @@ -195,55 +1080,51 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ - "Origin, X-Origin" + "Origin", + "X-Origin", + "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:45 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:56 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ - "170" + "3314" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0\",\n \"name\": \"Copy of Original\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0\",\n \"properties\": {\n \"title\": \"Copy of Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0?includeGridData=false", + "uri": "https://www.googleapis.com/drive/v3/files/1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -261,6 +1142,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -272,51 +1156,55 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:45 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:56 GMT" ], - "Cache-Control": [ - "private" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ - "3314" + "180" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0\",\n \"properties\": {\n \"title\": \"Copy of Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0/edit\"\n}\n" + "string": "{\n \"id\": \"1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0\",\n \"name\": \"Copy of Original\",\n \"createdTime\": \"2023-07-20T08:54:53.602Z\",\n \"modifiedTime\": \"2023-07-20T08:54:55.326Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4/comments?fields=comments%2Fcontent%2Ccomments%2Fanchor%2CnextPageToken&includeDeleted=False&pageSize=100&pageToken=", + "uri": "https://www.googleapis.com/drive/v3/files/1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw/comments?fields=comments%2Fcontent%2Ccomments%2Fanchor%2CnextPageToken&includeDeleted=False&pageSize=100&pageToken=", "body": null, "headers": { "User-Agent": [ @@ -334,6 +1222,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -345,11 +1236,11 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -357,29 +1248,29 @@ "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:46 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:56 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ "21" @@ -393,7 +1284,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -411,6 +1302,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -422,8 +1316,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -433,40 +1330,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:46 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:56 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "3306" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4\",\n \"properties\": {\n \"title\": \"Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw\",\n \"properties\": {\n \"title\": \"Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -484,6 +1378,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -495,8 +1392,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -506,33 +1406,30 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:46 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:54:57 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "3314" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0\",\n \"properties\": {\n \"title\": \"Copy of Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0\",\n \"properties\": {\n \"title\": \"Copy of Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0/edit\"\n}\n" } } } diff --git a/tests/cassettes/ClientTest.test_create.json b/tests/cassettes/ClientTest.test_create.json index bf1bc9bd1..b1328c856 100644 --- a/tests/cassettes/ClientTest.test_create.json +++ b/tests/cassettes/ClientTest.test_create.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "83" ], @@ -39,55 +42,297 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "Transfer-Encoding": [ - "chunked" + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:39 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], "Vary": [ "Origin, X-Origin" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "170" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"name\": \"Test Spreadsheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:40 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "Server": [ "ESF" ], - "X-XSS-Protection": [ + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ "0" ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" ], "Date": [ - "Thu, 08 Jun 2023 22:14:50 GMT" + "Thu, 20 Jul 2023 08:51:40 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:51:37.399Z\",\n \"modifiedTime\": \"2023-07-20T08:51:37.420Z\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test Spreadsheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "83" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:58 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], "content-length": [ "170" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"name\": \"Test Spreadsheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE\",\n \"name\": \"Test Spreadsheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,6 +350,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -116,8 +364,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -127,33 +378,110 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], + "Transfer-Encoding": [ + "chunked" + ], "Date": [ - "Thu, 08 Jun 2023 22:14:50 GMT" + "Thu, 20 Jul 2023 08:54:59 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:54:59 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ - "3314" + "180" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0/edit\"\n}\n" + "string": "{\n \"id\": \"1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:54:57.510Z\",\n \"modifiedTime\": \"2023-07-20T08:54:58.119Z\"\n}\n" } } } diff --git a/tests/cassettes/ClientTest.test_import_csv.json b/tests/cassettes/ClientTest.test_import_csv.json index a7828033d..61ff2f7e5 100644 --- a/tests/cassettes/ClientTest.test_import_csv.json +++ b/tests/cassettes/ClientTest.test_import_csv.json @@ -22,11 +22,892 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "88" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:43 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "175" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U\",\n \"name\": \"TestImportSpreadsheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:43 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3319" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U\",\n \"properties\": {\n \"title\": \"TestImportSpreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:44 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "185" + ] + }, + "body": { + "string": "{\n \"id\": \"1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U\",\n \"name\": \"TestImportSpreadsheet\",\n \"createdTime\": \"2023-07-20T08:51:40.779Z\",\n \"modifiedTime\": \"2023-07-20T08:51:40.794Z\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://www.googleapis.com/upload/drive/v2/files/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U?uploadType=media&convert=True&supportsAllDrives=True", + "body": "test_import_csv 1,test_import_csv 2,test_import_csv 3,test_import_csv 4\ntest_import_csv 5,test_import_csv 6,test_import_csv 7,test_import_csv 8\ntest_import_csv 9,test_import_csv 10,test_import_csv 11,test_import_csv 12\ntest_import_csv 13,test_import_csv 14,test_import_csv 15,test_import_csv 16", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "Content-Type": [ + "text/csv" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "294" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Access-Control-Allow-Credentials": [ + "true" + ], + "ETag": [ + "\"MTY4OTg0MzEwNDcyMg\"" + ], + "Content-Length": [ + "4304" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:45 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-GUploader-UploadID": [ + "ADPycdvF0oeIzdug_MZPUgvInTn1qWppZmy4LdoNDGdObm8Y3tKQNS5k5Wf-Re1djaKDvBk33iy8DTEU6xySCgEYWIRczw" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"userPermission\": {\n \"id\": \"me\",\n \"type\": \"user\",\n \"role\": \"owner\",\n \"kind\": \"drive#permission\",\n \"selfLink\": \"https://www.googleapis.com/drive/v2/files/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U/permissions/me\",\n \"etag\": \"\\\"8KmyKi1XzEtZ3R_KN3zjIcXjt88\\\"\",\n \"pendingOwner\": false\n },\n \"selfLink\": \"https://www.googleapis.com/drive/v2/files/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U\",\n \"ownerNames\": [\n \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\"\n ],\n \"lastModifyingUserName\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"editable\": true,\n \"writersCanShare\": true,\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\",\n \"exportLinks\": {\n \"application/x-vnd.oasis.opendocument.spreadsheet\": \"https://docs.google.com/spreadsheets/export?id=1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U&exportFormat=ods\",\n \"text/tab-separated-values\": \"https://docs.google.com/spreadsheets/export?id=1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U&exportFormat=tsv\",\n \"application/pdf\": \"https://docs.google.com/spreadsheets/export?id=1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U&exportFormat=pdf\",\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\": \"https://docs.google.com/spreadsheets/export?id=1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U&exportFormat=xlsx\",\n \"text/csv\": \"https://docs.google.com/spreadsheets/export?id=1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U&exportFormat=csv\",\n \"application/zip\": \"https://docs.google.com/spreadsheets/export?id=1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U&exportFormat=zip\",\n \"application/vnd.oasis.opendocument.spreadsheet\": \"https://docs.google.com/spreadsheets/export?id=1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U&exportFormat=ods\"\n },\n \"parents\": [\n {\n \"selfLink\": \"https://www.googleapis.com/drive/v2/files/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U/parents/0AGIJ7XFn4BojUk9PVA\",\n \"id\": \"0AGIJ7XFn4BojUk9PVA\",\n \"isRoot\": true,\n \"kind\": \"drive#parentReference\",\n \"parentLink\": \"https://www.googleapis.com/drive/v2/files/0AGIJ7XFn4BojUk9PVA\"\n }\n ],\n \"thumbnailLink\": \"https://docs.google.com/feeds/vt?gd=true&id=1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U&v=1&s=AMedNnoAAAAAZLkRwUal8NefOJo8lH-OyMYLE2sFQ1rI&sz=s220\",\n \"appDataContents\": false,\n \"iconLink\": \"https://drive-thirdparty.googleusercontent.com/16/type/application/vnd.google-apps.spreadsheet\",\n \"shared\": false,\n \"lastModifyingUser\": {\n \"displayName\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"kind\": \"drive#user\",\n \"isAuthenticatedUser\": true,\n \"permissionId\": \"05027979280415927516\",\n \"emailAddress\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"picture\": {\n \"url\": \"https://lh3.googleusercontent.com/a/default-user=s64\"\n }\n },\n \"owners\": [\n {\n \"displayName\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"kind\": \"drive#user\",\n \"isAuthenticatedUser\": true,\n \"permissionId\": \"05027979280415927516\",\n \"emailAddress\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"picture\": {\n \"url\": \"https://lh3.googleusercontent.com/a/default-user=s64\"\n }\n }\n ],\n \"copyable\": true,\n \"etag\": \"\\\"MTY4OTg0MzEwNDcyMg\\\"\",\n \"alternateLink\": \"https://docs.google.com/spreadsheets/d/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U/edit?usp=drivesdk\",\n \"embedLink\": \"https://docs.google.com/spreadsheets/d/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U/htmlembed?ouid=101377741449911561961\",\n \"fileSize\": \"1024\",\n \"copyRequiresWriterPermission\": false,\n \"spaces\": [\n \"drive\"\n ],\n \"id\": \"1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U\",\n \"title\": \"TestImportSpreadsheet\",\n \"labels\": {\n \"viewed\": true,\n \"restricted\": false,\n \"starred\": false,\n \"hidden\": false,\n \"trashed\": false\n },\n \"explicitlyTrashed\": false,\n \"createdDate\": \"2023-07-20T08:51:40.779Z\",\n \"modifiedDate\": \"2023-07-20T08:51:44.722Z\",\n \"modifiedByMeDate\": \"2023-07-20T08:51:44.722Z\",\n \"lastViewedByMeDate\": \"2023-07-20T08:51:44.722Z\",\n \"markedViewedByMeDate\": \"1970-01-01T00:00:00.000Z\",\n \"quotaBytesUsed\": \"1024\",\n \"version\": \"5\",\n \"capabilities\": {\n \"canEdit\": true,\n \"canCopy\": true\n }\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:46 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3354" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U\",\n \"properties\": {\n \"title\": \"TestImportSpreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"America/Los_Angeles\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 571790447,\n \"title\": \"TestImportSpreadsheet\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:46 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "185" + ] + }, + "body": { + "string": "{\n \"id\": \"1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U\",\n \"name\": \"TestImportSpreadsheet\",\n \"createdTime\": \"2023-07-20T08:51:40.779Z\",\n \"modifiedTime\": \"2023-07-20T08:51:44.722Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:46 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3354" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U\",\n \"properties\": {\n \"title\": \"TestImportSpreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"America/Los_Angeles\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 571790447,\n \"title\": \"TestImportSpreadsheet\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U/values/%27TestImportSpreadsheet%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:47 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "581" + ] + }, + "body": { + "string": "{\n \"range\": \"TestImportSpreadsheet!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_import_csv 1\",\n \"test_import_csv 2\",\n \"test_import_csv 3\",\n \"test_import_csv 4\"\n ],\n [\n \"test_import_csv 5\",\n \"test_import_csv 6\",\n \"test_import_csv 7\",\n \"test_import_csv 8\"\n ],\n [\n \"test_import_csv 9\",\n \"test_import_csv 10\",\n \"test_import_csv 11\",\n \"test_import_csv 12\"\n ],\n [\n \"test_import_csv 13\",\n \"test_import_csv 14\",\n \"test_import_csv 15\",\n \"test_import_csv 16\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1w5T4Z0j2lI36co-3cNioVogUfsEoNmboJ3MBGIh2K5U?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Content-Length": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:47 GMT" + ], + "Content-Type": [ + "text/html" + ], + "Server": [ + "ESF" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ] + }, + "body": { + "string": "" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"TestImportSpreadsheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "88" ], - "Content-Type": [ - "application/json" + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:01 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "175" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis\",\n \"name\": \"TestImportSpreadsheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:02 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3319" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis\",\n \"properties\": {\n \"title\": \"TestImportSpreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" ], "authorization": [ "" @@ -39,11 +920,11 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -51,44 +932,44 @@ "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:53 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:55:02 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ - "175" + "185" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs\",\n \"name\": \"TestImportSpreadsheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"id\": \"1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis\",\n \"name\": \"TestImportSpreadsheet\",\n \"createdTime\": \"2023-07-20T08:55:00.046Z\",\n \"modifiedTime\": \"2023-07-20T08:55:00.731Z\"\n}\n" } } }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs?includeGridData=false", - "body": null, + "method": "PUT", + "uri": "https://www.googleapis.com/upload/drive/v2/files/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis?uploadType=media&convert=True&supportsAllDrives=True", + "body": "test_import_csv 1,test_import_csv 2,test_import_csv 3,test_import_csv 4\ntest_import_csv 5,test_import_csv 6,test_import_csv 7,test_import_csv 8\ntest_import_csv 9,test_import_csv 10,test_import_csv 11,test_import_csv 12\ntest_import_csv 13,test_import_csv 14,test_import_csv 15,test_import_csv 16", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -102,9 +983,18 @@ "Connection": [ "keep-alive" ], + "Content-Type": [ + "text/csv" + ], "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "294" + ], "authorization": [ "" ] @@ -116,52 +1006,62 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "Access-Control-Allow-Credentials": [ + "true" + ], "X-Content-Type-Options": [ "nosniff" ], "X-Frame-Options": [ "SAMEORIGIN" ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "4304" + ], "Date": [ - "Thu, 08 Jun 2023 22:14:53 GMT" + "Thu, 20 Jul 2023 08:55:03 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "ETag": [ + "\"MTY4OTg0MzMwMjg2Mg\"" ], - "Cache-Control": [ - "private" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "content-length": [ - "3319" + "X-GUploader-UploadID": [ + "ADPycdt7L1BrL5iOGTIEpl8FRGHaIX1hXh5HCtLVXcXZdD0LL4UGVazD2eo_1EnfrEw8TmyLpQU6sY_YPg0QjzLkkveIVQ" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs\",\n \"properties\": {\n \"title\": \"TestImportSpreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs/edit\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"userPermission\": {\n \"id\": \"me\",\n \"type\": \"user\",\n \"role\": \"owner\",\n \"kind\": \"drive#permission\",\n \"selfLink\": \"https://www.googleapis.com/drive/v2/files/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis/permissions/me\",\n \"etag\": \"\\\"iBnpV0duZ3qaI-j1rR9gHYI_nNs\\\"\",\n \"pendingOwner\": false\n },\n \"selfLink\": \"https://www.googleapis.com/drive/v2/files/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis\",\n \"ownerNames\": [\n \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\"\n ],\n \"lastModifyingUserName\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"editable\": true,\n \"writersCanShare\": true,\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\",\n \"exportLinks\": {\n \"application/x-vnd.oasis.opendocument.spreadsheet\": \"https://docs.google.com/spreadsheets/export?id=1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis&exportFormat=ods\",\n \"text/tab-separated-values\": \"https://docs.google.com/spreadsheets/export?id=1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis&exportFormat=tsv\",\n \"application/pdf\": \"https://docs.google.com/spreadsheets/export?id=1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis&exportFormat=pdf\",\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\": \"https://docs.google.com/spreadsheets/export?id=1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis&exportFormat=xlsx\",\n \"text/csv\": \"https://docs.google.com/spreadsheets/export?id=1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis&exportFormat=csv\",\n \"application/zip\": \"https://docs.google.com/spreadsheets/export?id=1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis&exportFormat=zip\",\n \"application/vnd.oasis.opendocument.spreadsheet\": \"https://docs.google.com/spreadsheets/export?id=1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis&exportFormat=ods\"\n },\n \"parents\": [\n {\n \"selfLink\": \"https://www.googleapis.com/drive/v2/files/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis/parents/0AGIJ7XFn4BojUk9PVA\",\n \"id\": \"0AGIJ7XFn4BojUk9PVA\",\n \"isRoot\": true,\n \"kind\": \"drive#parentReference\",\n \"parentLink\": \"https://www.googleapis.com/drive/v2/files/0AGIJ7XFn4BojUk9PVA\"\n }\n ],\n \"thumbnailLink\": \"https://docs.google.com/feeds/vt?gd=true&id=1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis&v=1&s=AMedNnoAAAAAZLkSh3TtHsAyUUIws5Q99uIoP41W9Tjk&sz=s220\",\n \"appDataContents\": false,\n \"iconLink\": \"https://drive-thirdparty.googleusercontent.com/16/type/application/vnd.google-apps.spreadsheet\",\n \"shared\": false,\n \"lastModifyingUser\": {\n \"displayName\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"kind\": \"drive#user\",\n \"isAuthenticatedUser\": true,\n \"permissionId\": \"05027979280415927516\",\n \"emailAddress\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"picture\": {\n \"url\": \"https://lh3.googleusercontent.com/a/default-user=s64\"\n }\n },\n \"owners\": [\n {\n \"displayName\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"kind\": \"drive#user\",\n \"isAuthenticatedUser\": true,\n \"permissionId\": \"05027979280415927516\",\n \"emailAddress\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"picture\": {\n \"url\": \"https://lh3.googleusercontent.com/a/default-user=s64\"\n }\n }\n ],\n \"copyable\": true,\n \"etag\": \"\\\"MTY4OTg0MzMwMjg2Mg\\\"\",\n \"alternateLink\": \"https://docs.google.com/spreadsheets/d/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis/edit?usp=drivesdk\",\n \"embedLink\": \"https://docs.google.com/spreadsheets/d/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis/htmlembed?ouid=101377741449911561961\",\n \"fileSize\": \"1024\",\n \"copyRequiresWriterPermission\": false,\n \"spaces\": [\n \"drive\"\n ],\n \"id\": \"1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis\",\n \"title\": \"TestImportSpreadsheet\",\n \"labels\": {\n \"viewed\": true,\n \"restricted\": false,\n \"starred\": false,\n \"hidden\": false,\n \"trashed\": false\n },\n \"explicitlyTrashed\": false,\n \"createdDate\": \"2023-07-20T08:55:00.046Z\",\n \"modifiedDate\": \"2023-07-20T08:55:02.862Z\",\n \"modifiedByMeDate\": \"2023-07-20T08:55:02.862Z\",\n \"lastViewedByMeDate\": \"2023-07-20T08:55:02.862Z\",\n \"markedViewedByMeDate\": \"1970-01-01T00:00:00.000Z\",\n \"quotaBytesUsed\": \"1024\",\n \"version\": \"5\",\n \"capabilities\": {\n \"canEdit\": true,\n \"canCopy\": true\n }\n}\n" } } }, { "request": { - "method": "PUT", - "uri": "https://www.googleapis.com/upload/drive/v2/files/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs?uploadType=media&convert=True&supportsAllDrives=True", - "body": "test_import_csv 1,test_import_csv 2,test_import_csv 3,test_import_csv 4\ntest_import_csv 5,test_import_csv 6,test_import_csv 7,test_import_csv 8\ntest_import_csv 9,test_import_csv 10,test_import_csv 11,test_import_csv 12\ntest_import_csv 13,test_import_csv 14,test_import_csv 15,test_import_csv 16", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis?includeGridData=false", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -175,14 +1075,11 @@ "Connection": [ "keep-alive" ], - "Content-Type": [ - "text/csv" - ], "x-goog-api-client": [ "cred-type/sa" ], - "Content-Length": [ - "294" + "x-identity-trust-boundary": [ + "0" ], "authorization": [ "" @@ -195,32 +1092,22 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" ], - "Access-Control-Allow-Credentials": [ - "true" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Content-Length": [ - "4304" - ], "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-GUploader-UploadID": [ - "ADPycdv_QI_R1lO3-JBm3JuO-VRM02RYaiAY94cJPM3WBup-gZ6YIw3-tUaJ2xnHuCm7xF-pEbdGGAOe3EYyZPJ8-i2QbQ" + "Origin", + "X-Origin", + "Referer" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" @@ -228,28 +1115,28 @@ "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:55 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:55:04 GMT" ], - "ETag": [ - "\"MTY4NjI2MjQ5NDM1Nw\"" + "X-Content-Type-Options": [ + "nosniff" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "content-length": [ + "3354" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"userPermission\": {\n \"id\": \"me\",\n \"type\": \"user\",\n \"role\": \"owner\",\n \"kind\": \"drive#permission\",\n \"selfLink\": \"https://www.googleapis.com/drive/v2/files/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs/permissions/me\",\n \"etag\": \"\\\"H_Ky2Is2HDZUX7MsuYQYsq0aOGM\\\"\",\n \"pendingOwner\": false\n },\n \"selfLink\": \"https://www.googleapis.com/drive/v2/files/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs\",\n \"ownerNames\": [\n \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\"\n ],\n \"lastModifyingUserName\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"editable\": true,\n \"writersCanShare\": true,\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\",\n \"exportLinks\": {\n \"application/x-vnd.oasis.opendocument.spreadsheet\": \"https://docs.google.com/spreadsheets/export?id=1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs&exportFormat=ods\",\n \"text/tab-separated-values\": \"https://docs.google.com/spreadsheets/export?id=1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs&exportFormat=tsv\",\n \"application/pdf\": \"https://docs.google.com/spreadsheets/export?id=1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs&exportFormat=pdf\",\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\": \"https://docs.google.com/spreadsheets/export?id=1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs&exportFormat=xlsx\",\n \"text/csv\": \"https://docs.google.com/spreadsheets/export?id=1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs&exportFormat=csv\",\n \"application/zip\": \"https://docs.google.com/spreadsheets/export?id=1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs&exportFormat=zip\",\n \"application/vnd.oasis.opendocument.spreadsheet\": \"https://docs.google.com/spreadsheets/export?id=1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs&exportFormat=ods\"\n },\n \"parents\": [\n {\n \"selfLink\": \"https://www.googleapis.com/drive/v2/files/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs/parents/0AGIJ7XFn4BojUk9PVA\",\n \"id\": \"0AGIJ7XFn4BojUk9PVA\",\n \"isRoot\": true,\n \"kind\": \"drive#parentReference\",\n \"parentLink\": \"https://www.googleapis.com/drive/v2/files/0AGIJ7XFn4BojUk9PVA\"\n }\n ],\n \"thumbnailLink\": \"https://docs.google.com/feeds/vt?gd=true&id=1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs&v=1&s=AMedNnoAAAAAZIJu_83K5e2eCSRwWcbRqKRPWKpJvsiF&sz=s220\",\n \"appDataContents\": false,\n \"iconLink\": \"https://drive-thirdparty.googleusercontent.com/16/type/application/vnd.google-apps.spreadsheet\",\n \"shared\": false,\n \"lastModifyingUser\": {\n \"displayName\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"kind\": \"drive#user\",\n \"isAuthenticatedUser\": true,\n \"permissionId\": \"05027979280415927516\",\n \"emailAddress\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"picture\": {\n \"url\": \"https://lh3.googleusercontent.com/a/default-user=s64\"\n }\n },\n \"owners\": [\n {\n \"displayName\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"kind\": \"drive#user\",\n \"isAuthenticatedUser\": true,\n \"permissionId\": \"05027979280415927516\",\n \"emailAddress\": \"telegram-budgeter@telegram-budgeter.iam.gserviceaccount.com\",\n \"picture\": {\n \"url\": \"https://lh3.googleusercontent.com/a/default-user=s64\"\n }\n }\n ],\n \"copyable\": true,\n \"etag\": \"\\\"MTY4NjI2MjQ5NDM1Nw\\\"\",\n \"alternateLink\": \"https://docs.google.com/spreadsheets/d/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs/edit?usp=drivesdk\",\n \"embedLink\": \"https://docs.google.com/spreadsheets/d/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs/htmlembed?ouid=101377741449911561961\",\n \"fileSize\": \"1024\",\n \"copyRequiresWriterPermission\": false,\n \"spaces\": [\n \"drive\"\n ],\n \"id\": \"1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs\",\n \"title\": \"TestImportSpreadsheet\",\n \"labels\": {\n \"viewed\": true,\n \"restricted\": false,\n \"starred\": false,\n \"hidden\": false,\n \"trashed\": false\n },\n \"explicitlyTrashed\": false,\n \"createdDate\": \"2023-06-08T22:14:50.654Z\",\n \"modifiedDate\": \"2023-06-08T22:14:54.357Z\",\n \"modifiedByMeDate\": \"2023-06-08T22:14:54.357Z\",\n \"lastViewedByMeDate\": \"2023-06-08T22:14:54.357Z\",\n \"markedViewedByMeDate\": \"1970-01-01T00:00:00.000Z\",\n \"quotaBytesUsed\": \"1024\",\n \"version\": \"5\",\n \"capabilities\": {\n \"canEdit\": true,\n \"canCopy\": true\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis\",\n \"properties\": {\n \"title\": \"TestImportSpreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"America/Los_Angeles\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 836858112,\n \"title\": \"TestImportSpreadsheet\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs?includeGridData=false", + "uri": "https://www.googleapis.com/drive/v3/files/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -267,6 +1154,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -278,51 +1168,55 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:55 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:55:04 GMT" ], - "Cache-Control": [ - "private" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ - "3355" + "185" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs\",\n \"properties\": {\n \"title\": \"TestImportSpreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"America/Los_Angeles\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 1825677950,\n \"title\": \"TestImportSpreadsheet\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs/edit\"\n}\n" + "string": "{\n \"id\": \"1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis\",\n \"name\": \"TestImportSpreadsheet\",\n \"createdTime\": \"2023-07-20T08:55:00.046Z\",\n \"modifiedTime\": \"2023-07-20T08:55:02.862Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -340,6 +1234,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -351,8 +1248,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -362,40 +1262,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:55 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:55:04 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ - "3355" + "3354" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs\",\n \"properties\": {\n \"title\": \"TestImportSpreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"America/Los_Angeles\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 1825677950,\n \"title\": \"TestImportSpreadsheet\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis\",\n \"properties\": {\n \"title\": \"TestImportSpreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"America/Los_Angeles\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 836858112,\n \"title\": \"TestImportSpreadsheet\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs/values/%27TestImportSpreadsheet%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis/values/%27TestImportSpreadsheet%27", "body": null, "headers": { "User-Agent": [ @@ -413,6 +1310,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -424,8 +1324,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -435,26 +1338,23 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:56 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:55:04 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "581" @@ -468,7 +1368,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1nR7MxJl5LyaZPvIglIKHCa7cBlg2Ff_cGOzXa94kbVs?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1YeScSSY56NUZtqmyhA9M1sVpJ1j_s5uXmOZBzkYtEis?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -486,6 +1386,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "0" ], @@ -500,41 +1403,41 @@ "message": "No Content" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "text/html" ], - "Content-Length": [ - "0" - ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], "Pragma": [ "no-cache" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Content-Length": [ + "0" ], "Date": [ - "Thu, 08 Jun 2023 22:14:56 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Thu, 20 Jul 2023 08:55:05 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ] }, "body": { diff --git a/tests/cassettes/ClientTest.test_no_found_exeption.json b/tests/cassettes/ClientTest.test_no_found_exeption.json index 8bb4d2da7..6d9026b6f 100644 --- a/tests/cassettes/ClientTest.test_no_found_exeption.json +++ b/tests/cassettes/ClientTest.test_no_found_exeption.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -33,41 +36,121 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "Transfer-Encoding": [ - "chunked" + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:48 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], "Vary": [ "Origin, X-Origin" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "46" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#fileList\",\n \"files\": []\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files?q=mimeType%3D%22application%2Fvnd.google-apps.spreadsheet%22+and+name+%3D+%22Please+don%27t+use+this+phrase+as+a+name+of+a+sheet.%22&pageSize=1000&supportsAllDrives=True&includeItemsFromAllDrives=True&fields=kind%2CnextPageToken%2Cfiles%28id%2Cname%2CcreatedTime%2CmodifiedTime%29", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { "Server": [ "ESF" ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "X-XSS-Protection": [ "0" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:57 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:55:06 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ "46" diff --git a/tests/cassettes/ClientTest.test_openall.json b/tests/cassettes/ClientTest.test_openall.json index bf52054d3..74576cad9 100644 --- a/tests/cassettes/ClientTest.test_openall.json +++ b/tests/cassettes/ClientTest.test_openall.json @@ -22,6 +22,9453 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:49 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "4964" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#fileList\",\n \"files\": [\n {\n \"id\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:51:37.399Z\",\n \"modifiedTime\": \"2023-07-20T08:51:37.420Z\"\n },\n {\n \"id\": \"14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k\",\n \"name\": \"Copy of Original\",\n \"createdTime\": \"2023-07-20T08:51:32.898Z\",\n \"modifiedTime\": \"2023-07-20T08:51:34.993Z\"\n },\n {\n \"id\": \"1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc\",\n \"name\": \"Original\",\n \"createdTime\": \"2023-07-20T08:51:29.888Z\",\n \"modifiedTime\": \"2023-07-20T08:51:30.929Z\"\n },\n {\n \"id\": \"1f-E4tz3roQP6bNiUyf4_S3-Pd6OmxD-rToY6zc0Agrw\",\n \"name\": \"Test SpreadsheetTest test_get_updated_time\",\n \"createdTime\": \"2023-07-15T16:58:37.251Z\",\n \"modifiedTime\": \"2023-07-15T16:58:38.603Z\"\n },\n {\n \"id\": \"1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T15:23:15.406Z\",\n \"modifiedTime\": \"2023-06-28T15:23:15.421Z\"\n },\n {\n \"id\": \"1qNevZW4y5jXKMGMrleVXKSzfyz76TP_Iq3A_hH49nlY\",\n \"name\": \"Copy of Test ClientTest test_copy\",\n \"createdTime\": \"2023-06-28T15:23:07.699Z\",\n \"modifiedTime\": \"2023-06-28T15:23:09.622Z\"\n },\n {\n \"id\": \"1UWRBInM3aNLakVfz8DP5akuC8Rf8WxVp7Vr9tP6xltQ\",\n \"name\": \"Test ClientTest test_access_private_spreadsheet\",\n \"createdTime\": \"2023-06-28T15:18:44.192Z\",\n \"modifiedTime\": \"2023-06-28T15:18:44.210Z\"\n },\n {\n \"id\": \"1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T14:21:18.187Z\",\n \"modifiedTime\": \"2023-06-28T14:21:18.207Z\"\n },\n {\n \"id\": \"1V43sXbEd1460jXctxYdxLO4xvI66Ki-Wjg6faiTDtGg\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T14:21:14.676Z\",\n \"modifiedTime\": \"2023-06-28T14:21:16.471Z\"\n },\n {\n \"id\": \"1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:47:09.254Z\",\n \"modifiedTime\": \"2023-06-28T13:47:10.351Z\"\n },\n {\n \"id\": \"1AvemJvHZCSt0HlNPyDDbkXxlJOFm2vlMZ87ttRHWSAA\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:47:04.732Z\",\n \"modifiedTime\": \"2023-06-28T13:47:07.067Z\"\n },\n {\n \"id\": \"1MlF8p35VQB1d14wAEDegJXcO3eJBkz0x7_9j43dyoHE\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:40:28.137Z\",\n \"modifiedTime\": \"2023-06-28T13:40:30.356Z\"\n },\n {\n \"id\": \"1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:33:40.960Z\",\n \"modifiedTime\": \"2023-06-28T13:33:40.973Z\"\n },\n {\n \"id\": \"13hH6cFpKtdmcBl6IWxss5VS0Espyrx8Hx1g2FYjF5ec\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:33:36.874Z\",\n \"modifiedTime\": \"2023-06-28T13:33:38.883Z\"\n },\n {\n \"id\": \"1PskXxL5ILCDBJ0WbOiC_T9g69VnoNwRIy7apuZWgoFM\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:15:02.142Z\",\n \"modifiedTime\": \"2023-06-28T13:15:02.171Z\"\n },\n {\n \"id\": \"1TI7TigQoNKEyrb-wn7CjCHj8h_8p11Xv6mVmZiXwR34\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:14:27.722Z\",\n \"modifiedTime\": \"2023-06-28T13:14:28.653Z\"\n },\n {\n \"id\": \"1e71ziUyaRHDgYSiIaaRTtwmZVnvgs3YPLZ76EmgIcWg\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:11:27.496Z\",\n \"modifiedTime\": \"2023-06-28T13:11:27.514Z\"\n },\n {\n \"id\": \"1MWXifyvWeTAqtofY4Q83tAvq33I391h6vOuWgMsUyvc\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:10:20.745Z\",\n \"modifiedTime\": \"2023-06-28T13:10:20.761Z\"\n },\n {\n \"id\": \"1VdBIvkhEJ092fk-r3m1OfHgtuK-uDSgMcqAMUTKA1Jc\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:09:01.451Z\",\n \"modifiedTime\": \"2023-06-28T13:09:01.465Z\"\n },\n {\n \"id\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-08T22:14:46.788Z\",\n \"modifiedTime\": \"2023-06-08T22:14:46.805Z\"\n },\n {\n \"id\": \"10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0\",\n \"name\": \"Copy of Original\",\n \"createdTime\": \"2023-06-08T22:14:42.294Z\",\n \"modifiedTime\": \"2023-06-08T22:14:44.589Z\"\n },\n {\n \"id\": \"1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4\",\n \"name\": \"Original\",\n \"createdTime\": \"2023-06-08T22:14:39.098Z\",\n \"modifiedTime\": \"2023-06-08T22:14:40.257Z\"\n },\n {\n \"id\": \"15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q\",\n \"name\": \"Test CellTest test_define_named_range\",\n \"createdTime\": \"2023-06-05T18:43:51.436Z\",\n \"modifiedTime\": \"2023-06-05T18:43:51.451Z\"\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:49 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:49 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:51:37.399Z\",\n \"modifiedTime\": \"2023-07-20T08:51:37.420Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:49 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k\",\n \"properties\": {\n \"title\": \"Copy of Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:50 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k\",\n \"name\": \"Copy of Original\",\n \"createdTime\": \"2023-07-20T08:51:32.898Z\",\n \"modifiedTime\": \"2023-07-20T08:51:34.993Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:50 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3306" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc\",\n \"properties\": {\n \"title\": \"Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:50 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "172" + ] + }, + "body": { + "string": "{\n \"id\": \"1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc\",\n \"name\": \"Original\",\n \"createdTime\": \"2023-07-20T08:51:29.888Z\",\n \"modifiedTime\": \"2023-07-20T08:51:30.929Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f-E4tz3roQP6bNiUyf4_S3-Pd6OmxD-rToY6zc0Agrw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:51 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3340" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1f-E4tz3roQP6bNiUyf4_S3-Pd6OmxD-rToY6zc0Agrw\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_updated_time\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1f-E4tz3roQP6bNiUyf4_S3-Pd6OmxD-rToY6zc0Agrw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1f-E4tz3roQP6bNiUyf4_S3-Pd6OmxD-rToY6zc0Agrw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:52 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "206" + ] + }, + "body": { + "string": "{\n \"id\": \"1f-E4tz3roQP6bNiUyf4_S3-Pd6OmxD-rToY6zc0Agrw\",\n \"name\": \"Test SpreadsheetTest test_get_updated_time\",\n \"createdTime\": \"2023-07-15T16:58:37.251Z\",\n \"modifiedTime\": \"2023-07-15T16:58:38.603Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:52 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:53 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T15:23:15.406Z\",\n \"modifiedTime\": \"2023-06-28T15:23:15.421Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qNevZW4y5jXKMGMrleVXKSzfyz76TP_Iq3A_hH49nlY?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:54 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3331" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1qNevZW4y5jXKMGMrleVXKSzfyz76TP_Iq3A_hH49nlY\",\n \"properties\": {\n \"title\": \"Copy of Test ClientTest test_copy\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qNevZW4y5jXKMGMrleVXKSzfyz76TP_Iq3A_hH49nlY/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1qNevZW4y5jXKMGMrleVXKSzfyz76TP_Iq3A_hH49nlY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:54 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "197" + ] + }, + "body": { + "string": "{\n \"id\": \"1qNevZW4y5jXKMGMrleVXKSzfyz76TP_Iq3A_hH49nlY\",\n \"name\": \"Copy of Test ClientTest test_copy\",\n \"createdTime\": \"2023-06-28T15:23:07.699Z\",\n \"modifiedTime\": \"2023-06-28T15:23:09.622Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UWRBInM3aNLakVfz8DP5akuC8Rf8WxVp7Vr9tP6xltQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:55 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3345" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UWRBInM3aNLakVfz8DP5akuC8Rf8WxVp7Vr9tP6xltQ\",\n \"properties\": {\n \"title\": \"Test ClientTest test_access_private_spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UWRBInM3aNLakVfz8DP5akuC8Rf8WxVp7Vr9tP6xltQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1UWRBInM3aNLakVfz8DP5akuC8Rf8WxVp7Vr9tP6xltQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:55 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "211" + ] + }, + "body": { + "string": "{\n \"id\": \"1UWRBInM3aNLakVfz8DP5akuC8Rf8WxVp7Vr9tP6xltQ\",\n \"name\": \"Test ClientTest test_access_private_spreadsheet\",\n \"createdTime\": \"2023-06-28T15:18:44.192Z\",\n \"modifiedTime\": \"2023-06-28T15:18:44.210Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:56 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:56 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T14:21:18.187Z\",\n \"modifiedTime\": \"2023-06-28T14:21:18.207Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1V43sXbEd1460jXctxYdxLO4xvI66Ki-Wjg6faiTDtGg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:57 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1V43sXbEd1460jXctxYdxLO4xvI66Ki-Wjg6faiTDtGg\",\n \"properties\": {\n \"title\": \"Copy of Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1V43sXbEd1460jXctxYdxLO4xvI66Ki-Wjg6faiTDtGg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1V43sXbEd1460jXctxYdxLO4xvI66Ki-Wjg6faiTDtGg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:57 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"id\": \"1V43sXbEd1460jXctxYdxLO4xvI66Ki-Wjg6faiTDtGg\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T14:21:14.676Z\",\n \"modifiedTime\": \"2023-06-28T14:21:16.471Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:58 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:58 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:47:09.254Z\",\n \"modifiedTime\": \"2023-06-28T13:47:10.351Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AvemJvHZCSt0HlNPyDDbkXxlJOFm2vlMZ87ttRHWSAA?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:59 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1AvemJvHZCSt0HlNPyDDbkXxlJOFm2vlMZ87ttRHWSAA\",\n \"properties\": {\n \"title\": \"Copy of Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1AvemJvHZCSt0HlNPyDDbkXxlJOFm2vlMZ87ttRHWSAA/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1AvemJvHZCSt0HlNPyDDbkXxlJOFm2vlMZ87ttRHWSAA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:51:59 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"id\": \"1AvemJvHZCSt0HlNPyDDbkXxlJOFm2vlMZ87ttRHWSAA\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:47:04.732Z\",\n \"modifiedTime\": \"2023-06-28T13:47:07.067Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MlF8p35VQB1d14wAEDegJXcO3eJBkz0x7_9j43dyoHE?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:00 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1MlF8p35VQB1d14wAEDegJXcO3eJBkz0x7_9j43dyoHE\",\n \"properties\": {\n \"title\": \"Copy of Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MlF8p35VQB1d14wAEDegJXcO3eJBkz0x7_9j43dyoHE/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1MlF8p35VQB1d14wAEDegJXcO3eJBkz0x7_9j43dyoHE?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:00 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"id\": \"1MlF8p35VQB1d14wAEDegJXcO3eJBkz0x7_9j43dyoHE\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:40:28.137Z\",\n \"modifiedTime\": \"2023-06-28T13:40:30.356Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:01 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:01 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:33:40.960Z\",\n \"modifiedTime\": \"2023-06-28T13:33:40.973Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13hH6cFpKtdmcBl6IWxss5VS0Espyrx8Hx1g2FYjF5ec?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:01 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"13hH6cFpKtdmcBl6IWxss5VS0Espyrx8Hx1g2FYjF5ec\",\n \"properties\": {\n \"title\": \"Copy of Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13hH6cFpKtdmcBl6IWxss5VS0Espyrx8Hx1g2FYjF5ec/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/13hH6cFpKtdmcBl6IWxss5VS0Espyrx8Hx1g2FYjF5ec?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:02 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"id\": \"13hH6cFpKtdmcBl6IWxss5VS0Espyrx8Hx1g2FYjF5ec\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:33:36.874Z\",\n \"modifiedTime\": \"2023-06-28T13:33:38.883Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PskXxL5ILCDBJ0WbOiC_T9g69VnoNwRIy7apuZWgoFM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:03 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3324" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1PskXxL5ILCDBJ0WbOiC_T9g69VnoNwRIy7apuZWgoFM\",\n \"properties\": {\n \"title\": \"Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1PskXxL5ILCDBJ0WbOiC_T9g69VnoNwRIy7apuZWgoFM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1PskXxL5ILCDBJ0WbOiC_T9g69VnoNwRIy7apuZWgoFM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:03 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"id\": \"1PskXxL5ILCDBJ0WbOiC_T9g69VnoNwRIy7apuZWgoFM\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:15:02.142Z\",\n \"modifiedTime\": \"2023-06-28T13:15:02.171Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TI7TigQoNKEyrb-wn7CjCHj8h_8p11Xv6mVmZiXwR34?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:04 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3324" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1TI7TigQoNKEyrb-wn7CjCHj8h_8p11Xv6mVmZiXwR34\",\n \"properties\": {\n \"title\": \"Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TI7TigQoNKEyrb-wn7CjCHj8h_8p11Xv6mVmZiXwR34/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1TI7TigQoNKEyrb-wn7CjCHj8h_8p11Xv6mVmZiXwR34?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:05 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"id\": \"1TI7TigQoNKEyrb-wn7CjCHj8h_8p11Xv6mVmZiXwR34\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:14:27.722Z\",\n \"modifiedTime\": \"2023-06-28T13:14:28.653Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1e71ziUyaRHDgYSiIaaRTtwmZVnvgs3YPLZ76EmgIcWg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:05 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3324" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1e71ziUyaRHDgYSiIaaRTtwmZVnvgs3YPLZ76EmgIcWg\",\n \"properties\": {\n \"title\": \"Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1e71ziUyaRHDgYSiIaaRTtwmZVnvgs3YPLZ76EmgIcWg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1e71ziUyaRHDgYSiIaaRTtwmZVnvgs3YPLZ76EmgIcWg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:06 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"id\": \"1e71ziUyaRHDgYSiIaaRTtwmZVnvgs3YPLZ76EmgIcWg\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:11:27.496Z\",\n \"modifiedTime\": \"2023-06-28T13:11:27.514Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MWXifyvWeTAqtofY4Q83tAvq33I391h6vOuWgMsUyvc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:06 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3324" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1MWXifyvWeTAqtofY4Q83tAvq33I391h6vOuWgMsUyvc\",\n \"properties\": {\n \"title\": \"Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MWXifyvWeTAqtofY4Q83tAvq33I391h6vOuWgMsUyvc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1MWXifyvWeTAqtofY4Q83tAvq33I391h6vOuWgMsUyvc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:07 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"id\": \"1MWXifyvWeTAqtofY4Q83tAvq33I391h6vOuWgMsUyvc\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:10:20.745Z\",\n \"modifiedTime\": \"2023-06-28T13:10:20.761Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VdBIvkhEJ092fk-r3m1OfHgtuK-uDSgMcqAMUTKA1Jc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:07 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3324" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1VdBIvkhEJ092fk-r3m1OfHgtuK-uDSgMcqAMUTKA1Jc\",\n \"properties\": {\n \"title\": \"Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1VdBIvkhEJ092fk-r3m1OfHgtuK-uDSgMcqAMUTKA1Jc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1VdBIvkhEJ092fk-r3m1OfHgtuK-uDSgMcqAMUTKA1Jc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:08 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"id\": \"1VdBIvkhEJ092fk-r3m1OfHgtuK-uDSgMcqAMUTKA1Jc\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:09:01.451Z\",\n \"modifiedTime\": \"2023-06-28T13:09:01.465Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:08 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:09 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-08T22:14:46.788Z\",\n \"modifiedTime\": \"2023-06-08T22:14:46.805Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:09 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0\",\n \"properties\": {\n \"title\": \"Copy of Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:10 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0\",\n \"name\": \"Copy of Original\",\n \"createdTime\": \"2023-06-08T22:14:42.294Z\",\n \"modifiedTime\": \"2023-06-08T22:14:44.589Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:11 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3306" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4\",\n \"properties\": {\n \"title\": \"Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:11 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "172" + ] + }, + "body": { + "string": "{\n \"id\": \"1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4\",\n \"name\": \"Original\",\n \"createdTime\": \"2023-06-08T22:14:39.098Z\",\n \"modifiedTime\": \"2023-06-08T22:14:40.257Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:12 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3335" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q\",\n \"properties\": {\n \"title\": \"Test CellTest test_define_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:12 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "201" + ] + }, + "body": { + "string": "{\n \"id\": \"15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q\",\n \"name\": \"Test CellTest test_define_named_range\",\n \"createdTime\": \"2023-06-05T18:43:51.436Z\",\n \"modifiedTime\": \"2023-06-05T18:43:51.451Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files?q=mimeType%3D%22application%2Fvnd.google-apps.spreadsheet%22+and+name+%3D+%22Test+Spreadsheet%22&pageSize=1000&supportsAllDrives=True&includeItemsFromAllDrives=True&fields=kind%2CnextPageToken%2Cfiles%28id%2Cname%2CcreatedTime%2CmodifiedTime%29", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:12 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "1278" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#fileList\",\n \"files\": [\n {\n \"id\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:51:37.399Z\",\n \"modifiedTime\": \"2023-07-20T08:51:37.420Z\"\n },\n {\n \"id\": \"1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T15:23:15.406Z\",\n \"modifiedTime\": \"2023-06-28T15:23:15.421Z\"\n },\n {\n \"id\": \"1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T14:21:18.187Z\",\n \"modifiedTime\": \"2023-06-28T14:21:18.207Z\"\n },\n {\n \"id\": \"1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:47:09.254Z\",\n \"modifiedTime\": \"2023-06-28T13:47:10.351Z\"\n },\n {\n \"id\": \"1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:33:40.960Z\",\n \"modifiedTime\": \"2023-06-28T13:33:40.973Z\"\n },\n {\n \"id\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-08T22:14:46.788Z\",\n \"modifiedTime\": \"2023-06-08T22:14:46.805Z\"\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:13 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:13 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:51:37.399Z\",\n \"modifiedTime\": \"2023-07-20T08:51:37.420Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:13 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:13 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T15:23:15.406Z\",\n \"modifiedTime\": \"2023-06-28T15:23:15.421Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:13 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:14 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T14:21:18.187Z\",\n \"modifiedTime\": \"2023-06-28T14:21:18.207Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:14 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:14 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:47:09.254Z\",\n \"modifiedTime\": \"2023-06-28T13:47:10.351Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:14 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:15 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:33:40.960Z\",\n \"modifiedTime\": \"2023-06-28T13:33:40.973Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:15 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:15 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-08T22:14:46.788Z\",\n \"modifiedTime\": \"2023-06-08T22:14:46.805Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files?q=mimeType%3D%22application%2Fvnd.google-apps.spreadsheet%22&pageSize=1000&supportsAllDrives=True&includeItemsFromAllDrives=True&fields=kind%2CnextPageToken%2Cfiles%28id%2Cname%2CcreatedTime%2CmodifiedTime%29", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:06 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "5571" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#fileList\",\n \"files\": [\n {\n \"id\": \"1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:54:57.510Z\",\n \"modifiedTime\": \"2023-07-20T08:54:58.119Z\"\n },\n {\n \"id\": \"1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0\",\n \"name\": \"Copy of Original\",\n \"createdTime\": \"2023-07-20T08:54:53.602Z\",\n \"modifiedTime\": \"2023-07-20T08:54:55.326Z\"\n },\n {\n \"id\": \"1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw\",\n \"name\": \"Original\",\n \"createdTime\": \"2023-07-20T08:54:50.035Z\",\n \"modifiedTime\": \"2023-07-20T08:54:50.051Z\"\n },\n {\n \"id\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:51:37.399Z\",\n \"modifiedTime\": \"2023-07-20T08:51:37.420Z\"\n },\n {\n \"id\": \"14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k\",\n \"name\": \"Copy of Original\",\n \"createdTime\": \"2023-07-20T08:51:32.898Z\",\n \"modifiedTime\": \"2023-07-20T08:51:34.993Z\"\n },\n {\n \"id\": \"1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc\",\n \"name\": \"Original\",\n \"createdTime\": \"2023-07-20T08:51:29.888Z\",\n \"modifiedTime\": \"2023-07-20T08:51:30.929Z\"\n },\n {\n \"id\": \"1f-E4tz3roQP6bNiUyf4_S3-Pd6OmxD-rToY6zc0Agrw\",\n \"name\": \"Test SpreadsheetTest test_get_updated_time\",\n \"createdTime\": \"2023-07-15T16:58:37.251Z\",\n \"modifiedTime\": \"2023-07-15T16:58:38.603Z\"\n },\n {\n \"id\": \"1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T15:23:15.406Z\",\n \"modifiedTime\": \"2023-06-28T15:23:15.421Z\"\n },\n {\n \"id\": \"1qNevZW4y5jXKMGMrleVXKSzfyz76TP_Iq3A_hH49nlY\",\n \"name\": \"Copy of Test ClientTest test_copy\",\n \"createdTime\": \"2023-06-28T15:23:07.699Z\",\n \"modifiedTime\": \"2023-06-28T15:23:09.622Z\"\n },\n {\n \"id\": \"1UWRBInM3aNLakVfz8DP5akuC8Rf8WxVp7Vr9tP6xltQ\",\n \"name\": \"Test ClientTest test_access_private_spreadsheet\",\n \"createdTime\": \"2023-06-28T15:18:44.192Z\",\n \"modifiedTime\": \"2023-06-28T15:18:44.210Z\"\n },\n {\n \"id\": \"1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T14:21:18.187Z\",\n \"modifiedTime\": \"2023-06-28T14:21:18.207Z\"\n },\n {\n \"id\": \"1V43sXbEd1460jXctxYdxLO4xvI66Ki-Wjg6faiTDtGg\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T14:21:14.676Z\",\n \"modifiedTime\": \"2023-06-28T14:21:16.471Z\"\n },\n {\n \"id\": \"1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:47:09.254Z\",\n \"modifiedTime\": \"2023-06-28T13:47:10.351Z\"\n },\n {\n \"id\": \"1AvemJvHZCSt0HlNPyDDbkXxlJOFm2vlMZ87ttRHWSAA\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:47:04.732Z\",\n \"modifiedTime\": \"2023-06-28T13:47:07.067Z\"\n },\n {\n \"id\": \"1MlF8p35VQB1d14wAEDegJXcO3eJBkz0x7_9j43dyoHE\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:40:28.137Z\",\n \"modifiedTime\": \"2023-06-28T13:40:30.356Z\"\n },\n {\n \"id\": \"1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:33:40.960Z\",\n \"modifiedTime\": \"2023-06-28T13:33:40.973Z\"\n },\n {\n \"id\": \"13hH6cFpKtdmcBl6IWxss5VS0Espyrx8Hx1g2FYjF5ec\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:33:36.874Z\",\n \"modifiedTime\": \"2023-06-28T13:33:38.883Z\"\n },\n {\n \"id\": \"1PskXxL5ILCDBJ0WbOiC_T9g69VnoNwRIy7apuZWgoFM\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:15:02.142Z\",\n \"modifiedTime\": \"2023-06-28T13:15:02.171Z\"\n },\n {\n \"id\": \"1TI7TigQoNKEyrb-wn7CjCHj8h_8p11Xv6mVmZiXwR34\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:14:27.722Z\",\n \"modifiedTime\": \"2023-06-28T13:14:28.653Z\"\n },\n {\n \"id\": \"1e71ziUyaRHDgYSiIaaRTtwmZVnvgs3YPLZ76EmgIcWg\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:11:27.496Z\",\n \"modifiedTime\": \"2023-06-28T13:11:27.514Z\"\n },\n {\n \"id\": \"1MWXifyvWeTAqtofY4Q83tAvq33I391h6vOuWgMsUyvc\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:10:20.745Z\",\n \"modifiedTime\": \"2023-06-28T13:10:20.761Z\"\n },\n {\n \"id\": \"1VdBIvkhEJ092fk-r3m1OfHgtuK-uDSgMcqAMUTKA1Jc\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:09:01.451Z\",\n \"modifiedTime\": \"2023-06-28T13:09:01.465Z\"\n },\n {\n \"id\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-08T22:14:46.788Z\",\n \"modifiedTime\": \"2023-06-08T22:14:46.805Z\"\n },\n {\n \"id\": \"10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0\",\n \"name\": \"Copy of Original\",\n \"createdTime\": \"2023-06-08T22:14:42.294Z\",\n \"modifiedTime\": \"2023-06-08T22:14:44.589Z\"\n },\n {\n \"id\": \"1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4\",\n \"name\": \"Original\",\n \"createdTime\": \"2023-06-08T22:14:39.098Z\",\n \"modifiedTime\": \"2023-06-08T22:14:40.257Z\"\n },\n {\n \"id\": \"15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q\",\n \"name\": \"Test CellTest test_define_named_range\",\n \"createdTime\": \"2023-06-05T18:43:51.436Z\",\n \"modifiedTime\": \"2023-06-05T18:43:51.451Z\"\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:07 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:07 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:54:57.510Z\",\n \"modifiedTime\": \"2023-07-20T08:54:58.119Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:07 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0\",\n \"properties\": {\n \"title\": \"Copy of Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:07 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1w2dKffwXyu0KCYQD6AEiLCn6ZLdHhj7Io2Ze2jSUQk0\",\n \"name\": \"Copy of Original\",\n \"createdTime\": \"2023-07-20T08:54:53.602Z\",\n \"modifiedTime\": \"2023-07-20T08:54:55.326Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3306" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw\",\n \"properties\": {\n \"title\": \"Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:08 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "172" + ] + }, + "body": { + "string": "{\n \"id\": \"1KUmduOU0sR9cV-GxT-m_ZUj2c-VEBix32FMTnbaN_Sw\",\n \"name\": \"Original\",\n \"createdTime\": \"2023-07-20T08:54:50.035Z\",\n \"modifiedTime\": \"2023-07-20T08:54:50.051Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:08 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:51:37.399Z\",\n \"modifiedTime\": \"2023-07-20T08:51:37.420Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k\",\n \"properties\": {\n \"title\": \"Copy of Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:09 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"14t7-raRlIvsNPtbjlQTWPH7lq8e2DS58yRx2Ji_wY2k\",\n \"name\": \"Copy of Original\",\n \"createdTime\": \"2023-07-20T08:51:32.898Z\",\n \"modifiedTime\": \"2023-07-20T08:51:34.993Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3306" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc\",\n \"properties\": {\n \"title\": \"Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:09 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "172" + ] + }, + "body": { + "string": "{\n \"id\": \"1YGsULsLM5zWTlUh5HrFG6oiaBN42tzYy4Gvq4mmX_mc\",\n \"name\": \"Original\",\n \"createdTime\": \"2023-07-20T08:51:29.888Z\",\n \"modifiedTime\": \"2023-07-20T08:51:30.929Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f-E4tz3roQP6bNiUyf4_S3-Pd6OmxD-rToY6zc0Agrw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3340" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1f-E4tz3roQP6bNiUyf4_S3-Pd6OmxD-rToY6zc0Agrw\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_updated_time\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1f-E4tz3roQP6bNiUyf4_S3-Pd6OmxD-rToY6zc0Agrw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1f-E4tz3roQP6bNiUyf4_S3-Pd6OmxD-rToY6zc0Agrw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:10 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "206" + ] + }, + "body": { + "string": "{\n \"id\": \"1f-E4tz3roQP6bNiUyf4_S3-Pd6OmxD-rToY6zc0Agrw\",\n \"name\": \"Test SpreadsheetTest test_get_updated_time\",\n \"createdTime\": \"2023-07-15T16:58:37.251Z\",\n \"modifiedTime\": \"2023-07-15T16:58:38.603Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:10 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:10 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T15:23:15.406Z\",\n \"modifiedTime\": \"2023-06-28T15:23:15.421Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qNevZW4y5jXKMGMrleVXKSzfyz76TP_Iq3A_hH49nlY?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:10 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3331" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1qNevZW4y5jXKMGMrleVXKSzfyz76TP_Iq3A_hH49nlY\",\n \"properties\": {\n \"title\": \"Copy of Test ClientTest test_copy\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qNevZW4y5jXKMGMrleVXKSzfyz76TP_Iq3A_hH49nlY/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1qNevZW4y5jXKMGMrleVXKSzfyz76TP_Iq3A_hH49nlY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:11 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "197" + ] + }, + "body": { + "string": "{\n \"id\": \"1qNevZW4y5jXKMGMrleVXKSzfyz76TP_Iq3A_hH49nlY\",\n \"name\": \"Copy of Test ClientTest test_copy\",\n \"createdTime\": \"2023-06-28T15:23:07.699Z\",\n \"modifiedTime\": \"2023-06-28T15:23:09.622Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UWRBInM3aNLakVfz8DP5akuC8Rf8WxVp7Vr9tP6xltQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:11 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3345" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UWRBInM3aNLakVfz8DP5akuC8Rf8WxVp7Vr9tP6xltQ\",\n \"properties\": {\n \"title\": \"Test ClientTest test_access_private_spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UWRBInM3aNLakVfz8DP5akuC8Rf8WxVp7Vr9tP6xltQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1UWRBInM3aNLakVfz8DP5akuC8Rf8WxVp7Vr9tP6xltQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:11 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "211" + ] + }, + "body": { + "string": "{\n \"id\": \"1UWRBInM3aNLakVfz8DP5akuC8Rf8WxVp7Vr9tP6xltQ\",\n \"name\": \"Test ClientTest test_access_private_spreadsheet\",\n \"createdTime\": \"2023-06-28T15:18:44.192Z\",\n \"modifiedTime\": \"2023-06-28T15:18:44.210Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:11 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:11 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T14:21:18.187Z\",\n \"modifiedTime\": \"2023-06-28T14:21:18.207Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1V43sXbEd1460jXctxYdxLO4xvI66Ki-Wjg6faiTDtGg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:12 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1V43sXbEd1460jXctxYdxLO4xvI66Ki-Wjg6faiTDtGg\",\n \"properties\": {\n \"title\": \"Copy of Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1V43sXbEd1460jXctxYdxLO4xvI66Ki-Wjg6faiTDtGg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1V43sXbEd1460jXctxYdxLO4xvI66Ki-Wjg6faiTDtGg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:12 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"id\": \"1V43sXbEd1460jXctxYdxLO4xvI66Ki-Wjg6faiTDtGg\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T14:21:14.676Z\",\n \"modifiedTime\": \"2023-06-28T14:21:16.471Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:12 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:12 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:47:09.254Z\",\n \"modifiedTime\": \"2023-06-28T13:47:10.351Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AvemJvHZCSt0HlNPyDDbkXxlJOFm2vlMZ87ttRHWSAA?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:13 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1AvemJvHZCSt0HlNPyDDbkXxlJOFm2vlMZ87ttRHWSAA\",\n \"properties\": {\n \"title\": \"Copy of Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1AvemJvHZCSt0HlNPyDDbkXxlJOFm2vlMZ87ttRHWSAA/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1AvemJvHZCSt0HlNPyDDbkXxlJOFm2vlMZ87ttRHWSAA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:13 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"id\": \"1AvemJvHZCSt0HlNPyDDbkXxlJOFm2vlMZ87ttRHWSAA\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:47:04.732Z\",\n \"modifiedTime\": \"2023-06-28T13:47:07.067Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MlF8p35VQB1d14wAEDegJXcO3eJBkz0x7_9j43dyoHE?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:13 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1MlF8p35VQB1d14wAEDegJXcO3eJBkz0x7_9j43dyoHE\",\n \"properties\": {\n \"title\": \"Copy of Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MlF8p35VQB1d14wAEDegJXcO3eJBkz0x7_9j43dyoHE/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1MlF8p35VQB1d14wAEDegJXcO3eJBkz0x7_9j43dyoHE?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:13 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"id\": \"1MlF8p35VQB1d14wAEDegJXcO3eJBkz0x7_9j43dyoHE\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:40:28.137Z\",\n \"modifiedTime\": \"2023-06-28T13:40:30.356Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:14 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:14 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:33:40.960Z\",\n \"modifiedTime\": \"2023-06-28T13:33:40.973Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13hH6cFpKtdmcBl6IWxss5VS0Espyrx8Hx1g2FYjF5ec?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:14 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"13hH6cFpKtdmcBl6IWxss5VS0Espyrx8Hx1g2FYjF5ec\",\n \"properties\": {\n \"title\": \"Copy of Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13hH6cFpKtdmcBl6IWxss5VS0Espyrx8Hx1g2FYjF5ec/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/13hH6cFpKtdmcBl6IWxss5VS0Espyrx8Hx1g2FYjF5ec?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:14 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"id\": \"13hH6cFpKtdmcBl6IWxss5VS0Espyrx8Hx1g2FYjF5ec\",\n \"name\": \"Copy of Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:33:36.874Z\",\n \"modifiedTime\": \"2023-06-28T13:33:38.883Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PskXxL5ILCDBJ0WbOiC_T9g69VnoNwRIy7apuZWgoFM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3324" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1PskXxL5ILCDBJ0WbOiC_T9g69VnoNwRIy7apuZWgoFM\",\n \"properties\": {\n \"title\": \"Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1PskXxL5ILCDBJ0WbOiC_T9g69VnoNwRIy7apuZWgoFM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1PskXxL5ILCDBJ0WbOiC_T9g69VnoNwRIy7apuZWgoFM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:15 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"id\": \"1PskXxL5ILCDBJ0WbOiC_T9g69VnoNwRIy7apuZWgoFM\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:15:02.142Z\",\n \"modifiedTime\": \"2023-06-28T13:15:02.171Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TI7TigQoNKEyrb-wn7CjCHj8h_8p11Xv6mVmZiXwR34?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3324" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1TI7TigQoNKEyrb-wn7CjCHj8h_8p11Xv6mVmZiXwR34\",\n \"properties\": {\n \"title\": \"Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TI7TigQoNKEyrb-wn7CjCHj8h_8p11Xv6mVmZiXwR34/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1TI7TigQoNKEyrb-wn7CjCHj8h_8p11Xv6mVmZiXwR34?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:15 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"id\": \"1TI7TigQoNKEyrb-wn7CjCHj8h_8p11Xv6mVmZiXwR34\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:14:27.722Z\",\n \"modifiedTime\": \"2023-06-28T13:14:28.653Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1e71ziUyaRHDgYSiIaaRTtwmZVnvgs3YPLZ76EmgIcWg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3324" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1e71ziUyaRHDgYSiIaaRTtwmZVnvgs3YPLZ76EmgIcWg\",\n \"properties\": {\n \"title\": \"Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1e71ziUyaRHDgYSiIaaRTtwmZVnvgs3YPLZ76EmgIcWg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1e71ziUyaRHDgYSiIaaRTtwmZVnvgs3YPLZ76EmgIcWg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:16 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"id\": \"1e71ziUyaRHDgYSiIaaRTtwmZVnvgs3YPLZ76EmgIcWg\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:11:27.496Z\",\n \"modifiedTime\": \"2023-06-28T13:11:27.514Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MWXifyvWeTAqtofY4Q83tAvq33I391h6vOuWgMsUyvc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3324" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1MWXifyvWeTAqtofY4Q83tAvq33I391h6vOuWgMsUyvc\",\n \"properties\": {\n \"title\": \"Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MWXifyvWeTAqtofY4Q83tAvq33I391h6vOuWgMsUyvc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1MWXifyvWeTAqtofY4Q83tAvq33I391h6vOuWgMsUyvc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:16 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"id\": \"1MWXifyvWeTAqtofY4Q83tAvq33I391h6vOuWgMsUyvc\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:10:20.745Z\",\n \"modifiedTime\": \"2023-06-28T13:10:20.761Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VdBIvkhEJ092fk-r3m1OfHgtuK-uDSgMcqAMUTKA1Jc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3324" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1VdBIvkhEJ092fk-r3m1OfHgtuK-uDSgMcqAMUTKA1Jc\",\n \"properties\": {\n \"title\": \"Test ClientTest ClientTest\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1VdBIvkhEJ092fk-r3m1OfHgtuK-uDSgMcqAMUTKA1Jc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1VdBIvkhEJ092fk-r3m1OfHgtuK-uDSgMcqAMUTKA1Jc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:17 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"id\": \"1VdBIvkhEJ092fk-r3m1OfHgtuK-uDSgMcqAMUTKA1Jc\",\n \"name\": \"Test ClientTest ClientTest\",\n \"createdTime\": \"2023-06-28T13:09:01.451Z\",\n \"modifiedTime\": \"2023-06-28T13:09:01.465Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:17 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-08T22:14:46.788Z\",\n \"modifiedTime\": \"2023-06-08T22:14:46.805Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0\",\n \"properties\": {\n \"title\": \"Copy of Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:18 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0\",\n \"name\": \"Copy of Original\",\n \"createdTime\": \"2023-06-08T22:14:42.294Z\",\n \"modifiedTime\": \"2023-06-08T22:14:44.589Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3306" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4\",\n \"properties\": {\n \"title\": \"Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:18 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "172" + ] + }, + "body": { + "string": "{\n \"id\": \"1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4\",\n \"name\": \"Original\",\n \"createdTime\": \"2023-06-08T22:14:39.098Z\",\n \"modifiedTime\": \"2023-06-08T22:14:40.257Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3335" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q\",\n \"properties\": {\n \"title\": \"Test CellTest test_define_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:19 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "201" + ] + }, + "body": { + "string": "{\n \"id\": \"15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q\",\n \"name\": \"Test CellTest test_define_named_range\",\n \"createdTime\": \"2023-06-05T18:43:51.436Z\",\n \"modifiedTime\": \"2023-06-05T18:43:51.451Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files?q=mimeType%3D%22application%2Fvnd.google-apps.spreadsheet%22+and+name+%3D+%22Test+Spreadsheet%22&pageSize=1000&supportsAllDrives=True&includeItemsFromAllDrives=True&fields=kind%2CnextPageToken%2Cfiles%28id%2Cname%2CcreatedTime%2CmodifiedTime%29", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:19 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "1483" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#fileList\",\n \"files\": [\n {\n \"id\": \"1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:54:57.510Z\",\n \"modifiedTime\": \"2023-07-20T08:54:58.119Z\"\n },\n {\n \"id\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:51:37.399Z\",\n \"modifiedTime\": \"2023-07-20T08:51:37.420Z\"\n },\n {\n \"id\": \"1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T15:23:15.406Z\",\n \"modifiedTime\": \"2023-06-28T15:23:15.421Z\"\n },\n {\n \"id\": \"1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T14:21:18.187Z\",\n \"modifiedTime\": \"2023-06-28T14:21:18.207Z\"\n },\n {\n \"id\": \"1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:47:09.254Z\",\n \"modifiedTime\": \"2023-06-28T13:47:10.351Z\"\n },\n {\n \"id\": \"1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:33:40.960Z\",\n \"modifiedTime\": \"2023-06-28T13:33:40.973Z\"\n },\n {\n \"id\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-08T22:14:46.788Z\",\n \"modifiedTime\": \"2023-06-08T22:14:46.805Z\"\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:19 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:19 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1ZNedOUejkcxiXVgmOWxQwuGiPLC3K2M-WM7Zh8GVhNE\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:54:57.510Z\",\n \"modifiedTime\": \"2023-07-20T08:54:58.119Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:20 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:20 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1TkLIW9ISk4WREop1uSSCwWhUorg2KbvhzXL9iSwijfI\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-07-20T08:51:37.399Z\",\n \"modifiedTime\": \"2023-07-20T08:51:37.420Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:20 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:20 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "180" + ] + }, + "body": { + "string": "{\n \"id\": \"1hzdEm95J2ZrHd90bIacGLUHm-H0MAdSwAa_WIhwdltQ\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T15:23:15.406Z\",\n \"modifiedTime\": \"2023-06-28T15:23:15.421Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:20 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3314" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -33,11 +9480,11 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -45,43 +9492,43 @@ "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:57 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:55:21 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ - "881" + "180" ] }, "body": { - "string": "{\n \"kind\": \"drive#fileList\",\n \"files\": [\n {\n \"id\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-08T22:14:46.788Z\",\n \"modifiedTime\": \"2023-06-08T22:14:46.805Z\"\n },\n {\n \"id\": \"10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0\",\n \"name\": \"Copy of Original\",\n \"createdTime\": \"2023-06-08T22:14:42.294Z\",\n \"modifiedTime\": \"2023-06-08T22:14:44.589Z\"\n },\n {\n \"id\": \"1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4\",\n \"name\": \"Original\",\n \"createdTime\": \"2023-06-08T22:14:39.098Z\",\n \"modifiedTime\": \"2023-06-08T22:14:40.257Z\"\n },\n {\n \"id\": \"15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q\",\n \"name\": \"Test CellTest test_define_named_range\",\n \"createdTime\": \"2023-06-05T18:43:51.436Z\",\n \"modifiedTime\": \"2023-06-05T18:43:51.451Z\"\n }\n ]\n}\n" + "string": "{\n \"id\": \"1aCqM40VcTkd7j5xDvkb8Hk9dUE7CeJq5OVcuAdunWr0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T14:21:18.187Z\",\n \"modifiedTime\": \"2023-06-28T14:21:18.207Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -99,6 +9546,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -110,8 +9560,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -121,40 +9574,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:58 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:55:21 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "3314" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0?includeGridData=false", + "uri": "https://www.googleapis.com/drive/v3/files/1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -172,6 +9622,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -183,51 +9636,55 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:58 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:55:21 GMT" ], - "Cache-Control": [ - "private" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ - "3314" + "180" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0\",\n \"properties\": {\n \"title\": \"Copy of Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10OtpnT26BSu7gQXQ9i40KnFz9v1I7Uw45a5tWi2ERC0/edit\"\n}\n" + "string": "{\n \"id\": \"1ktNfKWFKPFBd_Fwy9j48-fr6C3QlCWjPTo_9sMhGQYU\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:47:09.254Z\",\n \"modifiedTime\": \"2023-06-28T13:47:10.351Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -245,6 +9702,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -256,8 +9716,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -267,40 +9730,37 @@ "X-Origin", "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:58 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:55:21 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ - "3306" + "3314" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4\",\n \"properties\": {\n \"title\": \"Original\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1WHyUBJiywPezW058EYSWxTUcFbRt4vYXdK9doKKcAQ4/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q?includeGridData=false", + "uri": "https://www.googleapis.com/drive/v3/files/1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -318,6 +9778,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -329,51 +9792,55 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:58 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:55:22 GMT" ], - "Cache-Control": [ - "private" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ - "3335" + "180" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q\",\n \"properties\": {\n \"title\": \"Test CellTest test_define_named_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/15zA0K92D9MeMll5h9tYu9bjH1OEzIakqsY0gLrrAF9Q/edit\"\n}\n" + "string": "{\n \"id\": \"1RWtIaZxrB69bLzANJjQ41riJMsNvmBYrfd3AcneNyrw\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-28T13:33:40.960Z\",\n \"modifiedTime\": \"2023-06-28T13:33:40.973Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files?q=mimeType%3D%22application%2Fvnd.google-apps.spreadsheet%22+and+name+%3D+%22Test+Spreadsheet%22&pageSize=1000&supportsAllDrives=True&includeItemsFromAllDrives=True&fields=kind%2CnextPageToken%2Cfiles%28id%2Cname%2CcreatedTime%2CmodifiedTime%29", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -391,6 +9858,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -402,55 +9872,51 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ - "Origin, X-Origin" + "Origin", + "X-Origin", + "Referer" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:59 GMT" + "Transfer-Encoding": [ + "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:55:22 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ - "253" + "3314" ] }, "body": { - "string": "{\n \"kind\": \"drive#fileList\",\n \"files\": [\n {\n \"id\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-08T22:14:46.788Z\",\n \"modifiedTime\": \"2023-06-08T22:14:46.805Z\"\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0?includeGridData=false", + "uri": "https://www.googleapis.com/drive/v3/files/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -468,6 +9934,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -479,44 +9948,48 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Origin, X-Origin" ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-XSS-Protection": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Transfer-Encoding": [ + "chunked" ], - "Date": [ - "Thu, 08 Jun 2023 22:14:59 GMT" + "Pragma": [ + "no-cache" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Date": [ + "Thu, 20 Jul 2023 08:55:22 GMT" ], - "Cache-Control": [ - "private" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "content-length": [ - "3314" + "180" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"properties\": {\n \"title\": \"Test Spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0/edit\"\n}\n" + "string": "{\n \"id\": \"1K8Iq726KShj-AK-oy35ZyCj2lgUYP0j2O1umNraSaB0\",\n \"name\": \"Test Spreadsheet\",\n \"createdTime\": \"2023-06-08T22:14:46.788Z\",\n \"modifiedTime\": \"2023-06-08T22:14:46.805Z\"\n}\n" } } } diff --git a/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json b/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json index bded70b19..b1db714bf 100644 --- a/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json +++ b/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json @@ -42,9 +42,6 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -116,9 +113,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -768,6 +762,961 @@ "string": "" } } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 404, + "message": "Not Found" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private, max-age=0" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:16 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Thu, 20 Jul 2023 08:52:16 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "364" + ] + }, + "body": { + "string": "{\n \"error\": {\n \"code\": 404,\n \"message\": \"File not found: 1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA.\",\n \"errors\": [\n {\n \"message\": \"File not found: 1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA.\",\n \"domain\": \"global\",\n \"reason\": \"notFound\",\n \"location\": \"fileId\",\n \"locationType\": \"parameter\"\n }\n ]\n }\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_add_del_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "110" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:25 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "197" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:26 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:26 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "207" + ] + }, + "body": { + "string": "{\n \"id\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"createdTime\": \"2023-07-20T08:55:23.235Z\",\n \"modifiedTime\": \"2023-07-20T08:55:23.251Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:26 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:27 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "394" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 108599385,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:27 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "395" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1711575169,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:27 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3856" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 108599385,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1711575169,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 108599385}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "55" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:28 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 1711575169}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "56" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:29 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:29 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:29 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_get_lastUpdateTime.json b/tests/cassettes/SpreadsheetTest.test_get_lastUpdateTime.json index ff71462b9..ed37378b3 100644 --- a/tests/cassettes/SpreadsheetTest.test_get_lastUpdateTime.json +++ b/tests/cassettes/SpreadsheetTest.test_get_lastUpdateTime.json @@ -564,6 +564,570 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "111" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:33 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:33 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3342" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:34 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "208" + ] + }, + "body": { + "string": "{\n \"id\": \"1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"createdTime\": \"2023-07-20T08:55:30.724Z\",\n \"modifiedTime\": \"2023-07-20T08:55:30.746Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:34 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "208" + ] + }, + "body": { + "string": "{\n \"id\": \"1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"createdTime\": \"2023-07-20T08:55:30.724Z\",\n \"modifiedTime\": \"2023-07-20T08:55:30.746Z\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08:batchUpdate", + "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"title\": \"\\ud83c\\udf8a Updated Title #123 \\ud83c\\udf89\"}, \"fields\": \"title\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "141" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:35 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"id\": \"1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08\",\n \"name\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"createdTime\": \"2023-07-20T08:55:30.724Z\",\n \"modifiedTime\": \"2023-07-20T08:55:34.687Z\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:35 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_get_worksheet.json b/tests/cassettes/SpreadsheetTest.test_get_worksheet.json index 0e6201768..bff77e7c0 100644 --- a/tests/cassettes/SpreadsheetTest.test_get_worksheet.json +++ b/tests/cassettes/SpreadsheetTest.test_get_worksheet.json @@ -42,9 +42,6 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -116,9 +113,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -306,6 +300,481 @@ "string": "" } } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 404, + "message": "Not Found" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private, max-age=0" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:17 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Thu, 20 Jul 2023 08:52:17 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "364" + ] + }, + "body": { + "string": "{\n \"error\": {\n \"code\": 404,\n \"message\": \"File not found: 1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c.\",\n \"errors\": [\n {\n \"message\": \"File not found: 1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c.\",\n \"domain\": \"global\",\n \"reason\": \"notFound\",\n \"location\": \"fileId\",\n \"locationType\": \"parameter\"\n }\n ]\n }\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_get_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:39 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "193" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3337" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:39 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "203" + ] + }, + "body": { + "string": "{\n \"id\": \"1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet\",\n \"createdTime\": \"2023-07-20T08:55:36.235Z\",\n \"modifiedTime\": \"2023-07-20T08:55:36.262Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:40 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3337" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:40 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json b/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json index 272225ab0..ccf8f74be 100644 --- a/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json +++ b/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json @@ -42,9 +42,6 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -116,9 +113,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -306,6 +300,481 @@ "string": "" } } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 404, + "message": "Not Found" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private, max-age=0" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:18 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Thu, 20 Jul 2023 08:52:18 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "364" + ] + }, + "body": { + "string": "{\n \"error\": {\n \"code\": 404,\n \"message\": \"File not found: 1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc.\",\n \"errors\": [\n {\n \"message\": \"File not found: 1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc.\",\n \"domain\": \"global\",\n \"reason\": \"notFound\",\n \"location\": \"fileId\",\n \"locationType\": \"parameter\"\n }\n ]\n }\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "112" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:43 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "199" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:44 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "209" + ] + }, + "body": { + "string": "{\n \"id\": \"1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"createdTime\": \"2023-07-20T08:55:40.960Z\",\n \"modifiedTime\": \"2023-07-20T08:55:40.980Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:45 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_lastUpdateTime_prop.json b/tests/cassettes/SpreadsheetTest.test_lastUpdateTime_prop.json index 95c5f3eb0..9f0c6d6f1 100644 --- a/tests/cassettes/SpreadsheetTest.test_lastUpdateTime_prop.json +++ b/tests/cassettes/SpreadsheetTest.test_lastUpdateTime_prop.json @@ -484,6 +484,490 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_lastUpdateTime_prop\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "112" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:47 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "199" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0\",\n \"name\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:48 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:49 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "209" + ] + }, + "body": { + "string": "{\n \"id\": \"1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0\",\n \"name\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"createdTime\": \"2023-07-20T08:55:45.529Z\",\n \"modifiedTime\": \"2023-07-20T08:55:45.548Z\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0:batchUpdate", + "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"title\": \"\\ud83c\\udf8a Updated Title #123 \\ud83c\\udf89\"}, \"fields\": \"title\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "141" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:49 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:50 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"id\": \"1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0\",\n \"name\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"createdTime\": \"2023-07-20T08:55:45.529Z\",\n \"modifiedTime\": \"2023-07-20T08:55:49.305Z\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:50 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_properties.json b/tests/cassettes/SpreadsheetTest.test_properties.json index b0bb7b2fe..7878ebb4f 100644 --- a/tests/cassettes/SpreadsheetTest.test_properties.json +++ b/tests/cassettes/SpreadsheetTest.test_properties.json @@ -42,9 +42,6 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -116,9 +113,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -233,6 +227,405 @@ "string": "" } } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1oDrzuEu491Ydfe3wzKQ2mlmUah5l5stEy2IhWIE7B7E?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 404, + "message": "Not Found" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private, max-age=0" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:18 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Thu, 20 Jul 2023 08:52:18 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "364" + ] + }, + "body": { + "string": "{\n \"error\": {\n \"code\": 404,\n \"message\": \"File not found: 1oDrzuEu491Ydfe3wzKQ2mlmUah5l5stEy2IhWIE7B7E.\",\n \"errors\": [\n {\n \"message\": \"File not found: 1oDrzuEu491Ydfe3wzKQ2mlmUah5l5stEy2IhWIE7B7E.\",\n \"domain\": \"global\",\n \"reason\": \"notFound\",\n \"location\": \"fileId\",\n \"locationType\": \"parameter\"\n }\n ]\n }\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_properties\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:54 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q\",\n \"name\": \"Test SpreadsheetTest test_properties\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:54 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3334" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_properties\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:54 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "200" + ] + }, + "body": { + "string": "{\n \"id\": \"1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q\",\n \"name\": \"Test SpreadsheetTest test_properties\",\n \"createdTime\": \"2023-07-20T08:55:51.490Z\",\n \"modifiedTime\": \"2023-07-20T08:55:51.509Z\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:55 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_sheet1.json b/tests/cassettes/SpreadsheetTest.test_sheet1.json index 119725a80..b102cb278 100644 --- a/tests/cassettes/SpreadsheetTest.test_sheet1.json +++ b/tests/cassettes/SpreadsheetTest.test_sheet1.json @@ -42,9 +42,6 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -116,9 +113,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -306,6 +300,481 @@ "string": "" } } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 404, + "message": "Not Found" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private, max-age=0" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:19 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Thu, 20 Jul 2023 08:52:19 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "364" + ] + }, + "body": { + "string": "{\n \"error\": {\n \"code\": 404,\n \"message\": \"File not found: 1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c.\",\n \"errors\": [\n {\n \"message\": \"File not found: 1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c.\",\n \"domain\": \"global\",\n \"reason\": \"notFound\",\n \"location\": \"fileId\",\n \"locationType\": \"parameter\"\n }\n ]\n }\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_sheet1\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "99" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:58 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "186" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8\",\n \"name\": \"Test SpreadsheetTest test_sheet1\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:58 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3330" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_sheet1\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:59 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "196" + ] + }, + "body": { + "string": "{\n \"id\": \"1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8\",\n \"name\": \"Test SpreadsheetTest test_sheet1\",\n \"createdTime\": \"2023-07-20T08:55:56.512Z\",\n \"modifiedTime\": \"2023-07-20T08:55:57.570Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:59 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3330" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_sheet1\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:55:59 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_timezone_and_locale.json b/tests/cassettes/SpreadsheetTest.test_timezone_and_locale.json index 3aced3d29..2543daf14 100644 --- a/tests/cassettes/SpreadsheetTest.test_timezone_and_locale.json +++ b/tests/cassettes/SpreadsheetTest.test_timezone_and_locale.json @@ -42,9 +42,6 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -116,9 +113,6 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], @@ -464,6 +458,645 @@ "string": "" } } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 404, + "message": "Not Found" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private, max-age=0" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:52:20 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Thu, 20 Jul 2023 08:52:20 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "364" + ] + }, + "body": { + "string": "{\n \"error\": {\n \"code\": 404,\n \"message\": \"File not found: 1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg.\",\n \"errors\": [\n {\n \"message\": \"File not found: 1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg.\",\n \"domain\": \"global\",\n \"reason\": \"notFound\",\n \"location\": \"fileId\",\n \"locationType\": \"parameter\"\n }\n ]\n }\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_timezone_and_locale\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "112" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:03 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "199" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c\",\n \"name\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:04 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:04 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "209" + ] + }, + "body": { + "string": "{\n \"id\": \"1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c\",\n \"name\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"createdTime\": \"2023-07-20T08:56:01.029Z\",\n \"modifiedTime\": \"2023-07-20T08:56:01.049Z\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c:batchUpdate", + "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"timeZone\": \"Europe/Paris\"}, \"fields\": \"timeZone\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "115" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:04 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c:batchUpdate", + "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"locale\": \"fr_FR\"}, \"fields\": \"locale\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:05 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:05 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3348" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"locale\": \"fr_FR\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Europe/Paris\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:05 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_update_title.json b/tests/cassettes/SpreadsheetTest.test_update_title.json index 5addf452a..e348c7dca 100644 --- a/tests/cassettes/SpreadsheetTest.test_update_title.json +++ b/tests/cassettes/SpreadsheetTest.test_update_title.json @@ -385,6 +385,486 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_update_title\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "105" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:08 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has\",\n \"name\": \"Test SpreadsheetTest test_update_title\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:08 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "202" + ] + }, + "body": { + "string": "{\n \"id\": \"1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has\",\n \"name\": \"Test SpreadsheetTest test_update_title\",\n \"createdTime\": \"2023-07-20T08:56:06.364Z\",\n \"modifiedTime\": \"2023-07-20T08:56:07.338Z\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has:batchUpdate", + "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"title\": \"\\ud83c\\udf8a Updated Title #123 \\ud83c\\udf89\"}, \"fields\": \"title\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "141" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3326" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has\",\n \"properties\": {\n \"title\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:10 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_values_batch_get.json b/tests/cassettes/SpreadsheetTest.test_values_batch_get.json index cfb7727fe..53bdac666 100644 --- a/tests/cassettes/SpreadsheetTest.test_values_batch_get.json +++ b/tests/cassettes/SpreadsheetTest.test_values_batch_get.json @@ -543,6 +543,650 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_values_batch_get\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "109" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:13 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "196" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"name\": \"Test SpreadsheetTest test_values_batch_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:14 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3340" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_values_batch_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:14 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "206" + ] + }, + "body": { + "string": "{\n \"id\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"name\": \"Test SpreadsheetTest test_values_batch_get\",\n \"createdTime\": \"2023-07-20T08:56:11.141Z\",\n \"modifiedTime\": \"2023-07-20T08:56:11.157Z\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"\\ud83c\\udf35 test_values_batch_get 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 10, \"columnCount\": 10}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "171" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:14 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "401" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1872392523,\n \"title\": \"\ud83c\udf35 test_values_batch_get 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 10,\n \"columnCount\": 10\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik/values/%F0%9F%8C%B5%20test_values_batch_get%201%21A1?valueInputOption=RAW", + "body": "{\"values\": [[\"\\ud83c\\udf47\", \"\\ud83c\\udf49\", \"\\ud83c\\udf4b\"], [\"\\ud83c\\udf50\", \"\\ud83c\\udf4e\", \"\\ud83c\\udf53\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "112" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:14 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"updatedRange\": \"'\ud83c\udf35 test_values_batch_get 1'!A1:C2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 3,\n \"updatedCells\": 6\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik/values:batchGet?ranges=%F0%9F%8C%B5+test_values_batch_get+1%21A%3AA&ranges=%F0%9F%8C%B5+test_values_batch_get+1%21B%3AB&ranges=%F0%9F%8C%B5+test_values_batch_get+1%21C%3AC", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "699" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"valueRanges\": [\n {\n \"range\": \"'\ud83c\udf35 test_values_batch_get 1'!A1:A10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf47\"\n ],\n [\n \"\ud83c\udf50\"\n ]\n ]\n },\n {\n \"range\": \"'\ud83c\udf35 test_values_batch_get 1'!B1:B10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf49\"\n ],\n [\n \"\ud83c\udf4e\"\n ]\n ]\n },\n {\n \"range\": \"'\ud83c\udf35 test_values_batch_get 1'!C1:C10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf4b\"\n ],\n [\n \"\ud83c\udf53\"\n ]\n ]\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 1872392523}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "56" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:15 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_values_get.json b/tests/cassettes/SpreadsheetTest.test_values_get.json index 83439deef..3972f6fef 100644 --- a/tests/cassettes/SpreadsheetTest.test_values_get.json +++ b/tests/cassettes/SpreadsheetTest.test_values_get.json @@ -543,6 +543,650 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_values_get\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:19 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE\",\n \"name\": \"Test SpreadsheetTest test_values_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:19 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3334" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_values_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:20 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "200" + ] + }, + "body": { + "string": "{\n \"id\": \"1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE\",\n \"name\": \"Test SpreadsheetTest test_values_get\",\n \"createdTime\": \"2023-07-20T08:56:16.797Z\",\n \"modifiedTime\": \"2023-07-20T08:56:16.818Z\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"\\ud83c\\udf35 test_values_get 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 10, \"columnCount\": 10}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "165" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:20 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "394" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 330409107,\n \"title\": \"\ud83c\udf35 test_values_get 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 10,\n \"columnCount\": 10\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE/values/%F0%9F%8C%B5%20test_values_get%201%21A1?valueInputOption=RAW", + "body": "{\"values\": [[\"\\ud83c\\udf47\", \"\\ud83c\\udf49\", \"\\ud83c\\udf4b\"], [\"\\ud83c\\udf50\", \"\\ud83c\\udf4e\", \"\\ud83c\\udf53\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "112" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:20 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "186" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE\",\n \"updatedRange\": \"'\ud83c\udf35 test_values_get 1'!A1:C2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 3,\n \"updatedCells\": 6\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE/values/%F0%9F%8C%B5%20test_values_get%201", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:21 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "203" + ] + }, + "body": { + "string": "{\n \"range\": \"'\ud83c\udf35 test_values_get 1'!A1:J10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf47\",\n \"\ud83c\udf49\",\n \"\ud83c\udf4b\"\n ],\n [\n \"\ud83c\udf50\",\n \"\ud83c\udf4e\",\n \"\ud83c\udf53\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 330409107}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "55" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:21 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:21 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_worksheet.json b/tests/cassettes/SpreadsheetTest.test_worksheet.json index 21b26648d..76cc34095 100644 --- a/tests/cassettes/SpreadsheetTest.test_worksheet.json +++ b/tests/cassettes/SpreadsheetTest.test_worksheet.json @@ -306,6 +306,404 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:24 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "189" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY\",\n \"name\": \"Test SpreadsheetTest test_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3333" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:25 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "199" + ] + }, + "body": { + "string": "{\n \"id\": \"1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY\",\n \"name\": \"Test SpreadsheetTest test_worksheet\",\n \"createdTime\": \"2023-07-20T08:56:22.564Z\",\n \"modifiedTime\": \"2023-07-20T08:56:22.581Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3333" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:26 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_worksheet_iteration.json b/tests/cassettes/SpreadsheetTest.test_worksheet_iteration.json index 145b166a7..125bd95f7 100644 --- a/tests/cassettes/SpreadsheetTest.test_worksheet_iteration.json +++ b/tests/cassettes/SpreadsheetTest.test_worksheet_iteration.json @@ -379,6 +379,480 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_worksheet_iteration\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "112" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:28 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "199" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8\",\n \"name\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:29 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:29 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "209" + ] + }, + "body": { + "string": "{\n \"id\": \"1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8\",\n \"name\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"createdTime\": \"2023-07-20T08:56:26.618Z\",\n \"modifiedTime\": \"2023-07-20T08:56:27.548Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:29 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:29 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:30 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_worksheets.json b/tests/cassettes/SpreadsheetTest.test_worksheets.json index e5c82a7b7..6c8f38483 100644 --- a/tests/cassettes/SpreadsheetTest.test_worksheets.json +++ b/tests/cassettes/SpreadsheetTest.test_worksheets.json @@ -458,6 +458,562 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_worksheets\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:33 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y\",\n \"name\": \"Test SpreadsheetTest test_worksheets\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3334" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:34 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "200" + ] + }, + "body": { + "string": "{\n \"id\": \"1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y\",\n \"name\": \"Test SpreadsheetTest test_worksheets\",\n \"createdTime\": \"2023-07-20T08:56:30.791Z\",\n \"modifiedTime\": \"2023-07-20T08:56:30.812Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3334" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"finances\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "145" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "383" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1271133701,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:35 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3580" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1271133701,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:35 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_worksheets_exclude_hidden.json b/tests/cassettes/SpreadsheetTest.test_worksheets_exclude_hidden.json index 5e1bac665..5db3b064a 100644 --- a/tests/cassettes/SpreadsheetTest.test_worksheets_exclude_hidden.json +++ b/tests/cassettes/SpreadsheetTest.test_worksheets_exclude_hidden.json @@ -616,6 +616,726 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "118" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:38 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "205" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"name\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3349" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:39 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "215" + ] + }, + "body": { + "string": "{\n \"id\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"name\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"createdTime\": \"2023-07-20T08:56:36.158Z\",\n \"modifiedTime\": \"2023-07-20T08:56:36.173Z\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"finances\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "145" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "382" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 698100757,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"gacha\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "142" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:40 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "380" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1305070531,\n \"title\": \"gacha\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 1305070531, \"hidden\": true}, \"fields\": \"hidden\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "118" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:40 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:40 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3861" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 698100757,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1305070531,\n \"title\": \"gacha\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n },\n \"hidden\": true\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:40 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3861" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 698100757,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1305070531,\n \"title\": \"gacha\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n },\n \"hidden\": true\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:41 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_acell.json b/tests/cassettes/WorksheetTest.test_acell.json index 96d6a1914..0062ab56f 100644 --- a/tests/cassettes/WorksheetTest.test_acell.json +++ b/tests/cassettes/WorksheetTest.test_acell.json @@ -455,6 +455,559 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_acell\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "96" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:46 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "183" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY\",\n \"name\": \"Test WorksheetTest test_acell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:47 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3327" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:47 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "193" + ] + }, + "body": { + "string": "{\n \"id\": \"16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY\",\n \"name\": \"Test WorksheetTest test_acell\",\n \"createdTime\": \"2023-07-20T08:56:43.744Z\",\n \"modifiedTime\": \"2023-07-20T08:56:43.766Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:47 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3327" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:48 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:48 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "55" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:48 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_append_row.json b/tests/cassettes/WorksheetTest.test_append_row.json index d93af8bf1..5aa5cf66f 100644 --- a/tests/cassettes/WorksheetTest.test_append_row.json +++ b/tests/cassettes/WorksheetTest.test_append_row.json @@ -534,6 +534,641 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_append_row\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "101" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:50 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "188" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"name\": \"Test WorksheetTest test_append_row\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:51 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:51 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"id\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"name\": \"Test WorksheetTest test_append_row\",\n \"createdTime\": \"2023-07-20T08:56:49.210Z\",\n \"modifiedTime\": \"2023-07-20T08:56:49.846Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:51 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:52 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "body": "{\"values\": [[\"test_append_row 1\", \"test_append_row 2\", \"test_append_row 3\", \"test_append_row 4\", \"test_append_row 5\", \"test_append_row 6\", \"test_append_row 7\", \"test_append_row 8\", \"test_append_row 9\", \"test_append_row 10\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "225" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:52 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "266" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"updates\": {\n \"spreadsheetId\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"updatedRange\": \"Sheet1!A1:J1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg/values/%27Sheet1%27%21A1%3A1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:52 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "359" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:Z1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_append_row 1\",\n \"test_append_row 2\",\n \"test_append_row 3\",\n \"test_append_row 4\",\n \"test_append_row 5\",\n \"test_append_row 6\",\n \"test_append_row 7\",\n \"test_append_row 8\",\n \"test_append_row 9\",\n \"test_append_row 10\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:53 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_append_row_with_empty_value.json b/tests/cassettes/WorksheetTest.test_append_row_with_empty_value.json index c7b153a77..b7b9beaff 100644 --- a/tests/cassettes/WorksheetTest.test_append_row_with_empty_value.json +++ b/tests/cassettes/WorksheetTest.test_append_row_with_empty_value.json @@ -613,6 +613,723 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_append_row_with_empty_value\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "118" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:56 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "205" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:57 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3349" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:57 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "215" + ] + }, + "body": { + "string": "{\n \"id\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"createdTime\": \"2023-07-20T08:56:53.367Z\",\n \"modifiedTime\": \"2023-07-20T08:56:53.383Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:57 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3349" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:58 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "body": "{\"values\": [[\"test_append_row_with_empty_value 1\", \"\", \"test_append_row_with_empty_value 3\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "94" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:58 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "264" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"updates\": {\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"updatedRange\": \"Sheet1!A1:C1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "body": "{\"values\": [[\"test_append_row_with_empty_value 1\", \"\", \"test_append_row_with_empty_value 3\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "94" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:58 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "293" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"tableRange\": \"Sheet1!C1\",\n \"updates\": {\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"updatedRange\": \"Sheet1!C2:E2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc/values/%27Sheet1%27%21A2%3A2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:58 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "206" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:Z2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\",\n \"\",\n \"test_append_row_with_empty_value 1\",\n \"\",\n \"test_append_row_with_empty_value 3\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:56:59 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_append_row_with_empty_value_and_table_range.json b/tests/cassettes/WorksheetTest.test_append_row_with_empty_value_and_table_range.json index 55e40c4ea..234e6a26c 100644 --- a/tests/cassettes/WorksheetTest.test_append_row_with_empty_value_and_table_range.json +++ b/tests/cassettes/WorksheetTest.test_append_row_with_empty_value_and_table_range.json @@ -613,6 +613,723 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "134" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:02 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "221" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:03 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3365" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:03 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "231" + ] + }, + "body": { + "string": "{\n \"id\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"createdTime\": \"2023-07-20T08:57:00.311Z\",\n \"modifiedTime\": \"2023-07-20T08:57:00.331Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:03 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3365" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:04 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "body": "{\"values\": [[\"test_append_row_with_empty_value_and_table_range 1\", \"\", \"test_append_row_with_empty_value_and_table_range 3\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "126" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:04 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "264" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"updates\": {\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"updatedRange\": \"Sheet1!A1:C1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw/values/%27Sheet1%27%21A1:append?valueInputOption=RAW&includeValuesInResponse=False", + "body": "{\"values\": [[\"test_append_row_with_empty_value_and_table_range 1\", \"\", \"test_append_row_with_empty_value_and_table_range 3\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "126" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:04 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "293" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"tableRange\": \"Sheet1!A1\",\n \"updates\": {\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"updatedRange\": \"Sheet1!A2:C2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw/values/%27Sheet1%27%21A2%3A2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:05 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "218" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:Z2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_append_row_with_empty_value_and_table_range 1\",\n \"\",\n \"test_append_row_with_empty_value_and_table_range 3\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:05 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_auto_resize_columns.json b/tests/cassettes/WorksheetTest.test_auto_resize_columns.json index f74daba27..2a3d4fd30 100644 --- a/tests/cassettes/WorksheetTest.test_auto_resize_columns.json +++ b/tests/cassettes/WorksheetTest.test_auto_resize_columns.json @@ -686,6 +686,799 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_auto_resize_columns\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "110" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:08 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "197" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"name\": \"Test WorksheetTest test_auto_resize_columns\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_auto_resize_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:09 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "207" + ] + }, + "body": { + "string": "{\n \"id\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"name\": \"Test WorksheetTest test_auto_resize_columns\",\n \"createdTime\": \"2023-07-20T08:57:06.002Z\",\n \"modifiedTime\": \"2023-07-20T08:57:06.026Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_auto_resize_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:10 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "1042" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:10 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM?fields=sheets.data.columnMetadata", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:10 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "1679" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"columnMetadata\": [\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n }\n ]\n }\n ]\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM:batchUpdate", + "body": "{\"requests\": [{\"autoResizeDimensions\": {\"dimensions\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 1}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "128" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:11 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM?fields=sheets.data.columnMetadata", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:11 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "1680" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"columnMetadata\": [\n {\n \"pixelSize\": 8691\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n }\n ]\n }\n ]\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:11 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_basic_filters.json b/tests/cassettes/WorksheetTest.test_basic_filters.json index 3ba854cdb..597b83df9 100644 --- a/tests/cassettes/WorksheetTest.test_basic_filters.json +++ b/tests/cassettes/WorksheetTest.test_basic_filters.json @@ -1069,6 +1069,1197 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_basic_filters\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:14 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"name\": \"Test WorksheetTest test_basic_filters\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:14 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3335" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:14 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "201" + ] + }, + "body": { + "string": "{\n \"id\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"name\": \"Test WorksheetTest test_basic_filters\",\n \"createdTime\": \"2023-07-20T08:57:12.313Z\",\n \"modifiedTime\": \"2023-07-20T08:57:13.284Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3335" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 20, \"columnCount\": 20}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "192" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM:batchUpdate", + "body": "{\"requests\": [{\"setBasicFilter\": {\"filter\": {\"range\": {\"sheetId\": 0}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "73" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3517" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n },\n \"basicFilter\": {\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 20,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 20\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM:batchUpdate", + "body": "{\"requests\": [{\"setBasicFilter\": {\"filter\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 3, \"sheetId\": 0}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "155" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3515" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n },\n \"basicFilter\": {\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 1,\n \"endColumnIndex\": 3\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM:batchUpdate", + "body": "{\"requests\": [{\"setBasicFilter\": {\"filter\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 3, \"sheetId\": 0}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "155" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3515" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n },\n \"basicFilter\": {\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 1,\n \"endColumnIndex\": 3\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM:batchUpdate", + "body": "{\"requests\": [{\"clearBasicFilter\": {\"sheetId\": 0}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "52" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3333" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:18 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_batch_clear.json b/tests/cassettes/WorksheetTest.test_batch_clear.json index ebc836549..5679ef87b 100644 --- a/tests/cassettes/WorksheetTest.test_batch_clear.json +++ b/tests/cassettes/WorksheetTest.test_batch_clear.json @@ -1130,6 +1130,1261 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_batch_clear\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:20 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "189" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"name\": \"Test WorksheetTest test_batch_clear\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:20 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3333" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:21 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "199" + ] + }, + "body": { + "string": "{\n \"id\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"name\": \"Test WorksheetTest test_batch_clear\",\n \"createdTime\": \"2023-07-20T08:57:18.632Z\",\n \"modifiedTime\": \"2023-07-20T08:57:19.294Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:21 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3333" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:21 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:21 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3333" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21A1%3AB1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:B1\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21C2%3AE2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!C2:E2\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21A1%3AB1?valueInputOption=RAW", + "body": "{\"values\": [[\"12345\", \"ThisIsText\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "37" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "168" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"updatedRange\": \"Sheet1!A1:B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21C2%3AE2?valueInputOption=RAW", + "body": "{\"values\": [[\"5678\", \"Second\", \"Text\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "40" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "168" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"updatedRange\": \"Sheet1!C2:E2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21A1%3AB1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "123" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"12345\",\n \"ThisIsText\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21C2%3AE2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:23 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "132" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!C2:E2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"5678\",\n \"Second\",\n \"Text\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values:batchClear", + "body": "{\"ranges\": [\"'Sheet1'!A1:B1\", \"'Sheet1'!C2:E2\"]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "48" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:23 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "135" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"clearedRanges\": [\n \"Sheet1!A1:B1\",\n \"Sheet1!C2:E2\"\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21A1%3AB1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:23 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:B1\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21C2%3AE2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:23 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!C2:E2\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:24 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_batch_get.json b/tests/cassettes/WorksheetTest.test_batch_get.json index 274241ad7..9756d9106 100644 --- a/tests/cassettes/WorksheetTest.test_batch_get.json +++ b/tests/cassettes/WorksheetTest.test_batch_get.json @@ -534,6 +534,641 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_batch_get\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "100" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:27 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "187" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"name\": \"Test WorksheetTest test_batch_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:27 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3331" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:27 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "197" + ] + }, + "body": { + "string": "{\n \"id\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"name\": \"Test WorksheetTest test_batch_get\",\n \"createdTime\": \"2023-07-20T08:57:24.776Z\",\n \"modifiedTime\": \"2023-07-20T08:57:24.795Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:28 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3331" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:28 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA/values/%27Sheet1%27%21A1?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [\"\", \"b2\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", \"B4\", \"\", \"D4\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:28 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA/values:batchGet?ranges=%27Sheet1%27%21A1%3AB1&ranges=%27Sheet1%27%21B4%3AD4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:28 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "413" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"valueRanges\": [\n {\n \"range\": \"Sheet1!A1:B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\"\n ]\n ]\n },\n {\n \"range\": \"Sheet1!B4:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"B4\",\n \"\",\n \"D4\"\n ]\n ]\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:29 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_batch_update.json b/tests/cassettes/WorksheetTest.test_batch_update.json index 2a4661c24..4e355361e 100644 --- a/tests/cassettes/WorksheetTest.test_batch_update.json +++ b/tests/cassettes/WorksheetTest.test_batch_update.json @@ -534,6 +534,641 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_batch_update\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:32 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"name\": \"Test WorksheetTest test_batch_update\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:33 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3334" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_update\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:33 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "200" + ] + }, + "body": { + "string": "{\n \"id\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"name\": \"Test WorksheetTest test_batch_update\",\n \"createdTime\": \"2023-07-20T08:57:30.088Z\",\n \"modifiedTime\": \"2023-07-20T08:57:30.106Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:33 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3334" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_update\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k/values:batchUpdate", + "body": "{\"valueInputOption\": \"RAW\", \"data\": [{\"range\": \"'Sheet1'!A1:D1\", \"values\": [[\"A1\", \"B1\", \"\", \"D1\"]]}, {\"range\": \"'Sheet1'!A4:D4\", \"values\": [[\"A4\", \"B4\", \"\", \"D4\"]]}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "167" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "591" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"totalUpdatedRows\": 2,\n \"totalUpdatedColumns\": 4,\n \"totalUpdatedCells\": 8,\n \"totalUpdatedSheets\": 1,\n \"responses\": [\n {\n \"spreadsheetId\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"updatedRange\": \"Sheet1!A1:D1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 4,\n \"updatedCells\": 4\n },\n {\n \"spreadsheetId\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"updatedRange\": \"Sheet1!A4:D4\",\n \"updatedRows\": 1,\n \"updatedColumns\": 4,\n \"updatedCells\": 4\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k/values/%27Sheet1%27%21A1%3AD4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "208" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [],\n [],\n [\n \"A4\",\n \"B4\",\n \"\",\n \"D4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:35 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_cell.json b/tests/cassettes/WorksheetTest.test_cell.json index 20dcd722d..1df2fa048 100644 --- a/tests/cassettes/WorksheetTest.test_cell.json +++ b/tests/cassettes/WorksheetTest.test_cell.json @@ -455,6 +455,559 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_cell\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "95" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:38 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "182" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI\",\n \"name\": \"Test WorksheetTest test_cell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:38 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3326" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:39 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"id\": \"1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI\",\n \"name\": \"Test WorksheetTest test_cell\",\n \"createdTime\": \"2023-07-20T08:57:35.825Z\",\n \"modifiedTime\": \"2023-07-20T08:57:35.841Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3326" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:40 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "55" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:40 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_clear.json b/tests/cassettes/WorksheetTest.test_clear.json index 10d91ad22..ebd2e35d1 100644 --- a/tests/cassettes/WorksheetTest.test_clear.json +++ b/tests/cassettes/WorksheetTest.test_clear.json @@ -683,6 +683,796 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_clear\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "96" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:42 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "183" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"name\": \"Test WorksheetTest test_clear\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:43 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3327" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:43 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "193" + ] + }, + "body": { + "string": "{\n \"id\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"name\": \"Test WorksheetTest test_clear\",\n \"createdTime\": \"2023-07-20T08:57:40.954Z\",\n \"modifiedTime\": \"2023-07-20T08:57:41.967Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:43 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3327" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/values/%27Sheet1%27%21A1%3AD6", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "body": "{\"values\": [[\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "131" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:45 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "61" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:45 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_clear_tab_color.json b/tests/cassettes/WorksheetTest.test_clear_tab_color.json index 5197e78f2..73f3d7129 100644 --- a/tests/cassettes/WorksheetTest.test_clear_tab_color.json +++ b/tests/cassettes/WorksheetTest.test_clear_tab_color.json @@ -686,6 +686,799 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_clear_tab_color\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:49 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "193" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"name\": \"Test WorksheetTest test_clear_tab_color\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:49 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3337" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:49 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "203" + ] + }, + "body": { + "string": "{\n \"id\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"name\": \"Test WorksheetTest test_clear_tab_color\",\n \"createdTime\": \"2023-07-20T08:57:46.675Z\",\n \"modifiedTime\": \"2023-07-20T08:57:46.691Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:50 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3337" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:50 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8?fields=sheets.properties.tabColorStyle", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:50 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "57" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"properties\": {}\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"tabColorStyle\": {\"rgbColor\": {\"red\": 1, \"green\": 0, \"blue\": 0.5}}}, \"fields\": \"tabColorStyle\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "168" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:51 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"tabColorStyle\": {\"rgbColor\": null}}, \"fields\": \"tabColorStyle\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "137" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:51 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8?fields=sheets.properties.tabColorStyle", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:51 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "57" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"properties\": {}\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:52 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_copy_cut_range.json b/tests/cassettes/WorksheetTest.test_copy_cut_range.json index 56dff26a4..c5854027c 100644 --- a/tests/cassettes/WorksheetTest.test_copy_cut_range.json +++ b/tests/cassettes/WorksheetTest.test_copy_cut_range.json @@ -838,6 +838,957 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_copy_cut_range\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "105" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:53 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"name\": \"Test WorksheetTest test_copy_cut_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:54 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_copy_cut_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:54 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "202" + ] + }, + "body": { + "string": "{\n \"id\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"name\": \"Test WorksheetTest test_copy_cut_range\",\n \"createdTime\": \"2023-07-20T08:57:52.415Z\",\n \"modifiedTime\": \"2023-07-20T08:57:53.089Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:55 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_copy_cut_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:55 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/values/%27Sheet1%27%21A1%3AA2?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\"], [\"A2\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "28" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:55 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "168" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"updatedRange\": \"Sheet1!A1:A2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 1,\n \"updatedCells\": 2\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk:batchUpdate", + "body": "{\"requests\": [{\"copyPaste\": {\"source\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"destination\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 2, \"sheetId\": 0}, \"pasteType\": \"PASTE_NORMAL\", \"pasteOrientation\": \"NORMAL\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "311" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/values/%27Sheet1%27%21B1%3AB2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "124" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!B1:B2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\"\n ],\n [\n \"A2\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk:batchUpdate", + "body": "{\"requests\": [{\"cutPaste\": {\"source\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"destination\": {\"sheetId\": 0, \"rowIndex\": 0, \"columnIndex\": 2}, \"pasteType\": \"PASTE_NORMAL\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "231" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/values/%27Sheet1%27%21A1%3AA2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:A2\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/values/%27Sheet1%27%21C1%3AC2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "124" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!C1:C2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\"\n ],\n [\n \"A2\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:57 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_delete_cols.json b/tests/cassettes/WorksheetTest.test_delete_cols.json index f8fa020b0..e6ece58c8 100644 --- a/tests/cassettes/WorksheetTest.test_delete_cols.json +++ b/tests/cassettes/WorksheetTest.test_delete_cols.json @@ -905,6 +905,1027 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_delete_cols\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:57:59 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "189" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"name\": \"Test WorksheetTest test_delete_cols\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:00 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3333" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:00 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "199" + ] + }, + "body": { + "string": "{\n \"id\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"name\": \"Test WorksheetTest test_delete_cols\",\n \"createdTime\": \"2023-07-20T08:57:57.975Z\",\n \"modifiedTime\": \"2023-07-20T08:57:59.056Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:00 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3333" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:01 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27%21A1%3AD6", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:01 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "body": "{\"values\": [[\"test_delete_cols 1\", \"test_delete_cols 2\", \"test_delete_cols 3\", \"test_delete_cols 4\"], [\"test_delete_cols 5\", \"test_delete_cols 6\", \"test_delete_cols 7\", \"test_delete_cols 8\"], [\"test_delete_cols 9\", \"test_delete_cols 10\", \"test_delete_cols 11\", \"test_delete_cols 12\"], [\"test_delete_cols 13\", \"test_delete_cols 14\", \"test_delete_cols 15\", \"test_delete_cols 16\"], [\"test_delete_cols 17\", \"test_delete_cols 18\", \"test_delete_cols 19\", \"test_delete_cols 20\"], [\"test_delete_cols 21\", \"test_delete_cols 22\", \"test_delete_cols 23\", \"test_delete_cols 24\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "567" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:01 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27%21A1%3AA?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:01 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "265" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:A1000\",\n \"majorDimension\": \"COLUMNS\",\n \"values\": [\n [\n \"test_delete_cols 1\",\n \"test_delete_cols 5\",\n \"test_delete_cols 9\",\n \"test_delete_cols 13\",\n \"test_delete_cols 17\",\n \"test_delete_cols 21\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27%21D1%3AD?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:02 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "266" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!D1:D1000\",\n \"majorDimension\": \"COLUMNS\",\n \"values\": [\n [\n \"test_delete_cols 4\",\n \"test_delete_cols 8\",\n \"test_delete_cols 12\",\n \"test_delete_cols 16\",\n \"test_delete_cols 20\",\n \"test_delete_cols 24\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ:batchUpdate", + "body": "{\"requests\": [{\"deleteDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 1, \"endIndex\": 3}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "118" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:02 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27%21A1%3AA?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:02 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "265" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:A1000\",\n \"majorDimension\": \"COLUMNS\",\n \"values\": [\n [\n \"test_delete_cols 1\",\n \"test_delete_cols 5\",\n \"test_delete_cols 9\",\n \"test_delete_cols 13\",\n \"test_delete_cols 17\",\n \"test_delete_cols 21\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27%21B1%3AB?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:02 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "266" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!B1:B1000\",\n \"majorDimension\": \"COLUMNS\",\n \"values\": [\n [\n \"test_delete_cols 4\",\n \"test_delete_cols 8\",\n \"test_delete_cols 12\",\n \"test_delete_cols 16\",\n \"test_delete_cols 20\",\n \"test_delete_cols 24\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:03 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_delete_row.json b/tests/cassettes/WorksheetTest.test_delete_row.json index baa98f211..e54397019 100644 --- a/tests/cassettes/WorksheetTest.test_delete_row.json +++ b/tests/cassettes/WorksheetTest.test_delete_row.json @@ -1148,6 +1148,1279 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_delete_row\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "101" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:06 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "188" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"name\": \"Test WorksheetTest test_delete_row\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:07 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:07 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"id\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"name\": \"Test WorksheetTest test_delete_row\",\n \"createdTime\": \"2023-07-20T08:58:03.834Z\",\n \"modifiedTime\": \"2023-07-20T08:58:03.854Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:07 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "body": "{\"values\": [[\"test_delete_row 1\", \"test_delete_row 2\", \"test_delete_row 3\", \"test_delete_row 4\", \"test_delete_row 5\", \"test_delete_row 6\", \"test_delete_row 7\", \"test_delete_row 8\", \"test_delete_row 9\", \"test_delete_row 10\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "225" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "266" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"updates\": {\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"updatedRange\": \"Sheet1!A1:J1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "body": "{\"values\": [[\"test_delete_row 11\", \"test_delete_row 12\", \"test_delete_row 13\", \"test_delete_row 14\", \"test_delete_row 15\", \"test_delete_row 16\", \"test_delete_row 17\", \"test_delete_row 18\", \"test_delete_row 19\", \"test_delete_row 20\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "234" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "298" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"tableRange\": \"Sheet1!A1:J1\",\n \"updates\": {\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"updatedRange\": \"Sheet1!A2:J2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "body": "{\"values\": [[\"test_delete_row 21\", \"test_delete_row 22\", \"test_delete_row 23\", \"test_delete_row 24\", \"test_delete_row 25\", \"test_delete_row 26\", \"test_delete_row 27\", \"test_delete_row 28\", \"test_delete_row 29\", \"test_delete_row 30\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "234" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "298" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"tableRange\": \"Sheet1!A1:J2\",\n \"updates\": {\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"updatedRange\": \"Sheet1!A3:J3\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "body": "{\"values\": [[\"test_delete_row 31\", \"test_delete_row 32\", \"test_delete_row 33\", \"test_delete_row 34\", \"test_delete_row 35\", \"test_delete_row 36\", \"test_delete_row 37\", \"test_delete_row 38\", \"test_delete_row 39\", \"test_delete_row 40\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "234" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "298" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"tableRange\": \"Sheet1!A1:J3\",\n \"updates\": {\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"updatedRange\": \"Sheet1!A4:J4\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "body": "{\"values\": [[\"test_delete_row 41\", \"test_delete_row 42\", \"test_delete_row 43\", \"test_delete_row 44\", \"test_delete_row 45\", \"test_delete_row 46\", \"test_delete_row 47\", \"test_delete_row 48\", \"test_delete_row 49\", \"test_delete_row 50\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "234" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "298" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"tableRange\": \"Sheet1!A1:J4\",\n \"updates\": {\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"updatedRange\": \"Sheet1!A5:J5\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27%21A1%3A1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "359" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:Z1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_delete_row 1\",\n \"test_delete_row 2\",\n \"test_delete_row 3\",\n \"test_delete_row 4\",\n \"test_delete_row 5\",\n \"test_delete_row 6\",\n \"test_delete_row 7\",\n \"test_delete_row 8\",\n \"test_delete_row 9\",\n \"test_delete_row 10\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27%21A3%3A3", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "368" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A3:Z3\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_delete_row 21\",\n \"test_delete_row 22\",\n \"test_delete_row 23\",\n \"test_delete_row 24\",\n \"test_delete_row 25\",\n \"test_delete_row 26\",\n \"test_delete_row 27\",\n \"test_delete_row 28\",\n \"test_delete_row 29\",\n \"test_delete_row 30\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI:batchUpdate", + "body": "{\"requests\": [{\"deleteDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 1, \"endIndex\": 2}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "115" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:10 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27%21A1%3A1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:10 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "359" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:Z1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_delete_row 1\",\n \"test_delete_row 2\",\n \"test_delete_row 3\",\n \"test_delete_row 4\",\n \"test_delete_row 5\",\n \"test_delete_row 6\",\n \"test_delete_row 7\",\n \"test_delete_row 8\",\n \"test_delete_row 9\",\n \"test_delete_row 10\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27%21A2%3A2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:10 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "368" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:Z2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_delete_row 21\",\n \"test_delete_row 22\",\n \"test_delete_row 23\",\n \"test_delete_row 24\",\n \"test_delete_row 25\",\n \"test_delete_row 26\",\n \"test_delete_row 27\",\n \"test_delete_row 28\",\n \"test_delete_row 29\",\n \"test_delete_row 30\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:11 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_find.json b/tests/cassettes/WorksheetTest.test_find.json index 833a257f8..803d4d297 100644 --- a/tests/cassettes/WorksheetTest.test_find.json +++ b/tests/cassettes/WorksheetTest.test_find.json @@ -1069,6 +1069,1197 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_find\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "95" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:13 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "182" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"name\": \"Test WorksheetTest test_find\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:14 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3326" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_find\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:14 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"id\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"name\": \"Test WorksheetTest test_find\",\n \"createdTime\": \"2023-07-20T08:58:11.451Z\",\n \"modifiedTime\": \"2023-07-20T08:58:11.471Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:14 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3326" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_find\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27%21J2?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"test_find 1\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "29" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"updatedRange\": \"Sheet1!J2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27%21K2?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"test_find 1\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "29" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"updatedRange\": \"Sheet1!K2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "231" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"test_find 1\",\n \"test_find 1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27%21K2?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"test_find 1o_Otest_find 2\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "43" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"updatedRange\": \"Sheet1!K2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "245" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"test_find 1\",\n \"test_find 1o_Otest_find 2\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "245" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"test_find 1\",\n \"test_find 1o_Otest_find 2\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27%21J2?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"camelcase\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "27" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"updatedRange\": \"Sheet1!J2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27%21K2?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"CamelCase\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "27" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"updatedRange\": \"Sheet1!K2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "227" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"camelcase\",\n \"CamelCase\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:17 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_findall.json b/tests/cassettes/WorksheetTest.test_findall.json index 8f64281e8..49adaa1dd 100644 --- a/tests/cassettes/WorksheetTest.test_findall.json +++ b/tests/cassettes/WorksheetTest.test_findall.json @@ -832,6 +832,951 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_findall\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:19 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "185" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"name\": \"Test WorksheetTest test_findall\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:20 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3329" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_findall\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:21 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "195" + ] + }, + "body": { + "string": "{\n \"id\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"name\": \"Test WorksheetTest test_findall\",\n \"createdTime\": \"2023-07-20T08:58:18.254Z\",\n \"modifiedTime\": \"2023-07-20T08:58:19.021Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:21 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3329" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_findall\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:21 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27%21A1%3AA10", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:21 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "59" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:A10\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27%21A1%3AA10?valueInputOption=RAW", + "body": "{\"values\": [[\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "212" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "171" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"updatedRange\": \"Sheet1!A1:A10\",\n \"updatedRows\": 10,\n \"updatedColumns\": 1,\n \"updatedCells\": 10\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "439" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27%21A1%3AA10", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "437" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:A10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27%21A1%3AA10?valueInputOption=RAW", + "body": "{\"values\": [[\"test_findall 1h_Htest_findall 2\"], [\"test_findall 1p_Ptest_findall 2\"], [\"test_findall 1e_Etest_findall 2\"], [\"test_findall 1i_Itest_findall 2\"], [\"test_findall 1d_Dtest_findall 2\"], [\"test_findall 1u_Utest_findall 2\"], [\"test_findall 1q_Qtest_findall 2\"], [\"test_findall 1h_Htest_findall 2\"], [\"test_findall 1y_Ytest_findall 2\"], [\"test_findall 1u_Utest_findall 2\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "382" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "171" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"updatedRange\": \"Sheet1!A1:A10\",\n \"updatedRows\": 10,\n \"updatedColumns\": 1,\n \"updatedCells\": 10\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:23 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "609" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_findall 1h_Htest_findall 2\"\n ],\n [\n \"test_findall 1p_Ptest_findall 2\"\n ],\n [\n \"test_findall 1e_Etest_findall 2\"\n ],\n [\n \"test_findall 1i_Itest_findall 2\"\n ],\n [\n \"test_findall 1d_Dtest_findall 2\"\n ],\n [\n \"test_findall 1u_Utest_findall 2\"\n ],\n [\n \"test_findall 1q_Qtest_findall 2\"\n ],\n [\n \"test_findall 1h_Htest_findall 2\"\n ],\n [\n \"test_findall 1y_Ytest_findall 2\"\n ],\n [\n \"test_findall 1u_Utest_findall 2\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:23 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_format.json b/tests/cassettes/WorksheetTest.test_format.json index e3b5120dd..457269288 100644 --- a/tests/cassettes/WorksheetTest.test_format.json +++ b/tests/cassettes/WorksheetTest.test_format.json @@ -534,6 +534,641 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_format\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "97" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:26 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "184" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8\",\n \"name\": \"Test WorksheetTest test_format\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:26 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_format\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:27 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "194" + ] + }, + "body": { + "string": "{\n \"id\": \"1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8\",\n \"name\": \"Test WorksheetTest test_format\",\n \"createdTime\": \"2023-07-20T08:58:24.016Z\",\n \"modifiedTime\": \"2023-07-20T08:58:24.037Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:27 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_format\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:27 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8:batchUpdate", + "body": "{\"requests\": [{\"repeatCell\": {\"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}, \"cell\": {\"userEnteredFormat\": {\"backgroundColor\": {\"green\": 1, \"blue\": 1}, \"horizontalAlignment\": \"CENTER\", \"textFormat\": {\"foregroundColor\": {\"red\": 1, \"green\": 1}, \"fontSize\": 12, \"bold\": true}}}, \"fields\": \"userEnteredFormat(backgroundColor,horizontalAlignment,textFormat)\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "417" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:27 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8?includeGridData=False&ranges=Sheet1%21A2&fields=sheets.data.rowData.values.userEnteredFormat", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:28 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "1140" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"userEnteredFormat\": {\n \"backgroundColor\": {\n \"green\": 1,\n \"blue\": 1\n },\n \"horizontalAlignment\": \"CENTER\",\n \"textFormat\": {\n \"foregroundColor\": {\n \"red\": 1,\n \"green\": 1\n },\n \"fontSize\": 12,\n \"bold\": true,\n \"foregroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1\n }\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"green\": 1,\n \"blue\": 1\n }\n }\n }\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:28 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_freeze.json b/tests/cassettes/WorksheetTest.test_freeze.json index 3d06a8302..ec509db46 100644 --- a/tests/cassettes/WorksheetTest.test_freeze.json +++ b/tests/cassettes/WorksheetTest.test_freeze.json @@ -838,6 +838,957 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_freeze\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "97" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:31 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "184" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"name\": \"Test WorksheetTest test_freeze\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:32 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:32 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "194" + ] + }, + "body": { + "string": "{\n \"id\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"name\": \"Test WorksheetTest test_freeze\",\n \"createdTime\": \"2023-07-20T08:58:29.060Z\",\n \"modifiedTime\": \"2023-07-20T08:58:29.076Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:32 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:33 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"frozenRowCount\": 2}}, \"fields\": \"gridProperties/frozenRowCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:33 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:33 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3359" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"frozenRowCount\": 2\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"frozenColumnCount\": 1}}, \"fields\": \"gridProperties/frozenColumnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "163" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3393" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"frozenRowCount\": 2,\n \"frozenColumnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"frozenRowCount\": 0, \"frozenColumnCount\": 0}}, \"fields\": \"gridProperties/frozenRowCount,gridProperties/frozenColumnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "214" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:35 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_get_all_records.json b/tests/cassettes/WorksheetTest.test_get_all_records.json index a5b46264d..a9b653979 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records.json @@ -905,6 +905,1027 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_get_all_records\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:37 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "193" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"name\": \"Test WorksheetTest test_get_all_records\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:37 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3337" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:38 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "203" + ] + }, + "body": { + "string": "{\n \"id\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"name\": \"Test WorksheetTest test_get_all_records\",\n \"createdTime\": \"2023-07-20T08:58:35.860Z\",\n \"modifiedTime\": \"2023-07-20T08:58:36.531Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:38 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3337" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:38 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27%21A1%3AD4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "95" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "249" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:40 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "249" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:40 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "249" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:40 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "249" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:41 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json b/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json index fbf2affd9..bb196d3e8 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json @@ -905,6 +905,1027 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_get_all_records_different_header\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "123" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:42 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "210" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"name\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:43 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3354" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:43 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "220" + ] + }, + "body": { + "string": "{\n \"id\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"name\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"createdTime\": \"2023-07-20T08:58:41.449Z\",\n \"modifiedTime\": \"2023-07-20T08:58:42.143Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:43 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3354" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27%21A1%3AD6", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "body": "{\"values\": [[\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "131" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:45 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:45 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "265" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [],\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:45 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "265" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [],\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:45 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "265" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [],\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:45 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "265" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [],\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:46 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json b/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json index 80207066b..895b1a405 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json @@ -686,6 +686,799 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_get_all_records_duplicate_keys\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "121" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:49 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "208" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"name\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:49 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3352" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:50 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "218" + ] + }, + "body": { + "string": "{\n \"id\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"name\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"createdTime\": \"2023-07-20T08:58:46.878Z\",\n \"modifiedTime\": \"2023-07-20T08:58:46.897Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:50 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3352" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:50 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:50 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk/values/%27Sheet1%27%21A1%3AD4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:51 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"A1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "95" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:51 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:51 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "249" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"A1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:52 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json b/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json index 0d521162f..b13228846 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json @@ -832,6 +832,951 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_get_all_records_expected_headers\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "123" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:54 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "210" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"name\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3354" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:56 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "220" + ] + }, + "body": { + "string": "{\n \"id\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"name\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"createdTime\": \"2023-07-20T08:58:52.540Z\",\n \"modifiedTime\": \"2023-07-20T08:58:52.559Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3354" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:57 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/values/%27Sheet1%27%21A1%3AD4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:57 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B2\", \"C3\", \"D4\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "97" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:57 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:57 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "251" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B2\",\n \"C3\",\n \"D4\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:58 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "251" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B2\",\n \"C3\",\n \"D4\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:58 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "251" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B2\",\n \"C3\",\n \"D4\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:58:58 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json b/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json index bfbe42800..c32687056 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json @@ -686,6 +686,799 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "129" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:01 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "216" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"name\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:03 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3360" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:03 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "226" + ] + }, + "body": { + "string": "{\n \"id\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"name\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"createdTime\": \"2023-07-20T08:58:59.153Z\",\n \"modifiedTime\": \"2023-07-20T08:58:59.173Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:03 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3360" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:04 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:04 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY/values/%27Sheet1%27%21A1%3AD2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:04 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"A\", \"\", \"C\", \"3_1_0\"], [\"=3/2\", 0.12, \"\", \"3_2_1\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "66" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:05 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "168" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:05 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "195" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A\",\n \"\",\n \"C\",\n \"3_1_0\"\n ],\n [\n 1.5,\n 0.12,\n \"\",\n \"3_2_1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:06 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_value_render_options.json b/tests/cassettes/WorksheetTest.test_get_all_records_value_render_options.json index 5b9c494aa..950844832 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_value_render_options.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_value_render_options.json @@ -832,6 +832,951 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_get_all_records_value_render_options\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "127" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:10 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "214" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"name\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:10 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3358" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:11 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "224" + ] + }, + "body": { + "string": "{\n \"id\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"name\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"createdTime\": \"2023-07-20T08:59:07.355Z\",\n \"modifiedTime\": \"2023-07-20T08:59:07.379Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:11 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3358" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:11 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:11 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/values/%27Sheet1%27%21A1%3AD2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:12 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"=4/2\", \"2020-01-01\", \"string\", 53], [\"=3/2\", 0.12, \"1999-01-02\", \"\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "84" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:12 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "168" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:12 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "206" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"2\",\n \"2020-01-01\",\n \"string\",\n \"53\"\n ],\n [\n \"1.5\",\n \"0.12\",\n \"1999-01-02\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:12 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "184" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 2,\n 43831,\n \"string\",\n 53\n ],\n [\n 1.5,\n 0.12,\n 36162\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/values/%27Sheet1%27?valueRenderOption=FORMULA", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:12 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"=4/2\",\n 43831,\n \"string\",\n 53\n ],\n [\n \"=3/2\",\n 0.12,\n 36162\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:13 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_get_all_values.json b/tests/cassettes/WorksheetTest.test_get_all_values.json index 7d5352860..0435db295 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_values.json +++ b/tests/cassettes/WorksheetTest.test_get_all_values.json @@ -905,6 +905,1027 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_get_all_values\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "105" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:16 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"name\": \"Test WorksheetTest test_get_all_values\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:17 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "202" + ] + }, + "body": { + "string": "{\n \"id\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"name\": \"Test WorksheetTest test_get_all_values\",\n \"createdTime\": \"2023-07-20T08:59:13.905Z\",\n \"modifiedTime\": \"2023-07-20T08:59:13.924Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27%21A1%3AD1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27%21A2%3AD2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27%21A3%3AD3", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A3:D3\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27%21A4%3AD4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:19 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A4:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [\"\", \"b2\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", \"B4\", \"\", \"D4\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:19 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:19 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "234" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"\",\n \"b2\"\n ],\n [],\n [\n \"A4\",\n \"B4\",\n \"\",\n \"D4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:20 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_get_all_values_date_time_render_options.json b/tests/cassettes/WorksheetTest.test_get_all_values_date_time_render_options.json index 2798bb5c6..066acdff4 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_values_date_time_render_options.json +++ b/tests/cassettes/WorksheetTest.test_get_all_values_date_time_render_options.json @@ -905,6 +905,1027 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_get_all_values_date_time_render_options\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "130" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:22 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "217" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"name\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:23 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3361" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:23 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "227" + ] + }, + "body": { + "string": "{\n \"id\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"name\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"createdTime\": \"2023-07-20T08:59:20.469Z\",\n \"modifiedTime\": \"2023-07-20T08:59:21.511Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:23 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3361" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:24 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:24 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27%21A1%3AD2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:24 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"=4/2\", \"2020-01-01\", \"string\", 53], [\"=3/2\", 0.12, \"1999-01-02\", \"\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "84" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:24 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "168" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "184" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 2,\n 43831,\n \"string\",\n 53\n ],\n [\n 1.5,\n 0.12,\n 36162\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 2,\n \"2020-01-01\",\n \"string\",\n 53\n ],\n [\n 1.5,\n 0.12,\n \"1999-01-02\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27?valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "206" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"2\",\n \"2020-01-01\",\n \"string\",\n \"53\"\n ],\n [\n \"1.5\",\n \"0.12\",\n \"1999-01-02\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27?valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "206" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"2\",\n \"2020-01-01\",\n \"string\",\n \"53\"\n ],\n [\n \"1.5\",\n \"0.12\",\n \"1999-01-02\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:26 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_get_all_values_title_is_a1_notation.json b/tests/cassettes/WorksheetTest.test_get_all_values_title_is_a1_notation.json index 2f42e5772..26d56065f 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_values_title_is_a1_notation.json +++ b/tests/cassettes/WorksheetTest.test_get_all_values_title_is_a1_notation.json @@ -984,6 +984,1109 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "126" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:29 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "213" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"name\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:29 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3357" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:29 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "223" + ] + }, + "body": { + "string": "{\n \"id\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"name\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"createdTime\": \"2023-07-20T08:59:26.832Z\",\n \"modifiedTime\": \"2023-07-20T08:59:26.853Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:30 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3357" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:30 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:30 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"title\": \"D3\"}, \"fields\": \"title\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:30 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27D3%27%21A1%3AD1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:31 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "56" + ] + }, + "body": { + "string": "{\n \"range\": \"'D3'!A1:D1\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27D3%27%21A2%3AD2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:31 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "56" + ] + }, + "body": { + "string": "{\n \"range\": \"'D3'!A2:D2\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27D3%27%21A3%3AD3", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:31 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "56" + ] + }, + "body": { + "string": "{\n \"range\": \"'D3'!A3:D3\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27D3%27%21A4%3AD4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:31 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "56" + ] + }, + "body": { + "string": "{\n \"range\": \"'D3'!A4:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27D3%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [\"\", \"b2\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", \"B4\", \"\", \"d4\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:32 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "167" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"updatedRange\": \"'D3'!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27D3%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:32 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "232" + ] + }, + "body": { + "string": "{\n \"range\": \"'D3'!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"\",\n \"b2\"\n ],\n [],\n [\n \"A4\",\n \"B4\",\n \"\",\n \"d4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:32 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_get_values_and_combine_merged_cells.json b/tests/cassettes/WorksheetTest.test_get_values_and_combine_merged_cells.json index e203e7888..92eac1d1b 100644 --- a/tests/cassettes/WorksheetTest.test_get_values_and_combine_merged_cells.json +++ b/tests/cassettes/WorksheetTest.test_get_values_and_combine_merged_cells.json @@ -996,6 +996,1121 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "126" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:35 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "213" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"name\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:35 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3357" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:35 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "223" + ] + }, + "body": { + "string": "{\n \"id\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"name\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"createdTime\": \"2023-07-20T08:59:33.219Z\",\n \"modifiedTime\": \"2023-07-20T08:59:34.272Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:36 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3357" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:36 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:36 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"1\", \"\", \"\", \"\"], [\"\", \"\", \"title\", \"\"], [\"\", \"\", \"2\", \"\"], [\"num\", \"val\", \"\", \"0\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:37 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ:batchUpdate", + "body": "{\"requests\": [{\"mergeCells\": {\"mergeType\": \"MERGE_ALL\", \"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "165" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:37 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ:batchUpdate", + "body": "{\"requests\": [{\"mergeCells\": {\"mergeType\": \"MERGE_ALL\", \"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 2, \"endColumnIndex\": 4, \"sheetId\": 0}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "165" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:38 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ:batchUpdate", + "body": "{\"requests\": [{\"mergeCells\": {\"mergeType\": \"MERGE_ALL\", \"range\": {\"startRowIndex\": 2, \"endRowIndex\": 4, \"startColumnIndex\": 2, \"endColumnIndex\": 3, \"sheetId\": 0}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "165" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:38 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:38 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "248" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\"\n ],\n [\n \"\",\n \"\",\n \"title\"\n ],\n [\n \"\",\n \"\",\n \"2\"\n ],\n [\n \"num\",\n \"val\",\n \"\",\n \"0\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:38 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "248" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\"\n ],\n [\n \"\",\n \"\",\n \"title\"\n ],\n [\n \"\",\n \"\",\n \"2\"\n ],\n [\n \"num\",\n \"val\",\n \"\",\n \"0\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3805" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 4,\n \"columnCount\": 4\n }\n },\n \"merges\": [\n {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n },\n {\n \"startRowIndex\": 1,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 2,\n \"endColumnIndex\": 4\n },\n {\n \"startRowIndex\": 2,\n \"endRowIndex\": 4,\n \"startColumnIndex\": 2,\n \"endColumnIndex\": 3\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:39 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_group_columns.json b/tests/cassettes/WorksheetTest.test_group_columns.json index 49d7f8f2e..e64983351 100644 --- a/tests/cassettes/WorksheetTest.test_group_columns.json +++ b/tests/cassettes/WorksheetTest.test_group_columns.json @@ -686,6 +686,799 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_group_columns\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:42 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"name\": \"Test WorksheetTest test_group_columns\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:43 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3335" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:43 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "201" + ] + }, + "body": { + "string": "{\n \"id\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"name\": \"Test WorksheetTest test_group_columns\",\n \"createdTime\": \"2023-07-20T08:59:40.032Z\",\n \"modifiedTime\": \"2023-07-20T08:59:40.049Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:43 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3335" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU:batchUpdate", + "body": "{\"requests\": [{\"addDimensionGroup\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 2}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "120" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "360" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"replies\": [\n {\n \"addDimensionGroup\": {\n \"dimensionGroups\": [\n {\n \"range\": {\n \"dimension\": \"COLUMNS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3577" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"columnGroupControlAfter\": true\n }\n },\n \"columnGroups\": [\n {\n \"range\": {\n \"dimension\": \"COLUMNS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU:batchUpdate", + "body": "{\"requests\": [{\"deleteDimensionGroup\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 2}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "123" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "135" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"replies\": [\n {\n \"deleteDimensionGroup\": {}\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:45 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3378" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"columnGroupControlAfter\": true\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:45 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_group_rows.json b/tests/cassettes/WorksheetTest.test_group_rows.json index 6bd7d5b30..817252e21 100644 --- a/tests/cassettes/WorksheetTest.test_group_rows.json +++ b/tests/cassettes/WorksheetTest.test_group_rows.json @@ -686,6 +686,799 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_group_rows\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "101" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:48 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "188" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"name\": \"Test WorksheetTest test_group_rows\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:49 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:49 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"id\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"name\": \"Test WorksheetTest test_group_rows\",\n \"createdTime\": \"2023-07-20T08:59:46.159Z\",\n \"modifiedTime\": \"2023-07-20T08:59:46.175Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:49 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:49 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0:batchUpdate", + "body": "{\"requests\": [{\"addDimensionGroup\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 2}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "117" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:50 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "357" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"replies\": [\n {\n \"addDimensionGroup\": {\n \"dimensionGroups\": [\n {\n \"range\": {\n \"dimension\": \"ROWS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:50 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3565" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"rowGroupControlAfter\": true\n }\n },\n \"rowGroups\": [\n {\n \"range\": {\n \"dimension\": \"ROWS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0:batchUpdate", + "body": "{\"requests\": [{\"deleteDimensionGroup\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 2}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "120" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:50 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "135" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"replies\": [\n {\n \"deleteDimensionGroup\": {}\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:50 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3372" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"rowGroupControlAfter\": true\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:51 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_hide_columns_rows.json b/tests/cassettes/WorksheetTest.test_hide_columns_rows.json index 3a9151957..ffcecbd37 100644 --- a/tests/cassettes/WorksheetTest.test_hide_columns_rows.json +++ b/tests/cassettes/WorksheetTest.test_hide_columns_rows.json @@ -698,6 +698,811 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_hide_columns_rows\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:54 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "195" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"name\": \"Test WorksheetTest test_hide_columns_rows\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:55 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3339" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_columns_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:55 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "205" + ] + }, + "body": { + "string": "{\n \"id\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"name\": \"Test WorksheetTest test_hide_columns_rows\",\n \"createdTime\": \"2023-07-20T08:59:51.997Z\",\n \"modifiedTime\": \"2023-07-20T08:59:52.020Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:55 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3339" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_columns_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM:batchUpdate", + "body": "{\"requests\": [{\"updateDimensionProperties\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 2}, \"properties\": {\"hiddenByUser\": true}, \"fields\": \"hiddenByUser\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "192" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM:batchUpdate", + "body": "{\"requests\": [{\"updateDimensionProperties\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 2}, \"properties\": {\"hiddenByUser\": false}, \"fields\": \"hiddenByUser\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "193" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM:batchUpdate", + "body": "{\"requests\": [{\"updateDimensionProperties\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 2}, \"properties\": {\"hiddenByUser\": true}, \"fields\": \"hiddenByUser\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "189" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:57 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM:batchUpdate", + "body": "{\"requests\": [{\"updateDimensionProperties\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 2}, \"properties\": {\"hiddenByUser\": false}, \"fields\": \"hiddenByUser\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:57 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 08:59:57 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_hide_gridlines.json b/tests/cassettes/WorksheetTest.test_hide_gridlines.json index 756021adc..2e667fcfa 100644 --- a/tests/cassettes/WorksheetTest.test_hide_gridlines.json +++ b/tests/cassettes/WorksheetTest.test_hide_gridlines.json @@ -607,6 +607,717 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_hide_gridlines\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "105" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:00 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"name\": \"Test WorksheetTest test_hide_gridlines\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:01 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:02 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "202" + ] + }, + "body": { + "string": "{\n \"id\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"name\": \"Test WorksheetTest test_hide_gridlines\",\n \"createdTime\": \"2023-07-20T08:59:58.274Z\",\n \"modifiedTime\": \"2023-07-20T08:59:58.295Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:02 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:02 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:03 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"hideGridlines\": true}}, \"fields\": \"gridProperties.hideGridlines\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "158" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:03 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:03 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3369" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"hideGridlines\": true\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:04 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_hide_show_worksheet.json b/tests/cassettes/WorksheetTest.test_hide_show_worksheet.json index 4617ad3cc..1771ec472 100644 --- a/tests/cassettes/WorksheetTest.test_hide_show_worksheet.json +++ b/tests/cassettes/WorksheetTest.test_hide_show_worksheet.json @@ -917,6 +917,1039 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_hide_show_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "110" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:06 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "197" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"name\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:07 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:07 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "207" + ] + }, + "body": { + "string": "{\n \"id\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"name\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"createdTime\": \"2023-07-20T09:00:04.948Z\",\n \"modifiedTime\": \"2023-07-20T09:00:05.835Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:07 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"hidden\": true}, \"fields\": \"hidden\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "109" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 400, + "message": "Bad Request" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "177" + ] + }, + "body": { + "string": "{\n \"error\": {\n \"code\": 400,\n \"message\": \"Invalid requests[0].updateSheetProperties: You can't hide all the sheets in a document.\",\n \"status\": \"INVALID_ARGUMENT\"\n }\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"you cannot see me\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 2}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "150" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "387" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 950182682,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3591" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 950182682,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 950182682, \"hidden\": true}, \"fields\": \"hidden\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "117" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3615" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 950182682,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n },\n \"hidden\": true\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 950182682, \"hidden\": false}, \"fields\": \"hidden\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "118" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:10 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:10 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3591" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 950182682,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:10 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_insert_cols.json b/tests/cassettes/WorksheetTest.test_insert_cols.json index d9af8a03e..ba26f3872 100644 --- a/tests/cassettes/WorksheetTest.test_insert_cols.json +++ b/tests/cassettes/WorksheetTest.test_insert_cols.json @@ -838,6 +838,957 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_insert_cols\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:13 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "189" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"name\": \"Test WorksheetTest test_insert_cols\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:14 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3333" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:14 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "199" + ] + }, + "body": { + "string": "{\n \"id\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"name\": \"Test WorksheetTest test_insert_cols\",\n \"createdTime\": \"2023-07-20T09:00:11.224Z\",\n \"modifiedTime\": \"2023-07-20T09:00:11.243Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:14 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3333" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/values/%27Sheet1%27%21A1%3AD6", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "body": "{\"values\": [[\"test_insert_cols 1\", \"test_insert_cols 2\", \"test_insert_cols 3\", \"test_insert_cols 4\"], [\"test_insert_cols 5\", \"test_insert_cols 6\", \"test_insert_cols 7\", \"test_insert_cols 8\"], [\"test_insert_cols 9\", \"test_insert_cols 10\", \"test_insert_cols 11\", \"test_insert_cols 12\"], [\"test_insert_cols 13\", \"test_insert_cols 14\", \"test_insert_cols 15\", \"test_insert_cols 16\"], [\"test_insert_cols 17\", \"test_insert_cols 18\", \"test_insert_cols 19\", \"test_insert_cols 20\"], [\"test_insert_cols 21\", \"test_insert_cols 22\", \"test_insert_cols 23\", \"test_insert_cols 24\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "567" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:15 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM:batchUpdate", + "body": "{\"requests\": [{\"insertDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 1, \"endIndex\": 3}, \"inheritFromBefore\": false}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/values/%27Sheet1%27%21B1:append?valueInputOption=RAW", + "body": "{\"majorDimension\": \"COLUMNS\", \"values\": [[\"test_insert_cols 25\", \"test_insert_cols 26\", \"test_insert_cols 27\", \"test_insert_cols 28\"], [\"test_insert_cols 29\", \"test_insert_cols 30\", \"test_insert_cols 31\", \"test_insert_cols 32\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "229" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "264" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"updates\": {\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"updatedRange\": \"Sheet1!B1:C4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 2,\n \"updatedCells\": 8\n }\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/values/%27Sheet1%27%21B1%3AB?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "210" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!B1:B1000\",\n \"majorDimension\": \"COLUMNS\",\n \"values\": [\n [\n \"test_insert_cols 25\",\n \"test_insert_cols 26\",\n \"test_insert_cols 27\",\n \"test_insert_cols 28\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/values/%27Sheet1%27%21C1%3AC?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "210" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!C1:C1000\",\n \"majorDimension\": \"COLUMNS\",\n \"values\": [\n [\n \"test_insert_cols 29\",\n \"test_insert_cols 30\",\n \"test_insert_cols 31\",\n \"test_insert_cols 32\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:17 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_insert_row.json b/tests/cassettes/WorksheetTest.test_insert_row.json index bb7020b06..da89acbbd 100644 --- a/tests/cassettes/WorksheetTest.test_insert_row.json +++ b/tests/cassettes/WorksheetTest.test_insert_row.json @@ -1075,6 +1075,1203 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_insert_row\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "101" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:19 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "188" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"name\": \"Test WorksheetTest test_insert_row\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:20 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:20 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"id\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"name\": \"Test WorksheetTest test_insert_row\",\n \"createdTime\": \"2023-07-20T09:00:17.957Z\",\n \"modifiedTime\": \"2023-07-20T09:00:18.949Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:20 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3332" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:21 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21A1%3AD6", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:21 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "body": "{\"values\": [[\"test_insert_row 1\", \"test_insert_row 2\", \"test_insert_row 3\", \"test_insert_row 4\"], [\"test_insert_row 5\", \"test_insert_row 6\", \"test_insert_row 7\", \"test_insert_row 8\"], [\"test_insert_row 9\", \"test_insert_row 10\", \"test_insert_row 11\", \"test_insert_row 12\"], [\"test_insert_row 13\", \"test_insert_row 14\", \"test_insert_row 15\", \"test_insert_row 16\"], [\"test_insert_row 17\", \"test_insert_row 18\", \"test_insert_row 19\", \"test_insert_row 20\"], [\"test_insert_row 21\", \"test_insert_row 22\", \"test_insert_row 23\", \"test_insert_row 24\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "543" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:21 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8:batchUpdate", + "body": "{\"requests\": [{\"insertDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 1, \"endIndex\": 2}, \"inheritFromBefore\": false}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "143" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:21 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21A2:append?valueInputOption=RAW", + "body": "{\"majorDimension\": \"ROWS\", \"values\": [[\"test_insert_row 25\", \"test_insert_row 26\", \"test_insert_row 27\", \"test_insert_row 28\", \"test_insert_row 29\", \"test_insert_row 30\", \"test_insert_row 31\", \"test_insert_row 32\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "216" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "264" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"updates\": {\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"updatedRange\": \"Sheet1!A2:H2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 8,\n \"updatedCells\": 8\n }\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21A2%3A2", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "312" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:Z2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_insert_row 25\",\n \"test_insert_row 26\",\n \"test_insert_row 27\",\n \"test_insert_row 28\",\n \"test_insert_row 29\",\n \"test_insert_row 30\",\n \"test_insert_row 31\",\n \"test_insert_row 32\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21B2?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"=1+1\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"updatedRange\": \"Sheet1!B2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8:batchUpdate", + "body": "{\"requests\": [{\"insertDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 1}, \"inheritFromBefore\": false}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "143" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:22 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21A1:append?valueInputOption=RAW", + "body": "{\"majorDimension\": \"ROWS\", \"values\": [[\"test_insert_row 33\", \"test_insert_row 34\", \"test_insert_row 35\", \"test_insert_row 36\", \"test_insert_row 37\", \"test_insert_row 38\", \"test_insert_row 39\", \"test_insert_row 40\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "216" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:23 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "264" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"updates\": {\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"updatedRange\": \"Sheet1!A1:H1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 8,\n \"updatedCells\": 8\n }\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21B3?valueRenderOption=FORMULA", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:23 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "99" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!B3\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"=1+1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:23 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_range.json b/tests/cassettes/WorksheetTest.test_range.json index 2a04049e4..156b170f4 100644 --- a/tests/cassettes/WorksheetTest.test_range.json +++ b/tests/cassettes/WorksheetTest.test_range.json @@ -528,6 +528,635 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_range\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "96" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:27 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "183" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo\",\n \"name\": \"Test WorksheetTest test_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:27 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3327" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:27 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "193" + ] + }, + "body": { + "string": "{\n \"id\": \"1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo\",\n \"name\": \"Test WorksheetTest test_range\",\n \"createdTime\": \"2023-07-20T09:00:24.672Z\",\n \"modifiedTime\": \"2023-07-20T09:00:24.691Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:28 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3327" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:28 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo/values/%27Sheet1%27%21A1%3AA5", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:28 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:A5\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo/values/%27Sheet1%27%21A1%3AA5", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:28 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:A5\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:29 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_range_get_all_values.json b/tests/cassettes/WorksheetTest.test_range_get_all_values.json index 5da58d551..607999284 100644 --- a/tests/cassettes/WorksheetTest.test_range_get_all_values.json +++ b/tests/cassettes/WorksheetTest.test_range_get_all_values.json @@ -686,6 +686,799 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_range_get_all_values\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "111" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:32 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"name\": \"Test WorksheetTest test_range_get_all_values\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:32 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3342" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:33 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "208" + ] + }, + "body": { + "string": "{\n \"id\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"name\": \"Test WorksheetTest test_range_get_all_values\",\n \"createdTime\": \"2023-07-20T09:00:29.897Z\",\n \"modifiedTime\": \"2023-07-20T09:00:31.126Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:33 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3342" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:33 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:33 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"\", \"Hi\", \"Mom\", \"\"], [\"My\", \"Name\", \"is\", \"bon\"], [\"\", \"\", \"\", \"\"], [\"1\", \"2\", \"3\", \"4\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "250" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\",\n \"Hi\",\n \"Mom\"\n ],\n [\n \"My\",\n \"Name\",\n \"is\",\n \"bon\"\n ],\n [],\n [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk/values/%27Sheet1%27%21A1%3AD4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:34 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "250" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\",\n \"Hi\",\n \"Mom\"\n ],\n [\n \"My\",\n \"Name\",\n \"is\",\n \"bon\"\n ],\n [],\n [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:35 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_range_reversed.json b/tests/cassettes/WorksheetTest.test_range_reversed.json index 3e864991a..dfae6d83e 100644 --- a/tests/cassettes/WorksheetTest.test_range_reversed.json +++ b/tests/cassettes/WorksheetTest.test_range_reversed.json @@ -528,6 +528,635 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_range_reversed\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "105" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:38 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ\",\n \"name\": \"Test WorksheetTest test_range_reversed\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:38 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_reversed\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:38 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "202" + ] + }, + "body": { + "string": "{\n \"id\": \"1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ\",\n \"name\": \"Test WorksheetTest test_range_reversed\",\n \"createdTime\": \"2023-07-20T09:00:35.607Z\",\n \"modifiedTime\": \"2023-07-20T09:00:35.624Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_reversed\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ/values/%27Sheet1%27%21A1%3AD4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ/values/%27Sheet1%27%21D4%3AA1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:39 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:40 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_range_unbounded.json b/tests/cassettes/WorksheetTest.test_range_unbounded.json index 755bffc57..33ca1b294 100644 --- a/tests/cassettes/WorksheetTest.test_range_unbounded.json +++ b/tests/cassettes/WorksheetTest.test_range_unbounded.json @@ -528,6 +528,635 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_range_unbounded\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:43 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "193" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU\",\n \"name\": \"Test WorksheetTest test_range_unbounded\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:43 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3337" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_unbounded\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:43 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "203" + ] + }, + "body": { + "string": "{\n \"id\": \"1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU\",\n \"name\": \"Test WorksheetTest test_range_unbounded\",\n \"createdTime\": \"2023-07-20T09:00:40.646Z\",\n \"modifiedTime\": \"2023-07-20T09:00:40.665Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:43 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3337" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_unbounded\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU/values/%27Sheet1%27%21A1%3AC", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "61" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:C1000\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU/values/%27Sheet1%27%21A1%3AC1000", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:44 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "61" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:C1000\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:45 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_reorder_worksheets.json b/tests/cassettes/WorksheetTest.test_reorder_worksheets.json index 366f20a4c..0c5e1d8d6 100644 --- a/tests/cassettes/WorksheetTest.test_reorder_worksheets.json +++ b/tests/cassettes/WorksheetTest.test_reorder_worksheets.json @@ -680,6 +680,793 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_reorder_worksheets\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "109" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:47 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "196" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"name\": \"Test WorksheetTest test_reorder_worksheets\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:48 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3340" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:48 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "206" + ] + }, + "body": { + "string": "{\n \"id\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"name\": \"Test WorksheetTest test_reorder_worksheets\",\n \"createdTime\": \"2023-07-20T09:00:45.722Z\",\n \"modifiedTime\": \"2023-07-20T09:00:46.818Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:48 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3340" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:48 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:49 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3340" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:49 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3340" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"index\": 0}, \"fields\": \"index\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:49 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:49 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3340" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:50 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_resize.json b/tests/cassettes/WorksheetTest.test_resize.json index 7c2dac550..aee16e6ce 100644 --- a/tests/cassettes/WorksheetTest.test_resize.json +++ b/tests/cassettes/WorksheetTest.test_resize.json @@ -838,6 +838,957 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_resize\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "97" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:52 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "184" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"name\": \"Test WorksheetTest test_resize\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:53 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:53 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "194" + ] + }, + "body": { + "string": "{\n \"id\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"name\": \"Test WorksheetTest test_resize\",\n \"createdTime\": \"2023-07-20T09:00:50.939Z\",\n \"modifiedTime\": \"2023-07-20T09:00:51.985Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:54 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:54 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 1010}}, \"fields\": \"gridProperties/rowCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "148" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:54 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:55 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1010,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"columnCount\": 36}}, \"fields\": \"gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:55 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:55 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1010,\n \"columnCount\": 36\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 1000, \"columnCount\": 26}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "194" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:55 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:55 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3328" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:56 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_show_gridlines.json b/tests/cassettes/WorksheetTest.test_show_gridlines.json index f32f94b8d..ccd4150a1 100644 --- a/tests/cassettes/WorksheetTest.test_show_gridlines.json +++ b/tests/cassettes/WorksheetTest.test_show_gridlines.json @@ -686,6 +686,799 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_show_gridlines\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "105" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:58 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"name\": \"Test WorksheetTest test_show_gridlines\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:59 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:59 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "202" + ] + }, + "body": { + "string": "{\n \"id\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"name\": \"Test WorksheetTest test_show_gridlines\",\n \"createdTime\": \"2023-07-20T09:00:56.924Z\",\n \"modifiedTime\": \"2023-07-20T09:00:58.042Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:00:59 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:00 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:00 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"hideGridlines\": true}}, \"fields\": \"gridProperties.hideGridlines\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "158" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:00 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"hideGridlines\": false}}, \"fields\": \"gridProperties.hideGridlines\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "159" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:00 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:01 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:01 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_sort.json b/tests/cassettes/WorksheetTest.test_sort.json index f46a7e3b6..201b581f0 100644 --- a/tests/cassettes/WorksheetTest.test_sort.json +++ b/tests/cassettes/WorksheetTest.test_sort.json @@ -1373,6 +1373,1513 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_sort\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "95" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:04 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "182" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"name\": \"Test WorksheetTest test_sort\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:05 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3326" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_sort\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:05 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"id\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"name\": \"Test WorksheetTest test_sort\",\n \"createdTime\": \"2023-07-20T09:01:02.161Z\",\n \"modifiedTime\": \"2023-07-20T09:01:02.181Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:05 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3326" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_sort\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:06 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"columnCount\": 3}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:06 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27%21A1%3AC6", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:06 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:C6\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27%21A1%3AC6?valueInputOption=RAW", + "body": "{\"values\": [[\"Apple\", \"2012\", \"4\"], [\"Banana\", \"2013\", \"3\"], [\"Canada\", \"2007\", \"1\"], [\"Dinosaur\", \"2013\", \"6\"], [\"Elephant\", \"2019\", \"2\"], [\"Fox\", \"2077\", \"5\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "162" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:07 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"updatedRange\": \"Sheet1!A1:C6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 3,\n \"updatedCells\": 18\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY:batchUpdate", + "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 0, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 2, \"sortOrder\": \"ASCENDING\"}]}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "202" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:07 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:07 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "394" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:C6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"Canada\",\n \"2007\",\n \"1\"\n ],\n [\n \"Elephant\",\n \"2019\",\n \"2\"\n ],\n [\n \"Banana\",\n \"2013\",\n \"3\"\n ],\n [\n \"Apple\",\n \"2012\",\n \"4\"\n ],\n [\n \"Fox\",\n \"2077\",\n \"5\"\n ],\n [\n \"Dinosaur\",\n \"2013\",\n \"6\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY:batchUpdate", + "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 0, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 0, \"sortOrder\": \"DESCENDING\"}]}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "203" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:07 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "394" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:C6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"Fox\",\n \"2077\",\n \"5\"\n ],\n [\n \"Elephant\",\n \"2019\",\n \"2\"\n ],\n [\n \"Dinosaur\",\n \"2013\",\n \"6\"\n ],\n [\n \"Canada\",\n \"2007\",\n \"1\"\n ],\n [\n \"Banana\",\n \"2013\",\n \"3\"\n ],\n [\n \"Apple\",\n \"2012\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY:batchUpdate", + "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 0, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 1, \"sortOrder\": \"ASCENDING\"}, {\"dimensionIndex\": 2, \"sortOrder\": \"ASCENDING\"}]}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "251" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "394" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:C6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"Canada\",\n \"2007\",\n \"1\"\n ],\n [\n \"Apple\",\n \"2012\",\n \"4\"\n ],\n [\n \"Banana\",\n \"2013\",\n \"3\"\n ],\n [\n \"Dinosaur\",\n \"2013\",\n \"6\"\n ],\n [\n \"Elephant\",\n \"2019\",\n \"2\"\n ],\n [\n \"Fox\",\n \"2077\",\n \"5\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY:batchUpdate", + "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 0, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 2, \"sortOrder\": \"ASCENDING\"}]}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "202" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:08 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "394" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:C6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"Canada\",\n \"2007\",\n \"1\"\n ],\n [\n \"Elephant\",\n \"2019\",\n \"2\"\n ],\n [\n \"Banana\",\n \"2013\",\n \"3\"\n ],\n [\n \"Apple\",\n \"2012\",\n \"4\"\n ],\n [\n \"Fox\",\n \"2077\",\n \"5\"\n ],\n [\n \"Dinosaur\",\n \"2013\",\n \"6\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY:batchUpdate", + "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 1, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 2, \"sortOrder\": \"DESCENDING\"}]}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "203" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:09 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "394" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:C6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"Canada\",\n \"2007\",\n \"1\"\n ],\n [\n \"Dinosaur\",\n \"2013\",\n \"6\"\n ],\n [\n \"Fox\",\n \"2077\",\n \"5\"\n ],\n [\n \"Apple\",\n \"2012\",\n \"4\"\n ],\n [\n \"Banana\",\n \"2013\",\n \"3\"\n ],\n [\n \"Elephant\",\n \"2019\",\n \"2\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:10 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_update_acell.json b/tests/cassettes/WorksheetTest.test_update_acell.json index af7650a99..e0bdc4e3a 100644 --- a/tests/cassettes/WorksheetTest.test_update_acell.json +++ b/tests/cassettes/WorksheetTest.test_update_acell.json @@ -534,6 +534,641 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_update_acell\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:11 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM\",\n \"name\": \"Test WorksheetTest test_update_acell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:12 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3334" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:12 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "200" + ] + }, + "body": { + "string": "{\n \"id\": \"14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM\",\n \"name\": \"Test WorksheetTest test_update_acell\",\n \"createdTime\": \"2023-07-20T09:01:10.424Z\",\n \"modifiedTime\": \"2023-07-20T09:01:10.916Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:12 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3334" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:12 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM/values/%27Sheet1%27%21A2?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"test_update_acell 1\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "37" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:13 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM\",\n \"updatedRange\": \"Sheet1!A2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM/values/%27Sheet1%27%21A2?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:13 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "114" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_update_acell 1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:14 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_update_and_get.json b/tests/cassettes/WorksheetTest.test_update_and_get.json index 55db21bbe..61b63e97c 100644 --- a/tests/cassettes/WorksheetTest.test_update_and_get.json +++ b/tests/cassettes/WorksheetTest.test_update_and_get.json @@ -534,6 +534,641 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_update_and_get\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "105" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:16 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "192" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM\",\n \"name\": \"Test WorksheetTest test_update_and_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_and_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:18 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "202" + ] + }, + "body": { + "string": "{\n \"id\": \"17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM\",\n \"name\": \"Test WorksheetTest test_update_and_get\",\n \"createdTime\": \"2023-07-20T09:01:14.479Z\",\n \"modifiedTime\": \"2023-07-20T09:01:14.499Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3336" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_and_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM/values/%27Sheet1%27%21A1?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [\"\", \"b2\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", \"B4\", \"\", \"D4\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:19 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM/values/%27Sheet1%27%21A1%3AD4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:19 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "234" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"\",\n \"b2\"\n ],\n [],\n [\n \"A4\",\n \"B4\",\n \"\",\n \"D4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:19 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_update_cell.json b/tests/cassettes/WorksheetTest.test_update_cell.json index abe36a003..56b8ff1a2 100644 --- a/tests/cassettes/WorksheetTest.test_update_cell.json +++ b/tests/cassettes/WorksheetTest.test_update_cell.json @@ -1142,6 +1142,1273 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_update_cell\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:22 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "189" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"name\": \"Test WorksheetTest test_update_cell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:23 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3333" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:23 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "199" + ] + }, + "body": { + "string": "{\n \"id\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"name\": \"Test WorksheetTest test_update_cell\",\n \"createdTime\": \"2023-07-20T09:01:20.095Z\",\n \"modifiedTime\": \"2023-07-20T09:01:20.122Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:23 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3333" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:24 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"test_update_cell 1\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "36" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:24 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:24 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "113" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_update_cell 1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[42]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "18" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"42\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"0042\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"42\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[42.01]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:26 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:26 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "100" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"42.01\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"\\u0410\\u0440\\u0442\\u0443\\u0440\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "48" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:26 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:26 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "105" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\u0410\u0440\u0442\u0443\u0440\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:27 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_update_cell_multiline.json b/tests/cassettes/WorksheetTest.test_update_cell_multiline.json index d52868685..5a7e6d424 100644 --- a/tests/cassettes/WorksheetTest.test_update_cell_multiline.json +++ b/tests/cassettes/WorksheetTest.test_update_cell_multiline.json @@ -534,6 +534,641 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_update_cell_multiline\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "112" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:30 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "199" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc\",\n \"name\": \"Test WorksheetTest test_update_cell_multiline\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:30 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_multiline\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:30 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "209" + ] + }, + "body": { + "string": "{\n \"id\": \"1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc\",\n \"name\": \"Test WorksheetTest test_update_cell_multiline\",\n \"createdTime\": \"2023-07-20T09:01:27.650Z\",\n \"modifiedTime\": \"2023-07-20T09:01:27.669Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:31 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_multiline\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:31 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"test_update_cell_multiline 1\\ntest_update_cell_multiline 1\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "76" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:31 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:31 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "153" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_update_cell_multiline 1\\ntest_update_cell_multiline 1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:32 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_update_cell_objects.json b/tests/cassettes/WorksheetTest.test_update_cell_objects.json index 3820aacd0..4b326e6fb 100644 --- a/tests/cassettes/WorksheetTest.test_update_cell_objects.json +++ b/tests/cassettes/WorksheetTest.test_update_cell_objects.json @@ -607,6 +607,717 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_update_cell_objects\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "110" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:35 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "197" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA\",\n \"name\": \"Test WorksheetTest test_update_cell_objects\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:35 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_objects\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:35 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "207" + ] + }, + "body": { + "string": "{\n \"id\": \"14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA\",\n \"name\": \"Test WorksheetTest test_update_cell_objects\",\n \"createdTime\": \"2023-07-20T09:01:32.651Z\",\n \"modifiedTime\": \"2023-07-20T09:01:32.673Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:35 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_objects\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:36 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA/values/%27Sheet1%27%21A1%3AB2?valueInputOption=RAW", + "body": "{\"values\": [[null, \"cell row 1, col 2\"], [\"cell row 2 col 1\", null]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "69" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:36 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "168" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA\",\n \"updatedRange\": \"Sheet1!A1:B2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:36 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "112" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"cell row 1, col 2\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA/values/%27Sheet1%27%21A2?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:36 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "111" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"cell row 2 col 1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:37 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_update_cell_unicode.json b/tests/cassettes/WorksheetTest.test_update_cell_unicode.json index df9704e79..827dc9b17 100644 --- a/tests/cassettes/WorksheetTest.test_update_cell_unicode.json +++ b/tests/cassettes/WorksheetTest.test_update_cell_unicode.json @@ -534,6 +534,641 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_update_cell_unicode\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "110" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:40 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "197" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo\",\n \"name\": \"Test WorksheetTest test_update_cell_unicode\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:41 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:41 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "207" + ] + }, + "body": { + "string": "{\n \"id\": \"18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo\",\n \"name\": \"Test WorksheetTest test_update_cell_unicode\",\n \"createdTime\": \"2023-07-20T09:01:37.904Z\",\n \"modifiedTime\": \"2023-07-20T09:01:37.923Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:41 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:42 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "body": "{\"values\": [[\"I\\u00f1t\\u00ebrn\\u00e2ti\\u00f4n\\u00e0liz\\u00e6ti\\u00f8n\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "73" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:42 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:42 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "122" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"I\u00f1t\u00ebrn\u00e2ti\u00f4n\u00e0liz\u00e6ti\u00f8n\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:43 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_update_cells.json b/tests/cassettes/WorksheetTest.test_update_cells.json index caab8e7d9..343394fc8 100644 --- a/tests/cassettes/WorksheetTest.test_update_cells.json +++ b/tests/cassettes/WorksheetTest.test_update_cells.json @@ -607,6 +607,717 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_update_cells\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:46 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M\",\n \"name\": \"Test WorksheetTest test_update_cells\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:47 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3334" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:47 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "200" + ] + }, + "body": { + "string": "{\n \"id\": \"1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M\",\n \"name\": \"Test WorksheetTest test_update_cells\",\n \"createdTime\": \"2023-07-20T09:01:43.725Z\",\n \"modifiedTime\": \"2023-07-20T09:01:43.744Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:47 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3334" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:47 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M/values/%27Sheet1%27%21A1%3AA10", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:48 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "59" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:A10\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M/values/%27Sheet1%27%21A1%3AA10?valueInputOption=RAW", + "body": "{\"values\": [[\"test_update_cells 1\\ntest_update_cells 1\"], [\"test_update_cells 2\"], [\"test_update_cells 3\"], [\"test_update_cells 4\"], [\"test_update_cells 5\"], [\"test_update_cells 6\"], [\"test_update_cells 7\"], [\"test_update_cells 8\"], [\"test_update_cells 9\"], [\"test_update_cells 10\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "284" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:48 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "171" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M\",\n \"updatedRange\": \"Sheet1!A1:A10\",\n \"updatedRows\": 10,\n \"updatedColumns\": 1,\n \"updatedCells\": 10\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M/values/%27Sheet1%27%21A1%3AA10", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:48 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "509" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:A10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_update_cells 1\\ntest_update_cells 1\"\n ],\n [\n \"test_update_cells 2\"\n ],\n [\n \"test_update_cells 3\"\n ],\n [\n \"test_update_cells 4\"\n ],\n [\n \"test_update_cells 5\"\n ],\n [\n \"test_update_cells 6\"\n ],\n [\n \"test_update_cells 7\"\n ],\n [\n \"test_update_cells 8\"\n ],\n [\n \"test_update_cells 9\"\n ],\n [\n \"test_update_cells 10\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:49 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_update_cells_noncontiguous.json b/tests/cassettes/WorksheetTest.test_update_cells_noncontiguous.json index 93b3d14c0..002df2260 100644 --- a/tests/cassettes/WorksheetTest.test_update_cells_noncontiguous.json +++ b/tests/cassettes/WorksheetTest.test_update_cells_noncontiguous.json @@ -759,6 +759,875 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_update_cells_noncontiguous\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "117" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:52 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "204" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"name\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:52 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3348" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:53 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "214" + ] + }, + "body": { + "string": "{\n \"id\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"name\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"createdTime\": \"2023-07-20T09:01:49.771Z\",\n \"modifiedTime\": \"2023-07-20T09:01:49.790Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:53 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3348" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:53 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/values/%27Sheet1%27%21A1%3AD6", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:54 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "body": "{\"values\": [[\"test_update_cells_noncontiguous 1\", \"test_update_cells_noncontiguous 2\", \"test_update_cells_noncontiguous 3\", \"test_update_cells_noncontiguous 4\"], [\"test_update_cells_noncontiguous 5\", \"test_update_cells_noncontiguous 6\", \"test_update_cells_noncontiguous 7\", \"test_update_cells_noncontiguous 8\"], [\"test_update_cells_noncontiguous 9\", \"test_update_cells_noncontiguous 10\", \"test_update_cells_noncontiguous 11\", \"test_update_cells_noncontiguous 12\"], [\"test_update_cells_noncontiguous 13\", \"test_update_cells_noncontiguous 14\", \"test_update_cells_noncontiguous 15\", \"test_update_cells_noncontiguous 16\"], [\"test_update_cells_noncontiguous 17\", \"test_update_cells_noncontiguous 18\", \"test_update_cells_noncontiguous 19\", \"test_update_cells_noncontiguous 20\"], [\"test_update_cells_noncontiguous 21\", \"test_update_cells_noncontiguous 22\", \"test_update_cells_noncontiguous 23\", \"test_update_cells_noncontiguous 24\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "927" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:54 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/values/%27Sheet1%27%21A1%3AD6", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:54 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "1195" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_update_cells_noncontiguous 1\",\n \"test_update_cells_noncontiguous 2\",\n \"test_update_cells_noncontiguous 3\",\n \"test_update_cells_noncontiguous 4\"\n ],\n [\n \"test_update_cells_noncontiguous 5\",\n \"test_update_cells_noncontiguous 6\",\n \"test_update_cells_noncontiguous 7\",\n \"test_update_cells_noncontiguous 8\"\n ],\n [\n \"test_update_cells_noncontiguous 9\",\n \"test_update_cells_noncontiguous 10\",\n \"test_update_cells_noncontiguous 11\",\n \"test_update_cells_noncontiguous 12\"\n ],\n [\n \"test_update_cells_noncontiguous 13\",\n \"test_update_cells_noncontiguous 14\",\n \"test_update_cells_noncontiguous 15\",\n \"test_update_cells_noncontiguous 16\"\n ],\n [\n \"test_update_cells_noncontiguous 17\",\n \"test_update_cells_noncontiguous 18\",\n \"test_update_cells_noncontiguous 19\",\n \"test_update_cells_noncontiguous 20\"\n ],\n [\n \"test_update_cells_noncontiguous 21\",\n \"test_update_cells_noncontiguous 22\",\n \"test_update_cells_noncontiguous 23\",\n \"test_update_cells_noncontiguous 24\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "body": "{\"values\": [[\"test_update_cells_noncontiguous 25 top_left\", null, null, null], [null, null, null, null], [null, null, null, null], [null, null, null, null], [null, null, null, null], [null, null, null, \"test_update_cells_noncontiguous 26 bottom_right\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "254" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:54 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "168" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 2,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/values/%27Sheet1%27%21A1%3AD6", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:55 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "1218" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_update_cells_noncontiguous 25 top_left\",\n \"test_update_cells_noncontiguous 2\",\n \"test_update_cells_noncontiguous 3\",\n \"test_update_cells_noncontiguous 4\"\n ],\n [\n \"test_update_cells_noncontiguous 5\",\n \"test_update_cells_noncontiguous 6\",\n \"test_update_cells_noncontiguous 7\",\n \"test_update_cells_noncontiguous 8\"\n ],\n [\n \"test_update_cells_noncontiguous 9\",\n \"test_update_cells_noncontiguous 10\",\n \"test_update_cells_noncontiguous 11\",\n \"test_update_cells_noncontiguous 12\"\n ],\n [\n \"test_update_cells_noncontiguous 13\",\n \"test_update_cells_noncontiguous 14\",\n \"test_update_cells_noncontiguous 15\",\n \"test_update_cells_noncontiguous 16\"\n ],\n [\n \"test_update_cells_noncontiguous 17\",\n \"test_update_cells_noncontiguous 18\",\n \"test_update_cells_noncontiguous 19\",\n \"test_update_cells_noncontiguous 20\"\n ],\n [\n \"test_update_cells_noncontiguous 21\",\n \"test_update_cells_noncontiguous 22\",\n \"test_update_cells_noncontiguous 23\",\n \"test_update_cells_noncontiguous 26 bottom_right\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:55 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_update_cells_unicode.json b/tests/cassettes/WorksheetTest.test_update_cells_unicode.json index 886f8ebde..fef68bd7e 100644 --- a/tests/cassettes/WorksheetTest.test_update_cells_unicode.json +++ b/tests/cassettes/WorksheetTest.test_update_cells_unicode.json @@ -607,6 +607,717 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_update_cells_unicode\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "111" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:58 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "198" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw\",\n \"name\": \"Test WorksheetTest test_update_cells_unicode\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:59 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3342" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:59 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "208" + ] + }, + "body": { + "string": "{\n \"id\": \"1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw\",\n \"name\": \"Test WorksheetTest test_update_cells_unicode\",\n \"createdTime\": \"2023-07-20T09:01:55.997Z\",\n \"modifiedTime\": \"2023-07-20T09:01:56.013Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:59 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3342" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:59 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:01:59 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "55" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw/values/%27Sheet1%27%21A1%3AA1?valueInputOption=RAW", + "body": "{\"values\": [[\"I\\u00f1t\\u00ebrn\\u00e2ti\\u00f4n\\u00e0liz\\u00e6ti\\u00f8n\"]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "73" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:00 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "165" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:00 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "122" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"I\u00f1t\u00ebrn\u00e2ti\u00f4n\u00e0liz\u00e6ti\u00f8n\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:01 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_update_tab_color.json b/tests/cassettes/WorksheetTest.test_update_tab_color.json index 2adc99957..6e07237ec 100644 --- a/tests/cassettes/WorksheetTest.test_update_tab_color.json +++ b/tests/cassettes/WorksheetTest.test_update_tab_color.json @@ -607,6 +607,717 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_update_tab_color\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:03 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "194" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg\",\n \"name\": \"Test WorksheetTest test_update_tab_color\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:04 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3338" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:04 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "204" + ] + }, + "body": { + "string": "{\n \"id\": \"1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg\",\n \"name\": \"Test WorksheetTest test_update_tab_color\",\n \"createdTime\": \"2023-07-20T09:02:01.444Z\",\n \"modifiedTime\": \"2023-07-20T09:02:01.466Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:05 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3338" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:05 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg?fields=sheets.properties.tabColorStyle", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:05 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "57" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"properties\": {}\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"tabColorStyle\": {\"rgbColor\": {\"red\": 1, \"green\": 0, \"blue\": 0.5}}}, \"fields\": \"tabColorStyle\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "168" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:05 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg?fields=sheets.properties.tabColorStyle", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:06 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"properties\": {\n \"tabColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"blue\": 0.49803922\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:06 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_update_title.json b/tests/cassettes/WorksheetTest.test_update_title.json index 1406b6a90..70dc8267f 100644 --- a/tests/cassettes/WorksheetTest.test_update_title.json +++ b/tests/cassettes/WorksheetTest.test_update_title.json @@ -607,6 +607,717 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_update_title\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:09 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "190" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"name\": \"Test WorksheetTest test_update_title\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:10 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3334" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:10 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "200" + ] + }, + "body": { + "string": "{\n \"id\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"name\": \"Test WorksheetTest test_update_title\",\n \"createdTime\": \"2023-07-20T09:02:07.091Z\",\n \"modifiedTime\": \"2023-07-20T09:02:07.108Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:10 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3334" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:11 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:11 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3334" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"title\": \"I'm a new title\"}, \"fields\": \"title\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "120" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:11 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:12 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"I'm a new title\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:12 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_worksheet_notes.json b/tests/cassettes/WorksheetTest.test_worksheet_notes.json index 8819022db..08cbb9c02 100644 --- a/tests/cassettes/WorksheetTest.test_worksheet_notes.json +++ b/tests/cassettes/WorksheetTest.test_worksheet_notes.json @@ -1513,6 +1513,1659 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_worksheet_notes\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:15 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "193" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"name\": \"Test WorksheetTest test_worksheet_notes\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3337" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_notes\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:16 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "203" + ] + }, + "body": { + "string": "{\n \"id\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"name\": \"Test WorksheetTest test_worksheet_notes\",\n \"createdTime\": \"2023-07-20T09:02:13.012Z\",\n \"modifiedTime\": \"2023-07-20T09:02:13.037Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:16 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3337" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_notes\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3337" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_notes\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "69" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"data\": [\n {}\n ]\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY:batchUpdate", + "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"slim shaddy\"}]}]}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "207" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:17 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "259" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"note\": \"slim shaddy\"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY:batchUpdate", + "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"the real slim shaddy\"}]}]}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "216" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "268" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"note\": \"the real slim shaddy\"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY:batchUpdate", + "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"\"}]}]}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "196" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:18 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:19 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "69" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"data\": [\n {}\n ]\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY:batchUpdate", + "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"read my note\"}]}]}}, {\"updateCells\": {\"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 2, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"Or don't\"}]}]}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "398" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:19 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "105" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"replies\": [\n {},\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:19 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "260" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"note\": \"read my note\"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21B2&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:19 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "256" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"note\": \"Or don't\"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY:batchUpdate", + "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"remember to clean bedroom\"}]}]}}, {\"updateCells\": {\"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 2, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"do homeworks\"}]}]}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "415" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:20 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "105" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"replies\": [\n {},\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:20 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "273" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"note\": \"remember to clean bedroom\"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21B2&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:20 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "260" + ] + }, + "body": { + "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"note\": \"do homeworks\"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY:batchUpdate", + "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"\"}]}]}}, {\"updateCells\": {\"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 2, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"\"}]}]}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "378" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:20 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "105" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"replies\": [\n {},\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:21 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/WorksheetTest.test_worksheet_update_index.json b/tests/cassettes/WorksheetTest.test_worksheet_update_index.json index 9d3c94299..e3550f452 100644 --- a/tests/cassettes/WorksheetTest.test_worksheet_update_index.json +++ b/tests/cassettes/WorksheetTest.test_worksheet_update_index.json @@ -765,6 +765,881 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_worksheet_update_index\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "113" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:23 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "200" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"name\": \"Test WorksheetTest test_worksheet_update_index\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:23 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3344" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Pragma": [ + "no-cache" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:23 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "content-length": [ + "210" + ] + }, + "body": { + "string": "{\n \"id\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"name\": \"Test WorksheetTest test_worksheet_update_index\",\n \"createdTime\": \"2023-07-20T09:02:21.650Z\",\n \"modifiedTime\": \"2023-07-20T09:02:22.401Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:24 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3344" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:24 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_sheet\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "147" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:24 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "385" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1128614081,\n \"title\": \"test_sheet\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_sheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "149" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "386" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 202284930,\n \"title\": \"test_sheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3841" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1128614081,\n \"title\": \"test_sheet\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 202284930,\n \"title\": \"test_sheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 202284930, \"index\": 0}, \"fields\": \"index\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "112" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:25 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3841" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 202284930,\n \"title\": \"test_sheet 2\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1128614081,\n \"title\": \"test_sheet\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Content-Length": [ + "0" + ], + "Date": [ + "Thu, 20 Jul 2023 09:02:26 GMT" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ] + }, + "body": { + "string": "" + } + } } ] } From 640653f92bcf24ab3aef95087798dd75c414c1be Mon Sep 17 00:00:00 2001 From: alifeee Date: Thu, 20 Jul 2023 10:05:34 +0100 Subject: [PATCH 17/28] whitespace change (for lint) --- gspread/spreadsheet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gspread/spreadsheet.py b/gspread/spreadsheet.py index 3086ba533..b697cd453 100644 --- a/gspread/spreadsheet.py +++ b/gspread/spreadsheet.py @@ -7,6 +7,7 @@ """ import warnings + from .exceptions import WorksheetNotFound from .urls import ( DRIVE_FILES_API_V3_URL, From c452a0ea33097cc71f34a316fed2809d715f0072 Mon Sep 17 00:00:00 2001 From: alifeee Date: Tue, 25 Jul 2023 16:48:05 +0100 Subject: [PATCH 18/28] update cassettes for real for real this time --- ...preadsheetTest.test_add_del_worksheet.json | 1237 ++-------- ...readsheetTest.test_get_lastUpdateTime.json | 820 +------ .../SpreadsheetTest.test_get_worksheet.json | 535 +---- ...eadsheetTest.test_get_worksheet_by_id.json | 535 +---- ...eadsheetTest.test_lastUpdateTime_prop.json | 686 +----- .../SpreadsheetTest.test_properties.json | 430 +--- ...sheetTest.test_refresh_lastUpdateTime.json | 471 ---- .../SpreadsheetTest.test_sheet1.json | 535 +---- ...eadsheetTest.test_timezone_and_locale.json | 789 +----- .../SpreadsheetTest.test_update_title.json | 603 +---- ...SpreadsheetTest.test_values_batch_get.json | 839 ++----- .../SpreadsheetTest.test_values_get.json | 831 ++----- .../SpreadsheetTest.test_worksheet.json | 466 +--- ...eadsheetTest.test_worksheet_iteration.json | 597 +---- .../SpreadsheetTest.test_worksheets.json | 712 +----- ...etTest.test_worksheets_exclude_hidden.json | 940 ++------ tests/cassettes/WorksheetTest.test_acell.json | 669 +----- .../WorksheetTest.test_append_row.json | 776 +----- ...Test.test_append_row_with_empty_value.json | 883 ++----- ..._row_with_empty_value_and_table_range.json | 885 ++----- ...orksheetTest.test_auto_resize_columns.json | 982 ++------ .../WorksheetTest.test_basic_filters.json | 1509 ++---------- .../WorksheetTest.test_batch_clear.json | 1586 ++----------- .../WorksheetTest.test_batch_get.json | 776 +----- .../WorksheetTest.test_batch_update.json | 778 +----- tests/cassettes/WorksheetTest.test_cell.json | 671 +----- tests/cassettes/WorksheetTest.test_clear.json | 979 ++------ .../WorksheetTest.test_clear_tab_color.json | 980 ++------ .../WorksheetTest.test_copy_cut_range.json | 1184 ++------- .../WorksheetTest.test_delete_cols.json | 1279 ++-------- .../WorksheetTest.test_delete_row.json | 1608 ++----------- tests/cassettes/WorksheetTest.test_find.json | 1503 ++---------- .../cassettes/WorksheetTest.test_findall.json | 1178 ++------- .../cassettes/WorksheetTest.test_format.json | 778 +----- .../cassettes/WorksheetTest.test_freeze.json | 1190 ++-------- .../WorksheetTest.test_get_all_records.json | 1273 ++-------- ...test_get_all_records_different_header.json | 1273 ++-------- ...t.test_get_all_records_duplicate_keys.json | 982 ++------ ...test_get_all_records_expected_headers.json | 1176 ++------- ...et_all_records_numericise_unformatted.json | 980 ++------ ..._get_all_records_value_render_options.json | 1178 ++------- .../WorksheetTest.test_get_all_values.json | 1273 ++-------- ...t_all_values_date_time_render_options.json | 1271 ++-------- ...t_get_all_values_title_is_a1_notation.json | 1388 ++--------- ...t_get_values_and_combine_merged_cells.json | 1404 ++--------- .../WorksheetTest.test_group_columns.json | 988 ++------ .../WorksheetTest.test_group_rows.json | 984 ++------ .../WorksheetTest.test_hide_columns_rows.json | 998 ++------ .../WorksheetTest.test_hide_gridlines.json | 879 ++----- ...orksheetTest.test_hide_show_worksheet.json | 1317 ++--------- .../WorksheetTest.test_insert_cols.json | 1182 ++------- .../WorksheetTest.test_insert_row.json | 1511 ++---------- tests/cassettes/WorksheetTest.test_range.json | 768 +----- ...rksheetTest.test_range_get_all_values.json | 984 ++------ .../WorksheetTest.test_range_reversed.json | 770 +----- .../WorksheetTest.test_range_unbounded.json | 768 +----- ...WorksheetTest.test_reorder_worksheets.json | 976 ++------ .../cassettes/WorksheetTest.test_resize.json | 1190 ++-------- .../WorksheetTest.test_show_gridlines.json | 986 ++------ tests/cassettes/WorksheetTest.test_sort.json | 1915 +++------------ .../WorksheetTest.test_update_acell.json | 776 +----- .../WorksheetTest.test_update_and_get.json | 774 +----- .../WorksheetTest.test_update_cell.json | 1602 ++----------- ...ksheetTest.test_update_cell_multiline.json | 778 +----- ...orksheetTest.test_update_cell_objects.json | 877 ++----- ...orksheetTest.test_update_cell_unicode.json | 778 +----- .../WorksheetTest.test_update_cells.json | 875 ++----- ...tTest.test_update_cells_noncontiguous.json | 1081 ++------- ...rksheetTest.test_update_cells_unicode.json | 877 ++----- .../WorksheetTest.test_update_tab_color.json | 875 ++----- .../WorksheetTest.test_update_title.json | 881 ++----- .../WorksheetTest.test_worksheet_notes.json | 2105 +++-------------- ...sheetTest.test_worksheet_update_index.json | 1101 ++------- 73 files changed, 10980 insertions(+), 62034 deletions(-) delete mode 100644 tests/cassettes/SpreadsheetTest.test_refresh_lastUpdateTime.json diff --git a/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json b/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json index b1db714bf..9923d108f 100644 --- a/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json +++ b/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "110" ], @@ -39,32 +42,17 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Date": [ + "Tue, 25 Jul 2023 15:38:37 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:03 GMT" + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -72,89 +60,37 @@ "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "content-length": [ - "197" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" + "X-Content-Type-Options": [ + "nosniff" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" + "Pragma": [ + "no-cache" ], "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" + "Origin, X-Origin" ], - "X-XSS-Protection": [ - "0" + "Transfer-Encoding": [ + "chunked" ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:15:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], "content-length": [ - "3341" + "197" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA/edit\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -172,6 +108,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -183,31 +122,17 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Date": [ + "Tue, 25 Jul 2023 15:38:38 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:03 GMT" + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -215,99 +140,34 @@ "Cache-Control": [ "private" ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "157" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" + "Transfer-Encoding": [ + "chunked" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:15:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], "content-length": [ - "393" + "3341" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 69994548,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" } } }, { "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -324,11 +184,8 @@ "x-goog-api-client": [ "cred-type/sa" ], - "Content-Length": [ - "157" - ], - "Content-Type": [ - "application/json" + "x-identity-trust-boundary": [ + "0" ], "authorization": [ "" @@ -341,751 +198,55 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Date": [ + "Tue, 25 Jul 2023 15:38:38 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:04 GMT" + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "393" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 16730616,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3853" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 69994548,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 16730616,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 69994548}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "54" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 16730616}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "54" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:05 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:05 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:06 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 404, - "message": "Not Found" - }, - "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "private, max-age=0" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:52:16 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Expires": [ - "Thu, 20 Jul 2023 08:52:16 GMT" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "364" - ] - }, - "body": { - "string": "{\n \"error\": {\n \"code\": 404,\n \"message\": \"File not found: 1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA.\",\n \"errors\": [\n {\n \"message\": \"File not found: 1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA.\",\n \"domain\": \"global\",\n \"reason\": \"notFound\",\n \"location\": \"fileId\",\n \"locationType\": \"parameter\"\n }\n ]\n }\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_add_del_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "110" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:25 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "197" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:26 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:26 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "207" ] }, "body": { - "string": "{\n \"id\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"createdTime\": \"2023-07-20T08:55:23.235Z\",\n \"modifiedTime\": \"2023-07-20T08:55:23.251Z\"\n}\n" + "string": "{\n \"id\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"createdTime\": \"2023-07-25T15:38:34.842Z\",\n \"modifiedTime\": \"2023-07-25T15:38:36.246Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1117,51 +278,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:39 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:26 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3341" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", "headers": { "User-Agent": [ @@ -1199,51 +360,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:39 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:27 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "394" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 108599385,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 654035640,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", "headers": { "User-Agent": [ @@ -1281,51 +442,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:40 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:27 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ - "395" + "394" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1711575169,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 591499596,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1357,52 +518,52 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:40 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:27 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ - "3856" + "3855" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 108599385,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1711575169,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 654035640,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 591499596,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 108599385}}]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 654035640}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -1439,52 +600,52 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:40 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:28 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 1711575169}}]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 591499596}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -1505,7 +666,7 @@ "0" ], "Content-Length": [ - "56" + "55" ], "Content-Type": [ "application/json" @@ -1521,51 +682,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:41 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:29 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1597,51 +758,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:41 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:29 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3341" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1jVhpey0l3aTvCgIs-dU4WQkV-xLPaQ634q00rseDAb8?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1676,26 +837,26 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:38:42 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -1703,14 +864,14 @@ "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:29 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_get_lastUpdateTime.json b/tests/cassettes/SpreadsheetTest.test_get_lastUpdateTime.json index ed37378b3..06d344862 100644 --- a/tests/cassettes/SpreadsheetTest.test_get_lastUpdateTime.json +++ b/tests/cassettes/SpreadsheetTest.test_get_lastUpdateTime.json @@ -42,619 +42,55 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Date": [ - "Sat, 15 Jul 2023 17:19:08 GMT" - ], - "Server": [ - "ESF" - ], - "content-length": [ - "198" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "private" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Date": [ - "Sat, 15 Jul 2023 17:19:08 GMT" - ], - "Server": [ - "ESF" - ], - "content-length": [ - "3342" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Date": [ - "Sat, 15 Jul 2023 17:19:09 GMT" - ], - "Server": [ - "ESF" - ], - "content-length": [ - "208" - ] - }, - "body": { - "string": "{\n \"id\": \"1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"createdTime\": \"2023-07-15T17:19:05.759Z\",\n \"modifiedTime\": \"2023-07-15T17:19:05.776Z\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Date": [ - "Sat, 15 Jul 2023 17:19:09 GMT" - ], - "Server": [ - "ESF" - ], - "content-length": [ - "208" - ] - }, - "body": { - "string": "{\n \"id\": \"1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"createdTime\": \"2023-07-15T17:19:05.759Z\",\n \"modifiedTime\": \"2023-07-15T17:19:05.776Z\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ:batchUpdate", - "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"title\": \"\\ud83c\\udf8a Updated Title #123 \\ud83c\\udf89\"}, \"fields\": \"title\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "141" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "private" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Date": [ - "Sat, 15 Jul 2023 17:19:10 GMT" - ], - "Server": [ - "ESF" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Date": [ - "Sat, 15 Jul 2023 17:19:10 GMT" - ], - "Server": [ - "ESF" - ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"id\": \"1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ\",\n \"name\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"createdTime\": \"2023-07-15T17:19:05.759Z\",\n \"modifiedTime\": \"2023-07-15T17:19:09.770Z\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1JiLUq-IJkv_gYSeezH_PGwtPc43mf67tXEJf93w8trQ?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Length": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Content-Type": [ - "text/html" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Date": [ - "Sat, 15 Jul 2023 17:19:11 GMT" - ], - "Server": [ - "ESF" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Date": [ + "Tue, 25 Jul 2023 15:38:46 GMT" ], - "x-goog-api-client": [ - "cred-type/sa" + "Content-Type": [ + "application/json; charset=UTF-8" ], - "x-identity-trust-boundary": [ + "X-XSS-Protection": [ "0" ], - "Content-Length": [ - "111" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:33 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "198" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ab9-dYej5iCT63LmFOyX9Ozbtbzo61rxKrjzdi2AYo4\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ab9-dYej5iCT63LmFOyX9Ozbtbzo61rxKrjzdi2AYo4?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -686,51 +122,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:46 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:33 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3342" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1ab9-dYej5iCT63LmFOyX9Ozbtbzo61rxKrjzdi2AYo4\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ab9-dYej5iCT63LmFOyX9Ozbtbzo61rxKrjzdi2AYo4/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1ab9-dYej5iCT63LmFOyX9Ozbtbzo61rxKrjzdi2AYo4?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -762,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:38:47 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:34 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "208" ] }, "body": { - "string": "{\n \"id\": \"1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"createdTime\": \"2023-07-20T08:55:30.724Z\",\n \"modifiedTime\": \"2023-07-20T08:55:30.746Z\"\n}\n" + "string": "{\n \"id\": \"1ab9-dYej5iCT63LmFOyX9Ozbtbzo61rxKrjzdi2AYo4\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"createdTime\": \"2023-07-25T15:38:42.709Z\",\n \"modifiedTime\": \"2023-07-25T15:38:42.729Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1ab9-dYej5iCT63LmFOyX9Ozbtbzo61rxKrjzdi2AYo4?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -842,55 +278,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:38:47 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:34 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "208" ] }, "body": { - "string": "{\n \"id\": \"1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"createdTime\": \"2023-07-20T08:55:30.724Z\",\n \"modifiedTime\": \"2023-07-20T08:55:30.746Z\"\n}\n" + "string": "{\n \"id\": \"1ab9-dYej5iCT63LmFOyX9Ozbtbzo61rxKrjzdi2AYo4\",\n \"name\": \"Test SpreadsheetTest test_get_lastUpdateTime\",\n \"createdTime\": \"2023-07-25T15:38:42.709Z\",\n \"modifiedTime\": \"2023-07-25T15:38:42.729Z\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ab9-dYej5iCT63LmFOyX9Ozbtbzo61rxKrjzdi2AYo4:batchUpdate", "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"title\": \"\\ud83c\\udf8a Updated Title #123 \\ud83c\\udf89\"}, \"fields\": \"title\"}}]}", "headers": { "User-Agent": [ @@ -928,51 +364,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:48 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:34 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1ab9-dYej5iCT63LmFOyX9Ozbtbzo61rxKrjzdi2AYo4\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1ab9-dYej5iCT63LmFOyX9Ozbtbzo61rxKrjzdi2AYo4?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1004,55 +440,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:38:48 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:35 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "192" ] }, "body": { - "string": "{\n \"id\": \"1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08\",\n \"name\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"createdTime\": \"2023-07-20T08:55:30.724Z\",\n \"modifiedTime\": \"2023-07-20T08:55:34.687Z\"\n}\n" + "string": "{\n \"id\": \"1ab9-dYej5iCT63LmFOyX9Ozbtbzo61rxKrjzdi2AYo4\",\n \"name\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"createdTime\": \"2023-07-25T15:38:42.709Z\",\n \"modifiedTime\": \"2023-07-25T15:38:47.647Z\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1zdYoqZuWUu99VL_tvzJxPzNsoRABRlvCMNRQZGU_R08?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1ab9-dYej5iCT63LmFOyX9Ozbtbzo61rxKrjzdi2AYo4?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1087,41 +523,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:38:49 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], + "Vary": [ + "Origin, X-Origin" + ], "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:35 GMT" - ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_get_worksheet.json b/tests/cassettes/SpreadsheetTest.test_get_worksheet.json index bff77e7c0..334af32fa 100644 --- a/tests/cassettes/SpreadsheetTest.test_get_worksheet.json +++ b/tests/cassettes/SpreadsheetTest.test_get_worksheet.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "106" ], @@ -39,32 +42,17 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Date": [ + "Tue, 25 Jul 2023 15:38:52 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:12 GMT" + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -72,239 +60,37 @@ "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "content-length": [ - "193" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3337" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Pragma": [ + "no-cache" ], - "x-goog-api-client": [ - "cred-type/sa" + "Vary": [ + "Origin, X-Origin" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3337" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:15:14 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "content-length": [ + "193" ] }, "body": { - "string": "" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1PcpO3jtZlKNOmpeaqTVdQWuGqvxBW4n7KtRu73KhsC4\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PcpO3jtZlKNOmpeaqTVdQWuGqvxBW4n7KtRu73KhsC4?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -332,218 +118,55 @@ }, "response": { "status": { - "code": 404, - "message": "Not Found" + "code": 200, + "message": "OK" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "private, max-age=0" - ], - "X-XSS-Protection": [ - "0" - ], "Date": [ - "Thu, 20 Jul 2023 08:52:17 GMT" + "Tue, 25 Jul 2023 15:38:52 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Expires": [ - "Thu, 20 Jul 2023 08:52:17 GMT" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "364" - ] - }, - "body": { - "string": "{\n \"error\": {\n \"code\": 404,\n \"message\": \"File not found: 1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c.\",\n \"errors\": [\n {\n \"message\": \"File not found: 1QSkTF_0QGJgfYeugfqfzqgQOOiz-I4l7MbY-qDCpj9c.\",\n \"domain\": \"global\",\n \"reason\": \"notFound\",\n \"location\": \"fileId\",\n \"locationType\": \"parameter\"\n }\n ]\n }\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_get_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ + "X-XSS-Protection": [ "0" ], - "Content-Length": [ - "106" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:39 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "193" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:39 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3337" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1PcpO3jtZlKNOmpeaqTVdQWuGqvxBW4n7KtRu73KhsC4\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1PcpO3jtZlKNOmpeaqTVdQWuGqvxBW4n7KtRu73KhsC4/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1PcpO3jtZlKNOmpeaqTVdQWuGqvxBW4n7KtRu73KhsC4?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -575,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:38:53 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:39 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "203" ] }, "body": { - "string": "{\n \"id\": \"1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet\",\n \"createdTime\": \"2023-07-20T08:55:36.235Z\",\n \"modifiedTime\": \"2023-07-20T08:55:36.262Z\"\n}\n" + "string": "{\n \"id\": \"1PcpO3jtZlKNOmpeaqTVdQWuGqvxBW4n7KtRu73KhsC4\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet\",\n \"createdTime\": \"2023-07-25T15:38:50.176Z\",\n \"modifiedTime\": \"2023-07-25T15:38:51.006Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PcpO3jtZlKNOmpeaqTVdQWuGqvxBW4n7KtRu73KhsC4?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -655,51 +278,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:53 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:40 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3337" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1PcpO3jtZlKNOmpeaqTVdQWuGqvxBW4n7KtRu73KhsC4\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1PcpO3jtZlKNOmpeaqTVdQWuGqvxBW4n7KtRu73KhsC4/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1G9QhHF43943aDUZ9nljdugU41RukRd_0ONI5qywGa2M?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1PcpO3jtZlKNOmpeaqTVdQWuGqvxBW4n7KtRu73KhsC4?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -734,26 +357,26 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:38:54 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -761,14 +384,14 @@ "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:40 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json b/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json index ccf8f74be..9b4c4eee6 100644 --- a/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json +++ b/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "112" ], @@ -39,32 +42,17 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Date": [ + "Tue, 25 Jul 2023 15:38:56 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:17 GMT" + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -72,239 +60,37 @@ "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "content-length": [ - "199" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3343" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Pragma": [ + "no-cache" ], - "x-goog-api-client": [ - "cred-type/sa" + "Vary": [ + "Origin, X-Origin" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3343" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:15:19 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "content-length": [ + "199" ] }, "body": { - "string": "" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -332,218 +118,55 @@ }, "response": { "status": { - "code": 404, - "message": "Not Found" + "code": 200, + "message": "OK" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "private, max-age=0" - ], - "X-XSS-Protection": [ - "0" - ], "Date": [ - "Thu, 20 Jul 2023 08:52:18 GMT" + "Tue, 25 Jul 2023 15:38:57 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Expires": [ - "Thu, 20 Jul 2023 08:52:18 GMT" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "364" - ] - }, - "body": { - "string": "{\n \"error\": {\n \"code\": 404,\n \"message\": \"File not found: 1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc.\",\n \"errors\": [\n {\n \"message\": \"File not found: 1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc.\",\n \"domain\": \"global\",\n \"reason\": \"notFound\",\n \"location\": \"fileId\",\n \"locationType\": \"parameter\"\n }\n ]\n }\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ + "X-XSS-Protection": [ "0" ], - "Content-Length": [ - "112" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:43 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "199" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:44 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3343" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -575,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:38:57 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:44 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "209" ] }, "body": { - "string": "{\n \"id\": \"1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"createdTime\": \"2023-07-20T08:55:40.960Z\",\n \"modifiedTime\": \"2023-07-20T08:55:40.980Z\"\n}\n" + "string": "{\n \"id\": \"1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"createdTime\": \"2023-07-25T15:38:54.531Z\",\n \"modifiedTime\": \"2023-07-25T15:38:55.718Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -655,51 +278,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:58 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:44 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3343" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1DSRj6CDuYGvUKLSTQ6ll6Esp4zSAq7ifCitBLEEY24E?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -734,26 +357,26 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:38:59 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -761,14 +384,14 @@ "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:45 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_lastUpdateTime_prop.json b/tests/cassettes/SpreadsheetTest.test_lastUpdateTime_prop.json index 9f0c6d6f1..bacdfc78b 100644 --- a/tests/cassettes/SpreadsheetTest.test_lastUpdateTime_prop.json +++ b/tests/cassettes/SpreadsheetTest.test_lastUpdateTime_prop.json @@ -43,54 +43,54 @@ }, "headers": { "Date": [ - "Sat, 15 Jul 2023 17:19:45 GMT" + "Tue, 25 Jul 2023 15:39:02 GMT" ], - "Vary": [ - "Origin, X-Origin" + "Content-Type": [ + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Pragma": [ - "no-cache" - ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Transfer-Encoding": [ "chunked" ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "199" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs\",\n \"name\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1t7XL0RyoW8MOxx15O0pLm-DK4fj1xhZeunM9ThbcgvY\",\n \"name\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1t7XL0RyoW8MOxx15O0pLm-DK4fj1xhZeunM9ThbcgvY?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -123,50 +123,50 @@ }, "headers": { "Date": [ - "Sat, 15 Jul 2023 17:19:46 GMT" + "Tue, 25 Jul 2023 15:39:02 GMT" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Content-Type": [ + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Cache-Control": [ "private" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "3343" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1t7XL0RyoW8MOxx15O0pLm-DK4fj1xhZeunM9ThbcgvY\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1t7XL0RyoW8MOxx15O0pLm-DK4fj1xhZeunM9ThbcgvY/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1t7XL0RyoW8MOxx15O0pLm-DK4fj1xhZeunM9ThbcgvY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -199,54 +199,54 @@ }, "headers": { "Date": [ - "Sat, 15 Jul 2023 17:19:46 GMT" + "Tue, 25 Jul 2023 15:39:03 GMT" ], - "Vary": [ - "Origin, X-Origin" + "Content-Type": [ + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Pragma": [ - "no-cache" - ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Transfer-Encoding": [ "chunked" ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "209" ] }, "body": { - "string": "{\n \"id\": \"1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs\",\n \"name\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"createdTime\": \"2023-07-15T17:19:43.452Z\",\n \"modifiedTime\": \"2023-07-15T17:19:44.522Z\"\n}\n" + "string": "{\n \"id\": \"1t7XL0RyoW8MOxx15O0pLm-DK4fj1xhZeunM9ThbcgvY\",\n \"name\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"createdTime\": \"2023-07-25T15:38:59.768Z\",\n \"modifiedTime\": \"2023-07-25T15:39:00.952Z\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1t7XL0RyoW8MOxx15O0pLm-DK4fj1xhZeunM9ThbcgvY:batchUpdate", "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"title\": \"\\ud83c\\udf8a Updated Title #123 \\ud83c\\udf89\"}, \"fields\": \"title\"}}]}", "headers": { "User-Agent": [ @@ -285,50 +285,50 @@ }, "headers": { "Date": [ - "Sat, 15 Jul 2023 17:19:46 GMT" + "Tue, 25 Jul 2023 15:39:04 GMT" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Content-Type": [ + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Cache-Control": [ "private" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1t7XL0RyoW8MOxx15O0pLm-DK4fj1xhZeunM9ThbcgvY\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1t7XL0RyoW8MOxx15O0pLm-DK4fj1xhZeunM9ThbcgvY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -361,54 +361,54 @@ }, "headers": { "Date": [ - "Sat, 15 Jul 2023 17:19:47 GMT" + "Tue, 25 Jul 2023 15:39:04 GMT" ], - "Vary": [ - "Origin, X-Origin" + "Content-Type": [ + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Pragma": [ - "no-cache" - ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Transfer-Encoding": [ "chunked" ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "192" ] }, "body": { - "string": "{\n \"id\": \"1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs\",\n \"name\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"createdTime\": \"2023-07-15T17:19:43.452Z\",\n \"modifiedTime\": \"2023-07-15T17:19:46.671Z\"\n}\n" + "string": "{\n \"id\": \"1t7XL0RyoW8MOxx15O0pLm-DK4fj1xhZeunM9ThbcgvY\",\n \"name\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"createdTime\": \"2023-07-25T15:38:59.768Z\",\n \"modifiedTime\": \"2023-07-25T15:39:03.767Z\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1T1RjhTmh8G5tZuO6gY-2TBp03kXx1qd9HqPpAyASPRs?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1t7XL0RyoW8MOxx15O0pLm-DK4fj1xhZeunM9ThbcgvY?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -444,524 +444,40 @@ }, "headers": { "Date": [ - "Sat, 15 Jul 2023 17:19:47 GMT" - ], - "Vary": [ - "Origin, X-Origin" - ], - "X-XSS-Protection": [ - "0" + "Tue, 25 Jul 2023 15:39:05 GMT" ], "Content-Type": [ "text/html" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Length": [ + "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Server": [ "ESF" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_lastUpdateTime_prop\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" ], "Content-Length": [ - "112" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" + "0" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:47 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "content-length": [ - "199" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0\",\n \"name\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:48 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "3343" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:49 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "209" - ] - }, - "body": { - "string": "{\n \"id\": \"1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0\",\n \"name\": \"Test SpreadsheetTest test_lastUpdateTime_prop\",\n \"createdTime\": \"2023-07-20T08:55:45.529Z\",\n \"modifiedTime\": \"2023-07-20T08:55:45.548Z\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0:batchUpdate", - "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"title\": \"\\ud83c\\udf8a Updated Title #123 \\ud83c\\udf89\"}, \"fields\": \"title\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "141" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], "X-Frame-Options": [ "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:49 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:50 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"id\": \"1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0\",\n \"name\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"createdTime\": \"2023-07-20T08:55:45.529Z\",\n \"modifiedTime\": \"2023-07-20T08:55:49.305Z\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1VbRHF8oIBg_mgz5FlX03QIyGUVo6lIuNZZdn9-Qvjb0?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "text/html" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:50 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_properties.json b/tests/cassettes/SpreadsheetTest.test_properties.json index 7878ebb4f..4efda6cec 100644 --- a/tests/cassettes/SpreadsheetTest.test_properties.json +++ b/tests/cassettes/SpreadsheetTest.test_properties.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "103" ], @@ -39,277 +42,56 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Date": [ - "Thu, 08 Jun 2023 22:15:21 GMT" + "Tue, 25 Jul 2023 15:39:08 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "190" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1oDrzuEu491Ydfe3wzKQ2mlmUah5l5stEy2IhWIE7B7E\",\n \"name\": \"Test SpreadsheetTest test_properties\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oDrzuEu491Ydfe3wzKQ2mlmUah5l5stEy2IhWIE7B7E?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:22 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3334" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1oDrzuEu491Ydfe3wzKQ2mlmUah5l5stEy2IhWIE7B7E\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_properties\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1oDrzuEu491Ydfe3wzKQ2mlmUah5l5stEy2IhWIE7B7E/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1oDrzuEu491Ydfe3wzKQ2mlmUah5l5stEy2IhWIE7B7E?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:22 GMT" - ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1oDrzuEu491Ydfe3wzKQ2mlmUah5l5stEy2IhWIE7B7E?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 404, - "message": "Not Found" - }, - "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "Cache-Control": [ - "private, max-age=0" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:52:18 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Pragma": [ + "no-cache" ], - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Transfer-Encoding": [ "chunked" ], "Expires": [ - "Thu, 20 Jul 2023 08:52:18 GMT" - ], - "Vary": [ - "Origin, X-Origin" + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ - "364" + "190" ] }, "body": { - "string": "{\n \"error\": {\n \"code\": 404,\n \"message\": \"File not found: 1oDrzuEu491Ydfe3wzKQ2mlmUah5l5stEy2IhWIE7B7E.\",\n \"errors\": [\n {\n \"message\": \"File not found: 1oDrzuEu491Ydfe3wzKQ2mlmUah5l5stEy2IhWIE7B7E.\",\n \"domain\": \"global\",\n \"reason\": \"notFound\",\n \"location\": \"fileId\",\n \"locationType\": \"parameter\"\n }\n ]\n }\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1eKokod-R-Gc6ta54IaknBzzTq0PiqQLNrX0nFCzg7xw\",\n \"name\": \"Test SpreadsheetTest test_properties\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_properties\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1eKokod-R-Gc6ta54IaknBzzTq0PiqQLNrX0nFCzg7xw?includeGridData=false", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -329,12 +111,6 @@ "x-identity-trust-boundary": [ "0" ], - "Content-Length": [ - "103" - ], - "Content-Type": [ - "application/json" - ], "authorization": [ "" ] @@ -346,131 +122,51 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:09 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:54 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "190" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q\",\n \"name\": \"Test SpreadsheetTest test_properties\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:54 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3334" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_properties\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1eKokod-R-Gc6ta54IaknBzzTq0PiqQLNrX0nFCzg7xw\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_properties\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1eKokod-R-Gc6ta54IaknBzzTq0PiqQLNrX0nFCzg7xw/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1eKokod-R-Gc6ta54IaknBzzTq0PiqQLNrX0nFCzg7xw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -502,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:09 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:54 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "200" ] }, "body": { - "string": "{\n \"id\": \"1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q\",\n \"name\": \"Test SpreadsheetTest test_properties\",\n \"createdTime\": \"2023-07-20T08:55:51.490Z\",\n \"modifiedTime\": \"2023-07-20T08:55:51.509Z\"\n}\n" + "string": "{\n \"id\": \"1eKokod-R-Gc6ta54IaknBzzTq0PiqQLNrX0nFCzg7xw\",\n \"name\": \"Test SpreadsheetTest test_properties\",\n \"createdTime\": \"2023-07-25T15:39:05.858Z\",\n \"modifiedTime\": \"2023-07-25T15:39:06.869Z\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1694v7FtafoqkVociexv4OWE5nFMYKsnQW7iquxUJo4Q?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1eKokod-R-Gc6ta54IaknBzzTq0PiqQLNrX0nFCzg7xw?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -585,26 +281,26 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:10 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -612,14 +308,14 @@ "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:55 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_refresh_lastUpdateTime.json b/tests/cassettes/SpreadsheetTest.test_refresh_lastUpdateTime.json deleted file mode 100644 index d74e68508..000000000 --- a/tests/cassettes/SpreadsheetTest.test_refresh_lastUpdateTime.json +++ /dev/null @@ -1,471 +0,0 @@ -{ - "version": 1, - "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_refresh_lastUpdateTime\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "115" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Wed, 21 Jun 2023 12:22:10 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "202" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1NrDyOIM0oSj993mf-ErkG5Nc3DM7EojnHCinzNOcKMM\",\n \"name\": \"Test SpreadsheetTest test_refresh_lastUpdateTime\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NrDyOIM0oSj993mf-ErkG5Nc3DM7EojnHCinzNOcKMM?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Wed, 21 Jun 2023 12:22:11 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "3346" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1NrDyOIM0oSj993mf-ErkG5Nc3DM7EojnHCinzNOcKMM\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_refresh_lastUpdateTime\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NrDyOIM0oSj993mf-ErkG5Nc3DM7EojnHCinzNOcKMM/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1NrDyOIM0oSj993mf-ErkG5Nc3DM7EojnHCinzNOcKMM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Wed, 21 Jun 2023 12:22:11 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "212" - ] - }, - "body": { - "string": "{\n \"id\": \"1NrDyOIM0oSj993mf-ErkG5Nc3DM7EojnHCinzNOcKMM\",\n \"name\": \"Test SpreadsheetTest test_refresh_lastUpdateTime\",\n \"createdTime\": \"2023-06-21T12:22:08.913Z\",\n \"modifiedTime\": \"2023-06-21T12:22:08.925Z\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NrDyOIM0oSj993mf-ErkG5Nc3DM7EojnHCinzNOcKMM:batchUpdate", - "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"title\": \"\\ud83c\\udf8a Updated Title #123 \\ud83c\\udf89\"}, \"fields\": \"title\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "141" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Wed, 21 Jun 2023 12:22:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1NrDyOIM0oSj993mf-ErkG5Nc3DM7EojnHCinzNOcKMM\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1NrDyOIM0oSj993mf-ErkG5Nc3DM7EojnHCinzNOcKMM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Wed, 21 Jun 2023 12:22:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"id\": \"1NrDyOIM0oSj993mf-ErkG5Nc3DM7EojnHCinzNOcKMM\",\n \"name\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"createdTime\": \"2023-06-21T12:22:08.913Z\",\n \"modifiedTime\": \"2023-06-21T12:22:11.818Z\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1NrDyOIM0oSj993mf-ErkG5Nc3DM7EojnHCinzNOcKMM?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Wed, 21 Jun 2023 12:22:12 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "ESF" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Content-Type": [ - "text/html" - ] - }, - "body": { - "string": "" - } - } - } - ] -} diff --git a/tests/cassettes/SpreadsheetTest.test_sheet1.json b/tests/cassettes/SpreadsheetTest.test_sheet1.json index b102cb278..ec836122f 100644 --- a/tests/cassettes/SpreadsheetTest.test_sheet1.json +++ b/tests/cassettes/SpreadsheetTest.test_sheet1.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "99" ], @@ -39,32 +42,17 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Date": [ + "Tue, 25 Jul 2023 15:39:12 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:25 GMT" + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -72,239 +60,37 @@ "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "content-length": [ - "186" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c\",\n \"name\": \"Test SpreadsheetTest test_sheet1\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:25 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3330" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_sheet1\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Pragma": [ + "no-cache" ], - "x-goog-api-client": [ - "cred-type/sa" + "Vary": [ + "Origin, X-Origin" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:26 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3330" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_sheet1\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:15:27 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "content-length": [ + "186" ] }, "body": { - "string": "" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1slH5-Gv0HboK5bpoaGOB64wJgRISvfWAwVAWVNXVtco\",\n \"name\": \"Test SpreadsheetTest test_sheet1\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1slH5-Gv0HboK5bpoaGOB64wJgRISvfWAwVAWVNXVtco?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -332,218 +118,55 @@ }, "response": { "status": { - "code": 404, - "message": "Not Found" + "code": 200, + "message": "OK" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "private, max-age=0" - ], - "X-XSS-Protection": [ - "0" - ], "Date": [ - "Thu, 20 Jul 2023 08:52:19 GMT" + "Tue, 25 Jul 2023 15:39:13 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Expires": [ - "Thu, 20 Jul 2023 08:52:19 GMT" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "364" - ] - }, - "body": { - "string": "{\n \"error\": {\n \"code\": 404,\n \"message\": \"File not found: 1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c.\",\n \"errors\": [\n {\n \"message\": \"File not found: 1SxClUsMgfHrYRZRvBPYIhxcoR9sy5-F7BOSQxYByp3c.\",\n \"domain\": \"global\",\n \"reason\": \"notFound\",\n \"location\": \"fileId\",\n \"locationType\": \"parameter\"\n }\n ]\n }\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_sheet1\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ + "X-XSS-Protection": [ "0" ], - "Content-Length": [ - "99" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:58 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "186" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8\",\n \"name\": \"Test SpreadsheetTest test_sheet1\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:58 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3330" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_sheet1\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1slH5-Gv0HboK5bpoaGOB64wJgRISvfWAwVAWVNXVtco\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_sheet1\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1slH5-Gv0HboK5bpoaGOB64wJgRISvfWAwVAWVNXVtco/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1slH5-Gv0HboK5bpoaGOB64wJgRISvfWAwVAWVNXVtco?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -575,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:13 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:59 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "196" ] }, "body": { - "string": "{\n \"id\": \"1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8\",\n \"name\": \"Test SpreadsheetTest test_sheet1\",\n \"createdTime\": \"2023-07-20T08:55:56.512Z\",\n \"modifiedTime\": \"2023-07-20T08:55:57.570Z\"\n}\n" + "string": "{\n \"id\": \"1slH5-Gv0HboK5bpoaGOB64wJgRISvfWAwVAWVNXVtco\",\n \"name\": \"Test SpreadsheetTest test_sheet1\",\n \"createdTime\": \"2023-07-25T15:39:10.728Z\",\n \"modifiedTime\": \"2023-07-25T15:39:11.628Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1slH5-Gv0HboK5bpoaGOB64wJgRISvfWAwVAWVNXVtco?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -655,51 +278,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:13 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:55:59 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3330" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_sheet1\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1slH5-Gv0HboK5bpoaGOB64wJgRISvfWAwVAWVNXVtco\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_sheet1\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1slH5-Gv0HboK5bpoaGOB64wJgRISvfWAwVAWVNXVtco/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1l2vjbeBXnpIaNmDWZzuDRl_3xLoKCz0vJDlRpCZQ-i8?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1slH5-Gv0HboK5bpoaGOB64wJgRISvfWAwVAWVNXVtco?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -734,26 +357,26 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:14 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -761,14 +384,14 @@ "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:55:59 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_timezone_and_locale.json b/tests/cassettes/SpreadsheetTest.test_timezone_and_locale.json index 2543daf14..89bb4a7ba 100644 --- a/tests/cassettes/SpreadsheetTest.test_timezone_and_locale.json +++ b/tests/cassettes/SpreadsheetTest.test_timezone_and_locale.json @@ -1,541 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_timezone_and_locale\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "112" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:30 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "199" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg\",\n \"name\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:30 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3343" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg:batchUpdate", - "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"timeZone\": \"Europe/Paris\"}, \"fields\": \"timeZone\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "115" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:31 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg:batchUpdate", - "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"locale\": \"fr_FR\"}, \"fields\": \"locale\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "104" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:31 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:31 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3348" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"locale\": \"fr_FR\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Europe/Paris\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:32 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 404, - "message": "Not Found" - }, - "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "private, max-age=0" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:52:20 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Expires": [ - "Thu, 20 Jul 2023 08:52:20 GMT" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "364" - ] - }, - "body": { - "string": "{\n \"error\": {\n \"code\": 404,\n \"message\": \"File not found: 1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg.\",\n \"errors\": [\n {\n \"message\": \"File not found: 1EB6J0lPnLdaqqEWrLgWT_8uLIFCFBPqbx5JU2PePysg.\",\n \"domain\": \"global\",\n \"reason\": \"notFound\",\n \"location\": \"fileId\",\n \"locationType\": \"parameter\"\n }\n ]\n }\n}\n" - } - } - }, { "request": { "method": "POST", @@ -577,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:18 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:03 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "199" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c\",\n \"name\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4\",\n \"name\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -657,51 +122,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:19 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:04 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3343" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -733,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:19 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:04 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "209" ] }, "body": { - "string": "{\n \"id\": \"1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c\",\n \"name\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"createdTime\": \"2023-07-20T08:56:01.029Z\",\n \"modifiedTime\": \"2023-07-20T08:56:01.049Z\"\n}\n" + "string": "{\n \"id\": \"1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4\",\n \"name\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"createdTime\": \"2023-07-25T15:39:15.028Z\",\n \"modifiedTime\": \"2023-07-25T15:39:15.047Z\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4:batchUpdate", "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"timeZone\": \"Europe/Paris\"}, \"fields\": \"timeZone\"}}]}", "headers": { "User-Agent": [ @@ -819,51 +284,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:19 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:04 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4:batchUpdate", "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"locale\": \"fr_FR\"}, \"fields\": \"locale\"}}]}", "headers": { "User-Agent": [ @@ -901,51 +366,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:20 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:05 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -977,51 +442,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:20 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:05 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3348" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"locale\": \"fr_FR\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Europe/Paris\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_timezone_and_locale\",\n \"locale\": \"fr_FR\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Europe/Paris\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1ja0NvvXCFi-NZDneCBxSLq9NolaVFeNw3D0C1ZMv21c?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1vwqpkfNt7J-d9frHRQo8oRnJS_goGp1OfzHdZIhtDh4?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1056,26 +521,26 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:21 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -1083,14 +548,14 @@ "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:56:05 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_update_title.json b/tests/cassettes/SpreadsheetTest.test_update_title.json index e348c7dca..bc409dd0c 100644 --- a/tests/cassettes/SpreadsheetTest.test_update_title.json +++ b/tests/cassettes/SpreadsheetTest.test_update_title.json @@ -1,391 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_update_title\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "105" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:35 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1vjAFAT2OMQqpdii7CIRjjchodURjtSC7HijvgzI07VQ\",\n \"name\": \"Test SpreadsheetTest test_update_title\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vjAFAT2OMQqpdii7CIRjjchodURjtSC7HijvgzI07VQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:35 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vjAFAT2OMQqpdii7CIRjjchodURjtSC7HijvgzI07VQ\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vjAFAT2OMQqpdii7CIRjjchodURjtSC7HijvgzI07VQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vjAFAT2OMQqpdii7CIRjjchodURjtSC7HijvgzI07VQ:batchUpdate", - "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"title\": \"\\ud83c\\udf8a Updated Title #123 \\ud83c\\udf89\"}, \"fields\": \"title\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "141" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:36 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vjAFAT2OMQqpdii7CIRjjchodURjtSC7HijvgzI07VQ\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vjAFAT2OMQqpdii7CIRjjchodURjtSC7HijvgzI07VQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:36 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3326" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vjAFAT2OMQqpdii7CIRjjchodURjtSC7HijvgzI07VQ\",\n \"properties\": {\n \"title\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vjAFAT2OMQqpdii7CIRjjchodURjtSC7HijvgzI07VQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1vjAFAT2OMQqpdii7CIRjjchodURjtSC7HijvgzI07VQ?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:37 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -427,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:24 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:08 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "192" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has\",\n \"name\": \"Test SpreadsheetTest test_update_title\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1-ek65VEEn8kdxntoyvxN28IoPzrJixO6SU1RCASJly0\",\n \"name\": \"Test SpreadsheetTest test_update_title\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-ek65VEEn8kdxntoyvxN28IoPzrJixO6SU1RCASJly0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -507,51 +122,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:26 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:08 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3336" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1-ek65VEEn8kdxntoyvxN28IoPzrJixO6SU1RCASJly0\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1-ek65VEEn8kdxntoyvxN28IoPzrJixO6SU1RCASJly0/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1-ek65VEEn8kdxntoyvxN28IoPzrJixO6SU1RCASJly0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -583,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:27 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:08 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "202" ] }, "body": { - "string": "{\n \"id\": \"1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has\",\n \"name\": \"Test SpreadsheetTest test_update_title\",\n \"createdTime\": \"2023-07-20T08:56:06.364Z\",\n \"modifiedTime\": \"2023-07-20T08:56:07.338Z\"\n}\n" + "string": "{\n \"id\": \"1-ek65VEEn8kdxntoyvxN28IoPzrJixO6SU1RCASJly0\",\n \"name\": \"Test SpreadsheetTest test_update_title\",\n \"createdTime\": \"2023-07-25T15:39:21.917Z\",\n \"modifiedTime\": \"2023-07-25T15:39:23.094Z\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-ek65VEEn8kdxntoyvxN28IoPzrJixO6SU1RCASJly0:batchUpdate", "body": "{\"requests\": [{\"updateSpreadsheetProperties\": {\"properties\": {\"title\": \"\\ud83c\\udf8a Updated Title #123 \\ud83c\\udf89\"}, \"fields\": \"title\"}}]}", "headers": { "User-Agent": [ @@ -669,51 +284,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:28 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:09 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1-ek65VEEn8kdxntoyvxN28IoPzrJixO6SU1RCASJly0\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-ek65VEEn8kdxntoyvxN28IoPzrJixO6SU1RCASJly0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -745,51 +360,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:28 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:09 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3326" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has\",\n \"properties\": {\n \"title\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1-ek65VEEn8kdxntoyvxN28IoPzrJixO6SU1RCASJly0\",\n \"properties\": {\n \"title\": \"\ud83c\udf8a Updated Title #123 \ud83c\udf89\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1-ek65VEEn8kdxntoyvxN28IoPzrJixO6SU1RCASJly0/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1B4OR65_7t_onuH-JDERnG7sN8j6tK2JCnLZ137X2Has?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1-ek65VEEn8kdxntoyvxN28IoPzrJixO6SU1RCASJly0?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -824,26 +439,26 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:29 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -851,14 +466,14 @@ "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:56:10 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_values_batch_get.json b/tests/cassettes/SpreadsheetTest.test_values_batch_get.json index 53bdac666..a726a4e63 100644 --- a/tests/cassettes/SpreadsheetTest.test_values_batch_get.json +++ b/tests/cassettes/SpreadsheetTest.test_values_batch_get.json @@ -1,549 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_values_batch_get\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "109" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "196" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Dy5DaVKjTG8gEr-0jRErt7cfOfp69Je62AR3AsEpWfk\",\n \"name\": \"Test SpreadsheetTest test_values_batch_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Dy5DaVKjTG8gEr-0jRErt7cfOfp69Je62AR3AsEpWfk?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3340" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Dy5DaVKjTG8gEr-0jRErt7cfOfp69Je62AR3AsEpWfk\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_values_batch_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Dy5DaVKjTG8gEr-0jRErt7cfOfp69Je62AR3AsEpWfk/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Dy5DaVKjTG8gEr-0jRErt7cfOfp69Je62AR3AsEpWfk:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"\\ud83c\\udf35 test_values_batch_get 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 10, \"columnCount\": 10}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "171" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "400" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Dy5DaVKjTG8gEr-0jRErt7cfOfp69Je62AR3AsEpWfk\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 569607092,\n \"title\": \"\ud83c\udf35 test_values_batch_get 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 10,\n \"columnCount\": 10\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Dy5DaVKjTG8gEr-0jRErt7cfOfp69Je62AR3AsEpWfk/values/%F0%9F%8C%B5%20test_values_batch_get%201%21A1?valueInputOption=RAW", - "body": "{\"values\": [[\"\\ud83c\\udf47\", \"\\ud83c\\udf49\", \"\\ud83c\\udf4b\"], [\"\\ud83c\\udf50\", \"\\ud83c\\udf4e\", \"\\ud83c\\udf53\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "112" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Dy5DaVKjTG8gEr-0jRErt7cfOfp69Je62AR3AsEpWfk\",\n \"updatedRange\": \"'\ud83c\udf35 test_values_batch_get 1'!A1:C2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 3,\n \"updatedCells\": 6\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Dy5DaVKjTG8gEr-0jRErt7cfOfp69Je62AR3AsEpWfk/values:batchGet?ranges=%F0%9F%8C%B5+test_values_batch_get+1%21A%3AA&ranges=%F0%9F%8C%B5+test_values_batch_get+1%21B%3AB&ranges=%F0%9F%8C%B5+test_values_batch_get+1%21C%3AC", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:41 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "699" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Dy5DaVKjTG8gEr-0jRErt7cfOfp69Je62AR3AsEpWfk\",\n \"valueRanges\": [\n {\n \"range\": \"'\ud83c\udf35 test_values_batch_get 1'!A1:A10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf47\"\n ],\n [\n \"\ud83c\udf50\"\n ]\n ]\n },\n {\n \"range\": \"'\ud83c\udf35 test_values_batch_get 1'!B1:B10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf49\"\n ],\n [\n \"\ud83c\udf4e\"\n ]\n ]\n },\n {\n \"range\": \"'\ud83c\udf35 test_values_batch_get 1'!C1:C10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf4b\"\n ],\n [\n \"\ud83c\udf53\"\n ]\n ]\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Dy5DaVKjTG8gEr-0jRErt7cfOfp69Je62AR3AsEpWfk:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 569607092}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "55" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:41 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Dy5DaVKjTG8gEr-0jRErt7cfOfp69Je62AR3AsEpWfk\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1Dy5DaVKjTG8gEr-0jRErt7cfOfp69Je62AR3AsEpWfk?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:41 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -585,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:31 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:13 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "196" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"name\": \"Test SpreadsheetTest test_values_batch_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g\",\n \"name\": \"Test SpreadsheetTest test_values_batch_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -665,51 +122,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:32 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:14 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3340" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_values_batch_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_values_batch_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -741,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:32 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:14 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "206" ] }, "body": { - "string": "{\n \"id\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"name\": \"Test SpreadsheetTest test_values_batch_get\",\n \"createdTime\": \"2023-07-20T08:56:11.141Z\",\n \"modifiedTime\": \"2023-07-20T08:56:11.157Z\"\n}\n" + "string": "{\n \"id\": \"1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g\",\n \"name\": \"Test SpreadsheetTest test_values_batch_get\",\n \"createdTime\": \"2023-07-25T15:39:29.463Z\",\n \"modifiedTime\": \"2023-07-25T15:39:30.504Z\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"\\ud83c\\udf35 test_values_batch_get 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 10, \"columnCount\": 10}}}}]}", "headers": { "User-Agent": [ @@ -827,51 +284,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:33 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:14 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ - "401" + "400" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1872392523,\n \"title\": \"\ud83c\udf35 test_values_batch_get 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 10,\n \"columnCount\": 10\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 901015854,\n \"title\": \"\ud83c\udf35 test_values_batch_get 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 10,\n \"columnCount\": 10\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik/values/%F0%9F%8C%B5%20test_values_batch_get%201%21A1?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g/values/%F0%9F%8C%B5%20test_values_batch_get%201%21A1?valueInputOption=RAW", "body": "{\"values\": [[\"\\ud83c\\udf47\", \"\\ud83c\\udf49\", \"\\ud83c\\udf4b\"], [\"\\ud83c\\udf50\", \"\\ud83c\\udf4e\", \"\\ud83c\\udf53\"]]}", "headers": { "User-Agent": [ @@ -909,51 +366,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:33 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:14 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "192" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"updatedRange\": \"'\ud83c\udf35 test_values_batch_get 1'!A1:C2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 3,\n \"updatedCells\": 6\n}\n" + "string": "{\n \"spreadsheetId\": \"1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g\",\n \"updatedRange\": \"'\ud83c\udf35 test_values_batch_get 1'!A1:C2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 3,\n \"updatedCells\": 6\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik/values:batchGet?ranges=%F0%9F%8C%B5+test_values_batch_get+1%21A%3AA&ranges=%F0%9F%8C%B5+test_values_batch_get+1%21B%3AB&ranges=%F0%9F%8C%B5+test_values_batch_get+1%21C%3AC", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g/values:batchGet?ranges=%F0%9F%8C%B5+test_values_batch_get+1%21A%3AA&ranges=%F0%9F%8C%B5+test_values_batch_get+1%21B%3AB&ranges=%F0%9F%8C%B5+test_values_batch_get+1%21C%3AC", "body": null, "headers": { "User-Agent": [ @@ -985,52 +442,52 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:33 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:15 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "699" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"valueRanges\": [\n {\n \"range\": \"'\ud83c\udf35 test_values_batch_get 1'!A1:A10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf47\"\n ],\n [\n \"\ud83c\udf50\"\n ]\n ]\n },\n {\n \"range\": \"'\ud83c\udf35 test_values_batch_get 1'!B1:B10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf49\"\n ],\n [\n \"\ud83c\udf4e\"\n ]\n ]\n },\n {\n \"range\": \"'\ud83c\udf35 test_values_batch_get 1'!C1:C10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf4b\"\n ],\n [\n \"\ud83c\udf53\"\n ]\n ]\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g\",\n \"valueRanges\": [\n {\n \"range\": \"'\ud83c\udf35 test_values_batch_get 1'!A1:A10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf47\"\n ],\n [\n \"\ud83c\udf50\"\n ]\n ]\n },\n {\n \"range\": \"'\ud83c\udf35 test_values_batch_get 1'!B1:B10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf49\"\n ],\n [\n \"\ud83c\udf4e\"\n ]\n ]\n },\n {\n \"range\": \"'\ud83c\udf35 test_values_batch_get 1'!C1:C10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf4b\"\n ],\n [\n \"\ud83c\udf53\"\n ]\n ]\n }\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 1872392523}}]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 901015854}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -1051,7 +508,7 @@ "0" ], "Content-Length": [ - "56" + "55" ], "Content-Type": [ "application/json" @@ -1067,51 +524,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:34 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:15 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1svlT30nB3Dpq_qq4Ey5Z80MgDmtazFYaUKicj7bNSik?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1yXHRaUTFlGV-Axis4vLHtoPvGUj3C_-awA_5sLK8k6g?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1146,26 +603,26 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:34 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -1173,14 +630,14 @@ "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:56:15 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_values_get.json b/tests/cassettes/SpreadsheetTest.test_values_get.json index 3972f6fef..20b38fd21 100644 --- a/tests/cassettes/SpreadsheetTest.test_values_get.json +++ b/tests/cassettes/SpreadsheetTest.test_values_get.json @@ -1,549 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_values_get\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "103" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "190" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"13EyZqt2wfFM05lEEJ6ZMZG23b1CYGGxEiin3LAJgQRg\",\n \"name\": \"Test SpreadsheetTest test_values_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13EyZqt2wfFM05lEEJ6ZMZG23b1CYGGxEiin3LAJgQRg?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3334" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13EyZqt2wfFM05lEEJ6ZMZG23b1CYGGxEiin3LAJgQRg\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_values_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13EyZqt2wfFM05lEEJ6ZMZG23b1CYGGxEiin3LAJgQRg/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13EyZqt2wfFM05lEEJ6ZMZG23b1CYGGxEiin3LAJgQRg:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"\\ud83c\\udf35 test_values_get 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 10, \"columnCount\": 10}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "165" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "394" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13EyZqt2wfFM05lEEJ6ZMZG23b1CYGGxEiin3LAJgQRg\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 129529548,\n \"title\": \"\ud83c\udf35 test_values_get 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 10,\n \"columnCount\": 10\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13EyZqt2wfFM05lEEJ6ZMZG23b1CYGGxEiin3LAJgQRg/values/%F0%9F%8C%B5%20test_values_get%201%21A1?valueInputOption=RAW", - "body": "{\"values\": [[\"\\ud83c\\udf47\", \"\\ud83c\\udf49\", \"\\ud83c\\udf4b\"], [\"\\ud83c\\udf50\", \"\\ud83c\\udf4e\", \"\\ud83c\\udf53\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "112" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "186" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13EyZqt2wfFM05lEEJ6ZMZG23b1CYGGxEiin3LAJgQRg\",\n \"updatedRange\": \"'\ud83c\udf35 test_values_get 1'!A1:C2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 3,\n \"updatedCells\": 6\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13EyZqt2wfFM05lEEJ6ZMZG23b1CYGGxEiin3LAJgQRg/values/%F0%9F%8C%B5%20test_values_get%201", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "203" - ] - }, - "body": { - "string": "{\n \"range\": \"'\ud83c\udf35 test_values_get 1'!A1:J10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\ud83c\udf47\",\n \"\ud83c\udf49\",\n \"\ud83c\udf4b\"\n ],\n [\n \"\ud83c\udf50\",\n \"\ud83c\udf4e\",\n \"\ud83c\udf53\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13EyZqt2wfFM05lEEJ6ZMZG23b1CYGGxEiin3LAJgQRg:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 129529548}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "55" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13EyZqt2wfFM05lEEJ6ZMZG23b1CYGGxEiin3LAJgQRg\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/13EyZqt2wfFM05lEEJ6ZMZG23b1CYGGxEiin3LAJgQRg?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:47 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -585,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:37 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:19 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "190" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE\",\n \"name\": \"Test SpreadsheetTest test_values_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY\",\n \"name\": \"Test SpreadsheetTest test_values_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -665,51 +122,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:38 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:19 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3334" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_values_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_values_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -741,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:38 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" + "Vary": [ + "Origin, X-Origin" ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:20 GMT" + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "200" ] }, "body": { - "string": "{\n \"id\": \"1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE\",\n \"name\": \"Test SpreadsheetTest test_values_get\",\n \"createdTime\": \"2023-07-20T08:56:16.797Z\",\n \"modifiedTime\": \"2023-07-20T08:56:16.818Z\"\n}\n" + "string": "{\n \"id\": \"1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY\",\n \"name\": \"Test SpreadsheetTest test_values_get\",\n \"createdTime\": \"2023-07-25T15:39:35.653Z\",\n \"modifiedTime\": \"2023-07-25T15:39:36.723Z\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"\\ud83c\\udf35 test_values_get 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 10, \"columnCount\": 10}}}}]}", "headers": { "User-Agent": [ @@ -827,51 +284,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:39 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:20 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "394" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 330409107,\n \"title\": \"\ud83c\udf35 test_values_get 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 10,\n \"columnCount\": 10\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 463885193,\n \"title\": \"\ud83c\udf35 test_values_get 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 10,\n \"columnCount\": 10\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE/values/%F0%9F%8C%B5%20test_values_get%201%21A1?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY/values/%F0%9F%8C%B5%20test_values_get%201%21A1?valueInputOption=RAW", "body": "{\"values\": [[\"\\ud83c\\udf47\", \"\\ud83c\\udf49\", \"\\ud83c\\udf4b\"], [\"\\ud83c\\udf50\", \"\\ud83c\\udf4e\", \"\\ud83c\\udf53\"]]}", "headers": { "User-Agent": [ @@ -909,51 +366,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:39 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:20 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "186" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE\",\n \"updatedRange\": \"'\ud83c\udf35 test_values_get 1'!A1:C2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 3,\n \"updatedCells\": 6\n}\n" + "string": "{\n \"spreadsheetId\": \"1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY\",\n \"updatedRange\": \"'\ud83c\udf35 test_values_get 1'!A1:C2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 3,\n \"updatedCells\": 6\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE/values/%F0%9F%8C%B5%20test_values_get%201", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY/values/%F0%9F%8C%B5%20test_values_get%201", "body": null, "headers": { "User-Agent": [ @@ -985,37 +442,37 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:40 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:21 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "203" @@ -1029,8 +486,8 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 330409107}}]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 463885193}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -1067,51 +524,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:40 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:21 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1oCn_m5M2W4LwyyWpGvfipxuCyFYx6nsr3B7Os8QHNWE?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1HVDGFSRVMTRJbo2n8Vh7TZt7EGFBLOdyNGk1Zb8H_SY?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1146,26 +603,26 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:41 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -1173,14 +630,14 @@ "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:56:21 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_worksheet.json b/tests/cassettes/SpreadsheetTest.test_worksheet.json index 76cc34095..3bd5441c6 100644 --- a/tests/cassettes/SpreadsheetTest.test_worksheet.json +++ b/tests/cassettes/SpreadsheetTest.test_worksheet.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "102" ], @@ -39,55 +42,55 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" + "Date": [ + "Tue, 25 Jul 2023 15:39:43 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Pragma": [ - "no-cache" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Pragma": [ + "no-cache" ], - "Date": [ - "Thu, 08 Jun 2023 22:15:50 GMT" + "Vary": [ + "Origin, X-Origin" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Transfer-Encoding": [ + "chunked" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "189" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1sLS6ERErzKT4g7Nh2Uh_vYJBVkN2hoP0WCVsF_JAF-M\",\n \"name\": \"Test SpreadsheetTest test_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1U7NkNVqR5We1wqv35ms70g-4Os5Btv2C-sWfQ1noMug\",\n \"name\": \"Test SpreadsheetTest test_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sLS6ERErzKT4g7Nh2Uh_vYJBVkN2hoP0WCVsF_JAF-M?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1U7NkNVqR5We1wqv35ms70g-4Os5Btv2C-sWfQ1noMug?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,6 +108,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -116,31 +122,17 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Date": [ + "Tue, 25 Jul 2023 15:39:44 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:51 GMT" + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -148,92 +140,33 @@ "Cache-Control": [ "private" ], - "content-length": [ - "3333" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1sLS6ERErzKT4g7Nh2Uh_vYJBVkN2hoP0WCVsF_JAF-M\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1sLS6ERErzKT4g7Nh2Uh_vYJBVkN2hoP0WCVsF_JAF-M/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sLS6ERErzKT4g7Nh2Uh_vYJBVkN2hoP0WCVsF_JAF-M?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" + "Transfer-Encoding": [ + "chunked" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Date": [ - "Thu, 08 Jun 2023 22:15:51 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], "content-length": [ "3333" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1sLS6ERErzKT4g7Nh2Uh_vYJBVkN2hoP0WCVsF_JAF-M\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1sLS6ERErzKT4g7Nh2Uh_vYJBVkN2hoP0WCVsF_JAF-M/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1U7NkNVqR5We1wqv35ms70g-4Os5Btv2C-sWfQ1noMug\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1U7NkNVqR5We1wqv35ms70g-4Os5Btv2C-sWfQ1noMug/edit\"\n}\n" } } }, { "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1sLS6ERErzKT4g7Nh2Uh_vYJBVkN2hoP0WCVsF_JAF-M?supportsAllDrives=True", + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1U7NkNVqR5We1wqv35ms70g-4Os5Btv2C-sWfQ1noMug?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -251,7 +184,7 @@ "x-goog-api-client": [ "cred-type/sa" ], - "Content-Length": [ + "x-identity-trust-boundary": [ "0" ], "authorization": [ @@ -261,218 +194,59 @@ }, "response": { "status": { - "code": 204, - "message": "No Content" + "code": 200, + "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Date": [ + "Tue, 25 Jul 2023 15:39:44 GMT" ], "Content-Type": [ - "text/html" + "application/json; charset=UTF-8" ], - "Content-Length": [ + "X-XSS-Protection": [ "0" ], - "Vary": [ - "Origin, X-Origin" - ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:52 GMT" - ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "102" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "X-Content-Type-Options": [ + "nosniff" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Pragma": [ + "no-cache" ], "Vary": [ "Origin, X-Origin" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:56:24 GMT" - ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "content-length": [ - "189" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY\",\n \"name\": \"Test SpreadsheetTest test_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Thu, 20 Jul 2023 08:56:25 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "content-length": [ - "3333" + "199" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY/edit\"\n}\n" + "string": "{\n \"id\": \"1U7NkNVqR5We1wqv35ms70g-4Os5Btv2C-sWfQ1noMug\",\n \"name\": \"Test SpreadsheetTest test_worksheet\",\n \"createdTime\": \"2023-07-25T15:39:41.672Z\",\n \"modifiedTime\": \"2023-07-25T15:39:42.568Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1U7NkNVqR5We1wqv35ms70g-4Os5Btv2C-sWfQ1noMug?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -504,131 +278,51 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:44 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:56:25 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "199" - ] - }, - "body": { - "string": "{\n \"id\": \"1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY\",\n \"name\": \"Test SpreadsheetTest test_worksheet\",\n \"createdTime\": \"2023-07-20T08:56:22.564Z\",\n \"modifiedTime\": \"2023-07-20T08:56:22.581Z\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:25 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3333" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1U7NkNVqR5We1wqv35ms70g-4Os5Btv2C-sWfQ1noMug\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1U7NkNVqR5We1wqv35ms70g-4Os5Btv2C-sWfQ1noMug/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1E5IfjeI5RhIPXjsxjd_SqTGnzsr_WZEh-JIcS7J9JCY?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1U7NkNVqR5We1wqv35ms70g-4Os5Btv2C-sWfQ1noMug?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -663,26 +357,26 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:45 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -690,14 +384,14 @@ "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:56:26 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_worksheet_iteration.json b/tests/cassettes/SpreadsheetTest.test_worksheet_iteration.json index 125bd95f7..4ee18cd8d 100644 --- a/tests/cassettes/SpreadsheetTest.test_worksheet_iteration.json +++ b/tests/cassettes/SpreadsheetTest.test_worksheet_iteration.json @@ -1,385 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_worksheet_iteration\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "112" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "199" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1DIkbkkjDvjYNLI5lUrs-DYJSdDBqQbnbOBMWG--NKH0\",\n \"name\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DIkbkkjDvjYNLI5lUrs-DYJSdDBqQbnbOBMWG--NKH0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3343" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1DIkbkkjDvjYNLI5lUrs-DYJSdDBqQbnbOBMWG--NKH0\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1DIkbkkjDvjYNLI5lUrs-DYJSdDBqQbnbOBMWG--NKH0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DIkbkkjDvjYNLI5lUrs-DYJSdDBqQbnbOBMWG--NKH0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3343" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1DIkbkkjDvjYNLI5lUrs-DYJSdDBqQbnbOBMWG--NKH0\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1DIkbkkjDvjYNLI5lUrs-DYJSdDBqQbnbOBMWG--NKH0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DIkbkkjDvjYNLI5lUrs-DYJSdDBqQbnbOBMWG--NKH0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3343" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1DIkbkkjDvjYNLI5lUrs-DYJSdDBqQbnbOBMWG--NKH0\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1DIkbkkjDvjYNLI5lUrs-DYJSdDBqQbnbOBMWG--NKH0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1DIkbkkjDvjYNLI5lUrs-DYJSdDBqQbnbOBMWG--NKH0?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -421,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:48 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:28 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "199" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8\",\n \"name\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1NfnP3_UrvKOEKTLjmHFz4bL6psgu5FjezHPHqFAm4qk\",\n \"name\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NfnP3_UrvKOEKTLjmHFz4bL6psgu5FjezHPHqFAm4qk?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -501,51 +122,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:49 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:29 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3343" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1NfnP3_UrvKOEKTLjmHFz4bL6psgu5FjezHPHqFAm4qk\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NfnP3_UrvKOEKTLjmHFz4bL6psgu5FjezHPHqFAm4qk/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1NfnP3_UrvKOEKTLjmHFz4bL6psgu5FjezHPHqFAm4qk?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -577,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:49 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:29 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "209" ] }, "body": { - "string": "{\n \"id\": \"1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8\",\n \"name\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"createdTime\": \"2023-07-20T08:56:26.618Z\",\n \"modifiedTime\": \"2023-07-20T08:56:27.548Z\"\n}\n" + "string": "{\n \"id\": \"1NfnP3_UrvKOEKTLjmHFz4bL6psgu5FjezHPHqFAm4qk\",\n \"name\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"createdTime\": \"2023-07-25T15:39:46.079Z\",\n \"modifiedTime\": \"2023-07-25T15:39:47.295Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NfnP3_UrvKOEKTLjmHFz4bL6psgu5FjezHPHqFAm4qk?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -657,51 +278,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:49 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:29 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3343" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1NfnP3_UrvKOEKTLjmHFz4bL6psgu5FjezHPHqFAm4qk\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NfnP3_UrvKOEKTLjmHFz4bL6psgu5FjezHPHqFAm4qk/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NfnP3_UrvKOEKTLjmHFz4bL6psgu5FjezHPHqFAm4qk?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -733,51 +354,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:49 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:29 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3343" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1NfnP3_UrvKOEKTLjmHFz4bL6psgu5FjezHPHqFAm4qk\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheet_iteration\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NfnP3_UrvKOEKTLjmHFz4bL6psgu5FjezHPHqFAm4qk/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1p8gpu9oSJueZCu0plGdrqIKCQvjJVo3zIAkJTd8zkS8?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1NfnP3_UrvKOEKTLjmHFz4bL6psgu5FjezHPHqFAm4qk?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -812,26 +433,26 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:50 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -839,14 +460,14 @@ "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:56:30 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_worksheets.json b/tests/cassettes/SpreadsheetTest.test_worksheets.json index 6c8f38483..79410558f 100644 --- a/tests/cassettes/SpreadsheetTest.test_worksheets.json +++ b/tests/cassettes/SpreadsheetTest.test_worksheets.json @@ -1,464 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_worksheets\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "103" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:57 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "190" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"178Sv-KcqivyVYRDzqajKl2jTTVFHJbOCAmdjrSxpFg4\",\n \"name\": \"Test SpreadsheetTest test_worksheets\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/178Sv-KcqivyVYRDzqajKl2jTTVFHJbOCAmdjrSxpFg4?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:58 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3334" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"178Sv-KcqivyVYRDzqajKl2jTTVFHJbOCAmdjrSxpFg4\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/178Sv-KcqivyVYRDzqajKl2jTTVFHJbOCAmdjrSxpFg4/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/178Sv-KcqivyVYRDzqajKl2jTTVFHJbOCAmdjrSxpFg4?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:58 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3334" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"178Sv-KcqivyVYRDzqajKl2jTTVFHJbOCAmdjrSxpFg4\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/178Sv-KcqivyVYRDzqajKl2jTTVFHJbOCAmdjrSxpFg4/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/178Sv-KcqivyVYRDzqajKl2jTTVFHJbOCAmdjrSxpFg4:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"finances\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "145" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:58 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "383" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"178Sv-KcqivyVYRDzqajKl2jTTVFHJbOCAmdjrSxpFg4\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1992618142,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/178Sv-KcqivyVYRDzqajKl2jTTVFHJbOCAmdjrSxpFg4?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:59 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3580" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"178Sv-KcqivyVYRDzqajKl2jTTVFHJbOCAmdjrSxpFg4\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1992618142,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/178Sv-KcqivyVYRDzqajKl2jTTVFHJbOCAmdjrSxpFg4/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/178Sv-KcqivyVYRDzqajKl2jTTVFHJbOCAmdjrSxpFg4?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -500,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:54 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:33 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "190" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y\",\n \"name\": \"Test SpreadsheetTest test_worksheets\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo\",\n \"name\": \"Test SpreadsheetTest test_worksheets\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -580,51 +122,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:55 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:34 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3334" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -656,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:55 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:34 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "200" ] }, "body": { - "string": "{\n \"id\": \"1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y\",\n \"name\": \"Test SpreadsheetTest test_worksheets\",\n \"createdTime\": \"2023-07-20T08:56:30.791Z\",\n \"modifiedTime\": \"2023-07-20T08:56:30.812Z\"\n}\n" + "string": "{\n \"id\": \"1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo\",\n \"name\": \"Test SpreadsheetTest test_worksheets\",\n \"createdTime\": \"2023-07-25T15:39:51.226Z\",\n \"modifiedTime\": \"2023-07-25T15:39:51.245Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -736,51 +278,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:55 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:34 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3334" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"finances\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", "headers": { "User-Agent": [ @@ -818,51 +360,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:56 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:34 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "383" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1271133701,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1507121383,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -894,51 +436,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:39:56 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:35 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3580" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1271133701,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1507121383,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1WlqLDta9pHUs-XaSqZ0t_th42mGkGT5piHJ6hjwDq9Y?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1bo96CiNSjZv1hODRAzCeVeQJQoxC79XlFQe-g4USLEo?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -973,26 +515,26 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:39:57 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -1000,14 +542,14 @@ "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:56:35 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_worksheets_exclude_hidden.json b/tests/cassettes/SpreadsheetTest.test_worksheets_exclude_hidden.json index 5db3b064a..b5d079c0e 100644 --- a/tests/cassettes/SpreadsheetTest.test_worksheets_exclude_hidden.json +++ b/tests/cassettes/SpreadsheetTest.test_worksheets_exclude_hidden.json @@ -22,398 +22,14 @@ "x-goog-api-client": [ "cred-type/sa" ], - "Content-Length": [ - "118" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:02 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "205" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0\",\n \"name\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:02 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3349" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"finances\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "145" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "383" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1759274710,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"gacha\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "142" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "379" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 644428873,\n \"title\": \"gacha\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 644428873, \"hidden\": true}, \"fields\": \"hidden\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "117" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" + "x-identity-trust-boundary": [ + "0" ], - "Connection": [ - "keep-alive" + "Content-Length": [ + "118" ], - "x-goog-api-client": [ - "cred-type/sa" + "Content-Type": [ + "application/json" ], "authorization": [ "" @@ -426,172 +42,23 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Date": [ + "Tue, 25 Jul 2023 15:40:01 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3861" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1759274710,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 644428873,\n \"title\": \"gacha\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n },\n \"hidden\": true\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:03 GMT" - ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Cache-Control": [ - "private" - ], - "content-length": [ - "3861" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1759274710,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 644428873,\n \"title\": \"gacha\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n },\n \"hidden\": true\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/12cS9oSO3ce8np3VFKLfKMyDupzu7NdKL8qmiLLOAkT0?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -599,114 +66,31 @@ "Pragma": [ "no-cache" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "118" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "Vary": [ "Origin, X-Origin" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:56:38 GMT" - ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "205" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"name\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw\",\n \"name\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -738,51 +122,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:40:01 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:39 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3349" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -814,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:40:01 GMT" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "Pragma": [ "no-cache" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:39 GMT" + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "content-length": [ "215" ] }, "body": { - "string": "{\n \"id\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"name\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"createdTime\": \"2023-07-20T08:56:36.158Z\",\n \"modifiedTime\": \"2023-07-20T08:56:36.173Z\"\n}\n" + "string": "{\n \"id\": \"19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw\",\n \"name\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"createdTime\": \"2023-07-25T15:39:57.622Z\",\n \"modifiedTime\": \"2023-07-25T15:39:57.639Z\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"finances\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", "headers": { "User-Agent": [ @@ -900,51 +284,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:40:02 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:39 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ - "382" + "383" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 698100757,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1613166149,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"gacha\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", "headers": { "User-Agent": [ @@ -982,52 +366,52 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:40:02 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:40 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ - "380" + "379" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1305070531,\n \"title\": \"gacha\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 755875121,\n \"title\": \"gacha\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 1305070531, \"hidden\": true}, \"fields\": \"hidden\"}}]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 755875121, \"hidden\": true}, \"fields\": \"hidden\"}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -1048,7 +432,7 @@ "0" ], "Content-Length": [ - "118" + "117" ], "Content-Type": [ "application/json" @@ -1064,51 +448,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:40:03 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:40 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1140,51 +524,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:40:03 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:40 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3861" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 698100757,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1305070531,\n \"title\": \"gacha\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n },\n \"hidden\": true\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1613166149,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 755875121,\n \"title\": \"gacha\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n },\n \"hidden\": true\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1216,51 +600,51 @@ "message": "OK" }, "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:40:03 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Cache-Control": [ "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Thu, 20 Jul 2023 08:56:40 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" ], "content-length": [ "3861" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 698100757,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1305070531,\n \"title\": \"gacha\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n },\n \"hidden\": true\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_worksheets_exclude_hidden\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1613166149,\n \"title\": \"finances\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 755875121,\n \"title\": \"gacha\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n },\n \"hidden\": true\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1TIi-Cop9YzETsoW7mY9FK1tF8nzxwDktugE-ZrI7Egs?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/19SsaJoNCUcVKkbPg7p_tE0GbuR_Nzb-9i-UxNemn1jw?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1295,26 +679,26 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Date": [ + "Tue, 25 Jul 2023 15:40:04 GMT" ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "X-XSS-Protection": [ + "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "X-XSS-Protection": [ + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Content-Type-Options": [ "nosniff" @@ -1322,14 +706,14 @@ "Pragma": [ "no-cache" ], - "Content-Length": [ - "0" - ], - "Date": [ - "Thu, 20 Jul 2023 08:56:41 GMT" + "Vary": [ + "Origin, X-Origin" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_acell.json b/tests/cassettes/WorksheetTest.test_acell.json index 0062ab56f..7dd03f88d 100644 --- a/tests/cassettes/WorksheetTest.test_acell.json +++ b/tests/cassettes/WorksheetTest.test_acell.json @@ -1,461 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_acell\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "96" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:07 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "183" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1XIf-HG24bHgsOCk4baJrjFmiHZMZp_3EC_LhJW4jg5Q\",\n \"name\": \"Test WorksheetTest test_acell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1XIf-HG24bHgsOCk4baJrjFmiHZMZp_3EC_LhJW4jg5Q?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3327" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1XIf-HG24bHgsOCk4baJrjFmiHZMZp_3EC_LhJW4jg5Q\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1XIf-HG24bHgsOCk4baJrjFmiHZMZp_3EC_LhJW4jg5Q/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1XIf-HG24bHgsOCk4baJrjFmiHZMZp_3EC_LhJW4jg5Q?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3327" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1XIf-HG24bHgsOCk4baJrjFmiHZMZp_3EC_LhJW4jg5Q\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1XIf-HG24bHgsOCk4baJrjFmiHZMZp_3EC_LhJW4jg5Q/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1XIf-HG24bHgsOCk4baJrjFmiHZMZp_3EC_LhJW4jg5Q/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1XIf-HG24bHgsOCk4baJrjFmiHZMZp_3EC_LhJW4jg5Q\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1XIf-HG24bHgsOCk4baJrjFmiHZMZp_3EC_LhJW4jg5Q/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "55" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1XIf-HG24bHgsOCk4baJrjFmiHZMZp_3EC_LhJW4jg5Q?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -497,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:56:46 GMT" + "Tue, 25 Jul 2023 15:40:46 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "183" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY\",\n \"name\": \"Test WorksheetTest test_acell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1CIKsfS4Dl5NH6zGSlOA3hbfnNElaKnk-64G03TcmAl8\",\n \"name\": \"Test WorksheetTest test_acell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CIKsfS4Dl5NH6zGSlOA3hbfnNElaKnk-64G03TcmAl8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -577,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -586,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:47 GMT" + "Tue, 25 Jul 2023 15:40:46 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -614,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1CIKsfS4Dl5NH6zGSlOA3hbfnNElaKnk-64G03TcmAl8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1CIKsfS4Dl5NH6zGSlOA3hbfnNElaKnk-64G03TcmAl8/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1CIKsfS4Dl5NH6zGSlOA3hbfnNElaKnk-64G03TcmAl8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -653,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:56:47 GMT" + "Tue, 25 Jul 2023 15:40:46 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "193" ] }, "body": { - "string": "{\n \"id\": \"16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY\",\n \"name\": \"Test WorksheetTest test_acell\",\n \"createdTime\": \"2023-07-20T08:56:43.744Z\",\n \"modifiedTime\": \"2023-07-20T08:56:43.766Z\"\n}\n" + "string": "{\n \"id\": \"1CIKsfS4Dl5NH6zGSlOA3hbfnNElaKnk-64G03TcmAl8\",\n \"name\": \"Test WorksheetTest test_acell\",\n \"createdTime\": \"2023-07-25T15:40:42.854Z\",\n \"modifiedTime\": \"2023-07-25T15:40:42.873Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CIKsfS4Dl5NH6zGSlOA3hbfnNElaKnk-64G03TcmAl8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -733,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -742,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:47 GMT" + "Tue, 25 Jul 2023 15:40:47 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -770,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1CIKsfS4Dl5NH6zGSlOA3hbfnNElaKnk-64G03TcmAl8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1CIKsfS4Dl5NH6zGSlOA3hbfnNElaKnk-64G03TcmAl8/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CIKsfS4Dl5NH6zGSlOA3hbfnNElaKnk-64G03TcmAl8/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -812,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -821,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:48 GMT" + "Tue, 25 Jul 2023 15:40:47 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -849,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1CIKsfS4Dl5NH6zGSlOA3hbfnNElaKnk-64G03TcmAl8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CIKsfS4Dl5NH6zGSlOA3hbfnNElaKnk-64G03TcmAl8/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -888,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -897,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:48 GMT" + "Tue, 25 Jul 2023 15:40:47 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -932,7 +477,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/16zuE0jTEerCDxqr9-0Vx2GP9CQo7S63_yUhoXPzXCBY?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1CIKsfS4Dl5NH6zGSlOA3hbfnNElaKnk-64G03TcmAl8?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -967,8 +512,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -976,32 +521,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:48 GMT" + "Tue, 25 Jul 2023 15:40:48 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_append_row.json b/tests/cassettes/WorksheetTest.test_append_row.json index 5aa5cf66f..3d9d1b269 100644 --- a/tests/cassettes/WorksheetTest.test_append_row.json +++ b/tests/cassettes/WorksheetTest.test_append_row.json @@ -1,540 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_append_row\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "101" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:12 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "188" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg\",\n \"name\": \"Test WorksheetTest test_append_row\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:12 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3332" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3332" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", - "body": "{\"values\": [[\"test_append_row 1\", \"test_append_row 2\", \"test_append_row 3\", \"test_append_row 4\", \"test_append_row 5\", \"test_append_row 6\", \"test_append_row 7\", \"test_append_row 8\", \"test_append_row 9\", \"test_append_row 10\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "225" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "266" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg\",\n \"updates\": {\n \"spreadsheetId\": \"1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg\",\n \"updatedRange\": \"Sheet1!A1:J1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg/values/%27Sheet1%27%21A1%3A1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "359" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:Z1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_append_row 1\",\n \"test_append_row 2\",\n \"test_append_row 3\",\n \"test_append_row 4\",\n \"test_append_row 5\",\n \"test_append_row 6\",\n \"test_append_row 7\",\n \"test_append_row 8\",\n \"test_append_row 9\",\n \"test_append_row 10\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1ew33YoY9qvalPSc0gQ11HZfCzphw2GIOiCWpew2_vYg?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:14 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -576,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:56:50 GMT" + "Tue, 25 Jul 2023 15:40:52 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "188" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"name\": \"Test WorksheetTest test_append_row\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0\",\n \"name\": \"Test WorksheetTest test_append_row\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -656,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -665,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:51 GMT" + "Tue, 25 Jul 2023 15:40:52 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -693,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -732,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:56:51 GMT" + "Tue, 25 Jul 2023 15:40:53 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "198" ] }, "body": { - "string": "{\n \"id\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"name\": \"Test WorksheetTest test_append_row\",\n \"createdTime\": \"2023-07-20T08:56:49.210Z\",\n \"modifiedTime\": \"2023-07-20T08:56:49.846Z\"\n}\n" + "string": "{\n \"id\": \"1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0\",\n \"name\": \"Test WorksheetTest test_append_row\",\n \"createdTime\": \"2023-07-25T15:40:49.067Z\",\n \"modifiedTime\": \"2023-07-25T15:40:49.085Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -812,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -821,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:51 GMT" + "Tue, 25 Jul 2023 15:40:53 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -849,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -891,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -900,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:52 GMT" + "Tue, 25 Jul 2023 15:40:53 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -928,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", "body": "{\"values\": [[\"test_append_row 1\", \"test_append_row 2\", \"test_append_row 3\", \"test_append_row 4\", \"test_append_row 5\", \"test_append_row 6\", \"test_append_row 7\", \"test_append_row 8\", \"test_append_row 9\", \"test_append_row 10\"]]}", "headers": { "User-Agent": [ @@ -973,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -982,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:52 GMT" + "Tue, 25 Jul 2023 15:40:54 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1010,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"updates\": {\n \"spreadsheetId\": \"10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg\",\n \"updatedRange\": \"Sheet1!A1:J1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0\",\n \"updates\": {\n \"spreadsheetId\": \"1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0\",\n \"updatedRange\": \"Sheet1!A1:J1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg/values/%27Sheet1%27%21A1%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0/values/%27Sheet1%27%21A1%3A1", "body": null, "headers": { "User-Agent": [ @@ -1049,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1058,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:52 GMT" + "Tue, 25 Jul 2023 15:40:54 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1093,7 +559,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/10y-dRqoiNn8qf0-FnLQPsAP3JMh3Rfxm75rVXNypEpg?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1qFopcWEGi_JqeOGvSs93SyFdsSI8J30NzrX92_HZBR0?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1128,8 +594,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1137,32 +603,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:53 GMT" + "Tue, 25 Jul 2023 15:40:55 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_append_row_with_empty_value.json b/tests/cassettes/WorksheetTest.test_append_row_with_empty_value.json index b7b9beaff..4b1ec2995 100644 --- a/tests/cassettes/WorksheetTest.test_append_row_with_empty_value.json +++ b/tests/cassettes/WorksheetTest.test_append_row_with_empty_value.json @@ -1,619 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_append_row_with_empty_value\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "118" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:17 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "205" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:17 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3349" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:17 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3349" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:17 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", - "body": "{\"values\": [[\"test_append_row_with_empty_value 1\", \"\", \"test_append_row_with_empty_value 3\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "94" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "264" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk\",\n \"updates\": {\n \"spreadsheetId\": \"1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk\",\n \"updatedRange\": \"Sheet1!A1:C1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", - "body": "{\"values\": [[\"test_append_row_with_empty_value 1\", \"\", \"test_append_row_with_empty_value 3\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "94" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "293" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk\",\n \"tableRange\": \"Sheet1!C1\",\n \"updates\": {\n \"spreadsheetId\": \"1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk\",\n \"updatedRange\": \"Sheet1!C2:E2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk/values/%27Sheet1%27%21A2%3A2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "206" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:Z2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\",\n \"\",\n \"test_append_row_with_empty_value 1\",\n \"\",\n \"test_append_row_with_empty_value 3\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1Fu9Hvh_pYG6lzr65myJudZpEcByFXZB1nKj5GFFASqk?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:19 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -655,8 +42,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -664,46 +51,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:56:56 GMT" + "Tue, 25 Jul 2023 15:40:59 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "205" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -735,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -744,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:57 GMT" + "Tue, 25 Jul 2023 15:40:59 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -772,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -811,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:56:57 GMT" + "Tue, 25 Jul 2023 15:41:00 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "215" ] }, "body": { - "string": "{\n \"id\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"createdTime\": \"2023-07-20T08:56:53.367Z\",\n \"modifiedTime\": \"2023-07-20T08:56:53.383Z\"\n}\n" + "string": "{\n \"id\": \"1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"createdTime\": \"2023-07-25T15:40:55.805Z\",\n \"modifiedTime\": \"2023-07-25T15:40:55.828Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -891,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -900,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:57 GMT" + "Tue, 25 Jul 2023 15:41:00 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -928,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -970,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -979,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:58 GMT" + "Tue, 25 Jul 2023 15:41:00 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1007,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", "body": "{\"values\": [[\"test_append_row_with_empty_value 1\", \"\", \"test_append_row_with_empty_value 3\"]]}", "headers": { "User-Agent": [ @@ -1052,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1061,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:58 GMT" + "Tue, 25 Jul 2023 15:41:00 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1089,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"updates\": {\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"updatedRange\": \"Sheet1!A1:C1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0\",\n \"updates\": {\n \"spreadsheetId\": \"1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0\",\n \"updatedRange\": \"Sheet1!A1:C1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", "body": "{\"values\": [[\"test_append_row_with_empty_value 1\", \"\", \"test_append_row_with_empty_value 3\"]]}", "headers": { "User-Agent": [ @@ -1134,8 +521,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1143,25 +532,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:58 GMT" + "Tue, 25 Jul 2023 15:41:01 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1171,14 +558,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"tableRange\": \"Sheet1!C1\",\n \"updates\": {\n \"spreadsheetId\": \"1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc\",\n \"updatedRange\": \"Sheet1!C2:E2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0\",\n \"tableRange\": \"Sheet1!C1\",\n \"updates\": {\n \"spreadsheetId\": \"1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0\",\n \"updatedRange\": \"Sheet1!C2:E2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc/values/%27Sheet1%27%21A2%3A2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0/values/%27Sheet1%27%21A2%3A2", "body": null, "headers": { "User-Agent": [ @@ -1210,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1219,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:58 GMT" + "Tue, 25 Jul 2023 15:41:01 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1254,7 +641,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1ZABt52tCeqXyZiJsn6V3_mdB38P8tjdqNH6vREQGFBc?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1cNWHu1-cVJM0FAmqJH3Pq9NNg29Sgp6jsysikvTkBO0?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1289,41 +676,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:56:59 GMT" + "Tue, 25 Jul 2023 15:41:02 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_append_row_with_empty_value_and_table_range.json b/tests/cassettes/WorksheetTest.test_append_row_with_empty_value_and_table_range.json index 234e6a26c..0c071303d 100644 --- a/tests/cassettes/WorksheetTest.test_append_row_with_empty_value_and_table_range.json +++ b/tests/cassettes/WorksheetTest.test_append_row_with_empty_value_and_table_range.json @@ -1,619 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "134" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:22 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "221" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:22 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3365" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:23 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3365" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:23 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", - "body": "{\"values\": [[\"test_append_row_with_empty_value_and_table_range 1\", \"\", \"test_append_row_with_empty_value_and_table_range 3\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "126" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:23 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "264" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE\",\n \"updates\": {\n \"spreadsheetId\": \"1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE\",\n \"updatedRange\": \"Sheet1!A1:C1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE/values/%27Sheet1%27%21A1:append?valueInputOption=RAW&includeValuesInResponse=False", - "body": "{\"values\": [[\"test_append_row_with_empty_value_and_table_range 1\", \"\", \"test_append_row_with_empty_value_and_table_range 3\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "126" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:23 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "293" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE\",\n \"tableRange\": \"Sheet1!A1\",\n \"updates\": {\n \"spreadsheetId\": \"1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE\",\n \"updatedRange\": \"Sheet1!A2:C2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE/values/%27Sheet1%27%21A2%3A2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:23 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "218" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:Z2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_append_row_with_empty_value_and_table_range 1\",\n \"\",\n \"test_append_row_with_empty_value_and_table_range 3\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1ohg-5zUJ6CMfWeLbR_uq8T-Rkjfd_p_dgr-CD6NobKE?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:24 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -655,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:02 GMT" + "Tue, 25 Jul 2023 15:41:05 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "221" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -735,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -744,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:03 GMT" + "Tue, 25 Jul 2023 15:41:06 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -772,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -811,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:03 GMT" + "Tue, 25 Jul 2023 15:41:06 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "231" ] }, "body": { - "string": "{\n \"id\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"createdTime\": \"2023-07-20T08:57:00.311Z\",\n \"modifiedTime\": \"2023-07-20T08:57:00.331Z\"\n}\n" + "string": "{\n \"id\": \"1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8\",\n \"name\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"createdTime\": \"2023-07-25T15:41:02.705Z\",\n \"modifiedTime\": \"2023-07-25T15:41:02.727Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -891,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -900,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:03 GMT" + "Tue, 25 Jul 2023 15:41:06 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -928,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_append_row_with_empty_value_and_table_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -970,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -979,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:04 GMT" + "Tue, 25 Jul 2023 15:41:07 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1007,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", "body": "{\"values\": [[\"test_append_row_with_empty_value_and_table_range 1\", \"\", \"test_append_row_with_empty_value_and_table_range 3\"]]}", "headers": { "User-Agent": [ @@ -1052,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1061,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:04 GMT" + "Tue, 25 Jul 2023 15:41:07 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1089,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"updates\": {\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"updatedRange\": \"Sheet1!A1:C1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8\",\n \"updates\": {\n \"spreadsheetId\": \"1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8\",\n \"updatedRange\": \"Sheet1!A1:C1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw/values/%27Sheet1%27%21A1:append?valueInputOption=RAW&includeValuesInResponse=False", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8/values/%27Sheet1%27%21A1:append?valueInputOption=RAW&includeValuesInResponse=False", "body": "{\"values\": [[\"test_append_row_with_empty_value_and_table_range 1\", \"\", \"test_append_row_with_empty_value_and_table_range 3\"]]}", "headers": { "User-Agent": [ @@ -1134,8 +521,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1143,25 +532,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:04 GMT" + "Tue, 25 Jul 2023 15:41:07 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1171,14 +558,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"tableRange\": \"Sheet1!A1\",\n \"updates\": {\n \"spreadsheetId\": \"1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw\",\n \"updatedRange\": \"Sheet1!A2:C2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8\",\n \"tableRange\": \"Sheet1!A1\",\n \"updates\": {\n \"spreadsheetId\": \"1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8\",\n \"updatedRange\": \"Sheet1!A2:C2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n }\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw/values/%27Sheet1%27%21A2%3A2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8/values/%27Sheet1%27%21A2%3A2", "body": null, "headers": { "User-Agent": [ @@ -1210,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1219,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:05 GMT" + "Tue, 25 Jul 2023 15:41:07 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1254,7 +641,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1gFV0mXn6J6Rkn-On0bpD9rgqy7T9S2AlIGwOuPE14kw?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1vzh-MhnIrux030WxJoVdgHnY38_xq200mityr_IxuH8?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1289,41 +676,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:05 GMT" + "Tue, 25 Jul 2023 15:41:08 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_auto_resize_columns.json b/tests/cassettes/WorksheetTest.test_auto_resize_columns.json index 2a3d4fd30..bd0a6f31e 100644 --- a/tests/cassettes/WorksheetTest.test_auto_resize_columns.json +++ b/tests/cassettes/WorksheetTest.test_auto_resize_columns.json @@ -1,692 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_auto_resize_columns\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "110" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:26 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "197" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ\",\n \"name\": \"Test WorksheetTest test_auto_resize_columns\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:27 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_auto_resize_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:27 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_auto_resize_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:27 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "1042" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:27 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ?fields=sheets.data.columnMetadata", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:28 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "1679" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"columnMetadata\": [\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n }\n ]\n }\n ]\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ:batchUpdate", - "body": "{\"requests\": [{\"autoResizeDimensions\": {\"dimensions\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 1}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "128" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:28 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ?fields=sheets.data.columnMetadata", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:28 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "1680" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"columnMetadata\": [\n {\n \"pixelSize\": 8691\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n },\n {\n \"pixelSize\": 100\n }\n ]\n }\n ]\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1RSBhxFd1aWrlRA-jNWaQ_HJ1rgQJ15oFPlW_8Kuv1cQ?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:29 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -728,8 +42,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -737,46 +51,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:08 GMT" + "Tue, 25 Jul 2023 15:41:11 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "197" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"name\": \"Test WorksheetTest test_auto_resize_columns\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo\",\n \"name\": \"Test WorksheetTest test_auto_resize_columns\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -808,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -817,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:09 GMT" + "Tue, 25 Jul 2023 15:41:11 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -845,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_auto_resize_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_auto_resize_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -884,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:09 GMT" + "Tue, 25 Jul 2023 15:41:12 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "207" ] }, "body": { - "string": "{\n \"id\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"name\": \"Test WorksheetTest test_auto_resize_columns\",\n \"createdTime\": \"2023-07-20T08:57:06.002Z\",\n \"modifiedTime\": \"2023-07-20T08:57:06.026Z\"\n}\n" + "string": "{\n \"id\": \"1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo\",\n \"name\": \"Test WorksheetTest test_auto_resize_columns\",\n \"createdTime\": \"2023-07-25T15:41:09.036Z\",\n \"modifiedTime\": \"2023-07-25T15:41:09.826Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -964,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:09 GMT" + "Tue, 25 Jul 2023 15:41:12 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_auto_resize_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_auto_resize_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1043,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1052,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:10 GMT" + "Tue, 25 Jul 2023 15:41:12 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1080,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"]]}", "headers": { "User-Agent": [ @@ -1125,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1134,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:10 GMT" + "Tue, 25 Jul 2023 15:41:12 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1162,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM?fields=sheets.data.columnMetadata", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo?fields=sheets.data.columnMetadata", "body": null, "headers": { "User-Agent": [ @@ -1201,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1210,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:10 GMT" + "Tue, 25 Jul 2023 15:41:13 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1245,7 +559,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo:batchUpdate", "body": "{\"requests\": [{\"autoResizeDimensions\": {\"dimensions\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 1}}}]}", "headers": { "User-Agent": [ @@ -1283,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1292,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:11 GMT" + "Tue, 25 Jul 2023 15:41:13 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1320,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM?fields=sheets.data.columnMetadata", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo?fields=sheets.data.columnMetadata", "body": null, "headers": { "User-Agent": [ @@ -1359,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1368,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:11 GMT" + "Tue, 25 Jul 2023 15:41:13 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1403,7 +717,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1bRISN4BdMpOhMDmvehTWrehYXYn8qaHrpx3eEQ3oaZM?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1SjWaDmq0wyIj9VEuWAR9601SPgZzZ8hiXtJOzZMM7Uo?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1438,41 +752,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:11 GMT" + "Tue, 25 Jul 2023 15:41:14 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_basic_filters.json b/tests/cassettes/WorksheetTest.test_basic_filters.json index 597b83df9..a570ac95c 100644 --- a/tests/cassettes/WorksheetTest.test_basic_filters.json +++ b/tests/cassettes/WorksheetTest.test_basic_filters.json @@ -1,1075 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_basic_filters\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "104" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:32 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "191" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE\",\n \"name\": \"Test WorksheetTest test_basic_filters\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:32 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3335" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:32 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3335" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 20, \"columnCount\": 20}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "192" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE:batchUpdate", - "body": "{\"requests\": [{\"setBasicFilter\": {\"filter\": {\"range\": {\"sheetId\": 0}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "73" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3517" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n },\n \"basicFilter\": {\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 20,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 20\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE:batchUpdate", - "body": "{\"requests\": [{\"setBasicFilter\": {\"filter\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 3, \"sheetId\": 0}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "155" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3515" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n },\n \"basicFilter\": {\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 1,\n \"endColumnIndex\": 3\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE:batchUpdate", - "body": "{\"requests\": [{\"setBasicFilter\": {\"filter\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 3, \"sheetId\": 0}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "155" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3515" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n },\n \"basicFilter\": {\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 1,\n \"endColumnIndex\": 3\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE:batchUpdate", - "body": "{\"requests\": [{\"clearBasicFilter\": {\"sheetId\": 0}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "52" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3333" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/12MEeXvgbp4e_ZZ1XywvHdUNkdKFvSOWkGRpe0tu0HIE?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:35 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -1111,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:14 GMT" + "Tue, 25 Jul 2023 15:41:17 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "191" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"name\": \"Test WorksheetTest test_basic_filters\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"name\": \"Test WorksheetTest test_basic_filters\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1191,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1200,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:14 GMT" + "Tue, 25 Jul 2023 15:41:18 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1228,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1267,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1276,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:14 GMT" + "Tue, 25 Jul 2023 15:41:18 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "201" ] }, "body": { - "string": "{\n \"id\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"name\": \"Test WorksheetTest test_basic_filters\",\n \"createdTime\": \"2023-07-20T08:57:12.313Z\",\n \"modifiedTime\": \"2023-07-20T08:57:13.284Z\"\n}\n" + "string": "{\n \"id\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"name\": \"Test WorksheetTest test_basic_filters\",\n \"createdTime\": \"2023-07-25T15:41:15.414Z\",\n \"modifiedTime\": \"2023-07-25T15:41:16.533Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1347,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1356,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:15 GMT" + "Tue, 25 Jul 2023 15:41:18 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1384,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1426,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1435,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:15 GMT" + "Tue, 25 Jul 2023 15:41:19 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1463,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 20, \"columnCount\": 20}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1508,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1517,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:15 GMT" + "Tue, 25 Jul 2023 15:41:19 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1545,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM:batchUpdate", "body": "{\"requests\": [{\"setBasicFilter\": {\"filter\": {\"range\": {\"sheetId\": 0}}}}]}", "headers": { "User-Agent": [ @@ -1590,8 +521,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1599,25 +532,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:16 GMT" + "Tue, 25 Jul 2023 15:41:19 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1627,14 +558,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1666,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1675,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:16 GMT" + "Tue, 25 Jul 2023 15:41:19 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1703,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n },\n \"basicFilter\": {\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 20,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 20\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n },\n \"basicFilter\": {\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 20,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 20\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM:batchUpdate", "body": "{\"requests\": [{\"setBasicFilter\": {\"filter\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 3, \"sheetId\": 0}}}}]}", "headers": { "User-Agent": [ @@ -1748,8 +679,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1757,25 +690,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:16 GMT" + "Tue, 25 Jul 2023 15:41:20 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1785,14 +716,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1824,8 +755,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1833,25 +766,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:16 GMT" + "Tue, 25 Jul 2023 15:41:20 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1861,14 +792,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n },\n \"basicFilter\": {\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 1,\n \"endColumnIndex\": 3\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n },\n \"basicFilter\": {\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 1,\n \"endColumnIndex\": 3\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM:batchUpdate", "body": "{\"requests\": [{\"setBasicFilter\": {\"filter\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 3, \"sheetId\": 0}}}}]}", "headers": { "User-Agent": [ @@ -1906,8 +837,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1915,25 +848,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:17 GMT" + "Tue, 25 Jul 2023 15:41:20 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1943,14 +874,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1982,8 +913,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1991,25 +924,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:17 GMT" + "Tue, 25 Jul 2023 15:41:20 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2019,14 +950,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n },\n \"basicFilter\": {\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 1,\n \"endColumnIndex\": 3\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n },\n \"basicFilter\": {\n \"range\": {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 1,\n \"endColumnIndex\": 3\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM:batchUpdate", "body": "{\"requests\": [{\"clearBasicFilter\": {\"sheetId\": 0}}]}", "headers": { "User-Agent": [ @@ -2064,8 +995,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2073,25 +1006,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:17 GMT" + "Tue, 25 Jul 2023 15:41:21 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2101,14 +1032,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -2140,8 +1071,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2149,25 +1082,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:17 GMT" + "Tue, 25 Jul 2023 15:41:21 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2177,14 +1108,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_basic_filters\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 20,\n \"columnCount\": 20\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/17-Z1_u1VF5G1egE0_ISYFkpolzz17iHYkkR-1NT_slM?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1_41UgH_SGiG4KVXZq5HNFsZm2M7JHF0NZQ9-8QZFRlM?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -2219,41 +1150,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:18 GMT" + "Tue, 25 Jul 2023 15:41:22 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_batch_clear.json b/tests/cassettes/WorksheetTest.test_batch_clear.json index 5679ef87b..aca7e7ee4 100644 --- a/tests/cassettes/WorksheetTest.test_batch_clear.json +++ b/tests/cassettes/WorksheetTest.test_batch_clear.json @@ -1,1136 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_batch_clear\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "102" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:38 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "189" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs\",\n \"name\": \"Test WorksheetTest test_batch_clear\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:38 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3333" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:38 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3333" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3333" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs/values/%27Sheet1%27%21A1%3AB1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:B1\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs/values/%27Sheet1%27%21C2%3AE2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!C2:E2\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs/values/%27Sheet1%27%21A1%3AB1?valueInputOption=RAW", - "body": "{\"values\": [[\"12345\", \"ThisIsText\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "37" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "168" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs\",\n \"updatedRange\": \"Sheet1!A1:B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs/values/%27Sheet1%27%21C2%3AE2?valueInputOption=RAW", - "body": "{\"values\": [[\"5678\", \"Second\", \"Text\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "40" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "168" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs\",\n \"updatedRange\": \"Sheet1!C2:E2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs/values/%27Sheet1%27%21A1%3AB1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "123" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"12345\",\n \"ThisIsText\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs/values/%27Sheet1%27%21C2%3AE2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "132" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!C2:E2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"5678\",\n \"Second\",\n \"Text\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs/values:batchClear", - "body": "{\"ranges\": [\"'Sheet1'!A1:B1\", \"'Sheet1'!C2:E2\"]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "48" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "135" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs\",\n \"clearedRanges\": [\n \"Sheet1!A1:B1\",\n \"Sheet1!C2:E2\"\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs/values/%27Sheet1%27%21A1%3AB1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:B1\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs/values/%27Sheet1%27%21C2%3AE2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:41 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!C2:E2\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1zss-qlngULKqUWSv2Ee6wyu5fGDxDzPUnS9xZSj2rWs?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:41 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -1172,8 +42,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1181,46 +51,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:20 GMT" + "Tue, 25 Jul 2023 15:41:26 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "189" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"name\": \"Test WorksheetTest test_batch_clear\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4\",\n \"name\": \"Test WorksheetTest test_batch_clear\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1252,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1261,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:20 GMT" + "Tue, 25 Jul 2023 15:41:26 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1289,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1328,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:21 GMT" + "Tue, 25 Jul 2023 15:41:27 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "199" ] }, "body": { - "string": "{\n \"id\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"name\": \"Test WorksheetTest test_batch_clear\",\n \"createdTime\": \"2023-07-20T08:57:18.632Z\",\n \"modifiedTime\": \"2023-07-20T08:57:19.294Z\"\n}\n" + "string": "{\n \"id\": \"1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4\",\n \"name\": \"Test WorksheetTest test_batch_clear\",\n \"createdTime\": \"2023-07-25T15:41:22.745Z\",\n \"modifiedTime\": \"2023-07-25T15:41:22.763Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1408,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1417,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:21 GMT" + "Tue, 25 Jul 2023 15:41:27 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1445,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1487,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1496,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:21 GMT" + "Tue, 25 Jul 2023 15:41:27 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1524,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1563,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1572,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:21 GMT" + "Tue, 25 Jul 2023 15:41:28 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1600,14 +470,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21A1%3AB1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4/values/%27Sheet1%27%21A1%3AB1", "body": null, "headers": { "User-Agent": [ @@ -1639,8 +509,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1648,25 +520,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:22 GMT" + "Tue, 25 Jul 2023 15:41:28 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1683,7 +553,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21C2%3AE2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4/values/%27Sheet1%27%21C2%3AE2", "body": null, "headers": { "User-Agent": [ @@ -1715,8 +585,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1724,25 +596,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:22 GMT" + "Tue, 25 Jul 2023 15:41:28 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1759,7 +629,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21A1%3AB1?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4/values/%27Sheet1%27%21A1%3AB1?valueInputOption=RAW", "body": "{\"values\": [[\"12345\", \"ThisIsText\"]]}", "headers": { "User-Agent": [ @@ -1797,8 +667,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1806,25 +678,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:22 GMT" + "Tue, 25 Jul 2023 15:41:28 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1834,14 +704,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"updatedRange\": \"Sheet1!A1:B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" + "string": "{\n \"spreadsheetId\": \"1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4\",\n \"updatedRange\": \"Sheet1!A1:B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21C2%3AE2?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4/values/%27Sheet1%27%21C2%3AE2?valueInputOption=RAW", "body": "{\"values\": [[\"5678\", \"Second\", \"Text\"]]}", "headers": { "User-Agent": [ @@ -1879,8 +749,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1888,25 +760,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:22 GMT" + "Tue, 25 Jul 2023 15:41:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1916,14 +786,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"updatedRange\": \"Sheet1!C2:E2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n}\n" + "string": "{\n \"spreadsheetId\": \"1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4\",\n \"updatedRange\": \"Sheet1!C2:E2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21A1%3AB1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4/values/%27Sheet1%27%21A1%3AB1", "body": null, "headers": { "User-Agent": [ @@ -1955,8 +825,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1964,25 +836,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:22 GMT" + "Tue, 25 Jul 2023 15:41:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1999,7 +869,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21C2%3AE2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4/values/%27Sheet1%27%21C2%3AE2", "body": null, "headers": { "User-Agent": [ @@ -2031,8 +901,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2040,25 +912,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:23 GMT" + "Tue, 25 Jul 2023 15:41:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2075,7 +945,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values:batchClear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4/values:batchClear", "body": "{\"ranges\": [\"'Sheet1'!A1:B1\", \"'Sheet1'!C2:E2\"]}", "headers": { "User-Agent": [ @@ -2113,8 +983,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2122,25 +994,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:23 GMT" + "Tue, 25 Jul 2023 15:41:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2150,14 +1020,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo\",\n \"clearedRanges\": [\n \"Sheet1!A1:B1\",\n \"Sheet1!C2:E2\"\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4\",\n \"clearedRanges\": [\n \"Sheet1!A1:B1\",\n \"Sheet1!C2:E2\"\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21A1%3AB1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4/values/%27Sheet1%27%21A1%3AB1", "body": null, "headers": { "User-Agent": [ @@ -2189,8 +1059,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2198,25 +1070,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:23 GMT" + "Tue, 25 Jul 2023 15:41:30 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2233,7 +1103,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo/values/%27Sheet1%27%21C2%3AE2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4/values/%27Sheet1%27%21C2%3AE2", "body": null, "headers": { "User-Agent": [ @@ -2265,8 +1135,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2274,25 +1146,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:23 GMT" + "Tue, 25 Jul 2023 15:41:30 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2309,7 +1179,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1N4GyIFuZLwgHnH73dpmLy6-8ud4xg8unWsyBBoThCCo?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1hit0UxyZPEXhx5Tw0nEtzqm7B8ilCnC_19tZtsEkKu4?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -2344,41 +1214,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:24 GMT" + "Tue, 25 Jul 2023 15:41:31 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_batch_get.json b/tests/cassettes/WorksheetTest.test_batch_get.json index 9756d9106..8fc420618 100644 --- a/tests/cassettes/WorksheetTest.test_batch_get.json +++ b/tests/cassettes/WorksheetTest.test_batch_get.json @@ -1,540 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_batch_get\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "100" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "187" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA\",\n \"name\": \"Test WorksheetTest test_batch_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3331" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3331" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA/values/%27Sheet1%27%21A1?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [\"\", \"b2\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", \"B4\", \"\", \"D4\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "98" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA/values:batchGet?ranges=%27Sheet1%27%21A1%3AB1&ranges=%27Sheet1%27%21B4%3AD4", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "413" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA\",\n \"valueRanges\": [\n {\n \"range\": \"Sheet1!A1:B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\"\n ]\n ]\n },\n {\n \"range\": \"Sheet1!B4:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"B4\",\n \"\",\n \"D4\"\n ]\n ]\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1CEHJSN7LZA3cpNg96ZzknsQOqejxT3yK0WNSQ0PA9HA?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:47 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -576,8 +42,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -585,46 +51,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:27 GMT" + "Tue, 25 Jul 2023 15:41:33 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "187" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"name\": \"Test WorksheetTest test_batch_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo\",\n \"name\": \"Test WorksheetTest test_batch_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -656,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -665,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:27 GMT" + "Tue, 25 Jul 2023 15:41:34 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -693,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -732,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:27 GMT" + "Tue, 25 Jul 2023 15:41:34 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "197" ] }, "body": { - "string": "{\n \"id\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"name\": \"Test WorksheetTest test_batch_get\",\n \"createdTime\": \"2023-07-20T08:57:24.776Z\",\n \"modifiedTime\": \"2023-07-20T08:57:24.795Z\"\n}\n" + "string": "{\n \"id\": \"1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo\",\n \"name\": \"Test WorksheetTest test_batch_get\",\n \"createdTime\": \"2023-07-25T15:41:31.465Z\",\n \"modifiedTime\": \"2023-07-25T15:41:32.518Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -812,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -821,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:28 GMT" + "Tue, 25 Jul 2023 15:41:34 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -849,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -891,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -900,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:28 GMT" + "Tue, 25 Jul 2023 15:41:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -928,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA/values/%27Sheet1%27%21A1?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo/values/%27Sheet1%27%21A1?valueInputOption=RAW", "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [\"\", \"b2\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", \"B4\", \"\", \"D4\"]]}", "headers": { "User-Agent": [ @@ -973,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -982,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:28 GMT" + "Tue, 25 Jul 2023 15:41:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1010,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA/values:batchGet?ranges=%27Sheet1%27%21A1%3AB1&ranges=%27Sheet1%27%21B4%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo/values:batchGet?ranges=%27Sheet1%27%21A1%3AB1&ranges=%27Sheet1%27%21B4%3AD4", "body": null, "headers": { "User-Agent": [ @@ -1049,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1058,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:28 GMT" + "Tue, 25 Jul 2023 15:41:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1086,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA\",\n \"valueRanges\": [\n {\n \"range\": \"Sheet1!A1:B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\"\n ]\n ]\n },\n {\n \"range\": \"Sheet1!B4:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"B4\",\n \"\",\n \"D4\"\n ]\n ]\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo\",\n \"valueRanges\": [\n {\n \"range\": \"Sheet1!A1:B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\"\n ]\n ]\n },\n {\n \"range\": \"Sheet1!B4:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"B4\",\n \"\",\n \"D4\"\n ]\n ]\n }\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1sGX-dxXGVkxfjNbZYWczC1oacAtRLebh4vPkWjP5hxA?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1aNvNhBanaHVP93PL4xmzA69TyNmTcfv7CUaCkGmwFMo?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1128,8 +594,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1137,32 +603,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:29 GMT" + "Tue, 25 Jul 2023 15:41:36 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_batch_update.json b/tests/cassettes/WorksheetTest.test_batch_update.json index 4e355361e..e49602666 100644 --- a/tests/cassettes/WorksheetTest.test_batch_update.json +++ b/tests/cassettes/WorksheetTest.test_batch_update.json @@ -1,540 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_batch_update\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "103" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:49 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "190" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k\",\n \"name\": \"Test WorksheetTest test_batch_update\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:50 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3334" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_update\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:50 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3334" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_update\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:50 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k/values:batchUpdate", - "body": "{\"valueInputOption\": \"RAW\", \"data\": [{\"range\": \"'Sheet1'!A1:D1\", \"values\": [[\"A1\", \"B1\", \"\", \"D1\"]]}, {\"range\": \"'Sheet1'!A4:D4\", \"values\": [[\"A4\", \"B4\", \"\", \"D4\"]]}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "167" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:50 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "591" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k\",\n \"totalUpdatedRows\": 2,\n \"totalUpdatedColumns\": 4,\n \"totalUpdatedCells\": 8,\n \"totalUpdatedSheets\": 1,\n \"responses\": [\n {\n \"spreadsheetId\": \"1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k\",\n \"updatedRange\": \"Sheet1!A1:D1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 4,\n \"updatedCells\": 4\n },\n {\n \"spreadsheetId\": \"1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k\",\n \"updatedRange\": \"Sheet1!A4:D4\",\n \"updatedRows\": 1,\n \"updatedColumns\": 4,\n \"updatedCells\": 4\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k/values/%27Sheet1%27%21A1%3AD4", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:51 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "208" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [],\n [],\n [\n \"A4\",\n \"B4\",\n \"\",\n \"D4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1hOUHgh-r6XLJHzXK2BvPHiVUZs3xifqcoUnWE6SNk0k?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:51 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -576,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:32 GMT" + "Tue, 25 Jul 2023 15:41:40 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "190" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"name\": \"Test WorksheetTest test_batch_update\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w\",\n \"name\": \"Test WorksheetTest test_batch_update\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -656,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -665,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:33 GMT" + "Tue, 25 Jul 2023 15:41:41 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -693,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_update\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_update\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -732,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:33 GMT" + "Tue, 25 Jul 2023 15:41:41 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "200" ] }, "body": { - "string": "{\n \"id\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"name\": \"Test WorksheetTest test_batch_update\",\n \"createdTime\": \"2023-07-20T08:57:30.088Z\",\n \"modifiedTime\": \"2023-07-20T08:57:30.106Z\"\n}\n" + "string": "{\n \"id\": \"16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w\",\n \"name\": \"Test WorksheetTest test_batch_update\",\n \"createdTime\": \"2023-07-25T15:41:37.158Z\",\n \"modifiedTime\": \"2023-07-25T15:41:37.181Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -812,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -821,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:33 GMT" + "Tue, 25 Jul 2023 15:41:41 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -849,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_update\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_batch_update\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -891,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -900,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:34 GMT" + "Tue, 25 Jul 2023 15:41:42 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -928,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k/values:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w/values:batchUpdate", "body": "{\"valueInputOption\": \"RAW\", \"data\": [{\"range\": \"'Sheet1'!A1:D1\", \"values\": [[\"A1\", \"B1\", \"\", \"D1\"]]}, {\"range\": \"'Sheet1'!A4:D4\", \"values\": [[\"A4\", \"B4\", \"\", \"D4\"]]}]}", "headers": { "User-Agent": [ @@ -973,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -982,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:34 GMT" + "Tue, 25 Jul 2023 15:41:42 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1010,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"totalUpdatedRows\": 2,\n \"totalUpdatedColumns\": 4,\n \"totalUpdatedCells\": 8,\n \"totalUpdatedSheets\": 1,\n \"responses\": [\n {\n \"spreadsheetId\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"updatedRange\": \"Sheet1!A1:D1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 4,\n \"updatedCells\": 4\n },\n {\n \"spreadsheetId\": \"1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k\",\n \"updatedRange\": \"Sheet1!A4:D4\",\n \"updatedRows\": 1,\n \"updatedColumns\": 4,\n \"updatedCells\": 4\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w\",\n \"totalUpdatedRows\": 2,\n \"totalUpdatedColumns\": 4,\n \"totalUpdatedCells\": 8,\n \"totalUpdatedSheets\": 1,\n \"responses\": [\n {\n \"spreadsheetId\": \"16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w\",\n \"updatedRange\": \"Sheet1!A1:D1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 4,\n \"updatedCells\": 4\n },\n {\n \"spreadsheetId\": \"16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w\",\n \"updatedRange\": \"Sheet1!A4:D4\",\n \"updatedRows\": 1,\n \"updatedColumns\": 4,\n \"updatedCells\": 4\n }\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k/values/%27Sheet1%27%21A1%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w/values/%27Sheet1%27%21A1%3AD4", "body": null, "headers": { "User-Agent": [ @@ -1049,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1058,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:34 GMT" + "Tue, 25 Jul 2023 15:41:42 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1093,7 +559,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1OwPwo-pnNesq7-xrKKQEcKBqohOaODTW4dqO42uv6_k?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/16LuFWBK_SJz0B1rKNlcuRCJqj6_GbXsshAU9JPnHW3w?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1128,41 +594,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:35 GMT" + "Tue, 25 Jul 2023 15:41:43 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_cell.json b/tests/cassettes/WorksheetTest.test_cell.json index 1df2fa048..8716ea69e 100644 --- a/tests/cassettes/WorksheetTest.test_cell.json +++ b/tests/cassettes/WorksheetTest.test_cell.json @@ -1,461 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_cell\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "95" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "182" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1dMEi05O7JFUC85M0YnI7KQqHQZemFCeMbLqauMfT5ww\",\n \"name\": \"Test WorksheetTest test_cell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1dMEi05O7JFUC85M0YnI7KQqHQZemFCeMbLqauMfT5ww?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3326" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1dMEi05O7JFUC85M0YnI7KQqHQZemFCeMbLqauMfT5ww\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1dMEi05O7JFUC85M0YnI7KQqHQZemFCeMbLqauMfT5ww/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1dMEi05O7JFUC85M0YnI7KQqHQZemFCeMbLqauMfT5ww?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3326" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1dMEi05O7JFUC85M0YnI7KQqHQZemFCeMbLqauMfT5ww\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1dMEi05O7JFUC85M0YnI7KQqHQZemFCeMbLqauMfT5ww/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1dMEi05O7JFUC85M0YnI7KQqHQZemFCeMbLqauMfT5ww/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1dMEi05O7JFUC85M0YnI7KQqHQZemFCeMbLqauMfT5ww\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1dMEi05O7JFUC85M0YnI7KQqHQZemFCeMbLqauMfT5ww/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "55" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1dMEi05O7JFUC85M0YnI7KQqHQZemFCeMbLqauMfT5ww?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -497,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:38 GMT" + "Tue, 25 Jul 2023 15:41:46 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "182" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI\",\n \"name\": \"Test WorksheetTest test_cell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"17fA7JO8Eq98Vm1d1uc5PE_yvuH802DwB_jxNGpgf9tc\",\n \"name\": \"Test WorksheetTest test_cell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17fA7JO8Eq98Vm1d1uc5PE_yvuH802DwB_jxNGpgf9tc?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -577,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -586,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:38 GMT" + "Tue, 25 Jul 2023 15:41:46 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -614,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"17fA7JO8Eq98Vm1d1uc5PE_yvuH802DwB_jxNGpgf9tc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17fA7JO8Eq98Vm1d1uc5PE_yvuH802DwB_jxNGpgf9tc/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/17fA7JO8Eq98Vm1d1uc5PE_yvuH802DwB_jxNGpgf9tc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -653,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:39 GMT" + "Tue, 25 Jul 2023 15:41:47 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "192" ] }, "body": { - "string": "{\n \"id\": \"1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI\",\n \"name\": \"Test WorksheetTest test_cell\",\n \"createdTime\": \"2023-07-20T08:57:35.825Z\",\n \"modifiedTime\": \"2023-07-20T08:57:35.841Z\"\n}\n" + "string": "{\n \"id\": \"17fA7JO8Eq98Vm1d1uc5PE_yvuH802DwB_jxNGpgf9tc\",\n \"name\": \"Test WorksheetTest test_cell\",\n \"createdTime\": \"2023-07-25T15:41:43.827Z\",\n \"modifiedTime\": \"2023-07-25T15:41:45.109Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17fA7JO8Eq98Vm1d1uc5PE_yvuH802DwB_jxNGpgf9tc?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -733,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -742,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:39 GMT" + "Tue, 25 Jul 2023 15:41:47 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -770,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"17fA7JO8Eq98Vm1d1uc5PE_yvuH802DwB_jxNGpgf9tc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17fA7JO8Eq98Vm1d1uc5PE_yvuH802DwB_jxNGpgf9tc/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17fA7JO8Eq98Vm1d1uc5PE_yvuH802DwB_jxNGpgf9tc/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -812,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -821,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:39 GMT" + "Tue, 25 Jul 2023 15:41:47 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -849,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"17fA7JO8Eq98Vm1d1uc5PE_yvuH802DwB_jxNGpgf9tc\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/17fA7JO8Eq98Vm1d1uc5PE_yvuH802DwB_jxNGpgf9tc/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -888,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -897,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:40 GMT" + "Tue, 25 Jul 2023 15:41:48 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -932,7 +477,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1-swJy3Lh4qU9ZrZ6vxCIyR10-apiAqn5m46FbJMJHoI?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/17fA7JO8Eq98Vm1d1uc5PE_yvuH802DwB_jxNGpgf9tc?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -967,41 +512,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:40 GMT" + "Tue, 25 Jul 2023 15:41:48 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_clear.json b/tests/cassettes/WorksheetTest.test_clear.json index ebd2e35d1..3ae418cfd 100644 --- a/tests/cassettes/WorksheetTest.test_clear.json +++ b/tests/cassettes/WorksheetTest.test_clear.json @@ -1,689 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_clear\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "96" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:59 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "183" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo\",\n \"name\": \"Test WorksheetTest test_clear\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:59 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3327" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:59 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3327" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:16:59 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo/values/%27Sheet1%27%21A1%3AD6", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "131" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "61" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1mbzAeZtmk5CKAhNx1m7OC3fsHs83wYswoBLk4KmnVIo?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:01 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -725,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:42 GMT" + "Tue, 25 Jul 2023 15:41:51 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "183" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"name\": \"Test WorksheetTest test_clear\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac\",\n \"name\": \"Test WorksheetTest test_clear\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -805,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -814,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:43 GMT" + "Tue, 25 Jul 2023 15:41:52 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -842,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -881,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:43 GMT" + "Tue, 25 Jul 2023 15:41:52 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "193" ] }, "body": { - "string": "{\n \"id\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"name\": \"Test WorksheetTest test_clear\",\n \"createdTime\": \"2023-07-20T08:57:40.954Z\",\n \"modifiedTime\": \"2023-07-20T08:57:41.967Z\"\n}\n" + "string": "{\n \"id\": \"1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac\",\n \"name\": \"Test WorksheetTest test_clear\",\n \"createdTime\": \"2023-07-25T15:41:49.215Z\",\n \"modifiedTime\": \"2023-07-25T15:41:50.205Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -961,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -970,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:43 GMT" + "Tue, 25 Jul 2023 15:41:52 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -998,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1040,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1049,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:44 GMT" + "Tue, 25 Jul 2023 15:41:52 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1077,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/values/%27Sheet1%27%21A1%3AD6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac/values/%27Sheet1%27%21A1%3AD6", "body": null, "headers": { "User-Agent": [ @@ -1116,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1125,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:44 GMT" + "Tue, 25 Jul 2023 15:41:53 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1160,7 +477,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", "body": "{\"values\": [[\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", "headers": { "User-Agent": [ @@ -1198,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1207,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:44 GMT" + "Tue, 25 Jul 2023 15:41:53 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1235,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + "string": "{\n \"spreadsheetId\": \"1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1277,8 +594,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1286,25 +605,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:44 GMT" + "Tue, 25 Jul 2023 15:41:53 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1314,14 +631,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1353,8 +670,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1362,25 +681,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:45 GMT" + "Tue, 25 Jul 2023 15:41:53 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1397,7 +714,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1oRakOV8LYQYLzQDTePlBVLlLETH8WQfr53RHdIznZO0?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1-cggo46qjMCKSmGDfOcz4G-JoY10rGkQD-MvnrnEdac?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1432,8 +749,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1441,32 +758,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:45 GMT" + "Tue, 25 Jul 2023 15:41:54 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_clear_tab_color.json b/tests/cassettes/WorksheetTest.test_clear_tab_color.json index 73f3d7129..24c2e4420 100644 --- a/tests/cassettes/WorksheetTest.test_clear_tab_color.json +++ b/tests/cassettes/WorksheetTest.test_clear_tab_color.json @@ -1,692 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_clear_tab_color\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "106" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "193" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0\",\n \"name\": \"Test WorksheetTest test_clear_tab_color\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3337" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3337" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:05 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0?fields=sheets.properties.tabColorStyle", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:05 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "57" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"properties\": {}\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"tabColorStyle\": {\"rgbColor\": {\"red\": 1, \"green\": 0, \"blue\": 0.5}}}, \"fields\": \"tabColorStyle\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "168" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:05 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"tabColorStyle\": {\"rgbColor\": null}}, \"fields\": \"tabColorStyle\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "137" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:05 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0?fields=sheets.properties.tabColorStyle", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:06 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "57" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"properties\": {}\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1qukqnSmCbUy6mpFu_HvvyYyyacLlGk6gb9P_v8QoKh0?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:06 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -728,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:49 GMT" + "Tue, 25 Jul 2023 15:41:57 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "193" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"name\": \"Test WorksheetTest test_clear_tab_color\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes\",\n \"name\": \"Test WorksheetTest test_clear_tab_color\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -808,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -817,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:49 GMT" + "Tue, 25 Jul 2023 15:41:58 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -845,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -884,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -893,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:49 GMT" + "Tue, 25 Jul 2023 15:41:58 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "203" ] }, "body": { - "string": "{\n \"id\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"name\": \"Test WorksheetTest test_clear_tab_color\",\n \"createdTime\": \"2023-07-20T08:57:46.675Z\",\n \"modifiedTime\": \"2023-07-20T08:57:46.691Z\"\n}\n" + "string": "{\n \"id\": \"1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes\",\n \"name\": \"Test WorksheetTest test_clear_tab_color\",\n \"createdTime\": \"2023-07-25T15:41:55.358Z\",\n \"modifiedTime\": \"2023-07-25T15:41:56.179Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -964,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:50 GMT" + "Tue, 25 Jul 2023 15:41:58 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_clear_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1043,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1052,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:50 GMT" + "Tue, 25 Jul 2023 15:41:59 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1080,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8?fields=sheets.properties.tabColorStyle", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes?fields=sheets.properties.tabColorStyle", "body": null, "headers": { "User-Agent": [ @@ -1119,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1128,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:50 GMT" + "Tue, 25 Jul 2023 15:41:59 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1163,7 +477,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"tabColorStyle\": {\"rgbColor\": {\"red\": 1, \"green\": 0, \"blue\": 0.5}}}, \"fields\": \"tabColorStyle\"}}]}", "headers": { "User-Agent": [ @@ -1201,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1210,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:51 GMT" + "Tue, 25 Jul 2023 15:41:59 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1238,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"tabColorStyle\": {\"rgbColor\": null}}, \"fields\": \"tabColorStyle\"}}]}", "headers": { "User-Agent": [ @@ -1283,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1292,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:51 GMT" + "Tue, 25 Jul 2023 15:41:59 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1320,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8?fields=sheets.properties.tabColorStyle", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes?fields=sheets.properties.tabColorStyle", "body": null, "headers": { "User-Agent": [ @@ -1359,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1368,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:51 GMT" + "Tue, 25 Jul 2023 15:42:00 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1403,7 +717,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1KBiBqruP0w6TR5DwP0whoH0ilO7KFUaQijGGhqiVvl8?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1lsHcQzRDrKnbu36Bgsx60HRSC00RExUHYDnWylZ1Zes?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1438,8 +752,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1447,32 +761,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:52 GMT" + "Tue, 25 Jul 2023 15:42:00 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_copy_cut_range.json b/tests/cassettes/WorksheetTest.test_copy_cut_range.json index c5854027c..0b97245c5 100644 --- a/tests/cassettes/WorksheetTest.test_copy_cut_range.json +++ b/tests/cassettes/WorksheetTest.test_copy_cut_range.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "105" ], @@ -39,278 +42,56 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:10 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8\",\n \"name\": \"Test WorksheetTest test_copy_cut_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], + "Pragma": [ + "no-cache" + ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:10 GMT" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_copy_cut_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], "Date": [ - "Thu, 08 Jun 2023 22:17:11 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_copy_cut_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" + "Tue, 25 Jul 2023 15:42:03 GMT" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:11 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], "content-length": [ - "107" + "192" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A\",\n \"name\": \"Test WorksheetTest test_copy_cut_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8/values/%27Sheet1%27%21A1%3AA2?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\"], [\"A2\"]]}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A?includeGridData=false", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -327,11 +108,8 @@ "x-goog-api-client": [ "cred-type/sa" ], - "Content-Length": [ - "28" - ], - "Content-Type": [ - "application/json" + "x-identity-trust-boundary": [ + "0" ], "authorization": [ "" @@ -344,624 +122,10 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:11 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "168" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8\",\n \"updatedRange\": \"Sheet1!A1:A2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 1,\n \"updatedCells\": 2\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8:batchUpdate", - "body": "{\"requests\": [{\"copyPaste\": {\"source\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"destination\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 2, \"sheetId\": 0}, \"pasteType\": \"PASTE_NORMAL\", \"pasteOrientation\": \"NORMAL\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "311" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:12 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8/values/%27Sheet1%27%21B1%3AB2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:12 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "124" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!B1:B2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\"\n ],\n [\n \"A2\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8:batchUpdate", - "body": "{\"requests\": [{\"cutPaste\": {\"source\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"destination\": {\"sheetId\": 0, \"rowIndex\": 0, \"columnIndex\": 2}, \"pasteType\": \"PASTE_NORMAL\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "231" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:12 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8/values/%27Sheet1%27%21A1%3AA2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:12 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:A2\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8/values/%27Sheet1%27%21C1%3AC2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:12 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "124" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!C1:C2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\"\n ],\n [\n \"A2\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/13XPIu03a7WgSeVcAehS-wpZvoDqhSiC6GwI8zavF-B8?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_copy_cut_range\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "105" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:57:53 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"name\": \"Test WorksheetTest test_copy_cut_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -969,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:54 GMT" + "Tue, 25 Jul 2023 15:42:04 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -997,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_copy_cut_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_copy_cut_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1036,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1045,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:54 GMT" + "Tue, 25 Jul 2023 15:42:04 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "202" ] }, "body": { - "string": "{\n \"id\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"name\": \"Test WorksheetTest test_copy_cut_range\",\n \"createdTime\": \"2023-07-20T08:57:52.415Z\",\n \"modifiedTime\": \"2023-07-20T08:57:53.089Z\"\n}\n" + "string": "{\n \"id\": \"1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A\",\n \"name\": \"Test WorksheetTest test_copy_cut_range\",\n \"createdTime\": \"2023-07-25T15:42:01.377Z\",\n \"modifiedTime\": \"2023-07-25T15:42:02.547Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1116,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1125,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:55 GMT" + "Tue, 25 Jul 2023 15:42:05 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1153,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_copy_cut_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_copy_cut_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1195,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1204,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:55 GMT" + "Tue, 25 Jul 2023 15:42:05 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1232,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/values/%27Sheet1%27%21A1%3AA2?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A/values/%27Sheet1%27%21A1%3AA2?valueInputOption=RAW", "body": "{\"values\": [[\"A1\"], [\"A2\"]]}", "headers": { "User-Agent": [ @@ -1277,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1286,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:55 GMT" + "Tue, 25 Jul 2023 15:42:05 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1314,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"updatedRange\": \"Sheet1!A1:A2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 1,\n \"updatedCells\": 2\n}\n" + "string": "{\n \"spreadsheetId\": \"1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A\",\n \"updatedRange\": \"Sheet1!A1:A2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 1,\n \"updatedCells\": 2\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A:batchUpdate", "body": "{\"requests\": [{\"copyPaste\": {\"source\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"destination\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 2, \"sheetId\": 0}, \"pasteType\": \"PASTE_NORMAL\", \"pasteOrientation\": \"NORMAL\"}}]}", "headers": { "User-Agent": [ @@ -1359,8 +521,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1368,25 +532,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:56 GMT" + "Tue, 25 Jul 2023 15:42:06 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1396,14 +558,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/values/%27Sheet1%27%21B1%3AB2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A/values/%27Sheet1%27%21B1%3AB2", "body": null, "headers": { "User-Agent": [ @@ -1435,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1444,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:56 GMT" + "Tue, 25 Jul 2023 15:42:06 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1479,7 +641,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A:batchUpdate", "body": "{\"requests\": [{\"cutPaste\": {\"source\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"destination\": {\"sheetId\": 0, \"rowIndex\": 0, \"columnIndex\": 2}, \"pasteType\": \"PASTE_NORMAL\"}}]}", "headers": { "User-Agent": [ @@ -1517,8 +679,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1526,25 +690,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:56 GMT" + "Tue, 25 Jul 2023 15:42:06 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1554,14 +716,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/values/%27Sheet1%27%21A1%3AA2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A/values/%27Sheet1%27%21A1%3AA2", "body": null, "headers": { "User-Agent": [ @@ -1593,8 +755,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1602,25 +766,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:56 GMT" + "Tue, 25 Jul 2023 15:42:06 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1637,7 +799,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk/values/%27Sheet1%27%21C1%3AC2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A/values/%27Sheet1%27%21C1%3AC2", "body": null, "headers": { "User-Agent": [ @@ -1669,8 +831,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1678,25 +842,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:56 GMT" + "Tue, 25 Jul 2023 15:42:07 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1713,7 +875,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1m-iARN2OE3puPqDQ7lFCmWO_w5M14Th9nQWo612j6jk?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1HVQlPR_3LiayFoNAyfSLU56sueAOTsdvyMjZwEupw9A?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1748,41 +910,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:57:57 GMT" + "Tue, 25 Jul 2023 15:42:07 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_delete_cols.json b/tests/cassettes/WorksheetTest.test_delete_cols.json index e6ece58c8..8d403461c 100644 --- a/tests/cassettes/WorksheetTest.test_delete_cols.json +++ b/tests/cassettes/WorksheetTest.test_delete_cols.json @@ -1,911 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_delete_cols\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "102" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Date": [ - "Fri, 16 Jun 2023 00:04:25 GMT" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "189" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo\",\n \"name\": \"Test WorksheetTest test_delete_cols\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Fri, 16 Jun 2023 00:04:26 GMT" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3333" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Fri, 16 Jun 2023 00:04:26 GMT" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3333" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Fri, 16 Jun 2023 00:04:26 GMT" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo/values/%27Sheet1%27%21A1%3AD6", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Fri, 16 Jun 2023 00:04:26 GMT" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"test_delete_cols 1\", \"test_delete_cols 2\", \"test_delete_cols 3\", \"test_delete_cols 4\"], [\"test_delete_cols 5\", \"test_delete_cols 6\", \"test_delete_cols 7\", \"test_delete_cols 8\"], [\"test_delete_cols 9\", \"test_delete_cols 10\", \"test_delete_cols 11\", \"test_delete_cols 12\"], [\"test_delete_cols 13\", \"test_delete_cols 14\", \"test_delete_cols 15\", \"test_delete_cols 16\"], [\"test_delete_cols 17\", \"test_delete_cols 18\", \"test_delete_cols 19\", \"test_delete_cols 20\"], [\"test_delete_cols 21\", \"test_delete_cols 22\", \"test_delete_cols 23\", \"test_delete_cols 24\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "567" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Fri, 16 Jun 2023 00:04:26 GMT" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo/values/%27Sheet1%27%21A1%3AA?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Fri, 16 Jun 2023 00:04:27 GMT" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "265" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:A1000\",\n \"majorDimension\": \"COLUMNS\",\n \"values\": [\n [\n \"test_delete_cols 1\",\n \"test_delete_cols 5\",\n \"test_delete_cols 9\",\n \"test_delete_cols 13\",\n \"test_delete_cols 17\",\n \"test_delete_cols 21\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo/values/%27Sheet1%27%21D1%3AD?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Fri, 16 Jun 2023 00:04:27 GMT" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "266" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!D1:D1000\",\n \"majorDimension\": \"COLUMNS\",\n \"values\": [\n [\n \"test_delete_cols 4\",\n \"test_delete_cols 8\",\n \"test_delete_cols 12\",\n \"test_delete_cols 16\",\n \"test_delete_cols 20\",\n \"test_delete_cols 24\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo:batchUpdate", - "body": "{\"requests\": [{\"deleteDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 1, \"endIndex\": 3}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "118" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Fri, 16 Jun 2023 00:04:27 GMT" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo/values/%27Sheet1%27%21A1%3AA?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Fri, 16 Jun 2023 00:04:27 GMT" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "265" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:A1000\",\n \"majorDimension\": \"COLUMNS\",\n \"values\": [\n [\n \"test_delete_cols 1\",\n \"test_delete_cols 5\",\n \"test_delete_cols 9\",\n \"test_delete_cols 13\",\n \"test_delete_cols 17\",\n \"test_delete_cols 21\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo/values/%27Sheet1%27%21B1%3AB?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Fri, 16 Jun 2023 00:04:27 GMT" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "266" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!B1:B1000\",\n \"majorDimension\": \"COLUMNS\",\n \"values\": [\n [\n \"test_delete_cols 4\",\n \"test_delete_cols 8\",\n \"test_delete_cols 12\",\n \"test_delete_cols 16\",\n \"test_delete_cols 20\",\n \"test_delete_cols 24\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1mazop98FvsmlRnhdapep3d0UgMkiADzWsRd4gSUHuWo?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "text/html" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Pragma": [ - "no-cache" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Date": [ - "Fri, 16 Jun 2023 00:04:28 GMT" - ], - "Content-Length": [ - "0" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -947,8 +42,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -956,46 +51,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:57:59 GMT" + "Tue, 25 Jul 2023 15:42:11 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "189" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"name\": \"Test WorksheetTest test_delete_cols\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM\",\n \"name\": \"Test WorksheetTest test_delete_cols\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1027,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1036,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:00 GMT" + "Tue, 25 Jul 2023 15:42:11 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1064,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1103,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:00 GMT" + "Tue, 25 Jul 2023 15:42:12 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "199" ] }, "body": { - "string": "{\n \"id\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"name\": \"Test WorksheetTest test_delete_cols\",\n \"createdTime\": \"2023-07-20T08:57:57.975Z\",\n \"modifiedTime\": \"2023-07-20T08:57:59.056Z\"\n}\n" + "string": "{\n \"id\": \"1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM\",\n \"name\": \"Test WorksheetTest test_delete_cols\",\n \"createdTime\": \"2023-07-25T15:42:08.250Z\",\n \"modifiedTime\": \"2023-07-25T15:42:08.268Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1183,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1192,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:00 GMT" + "Tue, 25 Jul 2023 15:42:12 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1220,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1262,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1271,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:01 GMT" + "Tue, 25 Jul 2023 15:42:12 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1299,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27%21A1%3AD6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM/values/%27Sheet1%27%21A1%3AD6", "body": null, "headers": { "User-Agent": [ @@ -1338,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1347,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:01 GMT" + "Tue, 25 Jul 2023 15:42:12 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1382,7 +477,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", "body": "{\"values\": [[\"test_delete_cols 1\", \"test_delete_cols 2\", \"test_delete_cols 3\", \"test_delete_cols 4\"], [\"test_delete_cols 5\", \"test_delete_cols 6\", \"test_delete_cols 7\", \"test_delete_cols 8\"], [\"test_delete_cols 9\", \"test_delete_cols 10\", \"test_delete_cols 11\", \"test_delete_cols 12\"], [\"test_delete_cols 13\", \"test_delete_cols 14\", \"test_delete_cols 15\", \"test_delete_cols 16\"], [\"test_delete_cols 17\", \"test_delete_cols 18\", \"test_delete_cols 19\", \"test_delete_cols 20\"], [\"test_delete_cols 21\", \"test_delete_cols 22\", \"test_delete_cols 23\", \"test_delete_cols 24\"]]}", "headers": { "User-Agent": [ @@ -1420,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1429,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:01 GMT" + "Tue, 25 Jul 2023 15:42:13 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1457,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + "string": "{\n \"spreadsheetId\": \"1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27%21A1%3AA?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM/values/%27Sheet1%27%21A1%3AA?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", "body": null, "headers": { "User-Agent": [ @@ -1496,8 +591,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1505,25 +602,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:01 GMT" + "Tue, 25 Jul 2023 15:42:13 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1540,7 +635,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27%21D1%3AD?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM/values/%27Sheet1%27%21D1%3AD?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", "body": null, "headers": { "User-Agent": [ @@ -1572,8 +667,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1581,25 +678,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:02 GMT" + "Tue, 25 Jul 2023 15:42:13 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1616,7 +711,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM:batchUpdate", "body": "{\"requests\": [{\"deleteDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 1, \"endIndex\": 3}}}]}", "headers": { "User-Agent": [ @@ -1654,8 +749,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1663,25 +760,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:02 GMT" + "Tue, 25 Jul 2023 15:42:13 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1691,14 +786,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27%21A1%3AA?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM/values/%27Sheet1%27%21A1%3AA?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", "body": null, "headers": { "User-Agent": [ @@ -1730,8 +825,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1739,25 +836,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:02 GMT" + "Tue, 25 Jul 2023 15:42:14 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1774,7 +869,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ/values/%27Sheet1%27%21B1%3AB?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM/values/%27Sheet1%27%21B1%3AB?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", "body": null, "headers": { "User-Agent": [ @@ -1806,8 +901,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1815,25 +912,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:02 GMT" + "Tue, 25 Jul 2023 15:42:14 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1850,7 +945,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1RVcukCgNLtKcsu1pBBt2QNgMAnEO2MVw8PYbYOnZuRQ?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1bgUJ2fP-8mhCT9pDg9CaRJY-zpYPKTZDG6mhXF62MSM?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1885,41 +980,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:03 GMT" + "Tue, 25 Jul 2023 15:42:15 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_delete_row.json b/tests/cassettes/WorksheetTest.test_delete_row.json index e54397019..9339744db 100644 --- a/tests/cassettes/WorksheetTest.test_delete_row.json +++ b/tests/cassettes/WorksheetTest.test_delete_row.json @@ -1,1154 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_delete_row\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "101" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:17 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "188" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"name\": \"Test WorksheetTest test_delete_row\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:17 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3332" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:17 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3332" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:17 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", - "body": "{\"values\": [[\"test_delete_row 1\", \"test_delete_row 2\", \"test_delete_row 3\", \"test_delete_row 4\", \"test_delete_row 5\", \"test_delete_row 6\", \"test_delete_row 7\", \"test_delete_row 8\", \"test_delete_row 9\", \"test_delete_row 10\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "225" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "266" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"updates\": {\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"updatedRange\": \"Sheet1!A1:J1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", - "body": "{\"values\": [[\"test_delete_row 11\", \"test_delete_row 12\", \"test_delete_row 13\", \"test_delete_row 14\", \"test_delete_row 15\", \"test_delete_row 16\", \"test_delete_row 17\", \"test_delete_row 18\", \"test_delete_row 19\", \"test_delete_row 20\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "234" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "298" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"tableRange\": \"Sheet1!A1:J1\",\n \"updates\": {\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"updatedRange\": \"Sheet1!A2:J2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", - "body": "{\"values\": [[\"test_delete_row 21\", \"test_delete_row 22\", \"test_delete_row 23\", \"test_delete_row 24\", \"test_delete_row 25\", \"test_delete_row 26\", \"test_delete_row 27\", \"test_delete_row 28\", \"test_delete_row 29\", \"test_delete_row 30\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "234" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "298" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"tableRange\": \"Sheet1!A1:J2\",\n \"updates\": {\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"updatedRange\": \"Sheet1!A3:J3\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", - "body": "{\"values\": [[\"test_delete_row 31\", \"test_delete_row 32\", \"test_delete_row 33\", \"test_delete_row 34\", \"test_delete_row 35\", \"test_delete_row 36\", \"test_delete_row 37\", \"test_delete_row 38\", \"test_delete_row 39\", \"test_delete_row 40\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "234" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "298" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"tableRange\": \"Sheet1!A1:J3\",\n \"updates\": {\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"updatedRange\": \"Sheet1!A4:J4\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", - "body": "{\"values\": [[\"test_delete_row 41\", \"test_delete_row 42\", \"test_delete_row 43\", \"test_delete_row 44\", \"test_delete_row 45\", \"test_delete_row 46\", \"test_delete_row 47\", \"test_delete_row 48\", \"test_delete_row 49\", \"test_delete_row 50\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "234" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "298" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"tableRange\": \"Sheet1!A1:J4\",\n \"updates\": {\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"updatedRange\": \"Sheet1!A5:J5\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4/values/%27Sheet1%27%21A1%3A1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:19 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "359" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:Z1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_delete_row 1\",\n \"test_delete_row 2\",\n \"test_delete_row 3\",\n \"test_delete_row 4\",\n \"test_delete_row 5\",\n \"test_delete_row 6\",\n \"test_delete_row 7\",\n \"test_delete_row 8\",\n \"test_delete_row 9\",\n \"test_delete_row 10\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4/values/%27Sheet1%27%21A3%3A3", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:19 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "368" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A3:Z3\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_delete_row 21\",\n \"test_delete_row 22\",\n \"test_delete_row 23\",\n \"test_delete_row 24\",\n \"test_delete_row 25\",\n \"test_delete_row 26\",\n \"test_delete_row 27\",\n \"test_delete_row 28\",\n \"test_delete_row 29\",\n \"test_delete_row 30\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4:batchUpdate", - "body": "{\"requests\": [{\"deleteDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 1, \"endIndex\": 2}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "115" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:19 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4/values/%27Sheet1%27%21A1%3A1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:19 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "359" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:Z1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_delete_row 1\",\n \"test_delete_row 2\",\n \"test_delete_row 3\",\n \"test_delete_row 4\",\n \"test_delete_row 5\",\n \"test_delete_row 6\",\n \"test_delete_row 7\",\n \"test_delete_row 8\",\n \"test_delete_row 9\",\n \"test_delete_row 10\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4/values/%27Sheet1%27%21A2%3A2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:19 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "368" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:Z2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_delete_row 21\",\n \"test_delete_row 22\",\n \"test_delete_row 23\",\n \"test_delete_row 24\",\n \"test_delete_row 25\",\n \"test_delete_row 26\",\n \"test_delete_row 27\",\n \"test_delete_row 28\",\n \"test_delete_row 29\",\n \"test_delete_row 30\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1axeNq-9brkqU-3Oguj3u5YF0Frv1l_xLEwC6U7l0cR4?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:20 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -1190,8 +42,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1199,46 +51,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:06 GMT" + "Tue, 25 Jul 2023 15:42:18 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "188" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"name\": \"Test WorksheetTest test_delete_row\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"name\": \"Test WorksheetTest test_delete_row\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1270,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1279,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:07 GMT" + "Tue, 25 Jul 2023 15:42:18 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1307,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1346,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:07 GMT" + "Tue, 25 Jul 2023 15:42:19 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "198" ] }, "body": { - "string": "{\n \"id\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"name\": \"Test WorksheetTest test_delete_row\",\n \"createdTime\": \"2023-07-20T08:58:03.834Z\",\n \"modifiedTime\": \"2023-07-20T08:58:03.854Z\"\n}\n" + "string": "{\n \"id\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"name\": \"Test WorksheetTest test_delete_row\",\n \"createdTime\": \"2023-07-25T15:42:15.538Z\",\n \"modifiedTime\": \"2023-07-25T15:42:16.861Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1426,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1435,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:07 GMT" + "Tue, 25 Jul 2023 15:42:19 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1463,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_delete_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1505,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1514,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:08 GMT" + "Tue, 25 Jul 2023 15:42:19 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1542,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", "body": "{\"values\": [[\"test_delete_row 1\", \"test_delete_row 2\", \"test_delete_row 3\", \"test_delete_row 4\", \"test_delete_row 5\", \"test_delete_row 6\", \"test_delete_row 7\", \"test_delete_row 8\", \"test_delete_row 9\", \"test_delete_row 10\"]]}", "headers": { "User-Agent": [ @@ -1587,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1596,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:08 GMT" + "Tue, 25 Jul 2023 15:42:20 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1624,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"updates\": {\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"updatedRange\": \"Sheet1!A1:J1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"updates\": {\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"updatedRange\": \"Sheet1!A1:J1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", "body": "{\"values\": [[\"test_delete_row 11\", \"test_delete_row 12\", \"test_delete_row 13\", \"test_delete_row 14\", \"test_delete_row 15\", \"test_delete_row 16\", \"test_delete_row 17\", \"test_delete_row 18\", \"test_delete_row 19\", \"test_delete_row 20\"]]}", "headers": { "User-Agent": [ @@ -1669,8 +521,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1678,25 +532,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:08 GMT" + "Tue, 25 Jul 2023 15:42:20 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1706,14 +558,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"tableRange\": \"Sheet1!A1:J1\",\n \"updates\": {\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"updatedRange\": \"Sheet1!A2:J2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"tableRange\": \"Sheet1!A1:J1\",\n \"updates\": {\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"updatedRange\": \"Sheet1!A2:J2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", "body": "{\"values\": [[\"test_delete_row 21\", \"test_delete_row 22\", \"test_delete_row 23\", \"test_delete_row 24\", \"test_delete_row 25\", \"test_delete_row 26\", \"test_delete_row 27\", \"test_delete_row 28\", \"test_delete_row 29\", \"test_delete_row 30\"]]}", "headers": { "User-Agent": [ @@ -1751,8 +603,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1760,25 +614,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:08 GMT" + "Tue, 25 Jul 2023 15:42:20 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1788,14 +640,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"tableRange\": \"Sheet1!A1:J2\",\n \"updates\": {\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"updatedRange\": \"Sheet1!A3:J3\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"tableRange\": \"Sheet1!A1:J2\",\n \"updates\": {\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"updatedRange\": \"Sheet1!A3:J3\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", "body": "{\"values\": [[\"test_delete_row 31\", \"test_delete_row 32\", \"test_delete_row 33\", \"test_delete_row 34\", \"test_delete_row 35\", \"test_delete_row 36\", \"test_delete_row 37\", \"test_delete_row 38\", \"test_delete_row 39\", \"test_delete_row 40\"]]}", "headers": { "User-Agent": [ @@ -1833,8 +685,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1842,25 +696,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:09 GMT" + "Tue, 25 Jul 2023 15:42:21 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1870,14 +722,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"tableRange\": \"Sheet1!A1:J3\",\n \"updates\": {\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"updatedRange\": \"Sheet1!A4:J4\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"tableRange\": \"Sheet1!A1:J3\",\n \"updates\": {\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"updatedRange\": \"Sheet1!A4:J4\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE/values/%27Sheet1%27:append?valueInputOption=RAW&includeValuesInResponse=False", "body": "{\"values\": [[\"test_delete_row 41\", \"test_delete_row 42\", \"test_delete_row 43\", \"test_delete_row 44\", \"test_delete_row 45\", \"test_delete_row 46\", \"test_delete_row 47\", \"test_delete_row 48\", \"test_delete_row 49\", \"test_delete_row 50\"]]}", "headers": { "User-Agent": [ @@ -1915,8 +767,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1924,25 +778,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:09 GMT" + "Tue, 25 Jul 2023 15:42:21 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1952,14 +804,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"tableRange\": \"Sheet1!A1:J4\",\n \"updates\": {\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"updatedRange\": \"Sheet1!A5:J5\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"tableRange\": \"Sheet1!A1:J4\",\n \"updates\": {\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"updatedRange\": \"Sheet1!A5:J5\",\n \"updatedRows\": 1,\n \"updatedColumns\": 10,\n \"updatedCells\": 10\n }\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27%21A1%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE/values/%27Sheet1%27%21A1%3A1", "body": null, "headers": { "User-Agent": [ @@ -1991,8 +843,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2000,25 +854,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:09 GMT" + "Tue, 25 Jul 2023 15:42:21 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2035,7 +887,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27%21A3%3A3", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE/values/%27Sheet1%27%21A3%3A3", "body": null, "headers": { "User-Agent": [ @@ -2067,8 +919,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2076,25 +930,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:09 GMT" + "Tue, 25 Jul 2023 15:42:22 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2111,7 +963,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE:batchUpdate", "body": "{\"requests\": [{\"deleteDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 1, \"endIndex\": 2}}}]}", "headers": { "User-Agent": [ @@ -2149,8 +1001,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2158,25 +1012,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:10 GMT" + "Tue, 25 Jul 2023 15:42:22 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2186,14 +1038,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27%21A1%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE/values/%27Sheet1%27%21A1%3A1", "body": null, "headers": { "User-Agent": [ @@ -2225,8 +1077,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2234,25 +1088,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:10 GMT" + "Tue, 25 Jul 2023 15:42:22 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2269,7 +1121,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI/values/%27Sheet1%27%21A2%3A2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE/values/%27Sheet1%27%21A2%3A2", "body": null, "headers": { "User-Agent": [ @@ -2301,8 +1153,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2310,25 +1164,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:10 GMT" + "Tue, 25 Jul 2023 15:42:22 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2345,7 +1197,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1vzXWqb1a27kF-XzyfNVMIRxjEqiK3t-Zsrmc20u_tKI?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1c-HWYy2UzJky4NkI2VA6t5dZw-e5JOIfKYg-JK7jXsE?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -2380,41 +1232,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:11 GMT" + "Tue, 25 Jul 2023 15:42:23 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_find.json b/tests/cassettes/WorksheetTest.test_find.json index 803d4d297..f7eca46b3 100644 --- a/tests/cassettes/WorksheetTest.test_find.json +++ b/tests/cassettes/WorksheetTest.test_find.json @@ -1,1075 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_find\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "95" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:24 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "182" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng\",\n \"name\": \"Test WorksheetTest test_find\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:24 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3326" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_find\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:24 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3326" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_find\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:25 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng/values/%27Sheet1%27%21J2?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"test_find 1\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "29" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:25 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng\",\n \"updatedRange\": \"Sheet1!J2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng/values/%27Sheet1%27%21K2?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"test_find 1\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "29" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:25 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng\",\n \"updatedRange\": \"Sheet1!K2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:25 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "231" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"test_find 1\",\n \"test_find 1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng/values/%27Sheet1%27%21K2?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"test_find 1o_Otest_find 2\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "43" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:25 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng\",\n \"updatedRange\": \"Sheet1!K2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:26 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "245" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"test_find 1\",\n \"test_find 1o_Otest_find 2\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:26 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "245" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"test_find 1\",\n \"test_find 1o_Otest_find 2\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng/values/%27Sheet1%27%21J2?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"camelcase\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "27" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:26 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng\",\n \"updatedRange\": \"Sheet1!J2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng/values/%27Sheet1%27%21K2?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"CamelCase\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "27" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:26 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng\",\n \"updatedRange\": \"Sheet1!K2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:26 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "227" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"camelcase\",\n \"CamelCase\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/17JtnaE6tGOHCQz8N2leiUw8M9mem24zWFyxvdz-Z0ng?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:27 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -1111,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:13 GMT" + "Tue, 25 Jul 2023 15:42:26 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "182" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"name\": \"Test WorksheetTest test_find\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A\",\n \"name\": \"Test WorksheetTest test_find\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1191,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1200,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:14 GMT" + "Tue, 25 Jul 2023 15:42:27 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1228,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_find\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_find\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1267,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:14 GMT" + "Tue, 25 Jul 2023 15:42:27 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "192" ] }, "body": { - "string": "{\n \"id\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"name\": \"Test WorksheetTest test_find\",\n \"createdTime\": \"2023-07-20T08:58:11.451Z\",\n \"modifiedTime\": \"2023-07-20T08:58:11.471Z\"\n}\n" + "string": "{\n \"id\": \"1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A\",\n \"name\": \"Test WorksheetTest test_find\",\n \"createdTime\": \"2023-07-25T15:42:24.315Z\",\n \"modifiedTime\": \"2023-07-25T15:42:25.389Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1347,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1356,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:14 GMT" + "Tue, 25 Jul 2023 15:42:27 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1384,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_find\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_find\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1426,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1435,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:15 GMT" + "Tue, 25 Jul 2023 15:42:28 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1463,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27%21J2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A/values/%27Sheet1%27%21J2?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"test_find 1\"]]}", "headers": { "User-Agent": [ @@ -1508,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1517,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:15 GMT" + "Tue, 25 Jul 2023 15:42:28 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1545,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"updatedRange\": \"Sheet1!J2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A\",\n \"updatedRange\": \"Sheet1!J2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27%21K2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A/values/%27Sheet1%27%21K2?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"test_find 1\"]]}", "headers": { "User-Agent": [ @@ -1590,8 +521,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1599,25 +532,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:15 GMT" + "Tue, 25 Jul 2023 15:42:28 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1627,14 +558,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"updatedRange\": \"Sheet1!K2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A\",\n \"updatedRange\": \"Sheet1!K2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1666,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1675,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:15 GMT" + "Tue, 25 Jul 2023 15:42:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1710,7 +641,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27%21K2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A/values/%27Sheet1%27%21K2?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"test_find 1o_Otest_find 2\"]]}", "headers": { "User-Agent": [ @@ -1748,8 +679,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1757,25 +690,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:16 GMT" + "Tue, 25 Jul 2023 15:42:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1785,14 +716,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"updatedRange\": \"Sheet1!K2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A\",\n \"updatedRange\": \"Sheet1!K2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1824,8 +755,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1833,25 +766,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:16 GMT" + "Tue, 25 Jul 2023 15:42:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1868,7 +799,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1900,8 +831,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1909,25 +842,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:16 GMT" + "Tue, 25 Jul 2023 15:42:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1944,7 +875,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27%21J2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A/values/%27Sheet1%27%21J2?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"camelcase\"]]}", "headers": { "User-Agent": [ @@ -1982,8 +913,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1991,25 +924,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:16 GMT" + "Tue, 25 Jul 2023 15:42:30 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2019,14 +950,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"updatedRange\": \"Sheet1!J2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A\",\n \"updatedRange\": \"Sheet1!J2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27%21K2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A/values/%27Sheet1%27%21K2?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"CamelCase\"]]}", "headers": { "User-Agent": [ @@ -2064,8 +995,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2073,25 +1006,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:17 GMT" + "Tue, 25 Jul 2023 15:42:30 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2101,14 +1032,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc\",\n \"updatedRange\": \"Sheet1!K2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A\",\n \"updatedRange\": \"Sheet1!K2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -2140,8 +1071,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2149,25 +1082,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:17 GMT" + "Tue, 25 Jul 2023 15:42:30 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2184,7 +1115,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1l-ao6TBwHw6jQsVVHEHOpMYENL5wG_M8FZae8-EeYtc?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1OTHN1HmHhOJ2pfNKmADYflaXj4PtF27xUknxtODBZ0A?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -2219,8 +1150,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -2228,32 +1159,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:17 GMT" + "Tue, 25 Jul 2023 15:42:31 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_findall.json b/tests/cassettes/WorksheetTest.test_findall.json index 49adaa1dd..5491a1f71 100644 --- a/tests/cassettes/WorksheetTest.test_findall.json +++ b/tests/cassettes/WorksheetTest.test_findall.json @@ -22,611 +22,11 @@ "x-goog-api-client": [ "cred-type/sa" ], - "Content-Length": [ - "98" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:30 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "185" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA\",\n \"name\": \"Test WorksheetTest test_findall\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:31 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3329" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_findall\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:31 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3329" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_findall\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:31 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA/values/%27Sheet1%27%21A1%3AA10", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:31 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "59" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:A10\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA/values/%27Sheet1%27%21A1%3AA10?valueInputOption=RAW", - "body": "{\"values\": [[\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "212" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:31 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "171" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA\",\n \"updatedRange\": \"Sheet1!A1:A10\",\n \"updatedRows\": 10,\n \"updatedColumns\": 1,\n \"updatedCells\": 10\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:31 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "439" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA/values/%27Sheet1%27%21A1%3AA10", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:32 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "437" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:A10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ],\n [\n \"test_findall 1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA/values/%27Sheet1%27%21A1%3AA10?valueInputOption=RAW", - "body": "{\"values\": [[\"test_findall 1p_Ptest_findall 2\"], [\"test_findall 1p_Ptest_findall 2\"], [\"test_findall 1s_Stest_findall 2\"], [\"test_findall 1c_Ctest_findall 2\"], [\"test_findall 1u_Utest_findall 2\"], [\"test_findall 1a_Atest_findall 2\"], [\"test_findall 1m_Mtest_findall 2\"], [\"test_findall 1a_Atest_findall 2\"], [\"test_findall 1g_Gtest_findall 2\"], [\"test_findall 1v_Vtest_findall 2\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" + "x-identity-trust-boundary": [ + "0" ], "Content-Length": [ - "382" + "98" ], "Content-Type": [ "application/json" @@ -642,287 +42,55 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:32 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Origin, X-Origin" ], "Cache-Control": [ - "private" - ], - "content-length": [ - "171" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA\",\n \"updatedRange\": \"Sheet1!A1:A10\",\n \"updatedRows\": 10,\n \"updatedColumns\": 1,\n \"updatedCells\": 10\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:32 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "609" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_findall 1p_Ptest_findall 2\"\n ],\n [\n \"test_findall 1p_Ptest_findall 2\"\n ],\n [\n \"test_findall 1s_Stest_findall 2\"\n ],\n [\n \"test_findall 1c_Ctest_findall 2\"\n ],\n [\n \"test_findall 1u_Utest_findall 2\"\n ],\n [\n \"test_findall 1a_Atest_findall 2\"\n ],\n [\n \"test_findall 1m_Mtest_findall 2\"\n ],\n [\n \"test_findall 1a_Atest_findall 2\"\n ],\n [\n \"test_findall 1g_Gtest_findall 2\"\n ],\n [\n \"test_findall 1v_Vtest_findall 2\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/16wgJjIhaEaXBxXZ9grq0tKZNIMCg_3joybym6RXBLLA?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Pragma": [ "no-cache" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_findall\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ + "X-XSS-Protection": [ "0" ], - "Content-Length": [ - "98" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:19 GMT" + "Tue, 25 Jul 2023 15:42:34 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "185" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"name\": \"Test WorksheetTest test_findall\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8\",\n \"name\": \"Test WorksheetTest test_findall\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -954,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -963,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:20 GMT" + "Tue, 25 Jul 2023 15:42:34 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -991,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_findall\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_findall\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1030,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1039,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:21 GMT" + "Tue, 25 Jul 2023 15:42:35 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "195" ] }, "body": { - "string": "{\n \"id\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"name\": \"Test WorksheetTest test_findall\",\n \"createdTime\": \"2023-07-20T08:58:18.254Z\",\n \"modifiedTime\": \"2023-07-20T08:58:19.021Z\"\n}\n" + "string": "{\n \"id\": \"1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8\",\n \"name\": \"Test WorksheetTest test_findall\",\n \"createdTime\": \"2023-07-25T15:42:32.272Z\",\n \"modifiedTime\": \"2023-07-25T15:42:33.028Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1110,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1119,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:21 GMT" + "Tue, 25 Jul 2023 15:42:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1147,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_findall\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_findall\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1189,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1198,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:21 GMT" + "Tue, 25 Jul 2023 15:42:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1226,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27%21A1%3AA10", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8/values/%27Sheet1%27%21A1%3AA10", "body": null, "headers": { "User-Agent": [ @@ -1265,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1274,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:21 GMT" + "Tue, 25 Jul 2023 15:42:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1309,7 +477,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27%21A1%3AA10?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8/values/%27Sheet1%27%21A1%3AA10?valueInputOption=RAW", "body": "{\"values\": [[\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"], [\"test_findall 1\"]]}", "headers": { "User-Agent": [ @@ -1347,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1356,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:22 GMT" + "Tue, 25 Jul 2023 15:42:36 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1384,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"updatedRange\": \"Sheet1!A1:A10\",\n \"updatedRows\": 10,\n \"updatedColumns\": 1,\n \"updatedCells\": 10\n}\n" + "string": "{\n \"spreadsheetId\": \"1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8\",\n \"updatedRange\": \"Sheet1!A1:A10\",\n \"updatedRows\": 10,\n \"updatedColumns\": 1,\n \"updatedCells\": 10\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1423,8 +591,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1432,25 +602,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:22 GMT" + "Tue, 25 Jul 2023 15:42:36 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1467,7 +635,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27%21A1%3AA10", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8/values/%27Sheet1%27%21A1%3AA10", "body": null, "headers": { "User-Agent": [ @@ -1499,8 +667,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1508,25 +678,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:22 GMT" + "Tue, 25 Jul 2023 15:42:36 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1543,8 +711,8 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27%21A1%3AA10?valueInputOption=RAW", - "body": "{\"values\": [[\"test_findall 1h_Htest_findall 2\"], [\"test_findall 1p_Ptest_findall 2\"], [\"test_findall 1e_Etest_findall 2\"], [\"test_findall 1i_Itest_findall 2\"], [\"test_findall 1d_Dtest_findall 2\"], [\"test_findall 1u_Utest_findall 2\"], [\"test_findall 1q_Qtest_findall 2\"], [\"test_findall 1h_Htest_findall 2\"], [\"test_findall 1y_Ytest_findall 2\"], [\"test_findall 1u_Utest_findall 2\"]]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8/values/%27Sheet1%27%21A1%3AA10?valueInputOption=RAW", + "body": "{\"values\": [[\"test_findall 1c_Ctest_findall 2\"], [\"test_findall 1t_Ttest_findall 2\"], [\"test_findall 1a_Atest_findall 2\"], [\"test_findall 1i_Itest_findall 2\"], [\"test_findall 1r_Rtest_findall 2\"], [\"test_findall 1u_Utest_findall 2\"], [\"test_findall 1a_Atest_findall 2\"], [\"test_findall 1j_Jtest_findall 2\"], [\"test_findall 1p_Ptest_findall 2\"], [\"test_findall 1w_Wtest_findall 2\"]]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -1581,8 +749,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1590,25 +760,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:22 GMT" + "Tue, 25 Jul 2023 15:42:36 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1618,14 +786,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg\",\n \"updatedRange\": \"Sheet1!A1:A10\",\n \"updatedRows\": 10,\n \"updatedColumns\": 1,\n \"updatedCells\": 10\n}\n" + "string": "{\n \"spreadsheetId\": \"1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8\",\n \"updatedRange\": \"Sheet1!A1:A10\",\n \"updatedRows\": 10,\n \"updatedColumns\": 1,\n \"updatedCells\": 10\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1657,8 +825,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1666,25 +836,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:23 GMT" + "Tue, 25 Jul 2023 15:42:37 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1694,14 +862,14 @@ ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_findall 1h_Htest_findall 2\"\n ],\n [\n \"test_findall 1p_Ptest_findall 2\"\n ],\n [\n \"test_findall 1e_Etest_findall 2\"\n ],\n [\n \"test_findall 1i_Itest_findall 2\"\n ],\n [\n \"test_findall 1d_Dtest_findall 2\"\n ],\n [\n \"test_findall 1u_Utest_findall 2\"\n ],\n [\n \"test_findall 1q_Qtest_findall 2\"\n ],\n [\n \"test_findall 1h_Htest_findall 2\"\n ],\n [\n \"test_findall 1y_Ytest_findall 2\"\n ],\n [\n \"test_findall 1u_Utest_findall 2\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:Z1000\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_findall 1c_Ctest_findall 2\"\n ],\n [\n \"test_findall 1t_Ttest_findall 2\"\n ],\n [\n \"test_findall 1a_Atest_findall 2\"\n ],\n [\n \"test_findall 1i_Itest_findall 2\"\n ],\n [\n \"test_findall 1r_Rtest_findall 2\"\n ],\n [\n \"test_findall 1u_Utest_findall 2\"\n ],\n [\n \"test_findall 1a_Atest_findall 2\"\n ],\n [\n \"test_findall 1j_Jtest_findall 2\"\n ],\n [\n \"test_findall 1p_Ptest_findall 2\"\n ],\n [\n \"test_findall 1w_Wtest_findall 2\"\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/12D86hfoWOYCNxB-o28GjrhX5ji0B6EyFy8srzn5nYNg?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1Frp2JY6oNQLxQ8oLnq9_zzKnA0r0XTNGe4dxuLnWHz8?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1736,41 +904,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:23 GMT" + "Tue, 25 Jul 2023 15:42:37 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_format.json b/tests/cassettes/WorksheetTest.test_format.json index 457269288..3aa299d77 100644 --- a/tests/cassettes/WorksheetTest.test_format.json +++ b/tests/cassettes/WorksheetTest.test_format.json @@ -1,540 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_format\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "97" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:35 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "184" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1T81QW3poeRYJqoYvhoNyXlgzFBY1DMckFNPp8eiebkQ\",\n \"name\": \"Test WorksheetTest test_format\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1T81QW3poeRYJqoYvhoNyXlgzFBY1DMckFNPp8eiebkQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:36 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3328" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1T81QW3poeRYJqoYvhoNyXlgzFBY1DMckFNPp8eiebkQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_format\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1T81QW3poeRYJqoYvhoNyXlgzFBY1DMckFNPp8eiebkQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1T81QW3poeRYJqoYvhoNyXlgzFBY1DMckFNPp8eiebkQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:36 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3328" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1T81QW3poeRYJqoYvhoNyXlgzFBY1DMckFNPp8eiebkQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_format\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1T81QW3poeRYJqoYvhoNyXlgzFBY1DMckFNPp8eiebkQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1T81QW3poeRYJqoYvhoNyXlgzFBY1DMckFNPp8eiebkQ/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:36 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1T81QW3poeRYJqoYvhoNyXlgzFBY1DMckFNPp8eiebkQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1T81QW3poeRYJqoYvhoNyXlgzFBY1DMckFNPp8eiebkQ:batchUpdate", - "body": "{\"requests\": [{\"repeatCell\": {\"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}, \"cell\": {\"userEnteredFormat\": {\"backgroundColor\": {\"green\": 1, \"blue\": 1}, \"horizontalAlignment\": \"CENTER\", \"textFormat\": {\"foregroundColor\": {\"red\": 1, \"green\": 1}, \"fontSize\": 12, \"bold\": true}}}, \"fields\": \"userEnteredFormat(backgroundColor,horizontalAlignment,textFormat)\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "417" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:36 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1T81QW3poeRYJqoYvhoNyXlgzFBY1DMckFNPp8eiebkQ\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1T81QW3poeRYJqoYvhoNyXlgzFBY1DMckFNPp8eiebkQ?includeGridData=False&ranges=Sheet1%21A2&fields=sheets.data.rowData.values.userEnteredFormat", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:37 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "1140" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"userEnteredFormat\": {\n \"backgroundColor\": {\n \"green\": 1,\n \"blue\": 1\n },\n \"horizontalAlignment\": \"CENTER\",\n \"textFormat\": {\n \"foregroundColor\": {\n \"red\": 1,\n \"green\": 1\n },\n \"fontSize\": 12,\n \"bold\": true,\n \"foregroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1\n }\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"green\": 1,\n \"blue\": 1\n }\n }\n }\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1T81QW3poeRYJqoYvhoNyXlgzFBY1DMckFNPp8eiebkQ?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:37 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -576,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:26 GMT" + "Tue, 25 Jul 2023 15:42:40 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "184" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8\",\n \"name\": \"Test WorksheetTest test_format\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c\",\n \"name\": \"Test WorksheetTest test_format\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -656,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -665,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:26 GMT" + "Tue, 25 Jul 2023 15:42:41 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -693,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_format\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_format\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -732,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:27 GMT" + "Tue, 25 Jul 2023 15:42:41 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "194" ] }, "body": { - "string": "{\n \"id\": \"1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8\",\n \"name\": \"Test WorksheetTest test_format\",\n \"createdTime\": \"2023-07-20T08:58:24.016Z\",\n \"modifiedTime\": \"2023-07-20T08:58:24.037Z\"\n}\n" + "string": "{\n \"id\": \"1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c\",\n \"name\": \"Test WorksheetTest test_format\",\n \"createdTime\": \"2023-07-25T15:42:38.239Z\",\n \"modifiedTime\": \"2023-07-25T15:42:39.345Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -812,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -821,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:27 GMT" + "Tue, 25 Jul 2023 15:42:41 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -849,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_format\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_format\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -891,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -900,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:27 GMT" + "Tue, 25 Jul 2023 15:42:42 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -928,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c:batchUpdate", "body": "{\"requests\": [{\"repeatCell\": {\"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}, \"cell\": {\"userEnteredFormat\": {\"backgroundColor\": {\"green\": 1, \"blue\": 1}, \"horizontalAlignment\": \"CENTER\", \"textFormat\": {\"foregroundColor\": {\"red\": 1, \"green\": 1}, \"fontSize\": 12, \"bold\": true}}}, \"fields\": \"userEnteredFormat(backgroundColor,horizontalAlignment,textFormat)\"}}]}", "headers": { "User-Agent": [ @@ -973,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -982,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:27 GMT" + "Tue, 25 Jul 2023 15:42:42 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1010,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8?includeGridData=False&ranges=Sheet1%21A2&fields=sheets.data.rowData.values.userEnteredFormat", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c?includeGridData=False&ranges=Sheet1%21A2&fields=sheets.data.rowData.values.userEnteredFormat", "body": null, "headers": { "User-Agent": [ @@ -1049,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1058,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:28 GMT" + "Tue, 25 Jul 2023 15:42:42 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1093,7 +559,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1OVoEKd0XfALMbG_PTd21XGw_pzHIaAmvj2kg2nR9rI8?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1awKn0h_79jd4MkbtqPDh-4Rb6UuVHl7oTmQMT69qS6c?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1128,41 +594,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:28 GMT" + "Tue, 25 Jul 2023 15:42:43 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_freeze.json b/tests/cassettes/WorksheetTest.test_freeze.json index ec509db46..1719b3fb7 100644 --- a/tests/cassettes/WorksheetTest.test_freeze.json +++ b/tests/cassettes/WorksheetTest.test_freeze.json @@ -22,617 +22,11 @@ "x-goog-api-client": [ "cred-type/sa" ], - "Content-Length": [ - "97" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "184" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0\",\n \"name\": \"Test WorksheetTest test_freeze\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3328" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3328" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"frozenRowCount\": 2}}, \"fields\": \"gridProperties/frozenRowCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "157" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:41 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:41 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3359" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"frozenRowCount\": 2\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"frozenColumnCount\": 1}}, \"fields\": \"gridProperties/frozenColumnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "163" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:41 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:41 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3393" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"frozenRowCount\": 2,\n \"frozenColumnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"frozenRowCount\": 0, \"frozenColumnCount\": 0}}, \"fields\": \"gridProperties/frozenRowCount,gridProperties/frozenColumnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" + "x-identity-trust-boundary": [ + "0" ], "Content-Length": [ - "214" + "97" ], "Content-Type": [ "application/json" @@ -648,287 +42,55 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:41 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" + "no-cache, no-store, max-age=0, must-revalidate" ], "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:42 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3328" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/18ClfZFXW6_9pVkruzvJp5de2bGBF2mLrE2Z4TsbnZQ0?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Origin, X-Origin" ], "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" + "application/json; charset=UTF-8" ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Pragma": [ "no-cache" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:42 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_freeze\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ + "X-XSS-Protection": [ "0" ], - "Content-Length": [ - "97" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:31 GMT" + "Tue, 25 Jul 2023 15:42:47 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "184" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"name\": \"Test WorksheetTest test_freeze\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI\",\n \"name\": \"Test WorksheetTest test_freeze\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -960,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -969,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:32 GMT" + "Tue, 25 Jul 2023 15:42:48 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -997,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1036,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1045,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:32 GMT" + "Tue, 25 Jul 2023 15:42:48 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "194" ] }, "body": { - "string": "{\n \"id\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"name\": \"Test WorksheetTest test_freeze\",\n \"createdTime\": \"2023-07-20T08:58:29.060Z\",\n \"modifiedTime\": \"2023-07-20T08:58:29.076Z\"\n}\n" + "string": "{\n \"id\": \"1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI\",\n \"name\": \"Test WorksheetTest test_freeze\",\n \"createdTime\": \"2023-07-25T15:42:44.454Z\",\n \"modifiedTime\": \"2023-07-25T15:42:44.470Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1116,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1125,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:32 GMT" + "Tue, 25 Jul 2023 15:42:48 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1153,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1195,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1204,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:33 GMT" + "Tue, 25 Jul 2023 15:42:49 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1232,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"frozenRowCount\": 2}}, \"fields\": \"gridProperties/frozenRowCount\"}}]}", "headers": { "User-Agent": [ @@ -1277,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1286,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:33 GMT" + "Tue, 25 Jul 2023 15:42:49 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1314,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1353,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1362,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:33 GMT" + "Tue, 25 Jul 2023 15:42:49 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1390,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"frozenRowCount\": 2\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"frozenRowCount\": 2\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"frozenColumnCount\": 1}}, \"fields\": \"gridProperties/frozenColumnCount\"}}]}", "headers": { "User-Agent": [ @@ -1435,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1444,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:34 GMT" + "Tue, 25 Jul 2023 15:42:49 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1472,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1511,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1520,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:34 GMT" + "Tue, 25 Jul 2023 15:42:50 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1548,14 +710,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"frozenRowCount\": 2,\n \"frozenColumnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"frozenRowCount\": 2,\n \"frozenColumnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"frozenRowCount\": 0, \"frozenColumnCount\": 0}}, \"fields\": \"gridProperties/frozenRowCount,gridProperties/frozenColumnCount\"}}]}", "headers": { "User-Agent": [ @@ -1593,8 +755,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1602,25 +766,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:34 GMT" + "Tue, 25 Jul 2023 15:42:50 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1630,14 +792,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1669,8 +831,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1678,25 +842,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:34 GMT" + "Tue, 25 Jul 2023 15:42:50 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1706,14 +868,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_freeze\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1YbPKJpUlQTQPtvgkDjFZjpu3fMlIvaI_9nsHMecedlM?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1gqba42DPLjZnd3D-Or2VL2Hjff0-Fcn5md20vPlVxUI?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1748,41 +910,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:35 GMT" + "Tue, 25 Jul 2023 15:42:51 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records.json b/tests/cassettes/WorksheetTest.test_get_all_records.json index a9b653979..edd6aade4 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "106" ], @@ -39,128 +42,55 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], - "Transfer-Encoding": [ - "chunked" + "Vary": [ + "Origin, X-Origin" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" - ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "X-XSS-Protection": [ + "0" ], - "Date": [ - "Thu, 08 Jun 2023 22:17:45 GMT" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "193" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E\",\n \"name\": \"Test WorksheetTest test_get_all_records\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], "Date": [ - "Thu, 08 Jun 2023 22:17:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Tue, 25 Jul 2023 15:42:54 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ - "3337" + "193" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E/edit\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI\",\n \"name\": \"Test WorksheetTest test_get_all_records\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -178,6 +108,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -189,206 +122,51 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Cache-Control": [ "private" ], - "content-length": [ - "3337" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:46 GMT" - ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "190" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], "Date": [ - "Thu, 08 Jun 2023 22:17:46 GMT" + "Tue, 25 Jul 2023 15:42:55 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ - "97" + "3337" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E/values/%27Sheet1%27%21A1%3AD4", + "uri": "https://www.googleapis.com/drive/v3/files/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -406,6 +184,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -417,694 +198,8 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "95" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:47 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "249" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:47 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "249" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:47 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "249" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:47 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "249" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/16hfJWKOUm_CTe6K8vI0_oAT0W-P1I-5AO3f1Kt2Gl7E?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:48 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_all_records\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "106" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:58:37 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "193" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"name\": \"Test WorksheetTest test_get_all_records\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Thu, 20 Jul 2023 08:58:37 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "3337" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1112,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:38 GMT" + "Tue, 25 Jul 2023 15:42:55 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "203" ] }, "body": { - "string": "{\n \"id\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"name\": \"Test WorksheetTest test_get_all_records\",\n \"createdTime\": \"2023-07-20T08:58:35.860Z\",\n \"modifiedTime\": \"2023-07-20T08:58:36.531Z\"\n}\n" + "string": "{\n \"id\": \"13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI\",\n \"name\": \"Test WorksheetTest test_get_all_records\",\n \"createdTime\": \"2023-07-25T15:42:52.119Z\",\n \"modifiedTime\": \"2023-07-25T15:42:53.341Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1183,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1192,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:38 GMT" + "Tue, 25 Jul 2023 15:42:55 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1220,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1262,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1271,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:38 GMT" + "Tue, 25 Jul 2023 15:42:56 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1299,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1344,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1353,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:39 GMT" + "Tue, 25 Jul 2023 15:42:56 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1381,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27%21A1%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI/values/%27Sheet1%27%21A1%3AD4", "body": null, "headers": { "User-Agent": [ @@ -1420,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1429,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:39 GMT" + "Tue, 25 Jul 2023 15:42:57 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1464,7 +559,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", "headers": { "User-Agent": [ @@ -1502,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1511,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:39 GMT" + "Tue, 25 Jul 2023 15:42:57 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1539,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1578,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1587,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:39 GMT" + "Tue, 25 Jul 2023 15:42:57 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1622,7 +717,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1654,8 +749,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1663,25 +760,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:40 GMT" + "Tue, 25 Jul 2023 15:42:57 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1698,7 +793,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1730,8 +825,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1739,25 +836,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:40 GMT" + "Tue, 25 Jul 2023 15:42:58 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1774,7 +869,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1806,8 +901,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1815,25 +912,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:40 GMT" + "Tue, 25 Jul 2023 15:42:58 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1850,7 +945,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1UvIvujHxK0QkV_nzCVB0fcumXFspiW397WnheEla9Ls?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/13QO8VsT5niUWgl7ecexNAI0hRzGTrzdxXVsux6jAHlI?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1885,41 +980,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:41 GMT" + "Tue, 25 Jul 2023 15:42:59 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json b/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json index bb196d3e8..0b8ed7ab7 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "123" ], @@ -39,128 +42,55 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], - "Transfer-Encoding": [ - "chunked" + "Vary": [ + "Origin, X-Origin" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" - ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "X-XSS-Protection": [ + "0" ], - "Date": [ - "Thu, 08 Jun 2023 22:17:51 GMT" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "210" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY\",\n \"name\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], "Date": [ - "Thu, 08 Jun 2023 22:17:52 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Tue, 25 Jul 2023 15:43:01 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ - "3354" + "210" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY/edit\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU\",\n \"name\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -178,6 +108,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -189,206 +122,51 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:52 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Cache-Control": [ "private" ], - "content-length": [ - "3354" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:52 GMT" - ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "190" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], "Date": [ - "Thu, 08 Jun 2023 22:17:52 GMT" + "Tue, 25 Jul 2023 15:43:02 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ - "97" + "3354" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY/values/%27Sheet1%27%21A1%3AD6", + "uri": "https://www.googleapis.com/drive/v3/files/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -406,6 +184,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -417,741 +198,55 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "131" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "265" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [],\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "265" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [],\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "265" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [],\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "265" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [],\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/12Qi7VzoJT9gdQ4s26YYTCG0ehsL3YLTknefLOPycMmY?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_all_records_different_header\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "123" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:58:42 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "210" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"name\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Thu, 20 Jul 2023 08:58:43 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "3354" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Vary": [ + "Origin, X-Origin" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:43 GMT" + "Tue, 25 Jul 2023 15:43:02 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "220" ] }, "body": { - "string": "{\n \"id\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"name\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"createdTime\": \"2023-07-20T08:58:41.449Z\",\n \"modifiedTime\": \"2023-07-20T08:58:42.143Z\"\n}\n" + "string": "{\n \"id\": \"1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU\",\n \"name\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"createdTime\": \"2023-07-25T15:42:59.782Z\",\n \"modifiedTime\": \"2023-07-25T15:43:00.698Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1183,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1192,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:43 GMT" + "Tue, 25 Jul 2023 15:43:03 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1220,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1262,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1271,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:44 GMT" + "Tue, 25 Jul 2023 15:43:03 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1299,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1344,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1353,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:44 GMT" + "Tue, 25 Jul 2023 15:43:03 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1381,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27%21A1%3AD6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU/values/%27Sheet1%27%21A1%3AD6", "body": null, "headers": { "User-Agent": [ @@ -1420,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1429,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:44 GMT" + "Tue, 25 Jul 2023 15:43:03 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1464,7 +559,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", "body": "{\"values\": [[\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", "headers": { "User-Agent": [ @@ -1502,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1511,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:45 GMT" + "Tue, 25 Jul 2023 15:43:04 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1539,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + "string": "{\n \"spreadsheetId\": \"1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1578,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1587,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:45 GMT" + "Tue, 25 Jul 2023 15:43:04 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1622,7 +717,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1654,8 +749,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1663,25 +760,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:45 GMT" + "Tue, 25 Jul 2023 15:43:04 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1698,7 +793,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1730,8 +825,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1739,25 +836,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:45 GMT" + "Tue, 25 Jul 2023 15:43:05 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1774,7 +869,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1806,8 +901,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1815,25 +912,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:45 GMT" + "Tue, 25 Jul 2023 15:43:05 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1850,7 +945,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1n6hAzMQIKyXOWTNeCwrcN6scNFPy6H_1SbeJt6fbN70?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1PnZOEs5_fdygDXK8rlFJKqUPIhQ_Zd-ZLietotPrlFU?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1885,41 +980,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:46 GMT" + "Tue, 25 Jul 2023 15:43:06 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json b/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json index 895b1a405..7b5b45c8a 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json @@ -1,692 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_all_records_duplicate_keys\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "121" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:57 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "208" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww\",\n \"name\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:57 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3352" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:58 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3352" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:58 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "190" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:58 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww/values/%27Sheet1%27%21A1%3AD4", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:58 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"A1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "95" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:59 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:59 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "249" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"A1\",\n \"\",\n \"D1\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1q_SkomYA3bjoO8wZe4zzubb9kVYwi2Jk5DUTZqtnDww?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:17:59 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -728,8 +42,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -737,46 +51,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:49 GMT" + "Tue, 25 Jul 2023 15:43:09 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "208" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"name\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g\",\n \"name\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -808,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -817,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:49 GMT" + "Tue, 25 Jul 2023 15:43:09 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -845,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -884,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:50 GMT" + "Tue, 25 Jul 2023 15:43:10 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "218" ] }, "body": { - "string": "{\n \"id\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"name\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"createdTime\": \"2023-07-20T08:58:46.878Z\",\n \"modifiedTime\": \"2023-07-20T08:58:46.897Z\"\n}\n" + "string": "{\n \"id\": \"1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g\",\n \"name\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"createdTime\": \"2023-07-25T15:43:06.666Z\",\n \"modifiedTime\": \"2023-07-25T15:43:07.856Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -964,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:50 GMT" + "Tue, 25 Jul 2023 15:43:10 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1043,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1052,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:50 GMT" + "Tue, 25 Jul 2023 15:43:10 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1080,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1125,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1134,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:50 GMT" + "Tue, 25 Jul 2023 15:43:10 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1162,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk/values/%27Sheet1%27%21A1%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g/values/%27Sheet1%27%21A1%3AD4", "body": null, "headers": { "User-Agent": [ @@ -1201,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1210,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:51 GMT" + "Tue, 25 Jul 2023 15:43:11 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1245,7 +559,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", "body": "{\"values\": [[\"A1\", \"A1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", "headers": { "User-Agent": [ @@ -1283,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1292,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:51 GMT" + "Tue, 25 Jul 2023 15:43:11 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1320,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1359,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1368,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:51 GMT" + "Tue, 25 Jul 2023 15:43:11 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1403,7 +717,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1jmHJcEQoZ56JU1h9rK9d7JHbYBeZ_NFSAQ67Lu_HWAk?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1zuWJPXaKDX2c5aBkl1ickSLr3pjNgMo8xnyv3grqz4g?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1438,41 +752,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:52 GMT" + "Tue, 25 Jul 2023 15:43:12 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json b/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json index b13228846..095413302 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "123" ], @@ -39,278 +42,56 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "content-length": [ - "210" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U\",\n \"name\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], + "Pragma": [ + "no-cache" + ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:03 GMT" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3354" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], "Date": [ - "Thu, 08 Jun 2023 22:18:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3354" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" + "Tue, 25 Jul 2023 15:43:15 GMT" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], "content-length": [ - "107" + "210" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s\",\n \"name\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s?includeGridData=false", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -327,11 +108,8 @@ "x-goog-api-client": [ "cred-type/sa" ], - "Content-Length": [ - "190" - ], - "Content-Type": [ - "application/json" + "x-identity-trust-boundary": [ + "0" ], "authorization": [ "" @@ -344,618 +122,10 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U/values/%27Sheet1%27%21A1%3AD4", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"B2\", \"C3\", \"D4\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "97" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "251" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B2\",\n \"C3\",\n \"D4\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:05 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "251" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B2\",\n \"C3\",\n \"D4\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:05 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "251" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B2\",\n \"C3\",\n \"D4\"\n ],\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1d64BbS80QFd2aLcyOBts2rhpPTF606lofqpxTh7tb-U?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:05 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_all_records_expected_headers\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "123" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:58:54 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "210" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"name\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -963,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:56 GMT" + "Tue, 25 Jul 2023 15:43:16 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -991,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1030,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1039,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:58:56 GMT" + "Tue, 25 Jul 2023 15:43:16 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "220" ] }, "body": { - "string": "{\n \"id\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"name\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"createdTime\": \"2023-07-20T08:58:52.540Z\",\n \"modifiedTime\": \"2023-07-20T08:58:52.559Z\"\n}\n" + "string": "{\n \"id\": \"1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s\",\n \"name\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"createdTime\": \"2023-07-25T15:43:12.898Z\",\n \"modifiedTime\": \"2023-07-25T15:43:14.409Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1110,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1119,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:56 GMT" + "Tue, 25 Jul 2023 15:43:17 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1147,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1189,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1198,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:56 GMT" + "Tue, 25 Jul 2023 15:43:17 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1226,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1271,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1280,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:57 GMT" + "Tue, 25 Jul 2023 15:43:17 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1308,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/values/%27Sheet1%27%21A1%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s/values/%27Sheet1%27%21A1%3AD4", "body": null, "headers": { "User-Agent": [ @@ -1347,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1356,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:57 GMT" + "Tue, 25 Jul 2023 15:43:18 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1391,7 +559,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", "body": "{\"values\": [[\"A1\", \"B2\", \"C3\", \"D4\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", "headers": { "User-Agent": [ @@ -1429,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1438,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:57 GMT" + "Tue, 25 Jul 2023 15:43:18 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1466,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1505,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1514,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:57 GMT" + "Tue, 25 Jul 2023 15:43:18 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1549,7 +717,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1581,8 +749,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1590,25 +760,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:58 GMT" + "Tue, 25 Jul 2023 15:43:18 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1625,7 +793,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1657,8 +825,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1666,25 +836,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:58 GMT" + "Tue, 25 Jul 2023 15:43:19 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1701,7 +869,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1qR6PUasKx5tdrMca2wz2g2cdG7mikaD9azBy1hFytJA?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1NzTqYPgDH2LpMefNLCPdF1SComJnObWdtmoMW0j0U4s?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1736,41 +904,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:58:58 GMT" + "Tue, 25 Jul 2023 15:43:19 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json b/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json index c32687056..a14050688 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json @@ -1,692 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "129" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "216" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8\",\n \"name\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3360" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3360" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "190" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8/values/%27Sheet1%27%21A1%3AD2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"A\", \"\", \"C\", \"3_1_0\"], [\"=3/2\", 0.12, \"\", \"3_2_1\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "66" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "168" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "195" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A\",\n \"\",\n \"C\",\n \"3_1_0\"\n ],\n [\n 1.5,\n 0.12,\n \"\",\n \"3_2_1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1MLc3_8iOJg_3Dcw1jAecKco7PbSRJZZ9Zst4Vpdd8d8?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:10 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -728,8 +42,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -737,46 +51,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:01 GMT" + "Tue, 25 Jul 2023 15:43:23 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "216" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"name\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo\",\n \"name\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -808,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -817,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:03 GMT" + "Tue, 25 Jul 2023 15:43:24 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -845,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -884,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:03 GMT" + "Tue, 25 Jul 2023 15:43:24 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "226" ] }, "body": { - "string": "{\n \"id\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"name\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"createdTime\": \"2023-07-20T08:58:59.153Z\",\n \"modifiedTime\": \"2023-07-20T08:58:59.173Z\"\n}\n" + "string": "{\n \"id\": \"1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo\",\n \"name\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"createdTime\": \"2023-07-25T15:43:20.144Z\",\n \"modifiedTime\": \"2023-07-25T15:43:20.165Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -964,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:03 GMT" + "Tue, 25 Jul 2023 15:43:24 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1043,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1052,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:04 GMT" + "Tue, 25 Jul 2023 15:43:25 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1080,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1125,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1134,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:04 GMT" + "Tue, 25 Jul 2023 15:43:25 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1162,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY/values/%27Sheet1%27%21A1%3AD2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo/values/%27Sheet1%27%21A1%3AD2", "body": null, "headers": { "User-Agent": [ @@ -1201,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1210,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:04 GMT" + "Tue, 25 Jul 2023 15:43:25 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1245,7 +559,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"A\", \"\", \"C\", \"3_1_0\"], [\"=3/2\", 0.12, \"\", \"3_2_1\"]]}", "headers": { "User-Agent": [ @@ -1283,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1292,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:05 GMT" + "Tue, 25 Jul 2023 15:43:26 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1320,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" + "string": "{\n \"spreadsheetId\": \"1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1359,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1368,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:05 GMT" + "Tue, 25 Jul 2023 15:43:26 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1403,7 +717,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/13QNK7WiNshkJC8jBeHs7wVscK7gSaZoCFNV7cNSVgPY?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1jBRzIu73RGUTrBhQgEk9d-WmmUGf6ITRiHaC5hfLoDo?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1438,8 +752,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1447,32 +761,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:06 GMT" + "Tue, 25 Jul 2023 15:43:27 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_value_render_options.json b/tests/cassettes/WorksheetTest.test_get_all_records_value_render_options.json index 950844832..fa67cf8d8 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_value_render_options.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_value_render_options.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "127" ], @@ -39,278 +42,56 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], - "Transfer-Encoding": [ - "chunked" + "Vary": [ + "Origin, X-Origin" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" - ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:14 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "214" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ\",\n \"name\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:14 GMT" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3358" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], "Date": [ - "Thu, 08 Jun 2023 22:18:14 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3358" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" + "Tue, 25 Jul 2023 15:43:31 GMT" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:14 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], "content-length": [ - "107" + "214" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ\",\n \"name\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ?includeGridData=false", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -327,11 +108,8 @@ "x-goog-api-client": [ "cred-type/sa" ], - "Content-Length": [ - "190" - ], - "Content-Type": [ - "application/json" + "x-identity-trust-boundary": [ + "0" ], "authorization": [ "" @@ -344,618 +122,10 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:15 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ/values/%27Sheet1%27%21A1%3AD2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:15 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"=4/2\", \"2020-01-01\", \"string\", 53], [\"=3/2\", 0.12, \"1999-01-02\", \"\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "84" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:15 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "168" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:15 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "206" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"2\",\n \"2020-01-01\",\n \"string\",\n \"53\"\n ],\n [\n \"1.5\",\n \"0.12\",\n \"1999-01-02\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:15 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "184" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 2,\n 43831,\n \"string\",\n 53\n ],\n [\n 1.5,\n 0.12,\n 36162\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ/values/%27Sheet1%27?valueRenderOption=FORMULA", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:16 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"=4/2\",\n 43831,\n \"string\",\n 53\n ],\n [\n \"=3/2\",\n 0.12,\n 36162\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1KnofGaW-kyo64tWRx8M3yIoKwstCLqJjY1Q0_Ij33FQ?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:16 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_all_records_value_render_options\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "127" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:59:10 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "214" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"name\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -963,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:10 GMT" + "Tue, 25 Jul 2023 15:43:31 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -991,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1030,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1039,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:11 GMT" + "Tue, 25 Jul 2023 15:43:31 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "224" ] }, "body": { - "string": "{\n \"id\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"name\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"createdTime\": \"2023-07-20T08:59:07.355Z\",\n \"modifiedTime\": \"2023-07-20T08:59:07.379Z\"\n}\n" + "string": "{\n \"id\": \"1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ\",\n \"name\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"createdTime\": \"2023-07-25T15:43:27.482Z\",\n \"modifiedTime\": \"2023-07-25T15:43:27.497Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1110,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1119,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:11 GMT" + "Tue, 25 Jul 2023 15:43:32 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1147,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1189,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1198,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:11 GMT" + "Tue, 25 Jul 2023 15:43:32 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1226,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1271,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1280,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:11 GMT" + "Tue, 25 Jul 2023 15:43:32 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1308,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/values/%27Sheet1%27%21A1%3AD2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ/values/%27Sheet1%27%21A1%3AD2", "body": null, "headers": { "User-Agent": [ @@ -1347,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1356,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:12 GMT" + "Tue, 25 Jul 2023 15:43:33 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1391,7 +559,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"=4/2\", \"2020-01-01\", \"string\", 53], [\"=3/2\", 0.12, \"1999-01-02\", \"\"]]}", "headers": { "User-Agent": [ @@ -1429,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1438,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:12 GMT" + "Tue, 25 Jul 2023 15:43:33 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1466,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" + "string": "{\n \"spreadsheetId\": \"1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1505,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1514,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:12 GMT" + "Tue, 25 Jul 2023 15:43:33 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1549,7 +717,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1581,8 +749,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1590,25 +760,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:12 GMT" + "Tue, 25 Jul 2023 15:43:33 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1625,7 +793,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA/values/%27Sheet1%27?valueRenderOption=FORMULA", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ/values/%27Sheet1%27?valueRenderOption=FORMULA", "body": null, "headers": { "User-Agent": [ @@ -1657,8 +825,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1666,25 +836,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:12 GMT" + "Tue, 25 Jul 2023 15:43:34 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1701,7 +869,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1Jfe_T0w0crW2BKdUA9SDWh3HzwQ8sh6Clf-3rVLP6CA?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1xA_fhzrMWEdBUc8egDh5G4vqcRs-kdzbe2J8yXdY5nQ?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1736,41 +904,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:13 GMT" + "Tue, 25 Jul 2023 15:43:34 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_values.json b/tests/cassettes/WorksheetTest.test_get_all_values.json index 0435db295..65ed99364 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_values.json +++ b/tests/cassettes/WorksheetTest.test_get_all_values.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "105" ], @@ -39,128 +42,55 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], - "Transfer-Encoding": [ - "chunked" + "Vary": [ + "Origin, X-Origin" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" - ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "X-XSS-Protection": [ + "0" ], - "Date": [ - "Thu, 08 Jun 2023 22:18:19 GMT" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y\",\n \"name\": \"Test WorksheetTest test_get_all_values\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], "Date": [ - "Thu, 08 Jun 2023 22:18:19 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Tue, 25 Jul 2023 15:43:38 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ - "3336" + "192" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y/edit\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI\",\n \"name\": \"Test WorksheetTest test_get_all_values\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -178,6 +108,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -189,206 +122,51 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:20 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Cache-Control": [ "private" ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:20 GMT" - ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "190" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], "Date": [ - "Thu, 08 Jun 2023 22:18:20 GMT" + "Tue, 25 Jul 2023 15:43:39 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ - "97" + "3336" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y/values/%27Sheet1%27%21A1%3AD1", + "uri": "https://www.googleapis.com/drive/v3/files/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -406,6 +184,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -417,741 +198,55 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:20 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y/values/%27Sheet1%27%21A2%3AD2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:20 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y/values/%27Sheet1%27%21A3%3AD3", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:21 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A3:D3\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y/values/%27Sheet1%27%21A4%3AD4", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:21 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A4:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [\"\", \"b2\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", \"B4\", \"\", \"D4\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "98" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:21 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:21 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "234" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"\",\n \"b2\"\n ],\n [],\n [\n \"A4\",\n \"B4\",\n \"\",\n \"D4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1bIQTFD7CRZJwOk-g4AAWMGbk4cNAPbz1l6Ktue4Q2_Y?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:22 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_all_values\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "105" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:59:16 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"name\": \"Test WorksheetTest test_get_all_values\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Thu, 20 Jul 2023 08:59:17 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Vary": [ + "Origin, X-Origin" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:17 GMT" + "Tue, 25 Jul 2023 15:43:39 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "202" ] }, "body": { - "string": "{\n \"id\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"name\": \"Test WorksheetTest test_get_all_values\",\n \"createdTime\": \"2023-07-20T08:59:13.905Z\",\n \"modifiedTime\": \"2023-07-20T08:59:13.924Z\"\n}\n" + "string": "{\n \"id\": \"1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI\",\n \"name\": \"Test WorksheetTest test_get_all_values\",\n \"createdTime\": \"2023-07-25T15:43:35.200Z\",\n \"modifiedTime\": \"2023-07-25T15:43:35.216Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1183,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1192,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:17 GMT" + "Tue, 25 Jul 2023 15:43:40 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1220,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1262,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1271,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:17 GMT" + "Tue, 25 Jul 2023 15:43:40 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1299,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1344,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1353,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:18 GMT" + "Tue, 25 Jul 2023 15:43:40 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1381,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27%21A1%3AD1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI/values/%27Sheet1%27%21A1%3AD1", "body": null, "headers": { "User-Agent": [ @@ -1420,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1429,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:18 GMT" + "Tue, 25 Jul 2023 15:43:40 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1464,7 +559,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27%21A2%3AD2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI/values/%27Sheet1%27%21A2%3AD2", "body": null, "headers": { "User-Agent": [ @@ -1496,8 +591,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1505,25 +602,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:18 GMT" + "Tue, 25 Jul 2023 15:43:41 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1540,7 +635,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27%21A3%3AD3", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI/values/%27Sheet1%27%21A3%3AD3", "body": null, "headers": { "User-Agent": [ @@ -1572,8 +667,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1581,25 +678,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:18 GMT" + "Tue, 25 Jul 2023 15:43:41 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1616,7 +711,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27%21A4%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI/values/%27Sheet1%27%21A4%3AD4", "body": null, "headers": { "User-Agent": [ @@ -1648,8 +743,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1657,25 +754,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:19 GMT" + "Tue, 25 Jul 2023 15:43:41 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1692,7 +787,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [\"\", \"b2\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", \"B4\", \"\", \"D4\"]]}", "headers": { "User-Agent": [ @@ -1730,8 +825,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1739,25 +836,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:19 GMT" + "Tue, 25 Jul 2023 15:43:41 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1767,14 +862,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1806,8 +901,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1815,25 +912,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:19 GMT" + "Tue, 25 Jul 2023 15:43:41 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1850,7 +945,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1s_tHKBEzMXhR0OfPliXlQ4ADU05Lz0Zido0ZL2812qs?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1CE41E_Ixiqessy_IQn0O9XfhLDmQKucskRB3evPVbKI?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1885,41 +980,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:20 GMT" + "Tue, 25 Jul 2023 15:43:42 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_values_date_time_render_options.json b/tests/cassettes/WorksheetTest.test_get_all_values_date_time_render_options.json index 066acdff4..104092d56 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_values_date_time_render_options.json +++ b/tests/cassettes/WorksheetTest.test_get_all_values_date_time_render_options.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "130" ], @@ -39,128 +42,55 @@ "message": "OK" }, "headers": { - "Date": [ - "Thu, 08 Jun 2023 22:43:28 GMT" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" ], "Server": [ "ESF" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Vary": [ - "Origin, X-Origin" - ], "Pragma": [ "no-cache" ], "X-XSS-Protection": [ "0" ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "content-length": [ - "217" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU\",\n \"name\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Date": [ - "Thu, 08 Jun 2023 22:43:29 GMT" - ], - "Cache-Control": [ - "private" + "Tue, 25 Jul 2023 15:43:45 GMT" ], "X-Content-Type-Options": [ "nosniff" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Server": [ - "ESF" - ], "content-length": [ - "3361" + "217" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU/edit\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI\",\n \"name\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -178,6 +108,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -189,206 +122,51 @@ "message": "OK" }, "headers": { - "Date": [ - "Thu, 08 Jun 2023 22:43:29 GMT" - ], - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Server": [ "ESF" ], - "content-length": [ - "3361" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ + "X-XSS-Protection": [ "0" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": [ - "Thu, 08 Jun 2023 22:43:29 GMT" - ], - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-XSS-Protection": [ - "0" - ], "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Server": [ - "ESF" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "190" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Date": [ - "Thu, 08 Jun 2023 22:43:29 GMT" - ], - "Cache-Control": [ - "private" + "Tue, 25 Jul 2023 15:43:46 GMT" ], "X-Content-Type-Options": [ "nosniff" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Server": [ - "ESF" - ], "content-length": [ - "97" + "3361" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU/values/%27Sheet1%27%21A1%3AD2", + "uri": "https://www.googleapis.com/drive/v3/files/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -406,6 +184,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -416,742 +197,56 @@ "code": 200, "message": "OK" }, - "headers": { - "Date": [ - "Thu, 08 Jun 2023 22:43:29 GMT" - ], - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Server": [ - "ESF" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"=4/2\", \"2020-01-01\", \"string\", 53], [\"=3/2\", 0.12, \"1999-01-02\", \"\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "84" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": [ - "Thu, 08 Jun 2023 22:43:30 GMT" - ], - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Server": [ - "ESF" - ], - "content-length": [ - "168" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": [ - "Thu, 08 Jun 2023 22:43:30 GMT" - ], - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Server": [ - "ESF" - ], - "content-length": [ - "184" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 2,\n 43831,\n \"string\",\n 53\n ],\n [\n 1.5,\n 0.12,\n 36162\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": [ - "Thu, 08 Jun 2023 22:43:30 GMT" - ], - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Server": [ - "ESF" - ], - "content-length": [ - "198" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 2,\n \"2020-01-01\",\n \"string\",\n 53\n ],\n [\n 1.5,\n 0.12,\n \"1999-01-02\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU/values/%27Sheet1%27?valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": [ - "Thu, 08 Jun 2023 22:43:30 GMT" - ], - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Server": [ - "ESF" - ], - "content-length": [ - "206" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"2\",\n \"2020-01-01\",\n \"string\",\n \"53\"\n ],\n [\n \"1.5\",\n \"0.12\",\n \"1999-01-02\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU/values/%27Sheet1%27?valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": [ - "Thu, 08 Jun 2023 22:43:30 GMT" - ], - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Server": [ - "ESF" - ], - "content-length": [ - "206" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"2\",\n \"2020-01-01\",\n \"string\",\n \"53\"\n ],\n [\n \"1.5\",\n \"0.12\",\n \"1999-01-02\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1z-xWGC2OWvvYRsWsq7GFGqkmiX1I_Mlnq0Ah0NFzmJU?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Date": [ - "Thu, 08 Jun 2023 22:43:31 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Pragma": [ - "no-cache" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Content-Type": [ - "text/html" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Server": [ - "ESF" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_all_values_date_time_render_options\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "130" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 08:59:22 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "217" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"name\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Thu, 20 Jul 2023 08:59:23 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "3361" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], + "headers": { "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:23 GMT" + "Tue, 25 Jul 2023 15:43:46 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "227" ] }, "body": { - "string": "{\n \"id\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"name\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"createdTime\": \"2023-07-20T08:59:20.469Z\",\n \"modifiedTime\": \"2023-07-20T08:59:21.511Z\"\n}\n" + "string": "{\n \"id\": \"1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI\",\n \"name\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"createdTime\": \"2023-07-25T15:43:43.300Z\",\n \"modifiedTime\": \"2023-07-25T15:43:44.232Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1183,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1192,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:23 GMT" + "Tue, 25 Jul 2023 15:43:46 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1220,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_date_time_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1262,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1271,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:24 GMT" + "Tue, 25 Jul 2023 15:43:47 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1299,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1344,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1353,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:24 GMT" + "Tue, 25 Jul 2023 15:43:47 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1381,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27%21A1%3AD2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI/values/%27Sheet1%27%21A1%3AD2", "body": null, "headers": { "User-Agent": [ @@ -1420,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1429,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:24 GMT" + "Tue, 25 Jul 2023 15:43:47 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1464,7 +559,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"=4/2\", \"2020-01-01\", \"string\", 53], [\"=3/2\", 0.12, \"1999-01-02\", \"\"]]}", "headers": { "User-Agent": [ @@ -1502,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1511,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:24 GMT" + "Tue, 25 Jul 2023 15:43:48 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1539,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" + "string": "{\n \"spreadsheetId\": \"1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER", "body": null, "headers": { "User-Agent": [ @@ -1578,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1587,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:25 GMT" + "Tue, 25 Jul 2023 15:43:48 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1622,7 +717,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING", "body": null, "headers": { "User-Agent": [ @@ -1654,8 +749,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1663,25 +760,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:25 GMT" + "Tue, 25 Jul 2023 15:43:48 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1698,7 +793,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27?valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI/values/%27Sheet1%27?valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER", "body": null, "headers": { "User-Agent": [ @@ -1730,8 +825,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1739,25 +836,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:25 GMT" + "Tue, 25 Jul 2023 15:43:48 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1774,7 +869,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw/values/%27Sheet1%27?valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI/values/%27Sheet1%27?valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING", "body": null, "headers": { "User-Agent": [ @@ -1806,8 +901,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1815,25 +912,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:25 GMT" + "Tue, 25 Jul 2023 15:43:48 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1850,7 +945,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1QfEGrWLvTJI-5w4q-BQ6sPxmG9mvbTuUfFm8eYGJzdw?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1VYZV6IRnymjtcrTiKitjSdyIpBjiKTnzjBT-J87QLjI?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1885,8 +980,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1894,32 +989,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:26 GMT" + "Tue, 25 Jul 2023 15:43:49 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_values_title_is_a1_notation.json b/tests/cassettes/WorksheetTest.test_get_all_values_title_is_a1_notation.json index 26d56065f..dbb593eb6 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_values_title_is_a1_notation.json +++ b/tests/cassettes/WorksheetTest.test_get_all_values_title_is_a1_notation.json @@ -1,990 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "126" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:31 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "213" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8\",\n \"name\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:32 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3357" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:32 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3357" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:32 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "190" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:32 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"title\": \"D3\"}, \"fields\": \"title\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "107" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:32 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8/values/%27D3%27%21A1%3AD1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "56" - ] - }, - "body": { - "string": "{\n \"range\": \"'D3'!A1:D1\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8/values/%27D3%27%21A2%3AD2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "56" - ] - }, - "body": { - "string": "{\n \"range\": \"'D3'!A2:D2\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8/values/%27D3%27%21A3%3AD3", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "56" - ] - }, - "body": { - "string": "{\n \"range\": \"'D3'!A3:D3\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8/values/%27D3%27%21A4%3AD4", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "56" - ] - }, - "body": { - "string": "{\n \"range\": \"'D3'!A4:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8/values/%27D3%27%21A1%3AD4?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [\"\", \"b2\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", \"B4\", \"\", \"d4\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "98" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "167" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8\",\n \"updatedRange\": \"'D3'!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8/values/%27D3%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "232" - ] - }, - "body": { - "string": "{\n \"range\": \"'D3'!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"\",\n \"b2\"\n ],\n [],\n [\n \"A4\",\n \"B4\",\n \"\",\n \"d4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1obs2pIeHy1g02fmgPAJPOZckE0SjDPVdW82Kw54vqf8?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -1026,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:29 GMT" + "Tue, 25 Jul 2023 15:43:52 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "213" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"name\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo\",\n \"name\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1106,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1115,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:29 GMT" + "Tue, 25 Jul 2023 15:43:53 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1143,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1182,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:29 GMT" + "Tue, 25 Jul 2023 15:43:53 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "223" ] }, "body": { - "string": "{\n \"id\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"name\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"createdTime\": \"2023-07-20T08:59:26.832Z\",\n \"modifiedTime\": \"2023-07-20T08:59:26.853Z\"\n}\n" + "string": "{\n \"id\": \"1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo\",\n \"name\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"createdTime\": \"2023-07-25T15:43:50.075Z\",\n \"modifiedTime\": \"2023-07-25T15:43:51.247Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1262,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1271,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:30 GMT" + "Tue, 25 Jul 2023 15:43:53 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1299,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_values_title_is_a1_notation\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1341,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1350,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:30 GMT" + "Tue, 25 Jul 2023 15:43:54 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1378,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1423,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1432,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:30 GMT" + "Tue, 25 Jul 2023 15:43:54 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1460,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"title\": \"D3\"}, \"fields\": \"title\"}}]}", "headers": { "User-Agent": [ @@ -1505,8 +521,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1514,25 +532,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:30 GMT" + "Tue, 25 Jul 2023 15:43:54 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1542,14 +558,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27D3%27%21A1%3AD1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo/values/%27D3%27%21A1%3AD1", "body": null, "headers": { "User-Agent": [ @@ -1581,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1590,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:31 GMT" + "Tue, 25 Jul 2023 15:43:55 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1625,7 +641,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27D3%27%21A2%3AD2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo/values/%27D3%27%21A2%3AD2", "body": null, "headers": { "User-Agent": [ @@ -1657,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1666,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:31 GMT" + "Tue, 25 Jul 2023 15:43:55 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1701,7 +717,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27D3%27%21A3%3AD3", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo/values/%27D3%27%21A3%3AD3", "body": null, "headers": { "User-Agent": [ @@ -1733,8 +749,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1742,25 +760,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:31 GMT" + "Tue, 25 Jul 2023 15:43:55 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1777,7 +793,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27D3%27%21A4%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo/values/%27D3%27%21A4%3AD4", "body": null, "headers": { "User-Agent": [ @@ -1809,8 +825,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1818,25 +836,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:31 GMT" + "Tue, 25 Jul 2023 15:43:55 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1853,7 +869,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27D3%27%21A1%3AD4?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo/values/%27D3%27%21A1%3AD4?valueInputOption=RAW", "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [\"\", \"b2\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", \"B4\", \"\", \"d4\"]]}", "headers": { "User-Agent": [ @@ -1891,8 +907,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1900,25 +918,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:32 GMT" + "Tue, 25 Jul 2023 15:43:56 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1928,14 +944,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU\",\n \"updatedRange\": \"'D3'!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo\",\n \"updatedRange\": \"'D3'!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU/values/%27D3%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo/values/%27D3%27", "body": null, "headers": { "User-Agent": [ @@ -1967,8 +983,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1976,25 +994,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:32 GMT" + "Tue, 25 Jul 2023 15:43:56 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2011,7 +1027,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1G3O-AHDYxWmR1S9CB69CvFfPXxaTvNqAXBjGOQbsgdU?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1und1QJCH8MqJ261A0-QhKolfcsvS0isAKIf5UNgBJWo?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -2046,41 +1062,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:32 GMT" + "Tue, 25 Jul 2023 15:43:57 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_values_and_combine_merged_cells.json b/tests/cassettes/WorksheetTest.test_get_values_and_combine_merged_cells.json index 92eac1d1b..21efe1828 100644 --- a/tests/cassettes/WorksheetTest.test_get_values_and_combine_merged_cells.json +++ b/tests/cassettes/WorksheetTest.test_get_values_and_combine_merged_cells.json @@ -1,1002 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "126" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Thu, 08 Jun 2023 18:55:14 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "213" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA\",\n \"name\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "private" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Thu, 08 Jun 2023 18:55:15 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "3357" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "private" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Thu, 08 Jun 2023 18:55:15 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "3357" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "private" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Thu, 08 Jun 2023 18:55:15 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "190" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "private" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Thu, 08 Jun 2023 18:55:15 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", - "body": "{\"values\": [[1, \"\", \"\", \"\"], [\"\", \"\", \"title\", \"\"], [\"\", \"\", 2, \"\"], [\"num\", \"val\", \"\", 0]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "92" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "private" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Thu, 08 Jun 2023 18:55:15 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA:batchUpdate", - "body": "{\"requests\": [{\"mergeCells\": {\"mergeType\": \"MERGE_ALL\", \"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "165" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "private" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Thu, 08 Jun 2023 18:55:16 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA:batchUpdate", - "body": "{\"requests\": [{\"mergeCells\": {\"mergeType\": \"MERGE_ALL\", \"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 2, \"endColumnIndex\": 4, \"sheetId\": 0}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "165" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "private" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Thu, 08 Jun 2023 18:55:16 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA:batchUpdate", - "body": "{\"requests\": [{\"mergeCells\": {\"mergeType\": \"MERGE_ALL\", \"range\": {\"startRowIndex\": 2, \"endRowIndex\": 4, \"startColumnIndex\": 2, \"endColumnIndex\": 3, \"sheetId\": 0}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "165" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "private" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Thu, 08 Jun 2023 18:55:16 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "private" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Thu, 08 Jun 2023 18:55:16 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "248" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\"\n ],\n [\n \"\",\n \"\",\n \"title\"\n ],\n [\n \"\",\n \"\",\n \"2\"\n ],\n [\n \"num\",\n \"val\",\n \"\",\n \"0\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "private" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Thu, 08 Jun 2023 18:55:16 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "248" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\"\n ],\n [\n \"\",\n \"\",\n \"title\"\n ],\n [\n \"\",\n \"\",\n \"2\"\n ],\n [\n \"num\",\n \"val\",\n \"\",\n \"0\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "private" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Thu, 08 Jun 2023 18:55:17 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "3805" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 4,\n \"columnCount\": 4\n }\n },\n \"merges\": [\n {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n },\n {\n \"startRowIndex\": 1,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 2,\n \"endColumnIndex\": 4\n },\n {\n \"startRowIndex\": 2,\n \"endRowIndex\": 4,\n \"startColumnIndex\": 2,\n \"endColumnIndex\": 3\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1txmu0gP2qQRNaGwtUo2rW5ikjBwfS7_kNKkmzbCJ-FA?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "text/html" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Thu, 08 Jun 2023 18:55:17 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Length": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -1038,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:35 GMT" + "Tue, 25 Jul 2023 15:44:00 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "213" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"name\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU\",\n \"name\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1118,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1127,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:35 GMT" + "Tue, 25 Jul 2023 15:44:01 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1155,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1194,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1203,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:35 GMT" + "Tue, 25 Jul 2023 15:44:01 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "223" ] }, "body": { - "string": "{\n \"id\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"name\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"createdTime\": \"2023-07-20T08:59:33.219Z\",\n \"modifiedTime\": \"2023-07-20T08:59:34.272Z\"\n}\n" + "string": "{\n \"id\": \"1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU\",\n \"name\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"createdTime\": \"2023-07-25T15:43:57.614Z\",\n \"modifiedTime\": \"2023-07-25T15:43:57.634Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1274,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1283,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:36 GMT" + "Tue, 25 Jul 2023 15:44:02 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1311,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1353,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1362,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:36 GMT" + "Tue, 25 Jul 2023 15:44:02 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1390,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1435,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1444,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:36 GMT" + "Tue, 25 Jul 2023 15:44:02 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1472,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", "body": "{\"values\": [[\"1\", \"\", \"\", \"\"], [\"\", \"\", \"title\", \"\"], [\"\", \"\", \"2\", \"\"], [\"num\", \"val\", \"\", \"0\"]]}", "headers": { "User-Agent": [ @@ -1517,8 +521,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1526,25 +532,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:37 GMT" + "Tue, 25 Jul 2023 15:44:02 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1554,14 +558,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU:batchUpdate", "body": "{\"requests\": [{\"mergeCells\": {\"mergeType\": \"MERGE_ALL\", \"range\": {\"startRowIndex\": 0, \"endRowIndex\": 2, \"startColumnIndex\": 0, \"endColumnIndex\": 2, \"sheetId\": 0}}}]}", "headers": { "User-Agent": [ @@ -1599,8 +603,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1608,25 +614,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:37 GMT" + "Tue, 25 Jul 2023 15:44:03 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1636,14 +640,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU:batchUpdate", "body": "{\"requests\": [{\"mergeCells\": {\"mergeType\": \"MERGE_ALL\", \"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 2, \"endColumnIndex\": 4, \"sheetId\": 0}}}]}", "headers": { "User-Agent": [ @@ -1681,8 +685,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1690,25 +696,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:38 GMT" + "Tue, 25 Jul 2023 15:44:03 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1718,14 +722,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU:batchUpdate", "body": "{\"requests\": [{\"mergeCells\": {\"mergeType\": \"MERGE_ALL\", \"range\": {\"startRowIndex\": 2, \"endRowIndex\": 4, \"startColumnIndex\": 2, \"endColumnIndex\": 3, \"sheetId\": 0}}}]}", "headers": { "User-Agent": [ @@ -1763,8 +767,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1772,25 +778,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:38 GMT" + "Tue, 25 Jul 2023 15:44:03 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1800,14 +804,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1839,8 +843,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1848,25 +854,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:38 GMT" + "Tue, 25 Jul 2023 15:44:04 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1883,7 +887,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1915,8 +919,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1924,25 +930,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:38 GMT" + "Tue, 25 Jul 2023 15:44:04 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1959,7 +963,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1991,8 +995,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2000,25 +1006,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:39 GMT" + "Tue, 25 Jul 2023 15:44:04 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2028,14 +1032,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 4,\n \"columnCount\": 4\n }\n },\n \"merges\": [\n {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n },\n {\n \"startRowIndex\": 1,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 2,\n \"endColumnIndex\": 4\n },\n {\n \"startRowIndex\": 2,\n \"endRowIndex\": 4,\n \"startColumnIndex\": 2,\n \"endColumnIndex\": 3\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_values_and_combine_merged_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 4,\n \"columnCount\": 4\n }\n },\n \"merges\": [\n {\n \"startRowIndex\": 0,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 0,\n \"endColumnIndex\": 2\n },\n {\n \"startRowIndex\": 1,\n \"endRowIndex\": 2,\n \"startColumnIndex\": 2,\n \"endColumnIndex\": 4\n },\n {\n \"startRowIndex\": 2,\n \"endRowIndex\": 4,\n \"startColumnIndex\": 2,\n \"endColumnIndex\": 3\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/19Z9kJlHV8rsAa7HIN2lKZnIOohPgYiDSdNhZM4PW_iQ?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1qhl9CiR4B1Z29CNkqkjoYRHnI5kvk_r-LTufBqIucHU?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -2070,41 +1074,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:39 GMT" + "Tue, 25 Jul 2023 15:44:05 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_group_columns.json b/tests/cassettes/WorksheetTest.test_group_columns.json index e64983351..2e7da86dc 100644 --- a/tests/cassettes/WorksheetTest.test_group_columns.json +++ b/tests/cassettes/WorksheetTest.test_group_columns.json @@ -1,692 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_group_columns\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "104" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:38 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "191" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs\",\n \"name\": \"Test WorksheetTest test_group_columns\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:38 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3335" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3335" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs:batchUpdate", - "body": "{\"requests\": [{\"addDimensionGroup\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 2}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "120" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "360" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs\",\n \"replies\": [\n {\n \"addDimensionGroup\": {\n \"dimensionGroups\": [\n {\n \"range\": {\n \"dimension\": \"COLUMNS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3577" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"columnGroupControlAfter\": true\n }\n },\n \"columnGroups\": [\n {\n \"range\": {\n \"dimension\": \"COLUMNS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs:batchUpdate", - "body": "{\"requests\": [{\"deleteDimensionGroup\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 2}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "123" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "135" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs\",\n \"replies\": [\n {\n \"deleteDimensionGroup\": {}\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3378" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"columnGroupControlAfter\": true\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1olhHftEjAl_7_Oc3kG8gNoFSy6BxKx-P9uXwHE_mtJs?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -728,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:42 GMT" + "Tue, 25 Jul 2023 15:44:08 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "191" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"name\": \"Test WorksheetTest test_group_columns\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o\",\n \"name\": \"Test WorksheetTest test_group_columns\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -808,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -817,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:43 GMT" + "Tue, 25 Jul 2023 15:44:09 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -845,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -884,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:43 GMT" + "Tue, 25 Jul 2023 15:44:09 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "201" ] }, "body": { - "string": "{\n \"id\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"name\": \"Test WorksheetTest test_group_columns\",\n \"createdTime\": \"2023-07-20T08:59:40.032Z\",\n \"modifiedTime\": \"2023-07-20T08:59:40.049Z\"\n}\n" + "string": "{\n \"id\": \"1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o\",\n \"name\": \"Test WorksheetTest test_group_columns\",\n \"createdTime\": \"2023-07-25T15:44:05.696Z\",\n \"modifiedTime\": \"2023-07-25T15:44:05.724Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -964,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:43 GMT" + "Tue, 25 Jul 2023 15:44:09 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1043,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1052,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:44 GMT" + "Tue, 25 Jul 2023 15:44:10 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1080,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o:batchUpdate", "body": "{\"requests\": [{\"addDimensionGroup\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 2}}}]}", "headers": { "User-Agent": [ @@ -1125,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1134,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:44 GMT" + "Tue, 25 Jul 2023 15:44:10 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1162,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"replies\": [\n {\n \"addDimensionGroup\": {\n \"dimensionGroups\": [\n {\n \"range\": {\n \"dimension\": \"COLUMNS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o\",\n \"replies\": [\n {\n \"addDimensionGroup\": {\n \"dimensionGroups\": [\n {\n \"range\": {\n \"dimension\": \"COLUMNS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n }\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1201,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1210,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:44 GMT" + "Tue, 25 Jul 2023 15:44:10 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1238,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"columnGroupControlAfter\": true\n }\n },\n \"columnGroups\": [\n {\n \"range\": {\n \"dimension\": \"COLUMNS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"columnGroupControlAfter\": true\n }\n },\n \"columnGroups\": [\n {\n \"range\": {\n \"dimension\": \"COLUMNS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o:batchUpdate", "body": "{\"requests\": [{\"deleteDimensionGroup\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 2}}}]}", "headers": { "User-Agent": [ @@ -1283,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1292,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:44 GMT" + "Tue, 25 Jul 2023 15:44:11 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1320,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"replies\": [\n {\n \"deleteDimensionGroup\": {}\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o\",\n \"replies\": [\n {\n \"deleteDimensionGroup\": {}\n }\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1359,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1368,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:45 GMT" + "Tue, 25 Jul 2023 15:44:11 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1396,14 +710,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"columnGroupControlAfter\": true\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_columns\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"columnGroupControlAfter\": true\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1na6_L7HQnViRSU4zW16RG9ihiVWy0kNR8XI2O0hMOxU?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1kQJputz5hMuuBLR-ShDbqZCgWancWqrTKeVsTuiZ77o?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1438,41 +752,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:45 GMT" + "Tue, 25 Jul 2023 15:44:12 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_group_rows.json b/tests/cassettes/WorksheetTest.test_group_rows.json index 817252e21..a67ab25ae 100644 --- a/tests/cassettes/WorksheetTest.test_group_rows.json +++ b/tests/cassettes/WorksheetTest.test_group_rows.json @@ -1,692 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_group_rows\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "101" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:43 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "188" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo\",\n \"name\": \"Test WorksheetTest test_group_rows\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:44 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3332" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:44 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3332" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:44 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo:batchUpdate", - "body": "{\"requests\": [{\"addDimensionGroup\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 2}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "117" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:44 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "357" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo\",\n \"replies\": [\n {\n \"addDimensionGroup\": {\n \"dimensionGroups\": [\n {\n \"range\": {\n \"dimension\": \"ROWS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:44 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3565" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"rowGroupControlAfter\": true\n }\n },\n \"rowGroups\": [\n {\n \"range\": {\n \"dimension\": \"ROWS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo:batchUpdate", - "body": "{\"requests\": [{\"deleteDimensionGroup\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 2}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "120" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "135" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo\",\n \"replies\": [\n {\n \"deleteDimensionGroup\": {}\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3372" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"rowGroupControlAfter\": true\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1upjj1NxU-ZtXUoeUSe2SnZsM41WFZ6HwGW6C6tjZANo?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -728,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:48 GMT" + "Tue, 25 Jul 2023 15:44:14 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "188" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"name\": \"Test WorksheetTest test_group_rows\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g\",\n \"name\": \"Test WorksheetTest test_group_rows\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -808,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -817,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:49 GMT" + "Tue, 25 Jul 2023 15:44:15 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -845,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -884,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -893,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:49 GMT" + "Tue, 25 Jul 2023 15:44:16 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "198" ] }, "body": { - "string": "{\n \"id\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"name\": \"Test WorksheetTest test_group_rows\",\n \"createdTime\": \"2023-07-20T08:59:46.159Z\",\n \"modifiedTime\": \"2023-07-20T08:59:46.175Z\"\n}\n" + "string": "{\n \"id\": \"14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g\",\n \"name\": \"Test WorksheetTest test_group_rows\",\n \"createdTime\": \"2023-07-25T15:44:12.380Z\",\n \"modifiedTime\": \"2023-07-25T15:44:13.589Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -964,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:49 GMT" + "Tue, 25 Jul 2023 15:44:16 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1043,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1052,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:49 GMT" + "Tue, 25 Jul 2023 15:44:16 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1080,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g:batchUpdate", "body": "{\"requests\": [{\"addDimensionGroup\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 2}}}]}", "headers": { "User-Agent": [ @@ -1125,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1134,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:50 GMT" + "Tue, 25 Jul 2023 15:44:17 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1162,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"replies\": [\n {\n \"addDimensionGroup\": {\n \"dimensionGroups\": [\n {\n \"range\": {\n \"dimension\": \"ROWS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g\",\n \"replies\": [\n {\n \"addDimensionGroup\": {\n \"dimensionGroups\": [\n {\n \"range\": {\n \"dimension\": \"ROWS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n }\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1201,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1210,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:50 GMT" + "Tue, 25 Jul 2023 15:44:17 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1238,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"rowGroupControlAfter\": true\n }\n },\n \"rowGroups\": [\n {\n \"range\": {\n \"dimension\": \"ROWS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"rowGroupControlAfter\": true\n }\n },\n \"rowGroups\": [\n {\n \"range\": {\n \"dimension\": \"ROWS\",\n \"startIndex\": 0,\n \"endIndex\": 2\n },\n \"depth\": 1\n }\n ]\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g:batchUpdate", "body": "{\"requests\": [{\"deleteDimensionGroup\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 2}}}]}", "headers": { "User-Agent": [ @@ -1283,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1292,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:50 GMT" + "Tue, 25 Jul 2023 15:44:17 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1320,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"replies\": [\n {\n \"deleteDimensionGroup\": {}\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g\",\n \"replies\": [\n {\n \"deleteDimensionGroup\": {}\n }\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1359,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1368,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:50 GMT" + "Tue, 25 Jul 2023 15:44:17 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1396,14 +710,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"rowGroupControlAfter\": true\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_group_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"rowGroupControlAfter\": true\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1a5fEgXHcA_o-NR71GjRgVM1BZq3n0HVa4l1vlxymLV0?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/14aAXSd5lXzlAvS4_utqWb-w7uT1JN4QJmnnH2KXLT4g?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1438,8 +752,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1447,32 +761,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:51 GMT" + "Tue, 25 Jul 2023 15:44:18 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_hide_columns_rows.json b/tests/cassettes/WorksheetTest.test_hide_columns_rows.json index ffcecbd37..962fc58f8 100644 --- a/tests/cassettes/WorksheetTest.test_hide_columns_rows.json +++ b/tests/cassettes/WorksheetTest.test_hide_columns_rows.json @@ -1,704 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_hide_columns_rows\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "108" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:49 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "195" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y\",\n \"name\": \"Test WorksheetTest test_hide_columns_rows\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:49 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3339" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_columns_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:49 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3339" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_columns_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:50 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y:batchUpdate", - "body": "{\"requests\": [{\"updateDimensionProperties\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 2}, \"properties\": {\"hiddenByUser\": true}, \"fields\": \"hiddenByUser\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "192" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:50 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y:batchUpdate", - "body": "{\"requests\": [{\"updateDimensionProperties\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 2}, \"properties\": {\"hiddenByUser\": false}, \"fields\": \"hiddenByUser\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "193" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:50 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y:batchUpdate", - "body": "{\"requests\": [{\"updateDimensionProperties\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 2}, \"properties\": {\"hiddenByUser\": true}, \"fields\": \"hiddenByUser\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "189" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:50 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y:batchUpdate", - "body": "{\"requests\": [{\"updateDimensionProperties\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 2}, \"properties\": {\"hiddenByUser\": false}, \"fields\": \"hiddenByUser\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "190" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:50 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1YzlmfFYkIOm3IJgnw9055tVjGDT57l-qKJWdVXzVM8Y?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:51 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -740,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:54 GMT" + "Tue, 25 Jul 2023 15:44:21 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "195" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"name\": \"Test WorksheetTest test_hide_columns_rows\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4\",\n \"name\": \"Test WorksheetTest test_hide_columns_rows\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -820,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -829,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:55 GMT" + "Tue, 25 Jul 2023 15:44:21 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -857,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_columns_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_columns_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -896,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -905,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 08:59:55 GMT" + "Tue, 25 Jul 2023 15:44:22 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "205" ] }, "body": { - "string": "{\n \"id\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"name\": \"Test WorksheetTest test_hide_columns_rows\",\n \"createdTime\": \"2023-07-20T08:59:51.997Z\",\n \"modifiedTime\": \"2023-07-20T08:59:52.020Z\"\n}\n" + "string": "{\n \"id\": \"1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4\",\n \"name\": \"Test WorksheetTest test_hide_columns_rows\",\n \"createdTime\": \"2023-07-25T15:44:19.082Z\",\n \"modifiedTime\": \"2023-07-25T15:44:19.814Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -976,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -985,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:55 GMT" + "Tue, 25 Jul 2023 15:44:22 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1013,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_columns_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_columns_rows\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1055,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1064,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:56 GMT" + "Tue, 25 Jul 2023 15:44:22 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1092,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4:batchUpdate", "body": "{\"requests\": [{\"updateDimensionProperties\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 2}, \"properties\": {\"hiddenByUser\": true}, \"fields\": \"hiddenByUser\"}}]}", "headers": { "User-Agent": [ @@ -1137,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1146,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:56 GMT" + "Tue, 25 Jul 2023 15:44:22 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1174,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4:batchUpdate", "body": "{\"requests\": [{\"updateDimensionProperties\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 0, \"endIndex\": 2}, \"properties\": {\"hiddenByUser\": false}, \"fields\": \"hiddenByUser\"}}]}", "headers": { "User-Agent": [ @@ -1219,8 +521,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1228,25 +532,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:56 GMT" + "Tue, 25 Jul 2023 15:44:23 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1256,14 +558,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4:batchUpdate", "body": "{\"requests\": [{\"updateDimensionProperties\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 2}, \"properties\": {\"hiddenByUser\": true}, \"fields\": \"hiddenByUser\"}}]}", "headers": { "User-Agent": [ @@ -1301,8 +603,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1310,25 +614,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:57 GMT" + "Tue, 25 Jul 2023 15:44:23 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1338,14 +640,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4:batchUpdate", "body": "{\"requests\": [{\"updateDimensionProperties\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 2}, \"properties\": {\"hiddenByUser\": false}, \"fields\": \"hiddenByUser\"}}]}", "headers": { "User-Agent": [ @@ -1383,8 +685,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1392,25 +696,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:57 GMT" + "Tue, 25 Jul 2023 15:44:23 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1420,14 +722,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1yzbiU57VAHF7BMmc22M969bPqKlqh8BqYmz2tHp5pdM?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1j1-C4p8IiE3MdgKSd2C41RQIL4zzPH4Y05uNgD6bjL4?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1462,41 +764,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 08:59:57 GMT" + "Tue, 25 Jul 2023 15:44:24 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_hide_gridlines.json b/tests/cassettes/WorksheetTest.test_hide_gridlines.json index 2e667fcfa..33b5ff4fb 100644 --- a/tests/cassettes/WorksheetTest.test_hide_gridlines.json +++ b/tests/cassettes/WorksheetTest.test_hide_gridlines.json @@ -1,613 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_hide_gridlines\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "105" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q\",\n \"name\": \"Test WorksheetTest test_hide_gridlines\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"hideGridlines\": true}}, \"fields\": \"gridProperties.hideGridlines\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "158" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:56 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3369" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"hideGridlines\": true\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1JUkbQNnCfhPbBpXh8xj95DA2OqRDyGuYHL5BKsnDI6Q?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:56 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -649,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:00 GMT" + "Tue, 25 Jul 2023 15:44:27 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "192" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"name\": \"Test WorksheetTest test_hide_gridlines\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0\",\n \"name\": \"Test WorksheetTest test_hide_gridlines\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -729,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -738,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:01 GMT" + "Tue, 25 Jul 2023 15:44:27 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -766,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -805,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -814,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:02 GMT" + "Tue, 25 Jul 2023 15:44:28 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "202" ] }, "body": { - "string": "{\n \"id\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"name\": \"Test WorksheetTest test_hide_gridlines\",\n \"createdTime\": \"2023-07-20T08:59:58.274Z\",\n \"modifiedTime\": \"2023-07-20T08:59:58.295Z\"\n}\n" + "string": "{\n \"id\": \"1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0\",\n \"name\": \"Test WorksheetTest test_hide_gridlines\",\n \"createdTime\": \"2023-07-25T15:44:24.967Z\",\n \"modifiedTime\": \"2023-07-25T15:44:26.032Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -885,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -894,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:02 GMT" + "Tue, 25 Jul 2023 15:44:28 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -922,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -964,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:02 GMT" + "Tue, 25 Jul 2023 15:44:28 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1040,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1049,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:03 GMT" + "Tue, 25 Jul 2023 15:44:28 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1077,14 +470,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"hideGridlines\": true}}, \"fields\": \"gridProperties.hideGridlines\"}}]}", "headers": { "User-Agent": [ @@ -1122,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1131,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:03 GMT" + "Tue, 25 Jul 2023 15:44:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1159,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1198,8 +591,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1207,25 +602,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:03 GMT" + "Tue, 25 Jul 2023 15:44:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1235,14 +628,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"hideGridlines\": true\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26,\n \"hideGridlines\": true\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1d65ktRwTvI76xDz5nKT5cfinxWVTbvSHZu1Oh6izwJ0?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1oyOp6flj2ed9GAfUtRhWFKzYdQObCcCgyYcGHYACoE0?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1277,41 +670,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:04 GMT" + "Tue, 25 Jul 2023 15:44:30 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_hide_show_worksheet.json b/tests/cassettes/WorksheetTest.test_hide_show_worksheet.json index 1771ec472..74c40ad07 100644 --- a/tests/cassettes/WorksheetTest.test_hide_show_worksheet.json +++ b/tests/cassettes/WorksheetTest.test_hide_show_worksheet.json @@ -1,923 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_hide_show_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "110" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:59 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "197" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w\",\n \"name\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:18:59 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"hidden\": true}, \"fields\": \"hidden\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "109" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 400, - "message": "Bad Request" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "177" - ] - }, - "body": { - "string": "{\n \"error\": {\n \"code\": 400,\n \"message\": \"Invalid requests[0].updateSheetProperties: You can't hide all the sheets in a document.\",\n \"status\": \"INVALID_ARGUMENT\"\n }\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"you cannot see me\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 2}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "150" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "387" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 993117170,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:01 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3591" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 993117170,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 993117170, \"hidden\": true}, \"fields\": \"hidden\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "117" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:01 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:01 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3615" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 993117170,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n },\n \"hidden\": true\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 993117170, \"hidden\": false}, \"fields\": \"hidden\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "118" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:01 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:01 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3591" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 993117170,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1qm2b4PrexUiSxKuHi_5yzktMFfOZF_6Mz5Ddzl9EI8w?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:02 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -959,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:06 GMT" + "Tue, 25 Jul 2023 15:44:34 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "197" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"name\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA\",\n \"name\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1039,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1048,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:07 GMT" + "Tue, 25 Jul 2023 15:44:34 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1076,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1115,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:07 GMT" + "Tue, 25 Jul 2023 15:44:34 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "207" ] }, "body": { - "string": "{\n \"id\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"name\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"createdTime\": \"2023-07-20T09:00:04.948Z\",\n \"modifiedTime\": \"2023-07-20T09:00:05.835Z\"\n}\n" + "string": "{\n \"id\": \"1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA\",\n \"name\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"createdTime\": \"2023-07-25T15:44:30.988Z\",\n \"modifiedTime\": \"2023-07-25T15:44:31.010Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1195,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1204,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:07 GMT" + "Tue, 25 Jul 2023 15:44:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1232,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1274,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1283,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:08 GMT" + "Tue, 25 Jul 2023 15:44:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1311,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"hidden\": true}, \"fields\": \"hidden\"}}]}", "headers": { "User-Agent": [ @@ -1356,8 +439,10 @@ "message": "Bad Request" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1365,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:08 GMT" + "Tue, 25 Jul 2023 15:44:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1400,7 +483,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"you cannot see me\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 2}}}}]}", "headers": { "User-Agent": [ @@ -1438,8 +521,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1447,42 +532,40 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:08 GMT" + "Tue, 25 Jul 2023 15:44:36 GMT" ], "X-Content-Type-Options": [ "nosniff" ], "content-length": [ - "387" + "388" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 950182682,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1513170215,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1514,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1523,43 +608,41 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:09 GMT" + "Tue, 25 Jul 2023 15:44:36 GMT" ], "X-Content-Type-Options": [ "nosniff" ], "content-length": [ - "3591" + "3592" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 950182682,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1513170215,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 950182682, \"hidden\": true}, \"fields\": \"hidden\"}}]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 1513170215, \"hidden\": true}, \"fields\": \"hidden\"}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -1580,7 +663,7 @@ "0" ], "Content-Length": [ - "117" + "118" ], "Content-Type": [ "application/json" @@ -1596,8 +679,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1605,25 +690,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:09 GMT" + "Tue, 25 Jul 2023 15:44:36 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1633,14 +716,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1672,8 +755,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1681,43 +766,41 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:09 GMT" + "Tue, 25 Jul 2023 15:44:36 GMT" ], "X-Content-Type-Options": [ "nosniff" ], "content-length": [ - "3615" + "3616" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 950182682,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n },\n \"hidden\": true\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1513170215,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n },\n \"hidden\": true\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 950182682, \"hidden\": false}, \"fields\": \"hidden\"}}]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 1513170215, \"hidden\": false}, \"fields\": \"hidden\"}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -1738,7 +821,7 @@ "0" ], "Content-Length": [ - "118" + "119" ], "Content-Type": [ "application/json" @@ -1754,8 +837,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1763,25 +848,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:10 GMT" + "Tue, 25 Jul 2023 15:44:37 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1791,14 +874,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1830,8 +913,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1839,42 +924,40 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:10 GMT" + "Tue, 25 Jul 2023 15:44:37 GMT" ], "X-Content-Type-Options": [ "nosniff" ], "content-length": [ - "3591" + "3592" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 950182682,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_hide_show_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1513170215,\n \"title\": \"you cannot see me\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 2,\n \"columnCount\": 2\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1n7DBgpbcVHfLY1574Gfz-hnqbFoa1YmgoqiEz_cZ9Jw?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1orn99tUtMCpLAObtrSNv8tY-B8UfeJwW7D6NUIx6RMA?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1909,41 +992,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:10 GMT" + "Tue, 25 Jul 2023 15:44:38 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_insert_cols.json b/tests/cassettes/WorksheetTest.test_insert_cols.json index ba26f3872..a0f63fbf3 100644 --- a/tests/cassettes/WorksheetTest.test_insert_cols.json +++ b/tests/cassettes/WorksheetTest.test_insert_cols.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "102" ], @@ -39,277 +42,55 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 15 Jun 2023 23:48:40 GMT" - ], - "X-XSS-Protection": [ - "0" - ], "Vary": [ "Origin, X-Origin" ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], "Content-Type": [ "application/json; charset=UTF-8" ], - "content-length": [ - "189" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ\",\n \"name\": \"Test WorksheetTest test_insert_cols\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Server": [ "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 15 Jun 2023 23:48:40 GMT" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "3333" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 15 Jun 2023 23:48:40 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "3333" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "X-Frame-Options": [ "SAMEORIGIN" ], "Date": [ - "Thu, 15 Jun 2023 23:48:41 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" + "Tue, 25 Jul 2023 15:44:41 GMT" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ - "107" + "189" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA\",\n \"name\": \"Test WorksheetTest test_insert_cols\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ/values/%27Sheet1%27%21A1%3AD6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -327,6 +108,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -338,630 +122,10 @@ "message": "OK" }, "headers": { - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 15 Jun 2023 23:48:41 GMT" - ], - "X-XSS-Protection": [ - "0" - ], "Vary": [ "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"test_insert_cols 1\", \"test_insert_cols 2\", \"test_insert_cols 3\", \"test_insert_cols 4\"], [\"test_insert_cols 5\", \"test_insert_cols 6\", \"test_insert_cols 7\", \"test_insert_cols 8\"], [\"test_insert_cols 9\", \"test_insert_cols 10\", \"test_insert_cols 11\", \"test_insert_cols 12\"], [\"test_insert_cols 13\", \"test_insert_cols 14\", \"test_insert_cols 15\", \"test_insert_cols 16\"], [\"test_insert_cols 17\", \"test_insert_cols 18\", \"test_insert_cols 19\", \"test_insert_cols 20\"], [\"test_insert_cols 21\", \"test_insert_cols 22\", \"test_insert_cols 23\", \"test_insert_cols 24\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "567" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 15 Jun 2023 23:48:41 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ:batchUpdate", - "body": "{\"requests\": [{\"insertDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 1, \"endIndex\": 3}, \"inheritFromBefore\": false}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "146" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 15 Jun 2023 23:48:41 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ/values/%27Sheet1%27%21B1:append?valueInputOption=RAW", - "body": "{\"majorDimension\": \"COLUMNS\", \"values\": [[\"test_insert_cols 25\", \"test_insert_cols 26\", \"test_insert_cols 27\", \"test_insert_cols 28\"], [\"test_insert_cols 29\", \"test_insert_cols 30\", \"test_insert_cols 31\", \"test_insert_cols 32\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "229" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 15 Jun 2023 23:48:41 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "264" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ\",\n \"updates\": {\n \"spreadsheetId\": \"13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ\",\n \"updatedRange\": \"Sheet1!B1:C4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 2,\n \"updatedCells\": 8\n }\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ/values/%27Sheet1%27%21B1%3AB?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 15 Jun 2023 23:48:42 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "210" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!B1:B1000\",\n \"majorDimension\": \"COLUMNS\",\n \"values\": [\n [\n \"test_insert_cols 25\",\n \"test_insert_cols 26\",\n \"test_insert_cols 27\",\n \"test_insert_cols 28\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ/values/%27Sheet1%27%21C1%3AC?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Cache-Control": [ - "private" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 15 Jun 2023 23:48:42 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "210" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!C1:C1000\",\n \"majorDimension\": \"COLUMNS\",\n \"values\": [\n [\n \"test_insert_cols 29\",\n \"test_insert_cols 30\",\n \"test_insert_cols 31\",\n \"test_insert_cols 32\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/13DLvkJ93TbqF66eNF-uJm4RgUVC8SYrpRqPfEZTF0jQ?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Length": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 15 Jun 2023 23:48:42 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Pragma": [ - "no-cache" - ], - "Content-Type": [ - "text/html" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_insert_cols\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "102" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 09:00:13 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "189" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"name\": \"Test WorksheetTest test_insert_cols\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -969,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:14 GMT" + "Tue, 25 Jul 2023 15:44:42 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -997,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1036,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:14 GMT" + "Tue, 25 Jul 2023 15:44:42 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "199" ] }, "body": { - "string": "{\n \"id\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"name\": \"Test WorksheetTest test_insert_cols\",\n \"createdTime\": \"2023-07-20T09:00:11.224Z\",\n \"modifiedTime\": \"2023-07-20T09:00:11.243Z\"\n}\n" + "string": "{\n \"id\": \"14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA\",\n \"name\": \"Test WorksheetTest test_insert_cols\",\n \"createdTime\": \"2023-07-25T15:44:38.933Z\",\n \"modifiedTime\": \"2023-07-25T15:44:38.946Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1116,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1125,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:14 GMT" + "Tue, 25 Jul 2023 15:44:42 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1153,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_cols\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1195,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1204,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:15 GMT" + "Tue, 25 Jul 2023 15:44:42 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1232,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/values/%27Sheet1%27%21A1%3AD6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA/values/%27Sheet1%27%21A1%3AD6", "body": null, "headers": { "User-Agent": [ @@ -1271,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1280,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:15 GMT" + "Tue, 25 Jul 2023 15:44:43 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1315,7 +477,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", "body": "{\"values\": [[\"test_insert_cols 1\", \"test_insert_cols 2\", \"test_insert_cols 3\", \"test_insert_cols 4\"], [\"test_insert_cols 5\", \"test_insert_cols 6\", \"test_insert_cols 7\", \"test_insert_cols 8\"], [\"test_insert_cols 9\", \"test_insert_cols 10\", \"test_insert_cols 11\", \"test_insert_cols 12\"], [\"test_insert_cols 13\", \"test_insert_cols 14\", \"test_insert_cols 15\", \"test_insert_cols 16\"], [\"test_insert_cols 17\", \"test_insert_cols 18\", \"test_insert_cols 19\", \"test_insert_cols 20\"], [\"test_insert_cols 21\", \"test_insert_cols 22\", \"test_insert_cols 23\", \"test_insert_cols 24\"]]}", "headers": { "User-Agent": [ @@ -1353,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1362,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:15 GMT" + "Tue, 25 Jul 2023 15:44:43 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1390,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + "string": "{\n \"spreadsheetId\": \"14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA:batchUpdate", "body": "{\"requests\": [{\"insertDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"COLUMNS\", \"startIndex\": 1, \"endIndex\": 3}, \"inheritFromBefore\": false}}]}", "headers": { "User-Agent": [ @@ -1435,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1444,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:16 GMT" + "Tue, 25 Jul 2023 15:44:44 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1472,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/values/%27Sheet1%27%21B1:append?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA/values/%27Sheet1%27%21B1:append?valueInputOption=RAW", "body": "{\"majorDimension\": \"COLUMNS\", \"values\": [[\"test_insert_cols 25\", \"test_insert_cols 26\", \"test_insert_cols 27\", \"test_insert_cols 28\"], [\"test_insert_cols 29\", \"test_insert_cols 30\", \"test_insert_cols 31\", \"test_insert_cols 32\"]]}", "headers": { "User-Agent": [ @@ -1517,8 +679,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1526,25 +690,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:16 GMT" + "Tue, 25 Jul 2023 15:44:44 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1554,14 +716,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"updates\": {\n \"spreadsheetId\": \"1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM\",\n \"updatedRange\": \"Sheet1!B1:C4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 2,\n \"updatedCells\": 8\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA\",\n \"updates\": {\n \"spreadsheetId\": \"14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA\",\n \"updatedRange\": \"Sheet1!B1:C4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 2,\n \"updatedCells\": 8\n }\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/values/%27Sheet1%27%21B1%3AB?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA/values/%27Sheet1%27%21B1%3AB?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", "body": null, "headers": { "User-Agent": [ @@ -1593,8 +755,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1602,25 +766,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:16 GMT" + "Tue, 25 Jul 2023 15:44:44 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1637,7 +799,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM/values/%27Sheet1%27%21C1%3AC?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA/values/%27Sheet1%27%21C1%3AC?valueRenderOption=FORMATTED_VALUE&majorDimension=COLUMNS", "body": null, "headers": { "User-Agent": [ @@ -1669,8 +831,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1678,25 +842,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:16 GMT" + "Tue, 25 Jul 2023 15:44:45 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1713,7 +875,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1UN9-d17mnSBXCoE6QtSkuElMBZseVyPMXYlm0AeDjeM?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/14ArdW5h8Jj5unQea2IKY27VkT-408d1VDCgbvmF_zXA?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1748,41 +910,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:17 GMT" + "Tue, 25 Jul 2023 15:44:45 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_insert_row.json b/tests/cassettes/WorksheetTest.test_insert_row.json index da89acbbd..494cce37e 100644 --- a/tests/cassettes/WorksheetTest.test_insert_row.json +++ b/tests/cassettes/WorksheetTest.test_insert_row.json @@ -1,1081 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_insert_row\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "101" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:06 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "188" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g\",\n \"name\": \"Test WorksheetTest test_insert_row\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:06 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3332" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:06 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3332" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:07 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g/values/%27Sheet1%27%21A1%3AD6", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:07 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"test_insert_row 1\", \"test_insert_row 2\", \"test_insert_row 3\", \"test_insert_row 4\"], [\"test_insert_row 5\", \"test_insert_row 6\", \"test_insert_row 7\", \"test_insert_row 8\"], [\"test_insert_row 9\", \"test_insert_row 10\", \"test_insert_row 11\", \"test_insert_row 12\"], [\"test_insert_row 13\", \"test_insert_row 14\", \"test_insert_row 15\", \"test_insert_row 16\"], [\"test_insert_row 17\", \"test_insert_row 18\", \"test_insert_row 19\", \"test_insert_row 20\"], [\"test_insert_row 21\", \"test_insert_row 22\", \"test_insert_row 23\", \"test_insert_row 24\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "543" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:07 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g:batchUpdate", - "body": "{\"requests\": [{\"insertDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 1, \"endIndex\": 2}, \"inheritFromBefore\": false}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "143" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:07 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g/values/%27Sheet1%27%21A2:append?valueInputOption=RAW", - "body": "{\"majorDimension\": \"ROWS\", \"values\": [[\"test_insert_row 25\", \"test_insert_row 26\", \"test_insert_row 27\", \"test_insert_row 28\", \"test_insert_row 29\", \"test_insert_row 30\", \"test_insert_row 31\", \"test_insert_row 32\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "216" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "264" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g\",\n \"updates\": {\n \"spreadsheetId\": \"14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g\",\n \"updatedRange\": \"Sheet1!A2:H2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 8,\n \"updatedCells\": 8\n }\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g/values/%27Sheet1%27%21A2%3A2", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "312" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:Z2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_insert_row 25\",\n \"test_insert_row 26\",\n \"test_insert_row 27\",\n \"test_insert_row 28\",\n \"test_insert_row 29\",\n \"test_insert_row 30\",\n \"test_insert_row 31\",\n \"test_insert_row 32\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g/values/%27Sheet1%27%21B2?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"=1+1\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "22" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g\",\n \"updatedRange\": \"Sheet1!B2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g:batchUpdate", - "body": "{\"requests\": [{\"insertDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 1}, \"inheritFromBefore\": false}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "143" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g/values/%27Sheet1%27%21A1:append?valueInputOption=RAW", - "body": "{\"majorDimension\": \"ROWS\", \"values\": [[\"test_insert_row 33\", \"test_insert_row 34\", \"test_insert_row 35\", \"test_insert_row 36\", \"test_insert_row 37\", \"test_insert_row 38\", \"test_insert_row 39\", \"test_insert_row 40\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "216" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "264" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g\",\n \"updates\": {\n \"spreadsheetId\": \"14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g\",\n \"updatedRange\": \"Sheet1!A1:H1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 8,\n \"updatedCells\": 8\n }\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g/values/%27Sheet1%27%21B3?valueRenderOption=FORMULA", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "99" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!B3\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"=1+1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/14ddIVkOBwA-yrNeAQ4f2Z9RLKTp3NA3B95jYSnEq2-g?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -1117,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:19 GMT" + "Tue, 25 Jul 2023 15:44:47 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "188" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"name\": \"Test WorksheetTest test_insert_row\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY\",\n \"name\": \"Test WorksheetTest test_insert_row\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1197,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1206,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:20 GMT" + "Tue, 25 Jul 2023 15:44:48 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1234,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1273,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:20 GMT" + "Tue, 25 Jul 2023 15:44:48 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "198" ] }, "body": { - "string": "{\n \"id\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"name\": \"Test WorksheetTest test_insert_row\",\n \"createdTime\": \"2023-07-20T09:00:17.957Z\",\n \"modifiedTime\": \"2023-07-20T09:00:18.949Z\"\n}\n" + "string": "{\n \"id\": \"1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY\",\n \"name\": \"Test WorksheetTest test_insert_row\",\n \"createdTime\": \"2023-07-25T15:44:46.181Z\",\n \"modifiedTime\": \"2023-07-25T15:44:46.850Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1353,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1362,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:20 GMT" + "Tue, 25 Jul 2023 15:44:49 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1390,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_insert_row\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1432,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1441,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:21 GMT" + "Tue, 25 Jul 2023 15:44:49 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1469,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21A1%3AD6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY/values/%27Sheet1%27%21A1%3AD6", "body": null, "headers": { "User-Agent": [ @@ -1508,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1517,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:21 GMT" + "Tue, 25 Jul 2023 15:44:49 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1552,7 +477,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", "body": "{\"values\": [[\"test_insert_row 1\", \"test_insert_row 2\", \"test_insert_row 3\", \"test_insert_row 4\"], [\"test_insert_row 5\", \"test_insert_row 6\", \"test_insert_row 7\", \"test_insert_row 8\"], [\"test_insert_row 9\", \"test_insert_row 10\", \"test_insert_row 11\", \"test_insert_row 12\"], [\"test_insert_row 13\", \"test_insert_row 14\", \"test_insert_row 15\", \"test_insert_row 16\"], [\"test_insert_row 17\", \"test_insert_row 18\", \"test_insert_row 19\", \"test_insert_row 20\"], [\"test_insert_row 21\", \"test_insert_row 22\", \"test_insert_row 23\", \"test_insert_row 24\"]]}", "headers": { "User-Agent": [ @@ -1590,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1599,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:21 GMT" + "Tue, 25 Jul 2023 15:44:50 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1627,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + "string": "{\n \"spreadsheetId\": \"1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY:batchUpdate", "body": "{\"requests\": [{\"insertDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 1, \"endIndex\": 2}, \"inheritFromBefore\": false}}]}", "headers": { "User-Agent": [ @@ -1672,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1681,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:21 GMT" + "Tue, 25 Jul 2023 15:44:50 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1709,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21A2:append?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY/values/%27Sheet1%27%21A2:append?valueInputOption=RAW", "body": "{\"majorDimension\": \"ROWS\", \"values\": [[\"test_insert_row 25\", \"test_insert_row 26\", \"test_insert_row 27\", \"test_insert_row 28\", \"test_insert_row 29\", \"test_insert_row 30\", \"test_insert_row 31\", \"test_insert_row 32\"]]}", "headers": { "User-Agent": [ @@ -1754,8 +679,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1763,25 +690,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:22 GMT" + "Tue, 25 Jul 2023 15:44:50 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1791,14 +716,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"updates\": {\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"updatedRange\": \"Sheet1!A2:H2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 8,\n \"updatedCells\": 8\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY\",\n \"updates\": {\n \"spreadsheetId\": \"1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY\",\n \"updatedRange\": \"Sheet1!A2:H2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 8,\n \"updatedCells\": 8\n }\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21A2%3A2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY/values/%27Sheet1%27%21A2%3A2", "body": null, "headers": { "User-Agent": [ @@ -1830,8 +755,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1839,25 +766,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:22 GMT" + "Tue, 25 Jul 2023 15:44:50 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1874,7 +799,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21B2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY/values/%27Sheet1%27%21B2?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"=1+1\"]]}", "headers": { "User-Agent": [ @@ -1912,8 +837,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1921,25 +848,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:22 GMT" + "Tue, 25 Jul 2023 15:44:51 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1949,14 +874,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"updatedRange\": \"Sheet1!B2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY\",\n \"updatedRange\": \"Sheet1!B2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY:batchUpdate", "body": "{\"requests\": [{\"insertDimension\": {\"range\": {\"sheetId\": 0, \"dimension\": \"ROWS\", \"startIndex\": 0, \"endIndex\": 1}, \"inheritFromBefore\": false}}]}", "headers": { "User-Agent": [ @@ -1994,8 +919,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2003,25 +930,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:22 GMT" + "Tue, 25 Jul 2023 15:44:51 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2031,14 +956,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21A1:append?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY/values/%27Sheet1%27%21A1:append?valueInputOption=RAW", "body": "{\"majorDimension\": \"ROWS\", \"values\": [[\"test_insert_row 33\", \"test_insert_row 34\", \"test_insert_row 35\", \"test_insert_row 36\", \"test_insert_row 37\", \"test_insert_row 38\", \"test_insert_row 39\", \"test_insert_row 40\"]]}", "headers": { "User-Agent": [ @@ -2076,8 +1001,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2085,25 +1012,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:23 GMT" + "Tue, 25 Jul 2023 15:44:51 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2113,14 +1038,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"updates\": {\n \"spreadsheetId\": \"12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8\",\n \"updatedRange\": \"Sheet1!A1:H1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 8,\n \"updatedCells\": 8\n }\n}\n" + "string": "{\n \"spreadsheetId\": \"1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY\",\n \"updates\": {\n \"spreadsheetId\": \"1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY\",\n \"updatedRange\": \"Sheet1!A1:H1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 8,\n \"updatedCells\": 8\n }\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8/values/%27Sheet1%27%21B3?valueRenderOption=FORMULA", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY/values/%27Sheet1%27%21B3?valueRenderOption=FORMULA", "body": null, "headers": { "User-Agent": [ @@ -2152,8 +1077,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2161,25 +1088,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:23 GMT" + "Tue, 25 Jul 2023 15:44:52 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2196,7 +1121,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/12LqC4WcbNQoJVhovackNQsD8jbT2Y5KxoDwxtWVL0Z8?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1s-Om8IywJKLVPyzAVt1VoNpxCQi8RnixLIx16hTC1nY?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -2231,41 +1156,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:23 GMT" + "Tue, 25 Jul 2023 15:44:52 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_range.json b/tests/cassettes/WorksheetTest.test_range.json index 156b170f4..4cc393c0b 100644 --- a/tests/cassettes/WorksheetTest.test_range.json +++ b/tests/cassettes/WorksheetTest.test_range.json @@ -1,534 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_range\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "96" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "183" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1j3tup-LT6aOqE9G05wb4dFILMd6DYbdK5zAAsiwFZV8\",\n \"name\": \"Test WorksheetTest test_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1j3tup-LT6aOqE9G05wb4dFILMd6DYbdK5zAAsiwFZV8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3327" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1j3tup-LT6aOqE9G05wb4dFILMd6DYbdK5zAAsiwFZV8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1j3tup-LT6aOqE9G05wb4dFILMd6DYbdK5zAAsiwFZV8/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1j3tup-LT6aOqE9G05wb4dFILMd6DYbdK5zAAsiwFZV8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3327" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1j3tup-LT6aOqE9G05wb4dFILMd6DYbdK5zAAsiwFZV8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1j3tup-LT6aOqE9G05wb4dFILMd6DYbdK5zAAsiwFZV8/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1j3tup-LT6aOqE9G05wb4dFILMd6DYbdK5zAAsiwFZV8/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1j3tup-LT6aOqE9G05wb4dFILMd6DYbdK5zAAsiwFZV8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1j3tup-LT6aOqE9G05wb4dFILMd6DYbdK5zAAsiwFZV8/values/%27Sheet1%27%21A1%3AA5", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:14 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:A5\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1j3tup-LT6aOqE9G05wb4dFILMd6DYbdK5zAAsiwFZV8/values/%27Sheet1%27%21A1%3AA5", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:14 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:A5\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1j3tup-LT6aOqE9G05wb4dFILMd6DYbdK5zAAsiwFZV8?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:15 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -570,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:27 GMT" + "Tue, 25 Jul 2023 15:44:55 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "183" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo\",\n \"name\": \"Test WorksheetTest test_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo\",\n \"name\": \"Test WorksheetTest test_range\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -650,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -659,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:27 GMT" + "Tue, 25 Jul 2023 15:44:56 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -687,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -726,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:27 GMT" + "Tue, 25 Jul 2023 15:44:56 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "193" ] }, "body": { - "string": "{\n \"id\": \"1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo\",\n \"name\": \"Test WorksheetTest test_range\",\n \"createdTime\": \"2023-07-20T09:00:24.672Z\",\n \"modifiedTime\": \"2023-07-20T09:00:24.691Z\"\n}\n" + "string": "{\n \"id\": \"1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo\",\n \"name\": \"Test WorksheetTest test_range\",\n \"createdTime\": \"2023-07-25T15:44:52.938Z\",\n \"modifiedTime\": \"2023-07-25T15:44:52.954Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -806,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -815,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:28 GMT" + "Tue, 25 Jul 2023 15:44:56 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -843,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -885,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -894,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:28 GMT" + "Tue, 25 Jul 2023 15:44:56 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -922,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo/values/%27Sheet1%27%21A1%3AA5", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo/values/%27Sheet1%27%21A1%3AA5", "body": null, "headers": { "User-Agent": [ @@ -961,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -970,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:28 GMT" + "Tue, 25 Jul 2023 15:44:57 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1005,7 +477,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo/values/%27Sheet1%27%21A1%3AA5", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo/values/%27Sheet1%27%21A1%3AA5", "body": null, "headers": { "User-Agent": [ @@ -1037,8 +509,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1046,25 +520,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:28 GMT" + "Tue, 25 Jul 2023 15:44:57 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1081,7 +553,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1UYuuJOSNTtuts7hkl3BPMBRvKRz1YF3PMRmq9_ppkLo?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1osRVLcv5VolVEOXtIis7bQ3kSxWbgklHfIxT8SBgYoo?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1116,8 +588,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1125,32 +597,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:29 GMT" + "Tue, 25 Jul 2023 15:44:58 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_range_get_all_values.json b/tests/cassettes/WorksheetTest.test_range_get_all_values.json index 607999284..b1caf0c0d 100644 --- a/tests/cassettes/WorksheetTest.test_range_get_all_values.json +++ b/tests/cassettes/WorksheetTest.test_range_get_all_values.json @@ -1,692 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_range_get_all_values\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "111" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:17 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "198" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w\",\n \"name\": \"Test WorksheetTest test_range_get_all_values\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:17 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3342" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:17 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3342" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "190" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", - "body": "{\"values\": [[\"\", \"Hi\", \"Mom\", \"\"], [\"My\", \"Name\", \"is\", \"bon\"], [\"\", \"\", \"\", \"\"], [\"1\", \"2\", \"3\", \"4\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "104" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "250" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\",\n \"Hi\",\n \"Mom\"\n ],\n [\n \"My\",\n \"Name\",\n \"is\",\n \"bon\"\n ],\n [],\n [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w/values/%27Sheet1%27%21A1%3AD4", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "250" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\",\n \"Hi\",\n \"Mom\"\n ],\n [\n \"My\",\n \"Name\",\n \"is\",\n \"bon\"\n ],\n [],\n [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/10Am3-KhUI7Klb4JdipIa6xdyi6tflQmCEHnbJJYqR0w?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:19 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -728,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:32 GMT" + "Tue, 25 Jul 2023 15:45:01 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "198" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"name\": \"Test WorksheetTest test_range_get_all_values\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8\",\n \"name\": \"Test WorksheetTest test_range_get_all_values\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -808,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -817,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:32 GMT" + "Tue, 25 Jul 2023 15:45:02 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -845,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -884,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:33 GMT" + "Tue, 25 Jul 2023 15:45:02 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "208" ] }, "body": { - "string": "{\n \"id\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"name\": \"Test WorksheetTest test_range_get_all_values\",\n \"createdTime\": \"2023-07-20T09:00:29.897Z\",\n \"modifiedTime\": \"2023-07-20T09:00:31.126Z\"\n}\n" + "string": "{\n \"id\": \"1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8\",\n \"name\": \"Test WorksheetTest test_range_get_all_values\",\n \"createdTime\": \"2023-07-25T15:44:58.736Z\",\n \"modifiedTime\": \"2023-07-25T15:44:58.754Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -964,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:33 GMT" + "Tue, 25 Jul 2023 15:45:03 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_get_all_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1043,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1052,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:33 GMT" + "Tue, 25 Jul 2023 15:45:03 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1080,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1125,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1134,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:33 GMT" + "Tue, 25 Jul 2023 15:45:04 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1162,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", "body": "{\"values\": [[\"\", \"Hi\", \"Mom\", \"\"], [\"My\", \"Name\", \"is\", \"bon\"], [\"\", \"\", \"\", \"\"], [\"1\", \"2\", \"3\", \"4\"]]}", "headers": { "User-Agent": [ @@ -1207,8 +521,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1216,25 +532,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:34 GMT" + "Tue, 25 Jul 2023 15:45:04 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1244,14 +558,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -1283,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1292,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:34 GMT" + "Tue, 25 Jul 2023 15:45:05 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1327,7 +641,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk/values/%27Sheet1%27%21A1%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8/values/%27Sheet1%27%21A1%3AD4", "body": null, "headers": { "User-Agent": [ @@ -1359,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1368,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:34 GMT" + "Tue, 25 Jul 2023 15:45:05 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1403,7 +717,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1HF5WFnbE3EQSg2729Cr3FkNP_STyh6cpJKwTewtpbPk?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1b9PWR5NQiHNiqkGlwjsbeA2thyCHAtR-S37hZe-AxN8?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1438,41 +752,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:35 GMT" + "Tue, 25 Jul 2023 15:45:06 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_range_reversed.json b/tests/cassettes/WorksheetTest.test_range_reversed.json index dfae6d83e..40b836deb 100644 --- a/tests/cassettes/WorksheetTest.test_range_reversed.json +++ b/tests/cassettes/WorksheetTest.test_range_reversed.json @@ -1,534 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_range_reversed\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "105" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:22 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1RWshAHQwYiCnHzH1TZyPsVjdq_nv9oGichNu1nDsFeM\",\n \"name\": \"Test WorksheetTest test_range_reversed\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RWshAHQwYiCnHzH1TZyPsVjdq_nv9oGichNu1nDsFeM?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:22 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1RWshAHQwYiCnHzH1TZyPsVjdq_nv9oGichNu1nDsFeM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_reversed\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1RWshAHQwYiCnHzH1TZyPsVjdq_nv9oGichNu1nDsFeM/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RWshAHQwYiCnHzH1TZyPsVjdq_nv9oGichNu1nDsFeM?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:22 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1RWshAHQwYiCnHzH1TZyPsVjdq_nv9oGichNu1nDsFeM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_reversed\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1RWshAHQwYiCnHzH1TZyPsVjdq_nv9oGichNu1nDsFeM/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RWshAHQwYiCnHzH1TZyPsVjdq_nv9oGichNu1nDsFeM/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:23 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1RWshAHQwYiCnHzH1TZyPsVjdq_nv9oGichNu1nDsFeM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RWshAHQwYiCnHzH1TZyPsVjdq_nv9oGichNu1nDsFeM/values/%27Sheet1%27%21A1%3AD4", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:23 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1RWshAHQwYiCnHzH1TZyPsVjdq_nv9oGichNu1nDsFeM/values/%27Sheet1%27%21D4%3AA1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:23 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1RWshAHQwYiCnHzH1TZyPsVjdq_nv9oGichNu1nDsFeM?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:24 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -570,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:38 GMT" + "Tue, 25 Jul 2023 15:45:09 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "192" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ\",\n \"name\": \"Test WorksheetTest test_range_reversed\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM\",\n \"name\": \"Test WorksheetTest test_range_reversed\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -650,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -659,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:38 GMT" + "Tue, 25 Jul 2023 15:45:10 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -687,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_reversed\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_reversed\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -726,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:38 GMT" + "Tue, 25 Jul 2023 15:45:10 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "202" ] }, "body": { - "string": "{\n \"id\": \"1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ\",\n \"name\": \"Test WorksheetTest test_range_reversed\",\n \"createdTime\": \"2023-07-20T09:00:35.607Z\",\n \"modifiedTime\": \"2023-07-20T09:00:35.624Z\"\n}\n" + "string": "{\n \"id\": \"1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM\",\n \"name\": \"Test WorksheetTest test_range_reversed\",\n \"createdTime\": \"2023-07-25T15:45:07.019Z\",\n \"modifiedTime\": \"2023-07-25T15:45:07.042Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -806,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -815,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:39 GMT" + "Tue, 25 Jul 2023 15:45:11 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -843,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_reversed\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_reversed\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -885,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -894,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:39 GMT" + "Tue, 25 Jul 2023 15:45:11 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -922,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ/values/%27Sheet1%27%21A1%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM/values/%27Sheet1%27%21A1%3AD4", "body": null, "headers": { "User-Agent": [ @@ -961,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -970,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:39 GMT" + "Tue, 25 Jul 2023 15:45:11 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1005,7 +477,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ/values/%27Sheet1%27%21D4%3AA1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM/values/%27Sheet1%27%21D4%3AA1", "body": null, "headers": { "User-Agent": [ @@ -1037,8 +509,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1046,25 +520,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:39 GMT" + "Tue, 25 Jul 2023 15:45:12 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1081,7 +553,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1NB3auhHuVNsbUp84yDI19pxhGJsHlr87TsMJXv8cepQ?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1g1r-dQRh0JQDsTMdwCk20RjPpbOiV1ZQJvV9FuTgfoM?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1116,41 +588,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:40 GMT" + "Tue, 25 Jul 2023 15:45:12 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_range_unbounded.json b/tests/cassettes/WorksheetTest.test_range_unbounded.json index 33ca1b294..75dcc8b97 100644 --- a/tests/cassettes/WorksheetTest.test_range_unbounded.json +++ b/tests/cassettes/WorksheetTest.test_range_unbounded.json @@ -1,534 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_range_unbounded\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "106" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:27 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "193" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1FkncYYZXBHaTTbwL4w9TYnJTGw7KDphuyPH8LDUUAog\",\n \"name\": \"Test WorksheetTest test_range_unbounded\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1FkncYYZXBHaTTbwL4w9TYnJTGw7KDphuyPH8LDUUAog?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:28 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3337" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1FkncYYZXBHaTTbwL4w9TYnJTGw7KDphuyPH8LDUUAog\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_unbounded\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1FkncYYZXBHaTTbwL4w9TYnJTGw7KDphuyPH8LDUUAog/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1FkncYYZXBHaTTbwL4w9TYnJTGw7KDphuyPH8LDUUAog?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:28 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3337" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1FkncYYZXBHaTTbwL4w9TYnJTGw7KDphuyPH8LDUUAog\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_unbounded\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1FkncYYZXBHaTTbwL4w9TYnJTGw7KDphuyPH8LDUUAog/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1FkncYYZXBHaTTbwL4w9TYnJTGw7KDphuyPH8LDUUAog/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:28 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1FkncYYZXBHaTTbwL4w9TYnJTGw7KDphuyPH8LDUUAog\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1FkncYYZXBHaTTbwL4w9TYnJTGw7KDphuyPH8LDUUAog/values/%27Sheet1%27%21A1%3AC", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:28 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "61" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:C1000\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1FkncYYZXBHaTTbwL4w9TYnJTGw7KDphuyPH8LDUUAog/values/%27Sheet1%27%21A1%3AC1000", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:29 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "61" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:C1000\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1FkncYYZXBHaTTbwL4w9TYnJTGw7KDphuyPH8LDUUAog?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:29 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -570,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:43 GMT" + "Tue, 25 Jul 2023 15:45:15 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "193" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU\",\n \"name\": \"Test WorksheetTest test_range_unbounded\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0\",\n \"name\": \"Test WorksheetTest test_range_unbounded\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -650,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -659,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:43 GMT" + "Tue, 25 Jul 2023 15:45:15 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -687,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_unbounded\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_unbounded\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -726,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:43 GMT" + "Tue, 25 Jul 2023 15:45:15 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "203" ] }, "body": { - "string": "{\n \"id\": \"1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU\",\n \"name\": \"Test WorksheetTest test_range_unbounded\",\n \"createdTime\": \"2023-07-20T09:00:40.646Z\",\n \"modifiedTime\": \"2023-07-20T09:00:40.665Z\"\n}\n" + "string": "{\n \"id\": \"1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0\",\n \"name\": \"Test WorksheetTest test_range_unbounded\",\n \"createdTime\": \"2023-07-25T15:45:12.881Z\",\n \"modifiedTime\": \"2023-07-25T15:45:12.896Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -806,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -815,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:43 GMT" + "Tue, 25 Jul 2023 15:45:16 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -843,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_unbounded\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_range_unbounded\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -885,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -894,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:44 GMT" + "Tue, 25 Jul 2023 15:45:16 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -922,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU/values/%27Sheet1%27%21A1%3AC", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0/values/%27Sheet1%27%21A1%3AC", "body": null, "headers": { "User-Agent": [ @@ -961,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -970,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:44 GMT" + "Tue, 25 Jul 2023 15:45:17 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1005,7 +477,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU/values/%27Sheet1%27%21A1%3AC1000", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0/values/%27Sheet1%27%21A1%3AC1000", "body": null, "headers": { "User-Agent": [ @@ -1037,8 +509,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1046,25 +520,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:44 GMT" + "Tue, 25 Jul 2023 15:45:17 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1081,7 +553,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1NHX4kAHWKnao7f3JDKH1M5QKRnUFQcwKAeVvqWNT6vU?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1utXb66NX5-nPjoDafEQ49QouUDV5fgemKw66i0BvRn0?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1116,8 +588,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1125,32 +597,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:45 GMT" + "Tue, 25 Jul 2023 15:45:18 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_reorder_worksheets.json b/tests/cassettes/WorksheetTest.test_reorder_worksheets.json index 0c5e1d8d6..3bd842be8 100644 --- a/tests/cassettes/WorksheetTest.test_reorder_worksheets.json +++ b/tests/cassettes/WorksheetTest.test_reorder_worksheets.json @@ -1,686 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_reorder_worksheets\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "109" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "196" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo\",\n \"name\": \"Test WorksheetTest test_reorder_worksheets\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3340" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3340" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3340" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3340" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"index\": 0}, \"fields\": \"index\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "104" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:35 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3340" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1tfJwaBDmQ06jGXBtQtM6Dc6Y2CGx10bpyshZd5ZZelo?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:35 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -722,8 +42,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -731,46 +51,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:47 GMT" + "Tue, 25 Jul 2023 15:45:20 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "196" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"name\": \"Test WorksheetTest test_reorder_worksheets\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI\",\n \"name\": \"Test WorksheetTest test_reorder_worksheets\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -802,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -811,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:48 GMT" + "Tue, 25 Jul 2023 15:45:21 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -839,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -878,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -887,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:48 GMT" + "Tue, 25 Jul 2023 15:45:21 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "206" ] }, "body": { - "string": "{\n \"id\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"name\": \"Test WorksheetTest test_reorder_worksheets\",\n \"createdTime\": \"2023-07-20T09:00:45.722Z\",\n \"modifiedTime\": \"2023-07-20T09:00:46.818Z\"\n}\n" + "string": "{\n \"id\": \"1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI\",\n \"name\": \"Test WorksheetTest test_reorder_worksheets\",\n \"createdTime\": \"2023-07-25T15:45:18.649Z\",\n \"modifiedTime\": \"2023-07-25T15:45:19.476Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -958,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -967,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:48 GMT" + "Tue, 25 Jul 2023 15:45:21 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -995,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1037,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1046,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:48 GMT" + "Tue, 25 Jul 2023 15:45:22 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1074,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1113,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1122,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:49 GMT" + "Tue, 25 Jul 2023 15:45:22 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1150,14 +470,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1189,8 +509,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1198,25 +520,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:49 GMT" + "Tue, 25 Jul 2023 15:45:22 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1226,14 +546,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"index\": 0}, \"fields\": \"index\"}}]}", "headers": { "User-Agent": [ @@ -1271,8 +591,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1280,25 +602,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:49 GMT" + "Tue, 25 Jul 2023 15:45:22 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1308,14 +628,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1347,8 +667,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1356,25 +678,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:49 GMT" + "Tue, 25 Jul 2023 15:45:23 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1384,14 +704,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_reorder_worksheets\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1UOogs-bMIXGzWOfyRIaPEh2ImByF61TKlA4L9ZC1C4w?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1nadkWb_WOzq2CP2E1x2-mr-BubnugMYrxsp7fUkU4bI?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1426,8 +746,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1435,32 +755,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:50 GMT" + "Tue, 25 Jul 2023 15:45:23 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_resize.json b/tests/cassettes/WorksheetTest.test_resize.json index aee16e6ce..ce79f3d2f 100644 --- a/tests/cassettes/WorksheetTest.test_resize.json +++ b/tests/cassettes/WorksheetTest.test_resize.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "97" ], @@ -39,278 +42,56 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], - "Transfer-Encoding": [ - "chunked" + "Vary": [ + "Origin, X-Origin" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" - ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "184" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0\",\n \"name\": \"Test WorksheetTest test_resize\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:39 GMT" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3328" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], "Date": [ - "Thu, 08 Jun 2023 22:19:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3328" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" + "Tue, 25 Jul 2023 15:45:26 GMT" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], "content-length": [ - "107" + "184" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q\",\n \"name\": \"Test WorksheetTest test_resize\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 1010}}, \"fields\": \"gridProperties/rowCount\"}}]}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q?includeGridData=false", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -327,11 +108,8 @@ "x-goog-api-client": [ "cred-type/sa" ], - "Content-Length": [ - "148" - ], - "Content-Type": [ - "application/json" + "x-identity-trust-boundary": [ + "0" ], "authorization": [ "" @@ -344,624 +122,10 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "Vary": [ "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3328" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1010,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"columnCount\": 36}}, \"fields\": \"gridProperties/columnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "152" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3328" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1010,\n \"columnCount\": 36\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 1000, \"columnCount\": 26}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "194" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:41 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:41 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3328" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1jgrnfalfemTQ2TOdUccvJ979jfJXmw0xhN6afVF10d0?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:42 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_resize\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "97" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Thu, 20 Jul 2023 09:00:52 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "184" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"name\": \"Test WorksheetTest test_resize\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -969,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:53 GMT" + "Tue, 25 Jul 2023 15:45:26 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -997,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1036,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:53 GMT" + "Tue, 25 Jul 2023 15:45:27 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "194" ] }, "body": { - "string": "{\n \"id\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"name\": \"Test WorksheetTest test_resize\",\n \"createdTime\": \"2023-07-20T09:00:50.939Z\",\n \"modifiedTime\": \"2023-07-20T09:00:51.985Z\"\n}\n" + "string": "{\n \"id\": \"1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q\",\n \"name\": \"Test WorksheetTest test_resize\",\n \"createdTime\": \"2023-07-25T15:45:23.965Z\",\n \"modifiedTime\": \"2023-07-25T15:45:23.985Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1116,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1125,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:54 GMT" + "Tue, 25 Jul 2023 15:45:27 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1153,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1195,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1204,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:54 GMT" + "Tue, 25 Jul 2023 15:45:28 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1232,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 1010}}, \"fields\": \"gridProperties/rowCount\"}}]}", "headers": { "User-Agent": [ @@ -1277,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1286,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:54 GMT" + "Tue, 25 Jul 2023 15:45:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1314,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1353,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1362,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:55 GMT" + "Tue, 25 Jul 2023 15:45:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1390,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1010,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1010,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"columnCount\": 36}}, \"fields\": \"gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1435,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1444,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:55 GMT" + "Tue, 25 Jul 2023 15:45:30 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1472,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1511,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1520,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:55 GMT" + "Tue, 25 Jul 2023 15:45:30 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1548,14 +710,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1010,\n \"columnCount\": 36\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1010,\n \"columnCount\": 36\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 1000, \"columnCount\": 26}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1593,8 +755,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1602,25 +766,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:55 GMT" + "Tue, 25 Jul 2023 15:45:30 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1630,14 +792,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1669,8 +831,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1678,25 +842,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:55 GMT" + "Tue, 25 Jul 2023 15:45:30 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1706,14 +868,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_resize\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1C7ZBD22CgZ0J6mQ6_ESY5aL8O2Jtuq8fm0bP1SzK8VU?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1zZd5BsyheqLZLClTJlh-wr8ZXYMlg-TZquuJXw3hE7Q?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1748,41 +910,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:56 GMT" + "Tue, 25 Jul 2023 15:45:31 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_show_gridlines.json b/tests/cassettes/WorksheetTest.test_show_gridlines.json index ccd4150a1..e4627d936 100644 --- a/tests/cassettes/WorksheetTest.test_show_gridlines.json +++ b/tests/cassettes/WorksheetTest.test_show_gridlines.json @@ -1,692 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_show_gridlines\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "105" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is\",\n \"name\": \"Test WorksheetTest test_show_gridlines\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"hideGridlines\": true}}, \"fields\": \"gridProperties.hideGridlines\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "158" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"hideGridlines\": false}}, \"fields\": \"gridProperties.hideGridlines\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "159" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1lIf_r2EVq9WYrNySYvey_m7tOnM6D_3DuEl6jtla8Is?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:47 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -728,8 +42,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -737,46 +51,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:58 GMT" + "Tue, 25 Jul 2023 15:45:33 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "192" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"name\": \"Test WorksheetTest test_show_gridlines\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08\",\n \"name\": \"Test WorksheetTest test_show_gridlines\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -808,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -817,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:59 GMT" + "Tue, 25 Jul 2023 15:45:34 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -845,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -884,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:00:59 GMT" + "Tue, 25 Jul 2023 15:45:34 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "202" ] }, "body": { - "string": "{\n \"id\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"name\": \"Test WorksheetTest test_show_gridlines\",\n \"createdTime\": \"2023-07-20T09:00:56.924Z\",\n \"modifiedTime\": \"2023-07-20T09:00:58.042Z\"\n}\n" + "string": "{\n \"id\": \"14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08\",\n \"name\": \"Test WorksheetTest test_show_gridlines\",\n \"createdTime\": \"2023-07-25T15:45:32.039Z\",\n \"modifiedTime\": \"2023-07-25T15:45:32.749Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -964,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:00:59 GMT" + "Tue, 25 Jul 2023 15:45:34 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1043,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1052,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:00 GMT" + "Tue, 25 Jul 2023 15:45:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1080,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1119,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1128,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:00 GMT" + "Tue, 25 Jul 2023 15:45:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1156,14 +470,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"hideGridlines\": true}}, \"fields\": \"gridProperties.hideGridlines\"}}]}", "headers": { "User-Agent": [ @@ -1201,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1210,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:00 GMT" + "Tue, 25 Jul 2023 15:45:36 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1238,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"hideGridlines\": false}}, \"fields\": \"gridProperties.hideGridlines\"}}]}", "headers": { "User-Agent": [ @@ -1283,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1292,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:00 GMT" + "Tue, 25 Jul 2023 15:45:36 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1320,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1359,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1368,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:01 GMT" + "Tue, 25 Jul 2023 15:45:36 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1396,14 +710,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_show_gridlines\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1MLvWvHGbb4I4aiLqmnB5cBuOLthNm5Ofqan9FxEo13U?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/14NVLkBPX5RIxjvpk9gVqGJaXoGtRCI72BrmQH4CJ_08?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1438,41 +752,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:01 GMT" + "Tue, 25 Jul 2023 15:45:37 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_sort.json b/tests/cassettes/WorksheetTest.test_sort.json index 201b581f0..b022c6ae4 100644 --- a/tests/cassettes/WorksheetTest.test_sort.json +++ b/tests/cassettes/WorksheetTest.test_sort.json @@ -1,1379 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_sort\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "95" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:50 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "182" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ\",\n \"name\": \"Test WorksheetTest test_sort\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:51 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3326" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_sort\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:51 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3326" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_sort\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:51 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"columnCount\": 3}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "190" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:51 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ/values/%27Sheet1%27%21A1%3AC6", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:52 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:C6\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ/values/%27Sheet1%27%21A1%3AC6?valueInputOption=RAW", - "body": "{\"values\": [[\"Apple\", \"2012\", \"4\"], [\"Banana\", \"2013\", \"3\"], [\"Canada\", \"2007\", \"1\"], [\"Dinosaur\", \"2013\", \"6\"], [\"Elephant\", \"2019\", \"2\"], [\"Fox\", \"2077\", \"5\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "162" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:52 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ\",\n \"updatedRange\": \"Sheet1!A1:C6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 3,\n \"updatedCells\": 18\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ:batchUpdate", - "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 0, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 2, \"sortOrder\": \"ASCENDING\"}]}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "202" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:52 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:52 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "394" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:C6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"Canada\",\n \"2007\",\n \"1\"\n ],\n [\n \"Elephant\",\n \"2019\",\n \"2\"\n ],\n [\n \"Banana\",\n \"2013\",\n \"3\"\n ],\n [\n \"Apple\",\n \"2012\",\n \"4\"\n ],\n [\n \"Fox\",\n \"2077\",\n \"5\"\n ],\n [\n \"Dinosaur\",\n \"2013\",\n \"6\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ:batchUpdate", - "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 0, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 0, \"sortOrder\": \"DESCENDING\"}]}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "203" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:52 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "394" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:C6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"Fox\",\n \"2077\",\n \"5\"\n ],\n [\n \"Elephant\",\n \"2019\",\n \"2\"\n ],\n [\n \"Dinosaur\",\n \"2013\",\n \"6\"\n ],\n [\n \"Canada\",\n \"2007\",\n \"1\"\n ],\n [\n \"Banana\",\n \"2013\",\n \"3\"\n ],\n [\n \"Apple\",\n \"2012\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ:batchUpdate", - "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 0, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 1, \"sortOrder\": \"ASCENDING\"}, {\"dimensionIndex\": 2, \"sortOrder\": \"ASCENDING\"}]}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "251" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "394" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:C6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"Canada\",\n \"2007\",\n \"1\"\n ],\n [\n \"Apple\",\n \"2012\",\n \"4\"\n ],\n [\n \"Banana\",\n \"2013\",\n \"3\"\n ],\n [\n \"Dinosaur\",\n \"2013\",\n \"6\"\n ],\n [\n \"Elephant\",\n \"2019\",\n \"2\"\n ],\n [\n \"Fox\",\n \"2077\",\n \"5\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ:batchUpdate", - "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 0, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 2, \"sortOrder\": \"ASCENDING\"}]}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "202" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "394" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:C6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"Canada\",\n \"2007\",\n \"1\"\n ],\n [\n \"Elephant\",\n \"2019\",\n \"2\"\n ],\n [\n \"Banana\",\n \"2013\",\n \"3\"\n ],\n [\n \"Apple\",\n \"2012\",\n \"4\"\n ],\n [\n \"Fox\",\n \"2077\",\n \"5\"\n ],\n [\n \"Dinosaur\",\n \"2013\",\n \"6\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ:batchUpdate", - "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 1, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 2, \"sortOrder\": \"DESCENDING\"}]}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "203" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ/values/%27Sheet1%27", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "394" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:C6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"Canada\",\n \"2007\",\n \"1\"\n ],\n [\n \"Dinosaur\",\n \"2013\",\n \"6\"\n ],\n [\n \"Fox\",\n \"2077\",\n \"5\"\n ],\n [\n \"Apple\",\n \"2012\",\n \"4\"\n ],\n [\n \"Banana\",\n \"2013\",\n \"3\"\n ],\n [\n \"Elephant\",\n \"2019\",\n \"2\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1R3nggNqQGng15yqqWkR1p7CuD6ZltEG0dKtsNkNjGNQ?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -1415,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:04 GMT" + "Tue, 25 Jul 2023 15:45:39 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "182" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"name\": \"Test WorksheetTest test_sort\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo\",\n \"name\": \"Test WorksheetTest test_sort\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1495,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1504,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:05 GMT" + "Tue, 25 Jul 2023 15:45:39 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1532,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_sort\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_sort\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1571,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:05 GMT" + "Tue, 25 Jul 2023 15:45:40 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "192" ] }, "body": { - "string": "{\n \"id\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"name\": \"Test WorksheetTest test_sort\",\n \"createdTime\": \"2023-07-20T09:01:02.161Z\",\n \"modifiedTime\": \"2023-07-20T09:01:02.181Z\"\n}\n" + "string": "{\n \"id\": \"12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo\",\n \"name\": \"Test WorksheetTest test_sort\",\n \"createdTime\": \"2023-07-25T15:45:37.677Z\",\n \"modifiedTime\": \"2023-07-25T15:45:38.519Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1651,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1660,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:05 GMT" + "Tue, 25 Jul 2023 15:45:40 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1688,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_sort\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_sort\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1730,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1739,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:06 GMT" + "Tue, 25 Jul 2023 15:45:40 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1767,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"columnCount\": 3}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -1812,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1821,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:06 GMT" + "Tue, 25 Jul 2023 15:45:41 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1849,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27%21A1%3AC6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo/values/%27Sheet1%27%21A1%3AC6", "body": null, "headers": { "User-Agent": [ @@ -1888,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1897,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:06 GMT" + "Tue, 25 Jul 2023 15:45:41 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1932,7 +559,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27%21A1%3AC6?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo/values/%27Sheet1%27%21A1%3AC6?valueInputOption=RAW", "body": "{\"values\": [[\"Apple\", \"2012\", \"4\"], [\"Banana\", \"2013\", \"3\"], [\"Canada\", \"2007\", \"1\"], [\"Dinosaur\", \"2013\", \"6\"], [\"Elephant\", \"2019\", \"2\"], [\"Fox\", \"2077\", \"5\"]]}", "headers": { "User-Agent": [ @@ -1970,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1979,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:07 GMT" + "Tue, 25 Jul 2023 15:45:41 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2007,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"updatedRange\": \"Sheet1!A1:C6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 3,\n \"updatedCells\": 18\n}\n" + "string": "{\n \"spreadsheetId\": \"12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo\",\n \"updatedRange\": \"Sheet1!A1:C6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 3,\n \"updatedCells\": 18\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo:batchUpdate", "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 0, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 2, \"sortOrder\": \"ASCENDING\"}]}}]}", "headers": { "User-Agent": [ @@ -2052,8 +679,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2061,25 +690,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:07 GMT" + "Tue, 25 Jul 2023 15:45:42 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2089,14 +716,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -2128,8 +755,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2137,25 +766,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:07 GMT" + "Tue, 25 Jul 2023 15:45:42 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2172,7 +799,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo:batchUpdate", "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 0, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 0, \"sortOrder\": \"DESCENDING\"}]}}]}", "headers": { "User-Agent": [ @@ -2210,8 +837,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2219,25 +848,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:07 GMT" + "Tue, 25 Jul 2023 15:45:42 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2247,14 +874,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -2286,8 +913,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2295,25 +924,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:08 GMT" + "Tue, 25 Jul 2023 15:45:43 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2330,7 +957,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo:batchUpdate", "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 0, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 1, \"sortOrder\": \"ASCENDING\"}, {\"dimensionIndex\": 2, \"sortOrder\": \"ASCENDING\"}]}}]}", "headers": { "User-Agent": [ @@ -2368,8 +995,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2377,25 +1006,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:08 GMT" + "Tue, 25 Jul 2023 15:45:43 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2405,14 +1032,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -2444,8 +1071,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2453,25 +1082,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:08 GMT" + "Tue, 25 Jul 2023 15:45:43 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2488,7 +1115,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo:batchUpdate", "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 0, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 2, \"sortOrder\": \"ASCENDING\"}]}}]}", "headers": { "User-Agent": [ @@ -2526,8 +1153,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2535,25 +1164,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:08 GMT" + "Tue, 25 Jul 2023 15:45:44 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2563,14 +1190,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -2602,8 +1229,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2611,25 +1240,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:08 GMT" + "Tue, 25 Jul 2023 15:45:44 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2646,7 +1273,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo:batchUpdate", "body": "{\"requests\": [{\"sortRange\": {\"range\": {\"sheetId\": 0, \"startRowIndex\": 1, \"endRowIndex\": 6, \"startColumnIndex\": 0, \"endColumnIndex\": 3}, \"sortSpecs\": [{\"dimensionIndex\": 2, \"sortOrder\": \"DESCENDING\"}]}}]}", "headers": { "User-Agent": [ @@ -2684,8 +1311,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2693,25 +1322,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:09 GMT" + "Tue, 25 Jul 2023 15:45:44 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2721,14 +1348,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY/values/%27Sheet1%27", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -2760,8 +1387,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2769,25 +1398,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:09 GMT" + "Tue, 25 Jul 2023 15:45:44 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2804,7 +1431,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1tWpMlSzMHArnWPy4jv_UR2DeHwGp2HVYbtYC-i26EVY?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/12Rih4NCvQAreMbZmLsd1VHG-fclk6tAcvHpXer10UJo?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -2839,8 +1466,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -2848,32 +1475,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:10 GMT" + "Tue, 25 Jul 2023 15:45:45 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_update_acell.json b/tests/cassettes/WorksheetTest.test_update_acell.json index e0bdc4e3a..0855cf938 100644 --- a/tests/cassettes/WorksheetTest.test_update_acell.json +++ b/tests/cassettes/WorksheetTest.test_update_acell.json @@ -1,540 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_update_acell\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "103" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:58 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "190" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1vlzj-xCpTsDpnlJklq2T_5fG4gruhp6XU1MLQ9TsX-c\",\n \"name\": \"Test WorksheetTest test_update_acell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vlzj-xCpTsDpnlJklq2T_5fG4gruhp6XU1MLQ9TsX-c?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:58 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3334" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vlzj-xCpTsDpnlJklq2T_5fG4gruhp6XU1MLQ9TsX-c\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vlzj-xCpTsDpnlJklq2T_5fG4gruhp6XU1MLQ9TsX-c/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vlzj-xCpTsDpnlJklq2T_5fG4gruhp6XU1MLQ9TsX-c?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:58 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3334" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vlzj-xCpTsDpnlJklq2T_5fG4gruhp6XU1MLQ9TsX-c\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vlzj-xCpTsDpnlJklq2T_5fG4gruhp6XU1MLQ9TsX-c/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vlzj-xCpTsDpnlJklq2T_5fG4gruhp6XU1MLQ9TsX-c/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:58 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vlzj-xCpTsDpnlJklq2T_5fG4gruhp6XU1MLQ9TsX-c\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vlzj-xCpTsDpnlJklq2T_5fG4gruhp6XU1MLQ9TsX-c/values/%27Sheet1%27%21A2?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"test_update_acell 1\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "37" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:58 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vlzj-xCpTsDpnlJklq2T_5fG4gruhp6XU1MLQ9TsX-c\",\n \"updatedRange\": \"Sheet1!A2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vlzj-xCpTsDpnlJklq2T_5fG4gruhp6XU1MLQ9TsX-c/values/%27Sheet1%27%21A2?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:59 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "114" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_update_acell 1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1vlzj-xCpTsDpnlJklq2T_5fG4gruhp6XU1MLQ9TsX-c?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:19:59 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -576,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:11 GMT" + "Tue, 25 Jul 2023 15:45:48 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "190" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM\",\n \"name\": \"Test WorksheetTest test_update_acell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU\",\n \"name\": \"Test WorksheetTest test_update_acell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -656,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -665,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:12 GMT" + "Tue, 25 Jul 2023 15:45:48 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -693,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -732,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -741,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:12 GMT" + "Tue, 25 Jul 2023 15:45:49 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "200" ] }, "body": { - "string": "{\n \"id\": \"14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM\",\n \"name\": \"Test WorksheetTest test_update_acell\",\n \"createdTime\": \"2023-07-20T09:01:10.424Z\",\n \"modifiedTime\": \"2023-07-20T09:01:10.916Z\"\n}\n" + "string": "{\n \"id\": \"1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU\",\n \"name\": \"Test WorksheetTest test_update_acell\",\n \"createdTime\": \"2023-07-25T15:45:45.745Z\",\n \"modifiedTime\": \"2023-07-25T15:45:45.759Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -812,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -821,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:12 GMT" + "Tue, 25 Jul 2023 15:45:49 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -849,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_acell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -891,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -900,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:12 GMT" + "Tue, 25 Jul 2023 15:45:49 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -928,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM/values/%27Sheet1%27%21A2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU/values/%27Sheet1%27%21A2?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"test_update_acell 1\"]]}", "headers": { "User-Agent": [ @@ -973,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -982,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:13 GMT" + "Tue, 25 Jul 2023 15:45:50 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1010,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM\",\n \"updatedRange\": \"Sheet1!A2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU\",\n \"updatedRange\": \"Sheet1!A2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM/values/%27Sheet1%27%21A2?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU/values/%27Sheet1%27%21A2?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1049,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1058,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:13 GMT" + "Tue, 25 Jul 2023 15:45:50 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1093,7 +559,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/14m9x2wlaqenHzwjMMvOJ2GJRxxb8qwtv0qhfVgzYIAM?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1IjpBMR2VHK6q24mmwKLc97xypdMfpKDpKnhgtjXywvU?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1128,41 +594,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:14 GMT" + "Tue, 25 Jul 2023 15:45:51 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_update_and_get.json b/tests/cassettes/WorksheetTest.test_update_and_get.json index 61b63e97c..9c2cae0e3 100644 --- a/tests/cassettes/WorksheetTest.test_update_and_get.json +++ b/tests/cassettes/WorksheetTest.test_update_and_get.json @@ -1,540 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_update_and_get\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "105" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:02 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "192" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1mOXw7sMsXPDbHdkk3LOyx0bs8Aaaq9pbCtH2yZo35PU\",\n \"name\": \"Test WorksheetTest test_update_and_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mOXw7sMsXPDbHdkk3LOyx0bs8Aaaq9pbCtH2yZo35PU?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mOXw7sMsXPDbHdkk3LOyx0bs8Aaaq9pbCtH2yZo35PU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_and_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1mOXw7sMsXPDbHdkk3LOyx0bs8Aaaq9pbCtH2yZo35PU/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mOXw7sMsXPDbHdkk3LOyx0bs8Aaaq9pbCtH2yZo35PU?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3336" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mOXw7sMsXPDbHdkk3LOyx0bs8Aaaq9pbCtH2yZo35PU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_and_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1mOXw7sMsXPDbHdkk3LOyx0bs8Aaaq9pbCtH2yZo35PU/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mOXw7sMsXPDbHdkk3LOyx0bs8Aaaq9pbCtH2yZo35PU/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mOXw7sMsXPDbHdkk3LOyx0bs8Aaaq9pbCtH2yZo35PU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mOXw7sMsXPDbHdkk3LOyx0bs8Aaaq9pbCtH2yZo35PU/values/%27Sheet1%27%21A1?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [\"\", \"b2\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", \"B4\", \"\", \"D4\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "98" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1mOXw7sMsXPDbHdkk3LOyx0bs8Aaaq9pbCtH2yZo35PU\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mOXw7sMsXPDbHdkk3LOyx0bs8Aaaq9pbCtH2yZo35PU/values/%27Sheet1%27%21A1%3AD4", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "234" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\n [\n \"\",\n \"b2\"\n ],\n [],\n [\n \"A4\",\n \"B4\",\n \"\",\n \"D4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1mOXw7sMsXPDbHdkk3LOyx0bs8Aaaq9pbCtH2yZo35PU?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -576,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:16 GMT" + "Tue, 25 Jul 2023 15:45:53 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "192" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM\",\n \"name\": \"Test WorksheetTest test_update_and_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk\",\n \"name\": \"Test WorksheetTest test_update_and_get\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -656,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -665,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:18 GMT" + "Tue, 25 Jul 2023 15:45:53 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -693,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_and_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_and_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -732,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -741,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:18 GMT" + "Tue, 25 Jul 2023 15:45:53 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "202" ] }, "body": { - "string": "{\n \"id\": \"17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM\",\n \"name\": \"Test WorksheetTest test_update_and_get\",\n \"createdTime\": \"2023-07-20T09:01:14.479Z\",\n \"modifiedTime\": \"2023-07-20T09:01:14.499Z\"\n}\n" + "string": "{\n \"id\": \"10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk\",\n \"name\": \"Test WorksheetTest test_update_and_get\",\n \"createdTime\": \"2023-07-25T15:45:51.494Z\",\n \"modifiedTime\": \"2023-07-25T15:45:52.276Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -812,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -821,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:18 GMT" + "Tue, 25 Jul 2023 15:45:54 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -849,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_and_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_and_get\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -891,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -900,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:18 GMT" + "Tue, 25 Jul 2023 15:45:54 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -928,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM/values/%27Sheet1%27%21A1?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk/values/%27Sheet1%27%21A1?valueInputOption=RAW", "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [\"\", \"b2\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", \"B4\", \"\", \"D4\"]]}", "headers": { "User-Agent": [ @@ -973,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -982,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:19 GMT" + "Tue, 25 Jul 2023 15:45:55 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1010,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM/values/%27Sheet1%27%21A1%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk/values/%27Sheet1%27%21A1%3AD4", "body": null, "headers": { "User-Agent": [ @@ -1049,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1058,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:19 GMT" + "Tue, 25 Jul 2023 15:45:55 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1093,7 +559,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/17ibKT3zZQJXnzMXUhUhITA-6uNqRNqPnz54XVo1HKOM?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/10qtWosgYMxoAa2zKbwTeOh0R98cj8xk9I4dvaXSsRWk?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1128,8 +594,8 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1137,32 +603,32 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:19 GMT" + "Tue, 25 Jul 2023 15:45:55 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_update_cell.json b/tests/cassettes/WorksheetTest.test_update_cell.json index 56b8ff1a2..9483d8d0e 100644 --- a/tests/cassettes/WorksheetTest.test_update_cell.json +++ b/tests/cassettes/WorksheetTest.test_update_cell.json @@ -1,1148 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_update_cell\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "102" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:07 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "189" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ\",\n \"name\": \"Test WorksheetTest test_update_cell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:07 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3333" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:07 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3333" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"test_update_cell 1\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "36" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "113" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_update_cell 1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[42]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "18" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"42\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"0042\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "22" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:08 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"42\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[42.01]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "100" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"42.01\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"\\u0410\\u0440\\u0442\\u0443\\u0440\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "48" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:09 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "105" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"\u0410\u0440\u0442\u0443\u0440\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1ljtdXgFqfAFaNdaUlfGMR4Vcn8Rw6tnYF6n2wMu1LgQ?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:10 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -1184,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:22 GMT" + "Tue, 25 Jul 2023 15:45:58 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "189" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"name\": \"Test WorksheetTest test_update_cell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI\",\n \"name\": \"Test WorksheetTest test_update_cell\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1264,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1273,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:23 GMT" + "Tue, 25 Jul 2023 15:45:58 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1301,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1340,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:23 GMT" + "Tue, 25 Jul 2023 15:45:59 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "199" ] }, "body": { - "string": "{\n \"id\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"name\": \"Test WorksheetTest test_update_cell\",\n \"createdTime\": \"2023-07-20T09:01:20.095Z\",\n \"modifiedTime\": \"2023-07-20T09:01:20.122Z\"\n}\n" + "string": "{\n \"id\": \"1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI\",\n \"name\": \"Test WorksheetTest test_update_cell\",\n \"createdTime\": \"2023-07-25T15:45:56.128Z\",\n \"modifiedTime\": \"2023-07-25T15:45:56.169Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1420,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1429,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:23 GMT" + "Tue, 25 Jul 2023 15:45:59 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1457,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1499,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1508,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:24 GMT" + "Tue, 25 Jul 2023 15:45:59 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1536,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"test_update_cell 1\"]]}", "headers": { "User-Agent": [ @@ -1581,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1590,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:24 GMT" + "Tue, 25 Jul 2023 15:46:00 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1618,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1657,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1666,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:24 GMT" + "Tue, 25 Jul 2023 15:46:00 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1701,7 +559,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[42]]}", "headers": { "User-Agent": [ @@ -1739,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1748,25 +608,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:25 GMT" + "Tue, 25 Jul 2023 15:46:00 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1776,14 +634,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1815,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1824,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:25 GMT" + "Tue, 25 Jul 2023 15:46:00 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1859,7 +717,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"0042\"]]}", "headers": { "User-Agent": [ @@ -1897,8 +755,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1906,25 +766,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:25 GMT" + "Tue, 25 Jul 2023 15:46:01 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1934,14 +792,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1973,8 +831,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1982,25 +842,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:25 GMT" + "Tue, 25 Jul 2023 15:46:01 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2017,7 +875,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[42.01]]}", "headers": { "User-Agent": [ @@ -2055,8 +913,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2064,25 +924,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:26 GMT" + "Tue, 25 Jul 2023 15:46:01 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2092,14 +950,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -2131,8 +989,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2140,25 +1000,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:26 GMT" + "Tue, 25 Jul 2023 15:46:01 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2175,7 +1033,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"\\u0410\\u0440\\u0442\\u0443\\u0440\"]]}", "headers": { "User-Agent": [ @@ -2213,8 +1071,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2222,25 +1082,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:26 GMT" + "Tue, 25 Jul 2023 15:46:02 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2250,14 +1108,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -2289,8 +1147,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2298,25 +1158,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:26 GMT" + "Tue, 25 Jul 2023 15:46:02 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2333,7 +1191,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1h-sIFYz0x81JxZQrjiKoK21JhM1lXTNHPDLycMxYYng?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1O0vKkGrBm78UvFSooWHCG9Ie3NfZr8WgkaC0rvCw4AI?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -2368,41 +1226,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:27 GMT" + "Tue, 25 Jul 2023 15:46:02 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_update_cell_multiline.json b/tests/cassettes/WorksheetTest.test_update_cell_multiline.json index 5a7e6d424..46967bc57 100644 --- a/tests/cassettes/WorksheetTest.test_update_cell_multiline.json +++ b/tests/cassettes/WorksheetTest.test_update_cell_multiline.json @@ -1,540 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_update_cell_multiline\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "112" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:12 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "199" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1q87Upncy3Mxbk0KgCodetqTZDOe0iqfqXvKg-uX1tqY\",\n \"name\": \"Test WorksheetTest test_update_cell_multiline\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1q87Upncy3Mxbk0KgCodetqTZDOe0iqfqXvKg-uX1tqY?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3343" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1q87Upncy3Mxbk0KgCodetqTZDOe0iqfqXvKg-uX1tqY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_multiline\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1q87Upncy3Mxbk0KgCodetqTZDOe0iqfqXvKg-uX1tqY/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1q87Upncy3Mxbk0KgCodetqTZDOe0iqfqXvKg-uX1tqY?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3343" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1q87Upncy3Mxbk0KgCodetqTZDOe0iqfqXvKg-uX1tqY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_multiline\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1q87Upncy3Mxbk0KgCodetqTZDOe0iqfqXvKg-uX1tqY/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1q87Upncy3Mxbk0KgCodetqTZDOe0iqfqXvKg-uX1tqY/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:13 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1q87Upncy3Mxbk0KgCodetqTZDOe0iqfqXvKg-uX1tqY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1q87Upncy3Mxbk0KgCodetqTZDOe0iqfqXvKg-uX1tqY/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"test_update_cell_multiline 1\\ntest_update_cell_multiline 1\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "76" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:14 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1q87Upncy3Mxbk0KgCodetqTZDOe0iqfqXvKg-uX1tqY\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1q87Upncy3Mxbk0KgCodetqTZDOe0iqfqXvKg-uX1tqY/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:14 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "153" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_update_cell_multiline 1\\ntest_update_cell_multiline 1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1q87Upncy3Mxbk0KgCodetqTZDOe0iqfqXvKg-uX1tqY?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:14 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -576,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:30 GMT" + "Tue, 25 Jul 2023 15:46:05 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "199" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc\",\n \"name\": \"Test WorksheetTest test_update_cell_multiline\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c\",\n \"name\": \"Test WorksheetTest test_update_cell_multiline\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -656,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -665,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:30 GMT" + "Tue, 25 Jul 2023 15:46:05 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -693,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_multiline\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_multiline\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -732,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:30 GMT" + "Tue, 25 Jul 2023 15:46:05 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "209" ] }, "body": { - "string": "{\n \"id\": \"1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc\",\n \"name\": \"Test WorksheetTest test_update_cell_multiline\",\n \"createdTime\": \"2023-07-20T09:01:27.650Z\",\n \"modifiedTime\": \"2023-07-20T09:01:27.669Z\"\n}\n" + "string": "{\n \"id\": \"1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c\",\n \"name\": \"Test WorksheetTest test_update_cell_multiline\",\n \"createdTime\": \"2023-07-25T15:46:03.548Z\",\n \"modifiedTime\": \"2023-07-25T15:46:04.169Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -812,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -821,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:31 GMT" + "Tue, 25 Jul 2023 15:46:06 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -849,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_multiline\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_multiline\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -891,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -900,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:31 GMT" + "Tue, 25 Jul 2023 15:46:06 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -928,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c/values/%27Sheet1%27%21B1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"test_update_cell_multiline 1\\ntest_update_cell_multiline 1\"]]}", "headers": { "User-Agent": [ @@ -973,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -982,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:31 GMT" + "Tue, 25 Jul 2023 15:46:06 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1010,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c\",\n \"updatedRange\": \"Sheet1!B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1049,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1058,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:31 GMT" + "Tue, 25 Jul 2023 15:46:06 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1093,7 +559,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1EmjN94cksarGqE87y5ddd6EuRiHnZfWrpKn6Wrq0UTc?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1K4iKausKxFLlXmoTXBf8myyjhvIRqB2YOzq6Te9ia3c?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1128,41 +594,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:32 GMT" + "Tue, 25 Jul 2023 15:46:07 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_update_cell_objects.json b/tests/cassettes/WorksheetTest.test_update_cell_objects.json index 4b326e6fb..1fc63aeb8 100644 --- a/tests/cassettes/WorksheetTest.test_update_cell_objects.json +++ b/tests/cassettes/WorksheetTest.test_update_cell_objects.json @@ -1,613 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_update_cell_objects\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "110" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:17 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "197" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY\",\n \"name\": \"Test WorksheetTest test_update_cell_objects\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_objects\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_objects\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY/values/%27Sheet1%27%21A1%3AB2?valueInputOption=RAW", - "body": "{\"values\": [[null, \"cell row 1, col 2\"], [\"cell row 2 col 1\", null]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "69" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "168" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY\",\n \"updatedRange\": \"Sheet1!A1:B2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:19 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "112" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!B1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"cell row 1, col 2\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY/values/%27Sheet1%27%21A2?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:19 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "111" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"cell row 2 col 1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1vLZefJc1fPM3xK5UqRV5fpVVdBFuLP_fZ4gtLuYEWGY?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:20 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -649,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:35 GMT" + "Tue, 25 Jul 2023 15:46:10 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "197" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA\",\n \"name\": \"Test WorksheetTest test_update_cell_objects\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ\",\n \"name\": \"Test WorksheetTest test_update_cell_objects\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -729,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -738,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:35 GMT" + "Tue, 25 Jul 2023 15:46:11 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -766,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_objects\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_objects\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -805,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:35 GMT" + "Tue, 25 Jul 2023 15:46:11 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "207" ] }, "body": { - "string": "{\n \"id\": \"14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA\",\n \"name\": \"Test WorksheetTest test_update_cell_objects\",\n \"createdTime\": \"2023-07-20T09:01:32.651Z\",\n \"modifiedTime\": \"2023-07-20T09:01:32.673Z\"\n}\n" + "string": "{\n \"id\": \"1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ\",\n \"name\": \"Test WorksheetTest test_update_cell_objects\",\n \"createdTime\": \"2023-07-25T15:46:07.703Z\",\n \"modifiedTime\": \"2023-07-25T15:46:07.720Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -885,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -894,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:35 GMT" + "Tue, 25 Jul 2023 15:46:11 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -922,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_objects\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_objects\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -964,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:36 GMT" + "Tue, 25 Jul 2023 15:46:12 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA/values/%27Sheet1%27%21A1%3AB2?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ/values/%27Sheet1%27%21A1%3AB2?valueInputOption=RAW", "body": "{\"values\": [[null, \"cell row 1, col 2\"], [\"cell row 2 col 1\", null]]}", "headers": { "User-Agent": [ @@ -1046,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1055,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:36 GMT" + "Tue, 25 Jul 2023 15:46:12 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1083,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA\",\n \"updatedRange\": \"Sheet1!A1:B2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" + "string": "{\n \"spreadsheetId\": \"1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ\",\n \"updatedRange\": \"Sheet1!A1:B2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ/values/%27Sheet1%27%21B1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1122,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1131,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:36 GMT" + "Tue, 25 Jul 2023 15:46:12 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1166,7 +559,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA/values/%27Sheet1%27%21A2?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ/values/%27Sheet1%27%21A2?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1198,8 +591,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1207,25 +602,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:36 GMT" + "Tue, 25 Jul 2023 15:46:12 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1242,7 +635,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/14q1ZUyE5Ilc_WF8ih2pHCa7RyXqonAORbdMtPQgVpzA?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1XoZjVxwvqAD_6G9Fh656U-253GrNsuGrZAZdmx1KnvQ?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1277,41 +670,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:37 GMT" + "Tue, 25 Jul 2023 15:46:13 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_update_cell_unicode.json b/tests/cassettes/WorksheetTest.test_update_cell_unicode.json index 827dc9b17..1577c8e90 100644 --- a/tests/cassettes/WorksheetTest.test_update_cell_unicode.json +++ b/tests/cassettes/WorksheetTest.test_update_cell_unicode.json @@ -1,540 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_update_cell_unicode\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "110" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:23 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "197" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1pnqQrNwYzKT3C0BCJrt0h8GfhY0AfLSPeXZzbp91wSM\",\n \"name\": \"Test WorksheetTest test_update_cell_unicode\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pnqQrNwYzKT3C0BCJrt0h8GfhY0AfLSPeXZzbp91wSM?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:23 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1pnqQrNwYzKT3C0BCJrt0h8GfhY0AfLSPeXZzbp91wSM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1pnqQrNwYzKT3C0BCJrt0h8GfhY0AfLSPeXZzbp91wSM/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pnqQrNwYzKT3C0BCJrt0h8GfhY0AfLSPeXZzbp91wSM?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:24 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1pnqQrNwYzKT3C0BCJrt0h8GfhY0AfLSPeXZzbp91wSM\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1pnqQrNwYzKT3C0BCJrt0h8GfhY0AfLSPeXZzbp91wSM/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pnqQrNwYzKT3C0BCJrt0h8GfhY0AfLSPeXZzbp91wSM/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:24 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1pnqQrNwYzKT3C0BCJrt0h8GfhY0AfLSPeXZzbp91wSM\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pnqQrNwYzKT3C0BCJrt0h8GfhY0AfLSPeXZzbp91wSM/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", - "body": "{\"values\": [[\"I\\u00f1t\\u00ebrn\\u00e2ti\\u00f4n\\u00e0liz\\u00e6ti\\u00f8n\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "73" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:24 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1pnqQrNwYzKT3C0BCJrt0h8GfhY0AfLSPeXZzbp91wSM\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pnqQrNwYzKT3C0BCJrt0h8GfhY0AfLSPeXZzbp91wSM/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:24 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "122" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"I\u00f1t\u00ebrn\u00e2ti\u00f4n\u00e0liz\u00e6ti\u00f8n\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1pnqQrNwYzKT3C0BCJrt0h8GfhY0AfLSPeXZzbp91wSM?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:25 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -576,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:40 GMT" + "Tue, 25 Jul 2023 15:46:16 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "197" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo\",\n \"name\": \"Test WorksheetTest test_update_cell_unicode\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA\",\n \"name\": \"Test WorksheetTest test_update_cell_unicode\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -656,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -665,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:41 GMT" + "Tue, 25 Jul 2023 15:46:17 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -693,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -732,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:41 GMT" + "Tue, 25 Jul 2023 15:46:17 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "207" ] }, "body": { - "string": "{\n \"id\": \"18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo\",\n \"name\": \"Test WorksheetTest test_update_cell_unicode\",\n \"createdTime\": \"2023-07-20T09:01:37.904Z\",\n \"modifiedTime\": \"2023-07-20T09:01:37.923Z\"\n}\n" + "string": "{\n \"id\": \"1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA\",\n \"name\": \"Test WorksheetTest test_update_cell_unicode\",\n \"createdTime\": \"2023-07-25T15:46:14.114Z\",\n \"modifiedTime\": \"2023-07-25T15:46:14.129Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -812,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -821,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:41 GMT" + "Tue, 25 Jul 2023 15:46:17 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -849,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cell_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -891,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -900,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:42 GMT" + "Tue, 25 Jul 2023 15:46:18 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -928,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA/values/%27Sheet1%27%21A1?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"I\\u00f1t\\u00ebrn\\u00e2ti\\u00f4n\\u00e0liz\\u00e6ti\\u00f8n\"]]}", "headers": { "User-Agent": [ @@ -973,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -982,25 +450,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:42 GMT" + "Tue, 25 Jul 2023 15:46:19 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1010,14 +476,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1049,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1058,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:42 GMT" + "Tue, 25 Jul 2023 15:46:19 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1093,7 +559,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/18RxFj3L11nFVK39zggP5GYuqf_IqXEngyROiwvxsIMo?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1LZ7o3GlIynfZv7mjWr0IzV-YKgpLNyWqtd4CY5P1hBA?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1128,41 +594,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:43 GMT" + "Tue, 25 Jul 2023 15:46:19 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_update_cells.json b/tests/cassettes/WorksheetTest.test_update_cells.json index 343394fc8..945d72d5c 100644 --- a/tests/cassettes/WorksheetTest.test_update_cells.json +++ b/tests/cassettes/WorksheetTest.test_update_cells.json @@ -1,613 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_update_cells\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "103" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:28 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "190" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk\",\n \"name\": \"Test WorksheetTest test_update_cells\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:29 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3334" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:29 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3334" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:29 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk/values/%27Sheet1%27%21A1%3AA10", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:29 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "59" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:A10\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk/values/%27Sheet1%27%21A1%3AA10?valueInputOption=RAW", - "body": "{\"values\": [[\"test_update_cells 1\\ntest_update_cells 1\"], [\"test_update_cells 2\"], [\"test_update_cells 3\"], [\"test_update_cells 4\"], [\"test_update_cells 5\"], [\"test_update_cells 6\"], [\"test_update_cells 7\"], [\"test_update_cells 8\"], [\"test_update_cells 9\"], [\"test_update_cells 10\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "284" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:30 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "171" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk\",\n \"updatedRange\": \"Sheet1!A1:A10\",\n \"updatedRows\": 10,\n \"updatedColumns\": 1,\n \"updatedCells\": 10\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk/values/%27Sheet1%27%21A1%3AA10", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:30 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "509" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:A10\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_update_cells 1\\ntest_update_cells 1\"\n ],\n [\n \"test_update_cells 2\"\n ],\n [\n \"test_update_cells 3\"\n ],\n [\n \"test_update_cells 4\"\n ],\n [\n \"test_update_cells 5\"\n ],\n [\n \"test_update_cells 6\"\n ],\n [\n \"test_update_cells 7\"\n ],\n [\n \"test_update_cells 8\"\n ],\n [\n \"test_update_cells 9\"\n ],\n [\n \"test_update_cells 10\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1LqOoOQjFXPKaK2F3jdb7JuRSQ3Pu-D5Ug8EczPe55uk?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:30 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -649,8 +42,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -658,46 +51,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:46 GMT" + "Tue, 25 Jul 2023 15:46:22 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "190" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M\",\n \"name\": \"Test WorksheetTest test_update_cells\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU\",\n \"name\": \"Test WorksheetTest test_update_cells\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -729,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -738,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:47 GMT" + "Tue, 25 Jul 2023 15:46:22 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -766,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -805,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:47 GMT" + "Tue, 25 Jul 2023 15:46:22 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "200" ] }, "body": { - "string": "{\n \"id\": \"1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M\",\n \"name\": \"Test WorksheetTest test_update_cells\",\n \"createdTime\": \"2023-07-20T09:01:43.725Z\",\n \"modifiedTime\": \"2023-07-20T09:01:43.744Z\"\n}\n" + "string": "{\n \"id\": \"1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU\",\n \"name\": \"Test WorksheetTest test_update_cells\",\n \"createdTime\": \"2023-07-25T15:46:20.182Z\",\n \"modifiedTime\": \"2023-07-25T15:46:21.154Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -885,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -894,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:47 GMT" + "Tue, 25 Jul 2023 15:46:23 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -922,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -964,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:47 GMT" + "Tue, 25 Jul 2023 15:46:23 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M/values/%27Sheet1%27%21A1%3AA10", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU/values/%27Sheet1%27%21A1%3AA10", "body": null, "headers": { "User-Agent": [ @@ -1040,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1049,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:48 GMT" + "Tue, 25 Jul 2023 15:46:23 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1084,7 +477,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M/values/%27Sheet1%27%21A1%3AA10?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU/values/%27Sheet1%27%21A1%3AA10?valueInputOption=RAW", "body": "{\"values\": [[\"test_update_cells 1\\ntest_update_cells 1\"], [\"test_update_cells 2\"], [\"test_update_cells 3\"], [\"test_update_cells 4\"], [\"test_update_cells 5\"], [\"test_update_cells 6\"], [\"test_update_cells 7\"], [\"test_update_cells 8\"], [\"test_update_cells 9\"], [\"test_update_cells 10\"]]}", "headers": { "User-Agent": [ @@ -1122,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1131,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:48 GMT" + "Tue, 25 Jul 2023 15:46:24 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1159,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M\",\n \"updatedRange\": \"Sheet1!A1:A10\",\n \"updatedRows\": 10,\n \"updatedColumns\": 1,\n \"updatedCells\": 10\n}\n" + "string": "{\n \"spreadsheetId\": \"1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU\",\n \"updatedRange\": \"Sheet1!A1:A10\",\n \"updatedRows\": 10,\n \"updatedColumns\": 1,\n \"updatedCells\": 10\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M/values/%27Sheet1%27%21A1%3AA10", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU/values/%27Sheet1%27%21A1%3AA10", "body": null, "headers": { "User-Agent": [ @@ -1198,8 +591,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1207,25 +602,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:48 GMT" + "Tue, 25 Jul 2023 15:46:24 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1242,7 +635,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1YOl3oYwzXGNYjfwsilXEPlUwdfJsRuGVQa-Y1C0Qt4M?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1ETPl9i1QckHxWEzw-l-txjt52huw3yD9u5-KRTJj2kU?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1277,41 +670,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:49 GMT" + "Tue, 25 Jul 2023 15:46:25 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_update_cells_noncontiguous.json b/tests/cassettes/WorksheetTest.test_update_cells_noncontiguous.json index 002df2260..609134a52 100644 --- a/tests/cassettes/WorksheetTest.test_update_cells_noncontiguous.json +++ b/tests/cassettes/WorksheetTest.test_update_cells_noncontiguous.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "117" ], @@ -39,817 +42,55 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "content-length": [ - "204" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho\",\n \"name\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:33 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3348" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3348" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" + "Origin, X-Origin" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho/values/%27Sheet1%27%21A1%3AD6", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"test_update_cells_noncontiguous 1\", \"test_update_cells_noncontiguous 2\", \"test_update_cells_noncontiguous 3\", \"test_update_cells_noncontiguous 4\"], [\"test_update_cells_noncontiguous 5\", \"test_update_cells_noncontiguous 6\", \"test_update_cells_noncontiguous 7\", \"test_update_cells_noncontiguous 8\"], [\"test_update_cells_noncontiguous 9\", \"test_update_cells_noncontiguous 10\", \"test_update_cells_noncontiguous 11\", \"test_update_cells_noncontiguous 12\"], [\"test_update_cells_noncontiguous 13\", \"test_update_cells_noncontiguous 14\", \"test_update_cells_noncontiguous 15\", \"test_update_cells_noncontiguous 16\"], [\"test_update_cells_noncontiguous 17\", \"test_update_cells_noncontiguous 18\", \"test_update_cells_noncontiguous 19\", \"test_update_cells_noncontiguous 20\"], [\"test_update_cells_noncontiguous 21\", \"test_update_cells_noncontiguous 22\", \"test_update_cells_noncontiguous 23\", \"test_update_cells_noncontiguous 24\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "927" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho/values/%27Sheet1%27%21A1%3AD6", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:34 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "1195" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_update_cells_noncontiguous 1\",\n \"test_update_cells_noncontiguous 2\",\n \"test_update_cells_noncontiguous 3\",\n \"test_update_cells_noncontiguous 4\"\n ],\n [\n \"test_update_cells_noncontiguous 5\",\n \"test_update_cells_noncontiguous 6\",\n \"test_update_cells_noncontiguous 7\",\n \"test_update_cells_noncontiguous 8\"\n ],\n [\n \"test_update_cells_noncontiguous 9\",\n \"test_update_cells_noncontiguous 10\",\n \"test_update_cells_noncontiguous 11\",\n \"test_update_cells_noncontiguous 12\"\n ],\n [\n \"test_update_cells_noncontiguous 13\",\n \"test_update_cells_noncontiguous 14\",\n \"test_update_cells_noncontiguous 15\",\n \"test_update_cells_noncontiguous 16\"\n ],\n [\n \"test_update_cells_noncontiguous 17\",\n \"test_update_cells_noncontiguous 18\",\n \"test_update_cells_noncontiguous 19\",\n \"test_update_cells_noncontiguous 20\"\n ],\n [\n \"test_update_cells_noncontiguous 21\",\n \"test_update_cells_noncontiguous 22\",\n \"test_update_cells_noncontiguous 23\",\n \"test_update_cells_noncontiguous 24\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"test_update_cells_noncontiguous 25 top_left\", null, null, null], [null, null, null, null], [null, null, null, null], [null, null, null, null], [null, null, null, null], [null, null, null, \"test_update_cells_noncontiguous 26 bottom_right\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "254" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:35 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "168" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 2,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho/values/%27Sheet1%27%21A1%3AD6", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:35 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "1218" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"test_update_cells_noncontiguous 25 top_left\",\n \"test_update_cells_noncontiguous 2\",\n \"test_update_cells_noncontiguous 3\",\n \"test_update_cells_noncontiguous 4\"\n ],\n [\n \"test_update_cells_noncontiguous 5\",\n \"test_update_cells_noncontiguous 6\",\n \"test_update_cells_noncontiguous 7\",\n \"test_update_cells_noncontiguous 8\"\n ],\n [\n \"test_update_cells_noncontiguous 9\",\n \"test_update_cells_noncontiguous 10\",\n \"test_update_cells_noncontiguous 11\",\n \"test_update_cells_noncontiguous 12\"\n ],\n [\n \"test_update_cells_noncontiguous 13\",\n \"test_update_cells_noncontiguous 14\",\n \"test_update_cells_noncontiguous 15\",\n \"test_update_cells_noncontiguous 16\"\n ],\n [\n \"test_update_cells_noncontiguous 17\",\n \"test_update_cells_noncontiguous 18\",\n \"test_update_cells_noncontiguous 19\",\n \"test_update_cells_noncontiguous 20\"\n ],\n [\n \"test_update_cells_noncontiguous 21\",\n \"test_update_cells_noncontiguous 22\",\n \"test_update_cells_noncontiguous 23\",\n \"test_update_cells_noncontiguous 26 bottom_right\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1N7FFikbOzSd1IaxPLncDwpp36sJIlepZgY4bozj6_ho?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:36 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_update_cells_noncontiguous\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "117" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:52 GMT" + "Tue, 25 Jul 2023 15:46:27 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "204" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"name\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8\",\n \"name\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -881,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -890,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:52 GMT" + "Tue, 25 Jul 2023 15:46:28 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -918,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -957,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:53 GMT" + "Tue, 25 Jul 2023 15:46:28 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "214" ] }, "body": { - "string": "{\n \"id\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"name\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"createdTime\": \"2023-07-20T09:01:49.771Z\",\n \"modifiedTime\": \"2023-07-20T09:01:49.790Z\"\n}\n" + "string": "{\n \"id\": \"1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8\",\n \"name\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"createdTime\": \"2023-07-25T15:46:25.720Z\",\n \"modifiedTime\": \"2023-07-25T15:46:26.691Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1037,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1046,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:53 GMT" + "Tue, 25 Jul 2023 15:46:28 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1074,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_noncontiguous\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1116,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1125,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:53 GMT" + "Tue, 25 Jul 2023 15:46:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1153,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/values/%27Sheet1%27%21A1%3AD6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8/values/%27Sheet1%27%21A1%3AD6", "body": null, "headers": { "User-Agent": [ @@ -1192,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1201,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:54 GMT" + "Tue, 25 Jul 2023 15:46:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1236,7 +477,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", "body": "{\"values\": [[\"test_update_cells_noncontiguous 1\", \"test_update_cells_noncontiguous 2\", \"test_update_cells_noncontiguous 3\", \"test_update_cells_noncontiguous 4\"], [\"test_update_cells_noncontiguous 5\", \"test_update_cells_noncontiguous 6\", \"test_update_cells_noncontiguous 7\", \"test_update_cells_noncontiguous 8\"], [\"test_update_cells_noncontiguous 9\", \"test_update_cells_noncontiguous 10\", \"test_update_cells_noncontiguous 11\", \"test_update_cells_noncontiguous 12\"], [\"test_update_cells_noncontiguous 13\", \"test_update_cells_noncontiguous 14\", \"test_update_cells_noncontiguous 15\", \"test_update_cells_noncontiguous 16\"], [\"test_update_cells_noncontiguous 17\", \"test_update_cells_noncontiguous 18\", \"test_update_cells_noncontiguous 19\", \"test_update_cells_noncontiguous 20\"], [\"test_update_cells_noncontiguous 21\", \"test_update_cells_noncontiguous 22\", \"test_update_cells_noncontiguous 23\", \"test_update_cells_noncontiguous 24\"]]}", "headers": { "User-Agent": [ @@ -1274,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1283,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:54 GMT" + "Tue, 25 Jul 2023 15:46:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1311,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + "string": "{\n \"spreadsheetId\": \"1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/values/%27Sheet1%27%21A1%3AD6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8/values/%27Sheet1%27%21A1%3AD6", "body": null, "headers": { "User-Agent": [ @@ -1350,8 +591,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1359,25 +602,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:54 GMT" + "Tue, 25 Jul 2023 15:46:29 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1394,7 +635,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", "body": "{\"values\": [[\"test_update_cells_noncontiguous 25 top_left\", null, null, null], [null, null, null, null], [null, null, null, null], [null, null, null, null], [null, null, null, null], [null, null, null, \"test_update_cells_noncontiguous 26 bottom_right\"]]}", "headers": { "User-Agent": [ @@ -1432,8 +673,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1441,25 +684,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:54 GMT" + "Tue, 25 Jul 2023 15:46:30 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1469,14 +710,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 2,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" + "string": "{\n \"spreadsheetId\": \"1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 2,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs/values/%27Sheet1%27%21A1%3AD6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8/values/%27Sheet1%27%21A1%3AD6", "body": null, "headers": { "User-Agent": [ @@ -1508,8 +749,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1517,25 +760,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:55 GMT" + "Tue, 25 Jul 2023 15:46:30 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1552,7 +793,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/15VbX8SxymCcqsReC9y4SIyvb3uVywhVLbZrph0MsEYs?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1UldWjrYrJmrRFfkS8ifdyB5FoROqWUfCa7udelG-c_8?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1587,41 +828,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:55 GMT" + "Tue, 25 Jul 2023 15:46:31 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_update_cells_unicode.json b/tests/cassettes/WorksheetTest.test_update_cells_unicode.json index fef68bd7e..e6eee01e5 100644 --- a/tests/cassettes/WorksheetTest.test_update_cells_unicode.json +++ b/tests/cassettes/WorksheetTest.test_update_cells_unicode.json @@ -1,613 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_update_cells_unicode\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "111" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:38 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "198" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4\",\n \"name\": \"Test WorksheetTest test_update_cells_unicode\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3342" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3342" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:39 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "55" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4/values/%27Sheet1%27%21A1%3AA1?valueInputOption=RAW", - "body": "{\"values\": [[\"I\\u00f1t\\u00ebrn\\u00e2ti\\u00f4n\\u00e0liz\\u00e6ti\\u00f8n\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "73" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "165" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:40 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "122" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"I\u00f1t\u00ebrn\u00e2ti\u00f4n\u00e0liz\u00e6ti\u00f8n\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1Kva_EFqD37c9B8MpD-Ww31mtllgX47VEZbF9xgq-rG4?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:41 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -649,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:58 GMT" + "Tue, 25 Jul 2023 15:46:33 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "198" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw\",\n \"name\": \"Test WorksheetTest test_update_cells_unicode\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw\",\n \"name\": \"Test WorksheetTest test_update_cells_unicode\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -729,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -738,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:59 GMT" + "Tue, 25 Jul 2023 15:46:34 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -766,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -805,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:01:59 GMT" + "Tue, 25 Jul 2023 15:46:34 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "208" ] }, "body": { - "string": "{\n \"id\": \"1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw\",\n \"name\": \"Test WorksheetTest test_update_cells_unicode\",\n \"createdTime\": \"2023-07-20T09:01:55.997Z\",\n \"modifiedTime\": \"2023-07-20T09:01:56.013Z\"\n}\n" + "string": "{\n \"id\": \"1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw\",\n \"name\": \"Test WorksheetTest test_update_cells_unicode\",\n \"createdTime\": \"2023-07-25T15:46:31.432Z\",\n \"modifiedTime\": \"2023-07-25T15:46:32.462Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -885,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -894,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:59 GMT" + "Tue, 25 Jul 2023 15:46:34 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -922,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_cells_unicode\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -964,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:59 GMT" + "Tue, 25 Jul 2023 15:46:34 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1040,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1049,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:01:59 GMT" + "Tue, 25 Jul 2023 15:46:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1084,7 +477,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw/values/%27Sheet1%27%21A1%3AA1?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw/values/%27Sheet1%27%21A1%3AA1?valueInputOption=RAW", "body": "{\"values\": [[\"I\\u00f1t\\u00ebrn\\u00e2ti\\u00f4n\\u00e0liz\\u00e6ti\\u00f8n\"]]}", "headers": { "User-Agent": [ @@ -1122,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1131,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:00 GMT" + "Tue, 25 Jul 2023 15:46:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1159,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" + "string": "{\n \"spreadsheetId\": \"1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw\",\n \"updatedRange\": \"Sheet1!A1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 1,\n \"updatedCells\": 1\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw/values/%27Sheet1%27%21A1?valueRenderOption=FORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1198,8 +591,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1207,25 +602,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:00 GMT" + "Tue, 25 Jul 2023 15:46:35 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1242,7 +635,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1F_Nn4DT3j85R9OFKprlqFv--XqyNKyfAks_bfZiVKgw?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1afA_DaAzhWfH4uJBJf-xW1NoEBJGTwiqv0gEqzcvMvw?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1277,41 +670,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:01 GMT" + "Tue, 25 Jul 2023 15:46:36 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_update_tab_color.json b/tests/cassettes/WorksheetTest.test_update_tab_color.json index 6e07237ec..1ea2adec5 100644 --- a/tests/cassettes/WorksheetTest.test_update_tab_color.json +++ b/tests/cassettes/WorksheetTest.test_update_tab_color.json @@ -1,613 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_update_tab_color\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "107" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:43 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "194" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y\",\n \"name\": \"Test WorksheetTest test_update_tab_color\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:44 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3338" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:44 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3338" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:44 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y?fields=sheets.properties.tabColorStyle", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "57" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"properties\": {}\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"tabColorStyle\": {\"rgbColor\": {\"red\": 1, \"green\": 0, \"blue\": 0.5}}}, \"fields\": \"tabColorStyle\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "168" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y?fields=sheets.properties.tabColorStyle", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:45 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "190" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"properties\": {\n \"tabColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"blue\": 0.49803922\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1YCBgNwCizAu740H2JSGD6vC70k9Zu7OuVcp7oG2ad6Y?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:46 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -649,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:02:03 GMT" + "Tue, 25 Jul 2023 15:46:38 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "194" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg\",\n \"name\": \"Test WorksheetTest test_update_tab_color\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ\",\n \"name\": \"Test WorksheetTest test_update_tab_color\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -729,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -738,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:04 GMT" + "Tue, 25 Jul 2023 15:46:39 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -766,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -805,8 +198,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -814,46 +207,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:02:04 GMT" + "Tue, 25 Jul 2023 15:46:39 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "204" ] }, "body": { - "string": "{\n \"id\": \"1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg\",\n \"name\": \"Test WorksheetTest test_update_tab_color\",\n \"createdTime\": \"2023-07-20T09:02:01.444Z\",\n \"modifiedTime\": \"2023-07-20T09:02:01.466Z\"\n}\n" + "string": "{\n \"id\": \"1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ\",\n \"name\": \"Test WorksheetTest test_update_tab_color\",\n \"createdTime\": \"2023-07-25T15:46:36.621Z\",\n \"modifiedTime\": \"2023-07-25T15:46:37.474Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -885,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -894,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:05 GMT" + "Tue, 25 Jul 2023 15:46:39 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -922,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_tab_color\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -964,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:05 GMT" + "Tue, 25 Jul 2023 15:46:39 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg?fields=sheets.properties.tabColorStyle", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ?fields=sheets.properties.tabColorStyle", "body": null, "headers": { "User-Agent": [ @@ -1040,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1049,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:05 GMT" + "Tue, 25 Jul 2023 15:46:40 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1084,7 +477,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"tabColorStyle\": {\"rgbColor\": {\"red\": 1, \"green\": 0, \"blue\": 0.5}}}, \"fields\": \"tabColorStyle\"}}]}", "headers": { "User-Agent": [ @@ -1122,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1131,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:05 GMT" + "Tue, 25 Jul 2023 15:46:40 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1159,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg?fields=sheets.properties.tabColorStyle", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ?fields=sheets.properties.tabColorStyle", "body": null, "headers": { "User-Agent": [ @@ -1198,8 +591,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1207,25 +602,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:06 GMT" + "Tue, 25 Jul 2023 15:46:40 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1242,7 +635,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1ETj53jv-Yi06P1Iznioae-HNC12Vaco735Y0K28Mnlg?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1TWoZhXtsJieNWLc2QJJ953D8r6Ukog2gPGUWX6iEIKQ?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1277,41 +670,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:06 GMT" + "Tue, 25 Jul 2023 15:46:41 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_update_title.json b/tests/cassettes/WorksheetTest.test_update_title.json index 70dc8267f..3da30c243 100644 --- a/tests/cassettes/WorksheetTest.test_update_title.json +++ b/tests/cassettes/WorksheetTest.test_update_title.json @@ -1,613 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_update_title\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "103" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:48 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "190" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY\",\n \"name\": \"Test WorksheetTest test_update_title\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:49 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3334" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:49 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3334" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:49 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:49 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3334" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"title\": \"I'm a new title\"}, \"fields\": \"title\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "120" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:50 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:50 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3343" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"I'm a new title\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1vonQwyqIYjeT2hr89wfyqGk84Th0qFu9WbBxd-7digY?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:51 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -649,55 +42,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:02:09 GMT" + "Tue, 25 Jul 2023 15:46:43 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "190" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"name\": \"Test WorksheetTest test_update_title\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c\",\n \"name\": \"Test WorksheetTest test_update_title\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -729,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -738,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:10 GMT" + "Tue, 25 Jul 2023 15:46:44 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -766,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -805,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:02:10 GMT" + "Tue, 25 Jul 2023 15:46:44 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "200" ] }, "body": { - "string": "{\n \"id\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"name\": \"Test WorksheetTest test_update_title\",\n \"createdTime\": \"2023-07-20T09:02:07.091Z\",\n \"modifiedTime\": \"2023-07-20T09:02:07.108Z\"\n}\n" + "string": "{\n \"id\": \"1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c\",\n \"name\": \"Test WorksheetTest test_update_title\",\n \"createdTime\": \"2023-07-25T15:46:41.794Z\",\n \"modifiedTime\": \"2023-07-25T15:46:42.740Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -885,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -894,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:10 GMT" + "Tue, 25 Jul 2023 15:46:44 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -922,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -964,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -973,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:11 GMT" + "Tue, 25 Jul 2023 15:46:45 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1001,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1040,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1049,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:11 GMT" + "Tue, 25 Jul 2023 15:46:45 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1077,14 +470,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"title\": \"I'm a new title\"}, \"fields\": \"title\"}}]}", "headers": { "User-Agent": [ @@ -1122,8 +515,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1131,25 +526,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:11 GMT" + "Tue, 25 Jul 2023 15:46:45 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1159,14 +552,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1198,8 +591,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1207,25 +602,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:12 GMT" + "Tue, 25 Jul 2023 15:46:45 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1235,14 +628,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"I'm a new title\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_update_title\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"I'm a new title\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1cvaTPnWtr850I3weWegVGyWkKsd8nFyvxVVqfjD78-o?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1D-huCbWbhJczzPfxlVr9Zbl6YuC1RbkUXacd2EzNd6c?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1277,41 +670,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:12 GMT" + "Tue, 25 Jul 2023 15:46:46 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_worksheet_notes.json b/tests/cassettes/WorksheetTest.test_worksheet_notes.json index 08cbb9c02..fc804cd93 100644 --- a/tests/cassettes/WorksheetTest.test_worksheet_notes.json +++ b/tests/cassettes/WorksheetTest.test_worksheet_notes.json @@ -1,1519 +1,6 @@ { "version": 1, "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_worksheet_notes\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "106" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "193" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI\",\n \"name\": \"Test WorksheetTest test_worksheet_notes\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3337" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_notes\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:53 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3337" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_notes\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3337" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_notes\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "69" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"data\": [\n {}\n ]\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI:batchUpdate", - "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"slim shaddy\"}]}]}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "207" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "259" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"note\": \"slim shaddy\"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI:batchUpdate", - "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"the real slim shaddy\"}]}]}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "216" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:54 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "268" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"note\": \"the real slim shaddy\"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI:batchUpdate", - "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"\"}]}]}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "196" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "69" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"data\": [\n {}\n ]\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI:batchUpdate", - "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"read my note\"}]}]}}, {\"updateCells\": {\"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 2, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"Or don't\"}]}]}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "398" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "105" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI\",\n \"replies\": [\n {},\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:55 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "260" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"note\": \"read my note\"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI?ranges=%27Sheet1%27%21B2&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:56 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "256" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"note\": \"Or don't\"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI:batchUpdate", - "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"remember to clean bedroom\"}]}]}}, {\"updateCells\": {\"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 2, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"do homeworks\"}]}]}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "415" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:56 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "105" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI\",\n \"replies\": [\n {},\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:56 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "273" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"note\": \"remember to clean bedroom\"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI?ranges=%27Sheet1%27%21B2&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:56 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "260" - ] - }, - "body": { - "string": "{\n \"sheets\": [\n {\n \"data\": [\n {\n \"rowData\": [\n {\n \"values\": [\n {\n \"note\": \"do homeworks\"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI:batchUpdate", - "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"\"}]}]}}, {\"updateCells\": {\"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 2, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"\"}]}]}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "378" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:56 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "105" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI\",\n \"replies\": [\n {},\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1Bg83FbaDsbquq5OZ_mpjIuTKnNwndwEqTn0dUiNA4NI?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:57 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, { "request": { "method": "POST", @@ -1555,8 +42,8 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin, X-Origin" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -1564,46 +51,46 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:02:15 GMT" + "Tue, 25 Jul 2023 15:46:49 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "193" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"name\": \"Test WorksheetTest test_worksheet_notes\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8\",\n \"name\": \"Test WorksheetTest test_worksheet_notes\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1635,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1644,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:16 GMT" + "Tue, 25 Jul 2023 15:46:49 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1672,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_notes\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_notes\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -1711,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:02:16 GMT" + "Tue, 25 Jul 2023 15:46:50 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "203" ] }, "body": { - "string": "{\n \"id\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"name\": \"Test WorksheetTest test_worksheet_notes\",\n \"createdTime\": \"2023-07-20T09:02:13.012Z\",\n \"modifiedTime\": \"2023-07-20T09:02:13.037Z\"\n}\n" + "string": "{\n \"id\": \"18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8\",\n \"name\": \"Test WorksheetTest test_worksheet_notes\",\n \"createdTime\": \"2023-07-25T15:46:47.267Z\",\n \"modifiedTime\": \"2023-07-25T15:46:48.488Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1791,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1800,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:16 GMT" + "Tue, 25 Jul 2023 15:46:50 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1828,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_notes\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_notes\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1870,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1879,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:17 GMT" + "Tue, 25 Jul 2023 15:46:50 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1907,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1946,8 +433,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1955,25 +444,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:17 GMT" + "Tue, 25 Jul 2023 15:46:50 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1983,14 +470,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_notes\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_notes\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", "body": null, "headers": { "User-Agent": [ @@ -2022,8 +509,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2031,25 +520,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:17 GMT" + "Tue, 25 Jul 2023 15:46:50 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2066,7 +553,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8:batchUpdate", "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"slim shaddy\"}]}]}}]}", "headers": { "User-Agent": [ @@ -2104,8 +591,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2113,25 +602,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:17 GMT" + "Tue, 25 Jul 2023 15:46:51 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2141,14 +628,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", "body": null, "headers": { "User-Agent": [ @@ -2180,8 +667,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2189,25 +678,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:18 GMT" + "Tue, 25 Jul 2023 15:46:51 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2224,7 +711,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8:batchUpdate", "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"the real slim shaddy\"}]}]}}]}", "headers": { "User-Agent": [ @@ -2262,8 +749,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2271,25 +760,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:18 GMT" + "Tue, 25 Jul 2023 15:46:51 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2299,14 +786,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", "body": null, "headers": { "User-Agent": [ @@ -2338,8 +825,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2347,25 +836,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:18 GMT" + "Tue, 25 Jul 2023 15:46:51 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2382,7 +869,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8:batchUpdate", "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"\"}]}]}}]}", "headers": { "User-Agent": [ @@ -2420,8 +907,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2429,25 +918,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:18 GMT" + "Tue, 25 Jul 2023 15:46:52 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2457,14 +944,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", "body": null, "headers": { "User-Agent": [ @@ -2496,8 +983,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2505,25 +994,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:19 GMT" + "Tue, 25 Jul 2023 15:46:52 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2540,7 +1027,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8:batchUpdate", "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"read my note\"}]}]}}, {\"updateCells\": {\"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 2, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"Or don't\"}]}]}}]}", "headers": { "User-Agent": [ @@ -2578,8 +1065,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2587,25 +1076,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:19 GMT" + "Tue, 25 Jul 2023 15:46:52 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2615,14 +1102,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"replies\": [\n {},\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8\",\n \"replies\": [\n {},\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", "body": null, "headers": { "User-Agent": [ @@ -2654,8 +1141,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2663,25 +1152,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:19 GMT" + "Tue, 25 Jul 2023 15:46:52 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2698,7 +1185,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21B2&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8?ranges=%27Sheet1%27%21B2&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", "body": null, "headers": { "User-Agent": [ @@ -2730,8 +1217,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2739,25 +1228,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:19 GMT" + "Tue, 25 Jul 2023 15:46:52 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2774,7 +1261,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8:batchUpdate", "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"remember to clean bedroom\"}]}]}}, {\"updateCells\": {\"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 2, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"do homeworks\"}]}]}}]}", "headers": { "User-Agent": [ @@ -2812,8 +1299,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2821,25 +1310,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:20 GMT" + "Tue, 25 Jul 2023 15:46:53 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2849,14 +1336,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"replies\": [\n {},\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8\",\n \"replies\": [\n {},\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8?ranges=%27Sheet1%27%21A1&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", "body": null, "headers": { "User-Agent": [ @@ -2888,8 +1375,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2897,25 +1386,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:20 GMT" + "Tue, 25 Jul 2023 15:46:53 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -2932,7 +1419,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?ranges=%27Sheet1%27%21B2&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8?ranges=%27Sheet1%27%21B2&fields=sheets%2Fdata%2FrowData%2Fvalues%2Fnote", "body": null, "headers": { "User-Agent": [ @@ -2964,8 +1451,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -2973,25 +1462,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:20 GMT" + "Tue, 25 Jul 2023 15:46:53 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -3008,7 +1495,7 @@ { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8:batchUpdate", "body": "{\"requests\": [{\"updateCells\": {\"range\": {\"startRowIndex\": 0, \"endRowIndex\": 1, \"startColumnIndex\": 0, \"endColumnIndex\": 1, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"\"}]}]}}, {\"updateCells\": {\"range\": {\"startRowIndex\": 1, \"endRowIndex\": 2, \"startColumnIndex\": 1, \"endColumnIndex\": 2, \"sheetId\": 0}, \"fields\": \"note\", \"rows\": [{\"values\": [{\"note\": \"\"}]}]}}]}", "headers": { "User-Agent": [ @@ -3046,8 +1533,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -3055,25 +1544,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:20 GMT" + "Tue, 25 Jul 2023 15:46:53 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -3083,14 +1570,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY\",\n \"replies\": [\n {},\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8\",\n \"replies\": [\n {},\n {}\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1JY5Ol5HzJCSW1kY7sInJaNIJZKlRiX5PxJOeqw0SvkY?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/18Ull2muNRPgPfFzgGlna1bhw1CrwnmgkmUuEzPSBcn8?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -3125,41 +1612,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:21 GMT" + "Tue, 25 Jul 2023 15:46:54 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_worksheet_update_index.json b/tests/cassettes/WorksheetTest.test_worksheet_update_index.json index e3550f452..94811212c 100644 --- a/tests/cassettes/WorksheetTest.test_worksheet_update_index.json +++ b/tests/cassettes/WorksheetTest.test_worksheet_update_index.json @@ -22,6 +22,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "113" ], @@ -39,823 +42,55 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:20:59 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "content-length": [ - "200" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw\",\n \"name\": \"Test WorksheetTest test_worksheet_update_index\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:21:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3344" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:21:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3344" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw/values/%27Sheet1%27:clear", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" + "Origin, X-Origin" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:21:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_sheet\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "147" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:21:01 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "385" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1563411409,\n \"title\": \"test_sheet\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_sheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "149" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:21:01 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "386" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 168293780,\n \"title\": \"test_sheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:21:01 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3841" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1563411409,\n \"title\": \"test_sheet\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 168293780,\n \"title\": \"test_sheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 168293780, \"index\": 0}, \"fields\": \"index\"}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "112" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:21:01 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:21:01 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3841" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 168293780,\n \"title\": \"test_sheet 2\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1563411409,\n \"title\": \"test_sheet\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1POwxDXP7m27I0bawPmAnH7vKM4ITBnb5dIxtzV4DWxw?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:21:02 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_worksheet_update_index\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "113" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:02:23 GMT" + "Tue, 25 Jul 2023 15:46:57 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "200" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"name\": \"Test WorksheetTest test_worksheet_update_index\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E\",\n \"name\": \"Test WorksheetTest test_worksheet_update_index\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -887,8 +122,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -896,25 +133,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:23 GMT" + "Tue, 25 Jul 2023 15:46:57 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -924,14 +159,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -963,55 +198,55 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Date": [ - "Thu, 20 Jul 2023 09:02:23 GMT" + "Tue, 25 Jul 2023 15:46:57 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "210" ] }, "body": { - "string": "{\n \"id\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"name\": \"Test WorksheetTest test_worksheet_update_index\",\n \"createdTime\": \"2023-07-20T09:02:21.650Z\",\n \"modifiedTime\": \"2023-07-20T09:02:22.401Z\"\n}\n" + "string": "{\n \"id\": \"1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E\",\n \"name\": \"Test WorksheetTest test_worksheet_update_index\",\n \"createdTime\": \"2023-07-25T15:46:54.885Z\",\n \"modifiedTime\": \"2023-07-25T15:46:54.905Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1043,8 +278,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1052,25 +289,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:24 GMT" + "Tue, 25 Jul 2023 15:46:58 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1080,14 +315,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -1122,8 +357,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1131,25 +368,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:24 GMT" + "Tue, 25 Jul 2023 15:46:58 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1159,14 +394,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_sheet\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", "headers": { "User-Agent": [ @@ -1204,8 +439,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1213,42 +450,40 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:24 GMT" + "Tue, 25 Jul 2023 15:46:58 GMT" ], "X-Content-Type-Options": [ "nosniff" ], "content-length": [ - "385" + "384" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1128614081,\n \"title\": \"test_sheet\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 155988897,\n \"title\": \"test_sheet\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_sheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 100, \"columnCount\": 100}}}}]}", "headers": { "User-Agent": [ @@ -1286,8 +521,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1295,25 +532,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:25 GMT" + "Tue, 25 Jul 2023 15:46:58 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1323,14 +558,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 202284930,\n \"title\": \"test_sheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 905329856,\n \"title\": \"test_sheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1362,8 +597,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1371,43 +608,41 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:25 GMT" + "Tue, 25 Jul 2023 15:46:59 GMT" ], "X-Content-Type-Options": [ "nosniff" ], "content-length": [ - "3841" + "3840" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1128614081,\n \"title\": \"test_sheet\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 202284930,\n \"title\": \"test_sheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 155988897,\n \"title\": \"test_sheet\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 905329856,\n \"title\": \"test_sheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 202284930, \"index\": 0}, \"fields\": \"index\"}}]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 905329856, \"index\": 0}, \"fields\": \"index\"}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -1444,8 +679,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1453,25 +690,23 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:25 GMT" + "Tue, 25 Jul 2023 15:46:59 GMT" ], "X-Content-Type-Options": [ "nosniff" @@ -1481,14 +716,14 @@ ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1520,8 +755,10 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Cache-Control": [ "private" @@ -1529,42 +766,40 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Transfer-Encoding": [ "chunked" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:25 GMT" + "Tue, 25 Jul 2023 15:46:59 GMT" ], "X-Content-Type-Options": [ "nosniff" ], "content-length": [ - "3841" + "3840" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 202284930,\n \"title\": \"test_sheet 2\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1128614081,\n \"title\": \"test_sheet\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_worksheet_update_index\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 905329856,\n \"title\": \"test_sheet 2\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 155988897,\n \"title\": \"test_sheet\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 100,\n \"columnCount\": 100\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1Z9g5CYLytClA_MJHj3BRJsKxfWmL59RUwNvouki42Uk?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1fhudDNou5hhsGqfr0TM-mntLXzzD73G1x83vstdwX6E?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1599,41 +834,41 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "X-XSS-Protection": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Pragma": [ - "no-cache" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Content-Length": [ "0" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Date": [ - "Thu, 20 Jul 2023 09:02:26 GMT" + "Tue, 25 Jul 2023 15:47:00 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { From ba162326543dd487986808f18f46562f52211e48 Mon Sep 17 00:00:00 2001 From: alifeee Date: Tue, 25 Jul 2023 16:48:28 +0100 Subject: [PATCH 19/28] add back `refresh_lastUpdateTime` method and deprecation todos --- gspread/spreadsheet.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gspread/spreadsheet.py b/gspread/spreadsheet.py index b697cd453..4d959672d 100644 --- a/gspread/spreadsheet.py +++ b/gspread/spreadsheet.py @@ -745,11 +745,16 @@ def list_protected_ranges(self, sheetid): return sheet.get("protectedRanges", []) - def get_lastUpdateTime(self): + def refresh_lastUpdateTime(self) -> None: + """Updates the cached value of lastUpdateTime.""" + # remove this and the below upon deprecation of lastUpdateTime @property + self._properties["modifiedTime"] = self.get_lastUpdateTime() + + def get_lastUpdateTime(self) -> str: """Get the lastUpdateTime metadata from the Drive API. Also updates the cached value in the _properties dict. """ metadata = self.client.get_file_drive_metadata(self.id) - # remove this upon deprecation of lastUpdateTime @property + # remove next line and the above upon deprecation of lastUpdateTime @property self._properties["modifiedTime"] = metadata["modifiedTime"] return metadata["modifiedTime"] From 47353709bd879b9d94df51cb1b7836790985fb96 Mon Sep 17 00:00:00 2001 From: alifeee Date: Tue, 8 Aug 2023 13:39:53 +0100 Subject: [PATCH 20/28] remove updateTime test it fills tests with warnings if it is deprecated it is not needed --- ...preadsheetTest.test_creationTime_prop.json | 327 ++++++++++++++++++ tests/spreadsheet_test.py | 19 +- 2 files changed, 330 insertions(+), 16 deletions(-) create mode 100644 tests/cassettes/SpreadsheetTest.test_creationTime_prop.json diff --git a/tests/cassettes/SpreadsheetTest.test_creationTime_prop.json b/tests/cassettes/SpreadsheetTest.test_creationTime_prop.json new file mode 100644 index 000000000..815f9db24 --- /dev/null +++ b/tests/cassettes/SpreadsheetTest.test_creationTime_prop.json @@ -0,0 +1,327 @@ +{ + "version": 1, + "interactions": [ + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_creationTime_prop\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "110" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Date": [ + "Tue, 08 Aug 2023 12:38:58 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "197" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1U6fMIS3rMPQGI64eYeM2uctpeH-CoHngX-y0JWvOW0E\",\n \"name\": \"Test SpreadsheetTest test_creationTime_prop\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1U6fMIS3rMPQGI64eYeM2uctpeH-CoHngX-y0JWvOW0E?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-XSS-Protection": [ + "0" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Date": [ + "Tue, 08 Aug 2023 12:38:59 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1U6fMIS3rMPQGI64eYeM2uctpeH-CoHngX-y0JWvOW0E\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_creationTime_prop\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1U6fMIS3rMPQGI64eYeM2uctpeH-CoHngX-y0JWvOW0E/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1U6fMIS3rMPQGI64eYeM2uctpeH-CoHngX-y0JWvOW0E?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Date": [ + "Tue, 08 Aug 2023 12:39:00 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "207" + ] + }, + "body": { + "string": "{\n \"id\": \"1U6fMIS3rMPQGI64eYeM2uctpeH-CoHngX-y0JWvOW0E\",\n \"name\": \"Test SpreadsheetTest test_creationTime_prop\",\n \"createdTime\": \"2023-08-08T12:38:56.973Z\",\n \"modifiedTime\": \"2023-08-08T12:38:57.752Z\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1U6fMIS3rMPQGI64eYeM2uctpeH-CoHngX-y0JWvOW0E?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Date": [ + "Tue, 08 Aug 2023 12:39:00 GMT" + ], + "Content-Type": [ + "text/html" + ], + "Server": [ + "ESF" + ], + "Content-Length": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "body": { + "string": "" + } + } + } + ] +} diff --git a/tests/spreadsheet_test.py b/tests/spreadsheet_test.py index 236feea10..beedf7521 100644 --- a/tests/spreadsheet_test.py +++ b/tests/spreadsheet_test.py @@ -203,20 +203,7 @@ def test_get_lastUpdateTime(self): self.assertNotEqual(lastUpdateTime_before, lastUpdateTime_after) @pytest.mark.vcr() - def test_lastUpdateTime_prop(self): + def test_creationTime_prop(self): """test lastUpdateTime property behaviour""" - lastUpdateTime_before_prop = self.spreadsheet.lastUpdateTime - - time.sleep(0.01) - self.spreadsheet.update_title("🎊 Updated Title #123 🎉") - - lastUpdateTime_after_prop_initial = self.spreadsheet.lastUpdateTime - lastUpdateTime_after = self.spreadsheet.get_lastUpdateTime() - lastUpdateTime_after_prop_final = self.spreadsheet.lastUpdateTime - - # lastUpdateTime prop should be immediately available - self.assertIsNotNone(lastUpdateTime_before_prop) - - # prop is updated by function (side effect) - self.assertNotEqual(lastUpdateTime_after_prop_initial, lastUpdateTime_after) - self.assertEqual(lastUpdateTime_after_prop_final, lastUpdateTime_after) + creationTime = self.spreadsheet.creationTime + self.assertIsNotNone(creationTime) From 8bc041511a88123d0afcf76f738e880b59afcdac Mon Sep 17 00:00:00 2001 From: Daniel Flanagan <37907774+FlantasticDan@users.noreply.github.com> Date: Tue, 8 Aug 2023 16:09:19 -0700 Subject: [PATCH 21/28] fixed #1267 --- gspread/spreadsheet.py | 12 ++++++------ tests/spreadsheet_test.py | 8 +++++--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/gspread/spreadsheet.py b/gspread/spreadsheet.py index 74852aae0..8a092197b 100644 --- a/gspread/spreadsheet.py +++ b/gspread/spreadsheet.py @@ -268,11 +268,11 @@ def get_worksheet(self, index): except (KeyError, IndexError): raise WorksheetNotFound("index {} not found".format(index)) - def get_worksheet_by_id(self, id): + def get_worksheet_by_id(self, id: str | int): """Returns a worksheet with specified `worksheet id`. :param id: The id of a worksheet. it can be seen in the url as the value of the parameter 'gid'. - :type id: int + :type id: str | int :returns: an instance of :class:`gspread.worksheet.Worksheet`. :raises: @@ -287,11 +287,11 @@ def get_worksheet_by_id(self, id): try: item = finditem( - lambda x: x["properties"]["sheetId"] == id, + lambda x: x["properties"]["sheetId"] == int(id), sheet_data["sheets"], ) return Worksheet(self, item["properties"]) - except (StopIteration, KeyError): + except (StopIteration, KeyError, ValueError): raise WorksheetNotFound("id {} not found".format(id)) def worksheets(self, exclude_hidden: bool = False): @@ -437,12 +437,12 @@ def del_worksheet(self, worksheet): return self.batch_update(body) - def del_worksheet_by_id(self, worksheet_id: str): + def del_worksheet_by_id(self, worksheet_id: int | str): """ Deletes a Worksheet by id """ - body = {"requests": [{"deleteSheet": {"sheetId": worksheet_id}}]} + body = {"requests": [{"deleteSheet": {"sheetId": str(worksheet_id)}}]} return self.batch_update(body) diff --git a/tests/spreadsheet_test.py b/tests/spreadsheet_test.py index 5bf98cf63..c42bf1d19 100644 --- a/tests/spreadsheet_test.py +++ b/tests/spreadsheet_test.py @@ -36,10 +36,12 @@ def test_get_worksheet(self): sheet1 = self.spreadsheet.get_worksheet(0) self.assertTrue(isinstance(sheet1, gspread.Worksheet)) - @pytest.mark.vcr() + @pytest.mark.vcr(allow_playback_repeats=True) def test_get_worksheet_by_id(self): - sheet1 = self.spreadsheet.get_worksheet_by_id(0) - self.assertTrue(isinstance(sheet1, gspread.Worksheet)) + sheet1_by_int = self.spreadsheet.get_worksheet_by_id(0) + sheet1_by_str = self.spreadsheet.get_worksheet_by_id(0) + self.assertTrue(isinstance(sheet1_by_int, gspread.Worksheet)) + self.assertTrue(isinstance(sheet1_by_str, gspread.Worksheet)) @pytest.mark.vcr() def test_worksheet(self): From 6e72631cbf4c4e18ee8b3221cf3ad4587ab8ecb3 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan <37907774+FlantasticDan@users.noreply.github.com> Date: Wed, 9 Aug 2023 09:40:27 -0700 Subject: [PATCH 22/28] improved worksheet id handling + tests --- gspread/spreadsheet.py | 22 ++++++++++++++++------ tests/spreadsheet_test.py | 6 +++--- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/gspread/spreadsheet.py b/gspread/spreadsheet.py index 8a092197b..1e027e53c 100644 --- a/gspread/spreadsheet.py +++ b/gspread/spreadsheet.py @@ -5,6 +5,7 @@ This module contains common spreadsheets' models. """ +from typing import Union from .exceptions import WorksheetNotFound from .urls import ( @@ -268,7 +269,7 @@ def get_worksheet(self, index): except (KeyError, IndexError): raise WorksheetNotFound("index {} not found".format(index)) - def get_worksheet_by_id(self, id: str | int): + def get_worksheet_by_id(self, id: Union[str, int]): """Returns a worksheet with specified `worksheet id`. :param id: The id of a worksheet. it can be seen in the url as the value of the parameter 'gid'. @@ -285,14 +286,19 @@ def get_worksheet_by_id(self, id: str | int): """ sheet_data = self.fetch_sheet_metadata() + try: + worksheet_id_int = int(id) + except ValueError as ex: + raise ValueError("id should be int") from ex + try: item = finditem( - lambda x: x["properties"]["sheetId"] == int(id), + lambda x: x["properties"]["sheetId"] == worksheet_id_int, sheet_data["sheets"], ) return Worksheet(self, item["properties"]) - except (StopIteration, KeyError, ValueError): - raise WorksheetNotFound("id {} not found".format(id)) + except (StopIteration, KeyError): + raise WorksheetNotFound("id {} not found".format(worksheet_id_int)) def worksheets(self, exclude_hidden: bool = False): """Returns a list of all :class:`worksheets ` @@ -437,12 +443,16 @@ def del_worksheet(self, worksheet): return self.batch_update(body) - def del_worksheet_by_id(self, worksheet_id: int | str): + def del_worksheet_by_id(self, worksheet_id: Union[str, int]): """ Deletes a Worksheet by id """ + try: + worksheet_id_int = int(worksheet_id) + except ValueError as ex: + raise ValueError("id should be int") from ex - body = {"requests": [{"deleteSheet": {"sheetId": str(worksheet_id)}}]} + body = {"requests": [{"deleteSheet": {"sheetId": worksheet_id_int}}]} return self.batch_update(body) diff --git a/tests/spreadsheet_test.py b/tests/spreadsheet_test.py index c42bf1d19..b4f93aa84 100644 --- a/tests/spreadsheet_test.py +++ b/tests/spreadsheet_test.py @@ -36,10 +36,10 @@ def test_get_worksheet(self): sheet1 = self.spreadsheet.get_worksheet(0) self.assertTrue(isinstance(sheet1, gspread.Worksheet)) - @pytest.mark.vcr(allow_playback_repeats=True) + @pytest.mark.vcr() def test_get_worksheet_by_id(self): sheet1_by_int = self.spreadsheet.get_worksheet_by_id(0) - sheet1_by_str = self.spreadsheet.get_worksheet_by_id(0) + sheet1_by_str = self.spreadsheet.get_worksheet_by_id("0") self.assertTrue(isinstance(sheet1_by_int, gspread.Worksheet)) self.assertTrue(isinstance(sheet1_by_str, gspread.Worksheet)) @@ -120,7 +120,7 @@ def test_add_del_worksheet(self): # Delete self.spreadsheet.del_worksheet(worksheet1) - self.spreadsheet.del_worksheet(worksheet2) + self.spreadsheet.del_worksheet_by_id(worksheet2.id) worksheet_list = self.spreadsheet.worksheets() self.assertEqual(len(worksheet_list), 1) From e38f3da736e8bf35e2f7986af3acb5a10f6a2b25 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan <37907774+FlantasticDan@users.noreply.github.com> Date: Wed, 9 Aug 2023 09:40:46 -0700 Subject: [PATCH 23/28] updated worksheet id test cassettes --- ...preadsheetTest.test_add_del_worksheet.json | 801 ++++++++++++++++++ ...eadsheetTest.test_get_worksheet_by_id.json | 608 +++++++++++-- 2 files changed, 1346 insertions(+), 63 deletions(-) diff --git a/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json b/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json index bded70b19..c1787ed28 100644 --- a/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json +++ b/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json @@ -768,6 +768,807 @@ "string": "" } } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_add_del_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "110" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Wed, 09 Aug 2023 16:33:21 GMT" + ], + "Server": [ + "ESF" + ], + "X-XSS-Protection": [ + "0" + ], + "content-length": [ + "197" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Cache-Control": [ + "private" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Date": [ + "Wed, 09 Aug 2023 16:33:22 GMT" + ], + "Server": [ + "ESF" + ], + "X-XSS-Protection": [ + "0" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Cache-Control": [ + "private" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Date": [ + "Wed, 09 Aug 2023 16:33:22 GMT" + ], + "Server": [ + "ESF" + ], + "X-XSS-Protection": [ + "0" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Cache-Control": [ + "private" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Date": [ + "Wed, 09 Aug 2023 16:33:22 GMT" + ], + "Server": [ + "ESF" + ], + "X-XSS-Protection": [ + "0" + ], + "content-length": [ + "395" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1794444944,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "x-l2-request-path": [ + "l2-managed-6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Cache-Control": [ + "private" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Date": [ + "Wed, 09 Aug 2023 16:33:22 GMT" + ], + "Server": [ + "ESF" + ], + "X-XSS-Protection": [ + "0" + ], + "content-length": [ + "395" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1775599744,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Cache-Control": [ + "private" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Date": [ + "Wed, 09 Aug 2023 16:33:23 GMT" + ], + "Server": [ + "ESF" + ], + "X-XSS-Protection": [ + "0" + ], + "content-length": [ + "3857" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1794444944,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1775599744,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 1794444944}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "56" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Cache-Control": [ + "private" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Date": [ + "Wed, 09 Aug 2023 16:33:23 GMT" + ], + "Server": [ + "ESF" + ], + "X-XSS-Protection": [ + "0" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 1775599744}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "56" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Cache-Control": [ + "private" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Date": [ + "Wed, 09 Aug 2023 16:33:23 GMT" + ], + "Server": [ + "ESF" + ], + "X-XSS-Protection": [ + "0" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Cache-Control": [ + "private" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Date": [ + "Wed, 09 Aug 2023 16:33:23 GMT" + ], + "Server": [ + "ESF" + ], + "X-XSS-Protection": [ + "0" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Content-Length": [ + "0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Content-Type": [ + "text/html" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Wed, 09 Aug 2023 16:33:24 GMT" + ], + "Server": [ + "ESF" + ], + "X-XSS-Protection": [ + "0" + ] + }, + "body": { + "string": "" + } + } } ] } diff --git a/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json b/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json index 272225ab0..69c146369 100644 --- a/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json +++ b/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json @@ -22,6 +22,403 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "112" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Wed, 09 Aug 2023 16:31:55 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "content-length": [ + "199" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Wed, 09 Aug 2023 16:31:56 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Wed, 09 Aug 2023 16:31:56 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Wed, 09 Aug 2023 16:31:56 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "ESF" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Date": [ + "Wed, 09 Aug 2023 16:31:57 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Server": [ + "ESF" + ], + "Content-Type": [ + "text/html" + ] + }, + "body": { + "string": "" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "112" ], @@ -39,14 +436,11 @@ "message": "OK" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Vary": [ "Origin, X-Origin" @@ -54,40 +448,43 @@ "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], "X-Content-Type-Options": [ "nosniff" ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "X-Frame-Options": [ "SAMEORIGIN" ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], "Date": [ - "Thu, 08 Jun 2023 22:15:17 GMT" + "Wed, 09 Aug 2023 16:32:46 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "X-XSS-Protection": [ + "0" ], "content-length": [ "199" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,6 +502,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -116,11 +516,11 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Vary": [ "Origin", @@ -130,37 +530,37 @@ "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], "X-Content-Type-Options": [ "nosniff" ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Date": [ - "Thu, 08 Jun 2023 22:15:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Wed, 09 Aug 2023 16:32:47 GMT" ], - "Cache-Control": [ - "private" + "X-XSS-Protection": [ + "0" ], "content-length": [ "3343" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -178,6 +578,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "authorization": [ "" ] @@ -189,12 +592,88 @@ "message": "OK" }, "headers": { + "Cache-Control": [ + "private" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Server": [ + "ESF" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Transfer-Encoding": [ "chunked" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Date": [ + "Wed, 09 Aug 2023 16:32:47 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Cache-Control": [ + "private" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "Vary": [ "Origin", "X-Origin", @@ -203,37 +682,37 @@ "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], "X-Content-Type-Options": [ "nosniff" ], + "Transfer-Encoding": [ + "chunked" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Date": [ - "Thu, 08 Jun 2023 22:15:18 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Wed, 09 Aug 2023 16:32:47 GMT" ], - "Cache-Control": [ - "private" + "X-XSS-Protection": [ + "0" ], "content-length": [ "3343" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1i_y_g5IO9Wuqt5F9z6DKtt8tn60zVkjjVKsaDS9aulc?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -251,6 +730,9 @@ "x-goog-api-client": [ "cred-type/sa" ], + "x-identity-trust-boundary": [ + "0" + ], "Content-Length": [ "0" ], @@ -265,14 +747,11 @@ "message": "No Content" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "text/html" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], - "Content-Length": [ - "0" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Vary": [ "Origin, X-Origin" @@ -280,26 +759,29 @@ "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" - ], "X-Content-Type-Options": [ "nosniff" ], - "Pragma": [ - "no-cache" + "Content-Length": [ + "0" + ], + "Content-Type": [ + "text/html" ], "X-Frame-Options": [ "SAMEORIGIN" ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], "Date": [ - "Thu, 08 Jun 2023 22:15:19 GMT" + "Wed, 09 Aug 2023 16:32:48 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "X-XSS-Protection": [ + "0" ] }, "body": { From 2b9ba0e7fce1626b9aea4df5c881e89f8492a27b Mon Sep 17 00:00:00 2001 From: Daniel Flanagan <37907774+FlantasticDan@users.noreply.github.com> Date: Wed, 9 Aug 2023 10:16:11 -0700 Subject: [PATCH 24/28] new worksheet id test cassettes --- ...preadsheetTest.test_add_del_worksheet.json | 1104 +++-------------- ...eadsheetTest.test_get_worksheet_by_id.json | 536 ++------ 2 files changed, 239 insertions(+), 1401 deletions(-) diff --git a/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json b/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json index c1787ed28..a0ee8bddf 100644 --- a/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json +++ b/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json @@ -22,547 +22,11 @@ "x-goog-api-client": [ "cred-type/sa" ], - "Content-Length": [ - "110" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "content-length": [ - "197" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:03 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "157" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "393" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 69994548,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "157" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "393" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 16730616,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3853" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 69994548,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 16730616,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 69994548}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ - "54" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:04 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 16730616}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" + "x-identity-trust-boundary": [ + "0" ], "Content-Length": [ - "54" + "110" ], "Content-Type": [ "application/json" @@ -578,258 +42,35 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], - "X-XSS-Protection": [ - "0" + "Pragma": [ + "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:05 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Date": [ - "Thu, 08 Jun 2023 22:15:05 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1lTDOBYGOoI8N0avxVNCJ93NuMFC3PkzPaN78snqlsXA?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" + "Wed, 09 Aug 2023 17:15:22 GMT" ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "Content-Length": [ + "X-XSS-Protection": [ "0" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Content-Type": [ - "text/html" - ], - "Content-Length": [ - "0" - ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Thu, 08 Jun 2023 22:15:06 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_add_del_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "110" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Pragma": [ - "no-cache" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Vary": [ - "Origin, X-Origin" + "Server": [ + "ESF" ], "Content-Type": [ "application/json; charset=UTF-8" @@ -837,28 +78,19 @@ "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Date": [ - "Wed, 09 Aug 2023 16:33:21 GMT" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], "content-length": [ "197" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -890,51 +122,51 @@ "message": "OK" }, "headers": { + "Cache-Control": [ + "private" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Cache-Control": [ - "private" + "Date": [ + "Wed, 09 Aug 2023 17:15:22 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Date": [ - "Wed, 09 Aug 2023 16:33:22 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3341" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -966,51 +198,51 @@ "message": "OK" }, "headers": { + "Cache-Control": [ + "private" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Cache-Control": [ - "private" + "Date": [ + "Wed, 09 Aug 2023 17:15:23 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Date": [ - "Wed, 09 Aug 2023 16:33:22 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3341" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", "headers": { "User-Agent": [ @@ -1048,51 +280,54 @@ "message": "OK" }, "headers": { + "Cache-Control": [ + "private" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Cache-Control": [ - "private" + "Date": [ + "Wed, 09 Aug 2023 17:15:23 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Date": [ - "Wed, 09 Aug 2023 16:33:22 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" + "x-l2-request-path": [ + "l2-managed-6" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "395" + "394" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1794444944,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 271196930,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", "headers": { "User-Agent": [ @@ -1130,54 +365,51 @@ "message": "OK" }, "headers": { - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Cache-Control": [ - "private" + "Date": [ + "Wed, 09 Aug 2023 17:15:23 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Date": [ - "Wed, 09 Aug 2023 16:33:22 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "395" + "394" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1775599744,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 875913598,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1209,52 +441,52 @@ "message": "OK" }, "headers": { + "Cache-Control": [ + "private" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Cache-Control": [ - "private" + "Date": [ + "Wed, 09 Aug 2023 17:15:23 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Date": [ - "Wed, 09 Aug 2023 16:33:23 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "3857" + "3855" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1794444944,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1775599744,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 271196930,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 875913598,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 1794444944}}]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 271196930}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -1275,7 +507,7 @@ "0" ], "Content-Length": [ - "56" + "55" ], "Content-Type": [ "application/json" @@ -1291,52 +523,52 @@ "message": "OK" }, "headers": { + "Cache-Control": [ + "private" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Cache-Control": [ - "private" + "Date": [ + "Wed, 09 Aug 2023 17:15:23 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Date": [ - "Wed, 09 Aug 2023 16:33:23 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 1775599744}}]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 875913598}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -1357,7 +589,7 @@ "0" ], "Content-Length": [ - "56" + "55" ], "Content-Type": [ "application/json" @@ -1373,51 +605,51 @@ "message": "OK" }, "headers": { + "Cache-Control": [ + "private" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Cache-Control": [ - "private" + "Date": [ + "Wed, 09 Aug 2023 17:15:24 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Date": [ - "Wed, 09 Aug 2023 16:33:23 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -1449,51 +681,51 @@ "message": "OK" }, "headers": { + "Cache-Control": [ + "private" + ], "X-Content-Type-Options": [ "nosniff" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Cache-Control": [ - "private" + "Date": [ + "Wed, 09 Aug 2023 17:15:24 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Date": [ - "Wed, 09 Aug 2023 16:33:23 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Server": [ "ESF" ], - "X-XSS-Protection": [ - "0" + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3341" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1P-frWjLN4D-3av56L4jgIQCSZa9nQCPH8S_Lu8b8_Ew?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1LErLZTBNHRuQt0OG0lU7_4TO0tjdjzAj-tggh8j-SsU?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1528,41 +760,41 @@ "message": "No Content" }, "headers": { - "Content-Length": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 09 Aug 2023 17:15:24 GMT" + ], + "X-XSS-Protection": [ + "0" + ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "Content-Length": [ + "0" + ], "Vary": [ "Origin, X-Origin" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Server": [ + "ESF" + ], "Content-Type": [ "text/html" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Wed, 09 Aug 2023 16:33:24 GMT" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" ] }, "body": { diff --git a/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json b/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json index 69c146369..98548bcbe 100644 --- a/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json +++ b/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json @@ -42,131 +42,55 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "X-XSS-Protection": [ - "0" + "Transfer-Encoding": [ + "chunked" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Wed, 09 Aug 2023 16:31:55 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Server": [ + "ESF" ], "Vary": [ "Origin, X-Origin" ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" + "Pragma": [ + "no-cache" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "content-length": [ - "199" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "private" - ], "X-XSS-Protection": [ "0" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Date": [ - "Wed, 09 Aug 2023 16:31:56 GMT" + "Wed, 09 Aug 2023 17:15:11 GMT" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "3343" + "199" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU/edit\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"16X0W0T4ZHbwxxkccblb5E0yEmgqmDEktSce8X810ajI\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16X0W0T4ZHbwxxkccblb5E0yEmgqmDEktSce8X810ajI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -198,99 +122,17 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], "Cache-Control": [ "private" ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Wed, 09 Aug 2023 16:31:56 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "Transfer-Encoding": [ "chunked" ], - "Server": [ - "ESF" - ], - "content-length": [ - "3343" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "X-Content-Type-Options": [ "nosniff" ], - "Cache-Control": [ - "private" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Wed, 09 Aug 2023 16:31:56 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Server": [ + "ESF" ], "Vary": [ "Origin", @@ -300,191 +142,31 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "content-length": [ - "3343" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1SjI77azNK0TYiyDU45GKBLuRU82j9LxZaujxMciDRtU?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Pragma": [ - "no-cache" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], "X-XSS-Protection": [ "0" ], - "Content-Length": [ - "0" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Date": [ - "Wed, 09 Aug 2023 16:31:57 GMT" + "Wed, 09 Aug 2023 17:15:11 GMT" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "Content-Type": [ - "text/html" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "112" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Vary": [ - "Origin, X-Origin" - ], - "Server": [ - "ESF" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Date": [ - "Wed, 09 Aug 2023 16:32:46 GMT" - ], - "Pragma": [ - "no-cache" - ], - "X-XSS-Protection": [ - "0" - ], "content-length": [ - "199" + "3343" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"spreadsheetId\": \"16X0W0T4ZHbwxxkccblb5E0yEmgqmDEktSce8X810ajI\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16X0W0T4ZHbwxxkccblb5E0yEmgqmDEktSce8X810ajI/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16X0W0T4ZHbwxxkccblb5E0yEmgqmDEktSce8X810ajI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -519,124 +201,48 @@ "Cache-Control": [ "private" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Server": [ - "ESF" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Date": [ - "Wed, 09 Aug 2023 16:32:47 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "content-length": [ - "3343" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" - ], "Content-Type": [ "application/json; charset=UTF-8" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "X-XSS-Protection": [ + "0" ], "Date": [ - "Wed, 09 Aug 2023 16:32:47 GMT" + "Wed, 09 Aug 2023 17:15:11 GMT" ], - "X-XSS-Protection": [ - "0" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3343" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"16X0W0T4ZHbwxxkccblb5E0yEmgqmDEktSce8X810ajI\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16X0W0T4ZHbwxxkccblb5E0yEmgqmDEktSce8X810ajI/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16X0W0T4ZHbwxxkccblb5E0yEmgqmDEktSce8X810ajI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -671,48 +277,48 @@ "Cache-Control": [ "private" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Transfer-Encoding": [ + "chunked" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" + "X-Content-Type-Options": [ + "nosniff" ], "Server": [ "ESF" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Transfer-Encoding": [ - "chunked" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "X-XSS-Protection": [ + "0" ], "Date": [ - "Wed, 09 Aug 2023 16:32:47 GMT" + "Wed, 09 Aug 2023 17:15:12 GMT" ], - "X-XSS-Protection": [ - "0" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3343" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"16X0W0T4ZHbwxxkccblb5E0yEmgqmDEktSce8X810ajI\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16X0W0T4ZHbwxxkccblb5E0yEmgqmDEktSce8X810ajI/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1FHar5gBXs_wnoglGOua_fUChd8cB7rqqa7O0-_eiP80?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/16X0W0T4ZHbwxxkccblb5E0yEmgqmDEktSce8X810ajI?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -750,38 +356,38 @@ "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Content-Length": [ + "0" ], - "Vary": [ - "Origin, X-Origin" + "X-Content-Type-Options": [ + "nosniff" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Server": [ "ESF" ], - "X-Content-Type-Options": [ - "nosniff" + "Vary": [ + "Origin, X-Origin" ], - "Content-Length": [ - "0" + "Pragma": [ + "no-cache" ], "Content-Type": [ "text/html" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-XSS-Protection": [ + "0" ], "Date": [ - "Wed, 09 Aug 2023 16:32:48 GMT" + "Wed, 09 Aug 2023 17:15:12 GMT" ], - "Pragma": [ - "no-cache" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "X-XSS-Protection": [ - "0" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ] }, "body": { From 1ba340c29bfb39d4551c3ba4e376f71a3419a748 Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 9 Aug 2023 20:18:31 +0100 Subject: [PATCH 25/28] update test cassette --- ...eadsheetTest.test_get_worksheet_by_id.json | 671 ++++++++++++------ 1 file changed, 471 insertions(+), 200 deletions(-) diff --git a/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json b/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json index 489bc6c28..d1f5cfa36 100644 --- a/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json +++ b/tests/cassettes/SpreadsheetTest.test_get_worksheet_by_id.json @@ -1,208 +1,479 @@ { - "version": 1, - "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "Content-Length": ["112"], - "Content-Type": ["application/json"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:56 GMT"], - "X-Content-Type-Options": ["nosniff"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["no-cache, no-store, max-age=0, must-revalidate"], - "X-Content-Type-Options": ["nosniff"], - "Pragma": ["no-cache"], - "Vary": ["Origin, X-Origin"], - "Transfer-Encoding": ["chunked"], - "Expires": ["Mon, 01 Jan 1990 00:00:00 GMT"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["199"] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:57 GMT"], - "X-Content-Type-Options": ["nosniff"], - "Server": ["ESF"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["private"], - "X-Content-Type-Options": ["nosniff"], - "Vary": ["Origin", "X-Origin", "Referer"], - "Transfer-Encoding": ["chunked"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["3343"] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" + "version": 1, + "interactions": [ + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "112" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Date": [ + "Wed, 09 Aug 2023 19:17:57 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "content-length": [ + "199" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1jpzjRnRdwSfOpaEZl154V2bXuY28qze0YREG6qCJZ_I\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:57 GMT"], - "X-Content-Type-Options": ["nosniff"], - "Server": ["ESF"], - "X-XSS-Protection": ["0"], - "Content-Type": ["application/json; charset=UTF-8"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["no-cache, no-store, max-age=0, must-revalidate"], - "Date": ["Wed, 09 Aug 2023 17:15:11 GMT"], - "Pragma": ["no-cache"], - "Vary": ["Origin, X-Origin"], - "Transfer-Encoding": ["chunked"], - "Expires": ["Mon, 01 Jan 1990 00:00:00 GMT"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["209"] + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jpzjRnRdwSfOpaEZl154V2bXuY28qze0YREG6qCJZ_I?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Date": [ + "Wed, 09 Aug 2023 19:17:58 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jpzjRnRdwSfOpaEZl154V2bXuY28qze0YREG6qCJZ_I\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jpzjRnRdwSfOpaEZl154V2bXuY28qze0YREG6qCJZ_I/edit\"\n}\n" + } + } }, - "body": { - "string": "{\n \"id\": \"1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"createdTime\": \"2023-07-25T15:38:54.531Z\",\n \"modifiedTime\": \"2023-07-25T15:38:55.718Z\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA?includeGridData=false", - "body": null, - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1jpzjRnRdwSfOpaEZl154V2bXuY28qze0YREG6qCJZ_I?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Date": [ + "Wed, 09 Aug 2023 19:17:58 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "content-length": [ + "209" + ] + }, + "body": { + "string": "{\n \"id\": \"1jpzjRnRdwSfOpaEZl154V2bXuY28qze0YREG6qCJZ_I\",\n \"name\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"createdTime\": \"2023-08-09T19:17:55.684Z\",\n \"modifiedTime\": \"2023-08-09T19:17:55.702Z\"\n}\n" + } + } }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:58 GMT"], - "Content-Type": ["application/json; charset=UTF-8"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["private"], - "X-Content-Type-Options": ["nosniff"], - "Vary": ["Origin", "X-Origin", "Referer"], - "Transfer-Encoding": ["chunked"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["3343"] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1cROVEPJhE09q88eO9Q87lizhMG1qnn4d9ExVZC1OnFA?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "Content-Length": ["0"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jpzjRnRdwSfOpaEZl154V2bXuY28qze0YREG6qCJZ_I?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Date": [ + "Wed, 09 Aug 2023 19:17:59 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jpzjRnRdwSfOpaEZl154V2bXuY28qze0YREG6qCJZ_I\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jpzjRnRdwSfOpaEZl154V2bXuY28qze0YREG6qCJZ_I/edit\"\n}\n" + } + } }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:59 GMT"], - "Content-Type": ["text/html"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Content-Length": ["0"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["no-cache, no-store, max-age=0, must-revalidate"], - "X-Content-Type-Options": ["nosniff"], - "Expires": ["Mon, 01 Jan 1990 00:00:00 GMT"], - "Server": ["ESF"], - "Vary": ["Origin, X-Origin"], - "Pragma": ["no-cache"], - "Vary": ["Origin, X-Origin"], - "Expires": ["Mon, 01 Jan 1990 00:00:00 GMT"], - "X-Frame-Options": ["SAMEORIGIN"] + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1jpzjRnRdwSfOpaEZl154V2bXuY28qze0YREG6qCJZ_I?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Date": [ + "Wed, 09 Aug 2023 19:17:59 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3343" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1jpzjRnRdwSfOpaEZl154V2bXuY28qze0YREG6qCJZ_I\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_get_worksheet_by_id\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1jpzjRnRdwSfOpaEZl154V2bXuY28qze0YREG6qCJZ_I/edit\"\n}\n" + } + } }, - "body": { - "string": "" + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1jpzjRnRdwSfOpaEZl154V2bXuY28qze0YREG6qCJZ_I?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Date": [ + "Wed, 09 Aug 2023 19:18:00 GMT" + ], + "Content-Type": [ + "text/html" + ], + "Content-Length": [ + "0" + ], + "Server": [ + "ESF" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ] + }, + "body": { + "string": "" + } + } } - } - } - ] + ] } From 9948003f532017bb9eb1874842758971c6635bd0 Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 9 Aug 2023 20:22:55 +0100 Subject: [PATCH 26/28] reorganise imports (for lint happiness) --- gspread/spreadsheet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gspread/spreadsheet.py b/gspread/spreadsheet.py index f4278ad62..ad3ceb763 100644 --- a/gspread/spreadsheet.py +++ b/gspread/spreadsheet.py @@ -5,9 +5,9 @@ This module contains common spreadsheets' models. """ -from typing import Union import warnings +from typing import Union from .exceptions import WorksheetNotFound from .urls import ( From f1e87942fd5b3071e22cece496b13e084f774eda Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 9 Aug 2023 20:29:53 +0100 Subject: [PATCH 27/28] add test for worksheet id as string/int --- ...preadsheetTest.test_add_del_worksheet.json | 3065 ++++++++++++++--- tests/spreadsheet_test.py | 7 +- 2 files changed, 2626 insertions(+), 446 deletions(-) diff --git a/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json b/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json index 1b49ec839..bc5c3d882 100644 --- a/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json +++ b/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json @@ -1,447 +1,2624 @@ { - "version": 1, - "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_add_del_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "Content-Length": ["110"], - "Content-Type": ["application/json"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:37 GMT"], - "Content-Type": ["application/json; charset=UTF-8"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["no-cache, no-store, max-age=0, must-revalidate"], - "X-Content-Type-Options": ["nosniff"], - "Pragma": ["no-cache"], - "Vary": ["Origin, X-Origin"], - "Transfer-Encoding": ["chunked"], - "Expires": ["Mon, 01 Jan 1990 00:00:00 GMT"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["197"] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:38 GMT"], - "Date": ["Wed, 09 Aug 2023 17:15:22 GMT"], - "X-XSS-Protection": ["0"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["private"], - "X-Content-Type-Options": ["nosniff"], - "Vary": ["Origin", "X-Origin", "Referer"], - "Transfer-Encoding": ["chunked"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["3341"] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:38 GMT"], - "Date": ["Wed, 09 Aug 2023 17:15:23 GMT"], - "X-XSS-Protection": ["0"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["no-cache, no-store, max-age=0, must-revalidate"], - "X-Content-Type-Options": ["nosniff"], - "Pragma": ["no-cache"], - "Vary": ["Origin, X-Origin"], - "Transfer-Encoding": ["chunked"], - "Expires": ["Mon, 01 Jan 1990 00:00:00 GMT"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["207"] - }, - "body": { - "string": "{\n \"id\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"createdTime\": \"2023-07-25T15:38:34.842Z\",\n \"modifiedTime\": \"2023-07-25T15:38:36.246Z\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:39 GMT"], - "Content-Type": ["application/json; charset=UTF-8"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["private"], - "X-Content-Type-Options": ["nosniff"], - "Vary": ["Origin", "X-Origin", "Referer"], - "Transfer-Encoding": ["chunked"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["3341"] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "Content-Length": ["157"], - "Content-Type": ["application/json"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:39 GMT"], - "Date": ["Wed, 09 Aug 2023 17:15:23 GMT"], - "X-XSS-Protection": ["0"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["private"], - "X-Content-Type-Options": ["nosniff"], - "Vary": ["Origin", "X-Origin", "Referer"], - "Transfer-Encoding": ["chunked"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["394"] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 654035640,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "Content-Length": ["157"], - "Content-Type": ["application/json"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:40 GMT"], - "Date": ["Wed, 09 Aug 2023 17:15:23 GMT"], - "X-XSS-Protection": ["0"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["private"], - "X-Content-Type-Options": ["nosniff"], - "Vary": ["Origin", "X-Origin", "Referer"], - "Transfer-Encoding": ["chunked"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["394"] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 591499596,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:40 GMT"], - "Date": ["Wed, 09 Aug 2023 17:15:23 GMT"], - "X-XSS-Protection": ["0"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["private"], - "X-Content-Type-Options": ["nosniff"], - "Vary": ["Origin", "X-Origin", "Referer"], - "Transfer-Encoding": ["chunked"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["3855"] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 654035640,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 591499596,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 654035640}}]}", - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "Content-Length": ["55"], - "Content-Type": ["application/json"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:40 GMT"], - "Date": ["Wed, 09 Aug 2023 17:15:23 GMT"], - "X-XSS-Protection": ["0"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["private"], - "X-Content-Type-Options": ["nosniff"], - "Vary": ["Origin", "X-Origin", "Referer"], - "Transfer-Encoding": ["chunked"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["97"] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 591499596}}]}", - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "Content-Length": ["55"], - "Content-Type": ["application/json"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:41 GMT"], - "Date": ["Wed, 09 Aug 2023 17:15:24 GMT"], - "X-XSS-Protection": ["0"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["private"], - "X-Content-Type-Options": ["nosniff"], - "Vary": ["Origin", "X-Origin", "Referer"], - "Transfer-Encoding": ["chunked"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["97"] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", - "body": null, - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:41 GMT"], - "Date": ["Wed, 09 Aug 2023 17:15:24 GMT"], - "X-XSS-Protection": ["0"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["private"], - "X-Content-Type-Options": ["nosniff"], - "Vary": ["Origin", "X-Origin", "Referer"], - "Transfer-Encoding": ["chunked"], - "X-Frame-Options": ["SAMEORIGIN"], - "content-length": ["3341"] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": ["python-requests/2.31.0"], - "Accept-Encoding": ["gzip, deflate"], - "Accept": ["*/*"], - "Connection": ["keep-alive"], - "x-goog-api-client": ["cred-type/sa"], - "x-identity-trust-boundary": ["0"], - "Content-Length": ["0"], - "authorization": [""] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Date": ["Tue, 25 Jul 2023 15:38:42 GMT"], - "Content-Type": ["text/html"], - "X-XSS-Protection": ["0"], - "Server": ["ESF"], - "Content-Length": ["0"], - "Alt-Svc": ["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"], - "Cache-Control": ["no-cache, no-store, max-age=0, must-revalidate"], - "X-Content-Type-Options": ["nosniff"], - "Pragma": ["no-cache"], - "Vary": ["Origin, X-Origin"], - "Expires": ["Mon, 01 Jan 1990 00:00:00 GMT"], - "X-Frame-Options": ["SAMEORIGIN"] - }, - "body": { - "string": "" + "version": 1, + "interactions": [ + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_add_del_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "110" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:37 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "content-length": [ + "197" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Wed, 09 Aug 2023 17:15:22 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Wed, 09 Aug 2023 17:15:23 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "content-length": [ + "207" + ] + }, + "body": { + "string": "{\n \"id\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"createdTime\": \"2023-07-25T15:38:34.842Z\",\n \"modifiedTime\": \"2023-07-25T15:38:36.246Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:39 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Wed, 09 Aug 2023 17:15:23 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "content-length": [ + "394" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 654035640,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Wed, 09 Aug 2023 17:15:23 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "content-length": [ + "394" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 591499596,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Wed, 09 Aug 2023 17:15:23 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "content-length": [ + "3855" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 654035640,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 591499596,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 654035640}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "55" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Wed, 09 Aug 2023 17:15:23 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 591499596}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "55" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Wed, 09 Aug 2023 17:15:24 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Date": [ + "Wed, 09 Aug 2023 17:15:24 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Date": [ + "Tue, 25 Jul 2023 15:38:42 GMT" + ], + "Content-Type": [ + "text/html" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Content-Length": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ] + }, + "body": { + "string": "" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_add_del_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "110" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Wed, 09 Aug 2023 19:28:55 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "197" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Wed, 09 Aug 2023 19:28:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Wed, 09 Aug 2023 19:28:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "207" + ] + }, + "body": { + "string": "{\n \"id\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"createdTime\": \"2023-08-09T19:28:53.585Z\",\n \"modifiedTime\": \"2023-08-09T19:28:53.602Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Wed, 09 Aug 2023 19:28:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Wed, 09 Aug 2023 19:28:57 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "395" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1008104633,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Wed, 09 Aug 2023 19:28:57 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "395" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1901564789,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 3\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Wed, 09 Aug 2023 19:28:57 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "393" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 37034194,\n \"title\": \"test_add_del_worksheet 3\",\n \"index\": 3,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Wed, 09 Aug 2023 19:28:58 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "4113" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1008104633,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1901564789,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 37034194,\n \"title\": \"test_add_del_worksheet 3\",\n \"index\": 3,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Content-Type": [ + "text/html" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Content-Length": [ + "0" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Wed, 09 Aug 2023 19:28:59 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "body": { + "string": "" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test SpreadsheetTest test_add_del_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "110" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 09 Aug 2023 19:29:30 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "197" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Date": [ + "Wed, 09 Aug 2023 19:29:31 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://www.googleapis.com/drive/v3/files/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 09 Aug 2023 19:29:31 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "207" + ] + }, + "body": { + "string": "{\n \"id\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"createdTime\": \"2023-08-09T19:29:28.190Z\",\n \"modifiedTime\": \"2023-08-09T19:29:28.208Z\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Date": [ + "Wed, 09 Aug 2023 19:29:31 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Date": [ + "Wed, 09 Aug 2023 19:29:31 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "395" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1806320663,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Date": [ + "Wed, 09 Aug 2023 19:29:32 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "content-length": [ + "394" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 720215962,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 3\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Date": [ + "Wed, 09 Aug 2023 19:29:32 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "394" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 769684975,\n \"title\": \"test_add_del_worksheet 3\",\n \"index\": 3,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Date": [ + "Wed, 09 Aug 2023 19:29:32 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "4113" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1806320663,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 720215962,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 769684975,\n \"title\": \"test_add_del_worksheet 3\",\n \"index\": 3,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 1806320663}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "56" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Date": [ + "Wed, 09 Aug 2023 19:29:32 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 720215962}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "55" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Date": [ + "Wed, 09 Aug 2023 19:29:33 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 769684975}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "55" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Date": [ + "Wed, 09 Aug 2023 19:29:33 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "ESF" + ], + "Cache-Control": [ + "private" + ], + "Date": [ + "Wed, 09 Aug 2023 19:29:33 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3341" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "x-goog-api-client": [ + "cred-type/sa" + ], + "x-identity-trust-boundary": [ + "0" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "X-Content-Type-Options": [ + "nosniff" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 09 Aug 2023 19:29:34 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Content-Length": [ + "0" + ], + "Content-Type": [ + "text/html" + ], + "X-XSS-Protection": [ + "0" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ] + }, + "body": { + "string": "" + } + } } - } - } - ] + ] } diff --git a/tests/spreadsheet_test.py b/tests/spreadsheet_test.py index b26aeee36..0dadf3700 100644 --- a/tests/spreadsheet_test.py +++ b/tests/spreadsheet_test.py @@ -105,6 +105,7 @@ def test_add_del_worksheet(self): sg = self._sequence_generator() worksheet1_name = next(sg) worksheet2_name = next(sg) + worksheet3_name = next(sg) worksheet_list = self.spreadsheet.worksheets() self.assertEqual(len(worksheet_list), 1) @@ -113,14 +114,16 @@ def test_add_del_worksheet(self): # Add worksheet1 = self.spreadsheet.add_worksheet(worksheet1_name, 1, 1) worksheet2 = self.spreadsheet.add_worksheet(worksheet2_name, 1, 1) + worksheet3 = self.spreadsheet.add_worksheet(worksheet3_name, 1, 1) # Re-read, check again worksheet_list = self.spreadsheet.worksheets() - self.assertEqual(len(worksheet_list), 3) + self.assertEqual(len(worksheet_list), 4) # Delete self.spreadsheet.del_worksheet(worksheet1) - self.spreadsheet.del_worksheet_by_id(worksheet2.id) + self.spreadsheet.del_worksheet_by_id(int(worksheet2.id)) + self.spreadsheet.del_worksheet_by_id(str(worksheet3.id)) worksheet_list = self.spreadsheet.worksheets() self.assertEqual(len(worksheet_list), 1) From 98dca77f21770156d77fc2250776d4b64cda93ff Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 9 Aug 2023 20:34:48 +0100 Subject: [PATCH 28/28] fix test cassette --- ...preadsheetTest.test_add_del_worksheet.json | 1965 ++--------------- 1 file changed, 194 insertions(+), 1771 deletions(-) diff --git a/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json b/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json index bc5c3d882..16287c244 100644 --- a/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json +++ b/tests/cassettes/SpreadsheetTest.test_add_del_worksheet.json @@ -42,17 +42,17 @@ "message": "OK" }, "headers": { - "Date": [ - "Tue, 25 Jul 2023 15:38:37 GMT" - ], "Content-Type": [ "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" + "Date": [ + "Wed, 09 Aug 2023 19:33:56 GMT" + ], + "Vary": [ + "Origin, X-Origin" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -60,37 +60,37 @@ "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], "Pragma": [ "no-cache" ], - "Vary": [ - "Origin, X-Origin" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Transfer-Encoding": [ "chunked" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Server": [ + "ESF" ], "content-length": [ "197" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -122,14 +122,14 @@ "message": "OK" }, "headers": { - "Date": [ - "Wed, 09 Aug 2023 17:15:22 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" + "Date": [ + "Wed, 09 Aug 2023 19:33:57 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -137,6 +137,9 @@ "Cache-Control": [ "private" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], @@ -148,22 +151,22 @@ "Transfer-Encoding": [ "chunked" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Server": [ + "ESF" ], "content-length": [ "3341" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", + "uri": "https://www.googleapis.com/drive/v3/files/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", "body": null, "headers": { "User-Agent": [ @@ -195,14 +198,17 @@ "message": "OK" }, "headers": { - "Date": [ - "Wed, 09 Aug 2023 17:15:23 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" + "Date": [ + "Wed, 09 Aug 2023 19:33:57 GMT" + ], + "Vary": [ + "Origin, X-Origin" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -210,37 +216,37 @@ "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], "Pragma": [ "no-cache" ], - "Vary": [ - "Origin, X-Origin" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Transfer-Encoding": [ "chunked" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Server": [ + "ESF" ], "content-length": [ "207" ] }, "body": { - "string": "{\n \"id\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"createdTime\": \"2023-07-25T15:38:34.842Z\",\n \"modifiedTime\": \"2023-07-25T15:38:36.246Z\"\n}\n" + "string": "{\n \"id\": \"18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"createdTime\": \"2023-08-09T19:33:54.965Z\",\n \"modifiedTime\": \"2023-08-09T19:33:54.983Z\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -272,17 +278,14 @@ "message": "OK" }, "headers": { - "Date": [ - "Tue, 25 Jul 2023 15:38:39 GMT" - ], "Content-Type": [ "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" + "Date": [ + "Wed, 09 Aug 2023 19:33:57 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -290,6 +293,9 @@ "Cache-Control": [ "private" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], @@ -301,22 +307,22 @@ "Transfer-Encoding": [ "chunked" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Server": [ + "ESF" ], "content-length": [ "3341" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", "headers": { "User-Agent": [ @@ -354,14 +360,14 @@ "message": "OK" }, "headers": { - "Date": [ - "Wed, 09 Aug 2023 17:15:23 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" + "Date": [ + "Wed, 09 Aug 2023 19:33:58 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -369,6 +375,9 @@ "Cache-Control": [ "private" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], @@ -380,22 +389,22 @@ "Transfer-Encoding": [ "chunked" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Server": [ + "ESF" ], "content-length": [ - "394" + "395" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 654035640,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1877059582,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI:batchUpdate", "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", "headers": { "User-Agent": [ @@ -433,14 +442,14 @@ "message": "OK" }, "headers": { - "Date": [ - "Wed, 09 Aug 2023 17:15:23 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" + "Date": [ + "Wed, 09 Aug 2023 19:33:58 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -448,6 +457,9 @@ "Cache-Control": [ "private" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], @@ -459,23 +471,23 @@ "Transfer-Encoding": [ "chunked" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Server": [ + "ESF" ], "content-length": [ "394" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 591499596,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 580173816,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", - "body": null, + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI:batchUpdate", + "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 3\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -495,6 +507,12 @@ "x-identity-trust-boundary": [ "0" ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json" + ], "authorization": [ "" ] @@ -506,14 +524,14 @@ "message": "OK" }, "headers": { - "Date": [ - "Wed, 09 Aug 2023 17:15:23 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" + "Date": [ + "Wed, 09 Aug 2023 19:33:58 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -521,6 +539,9 @@ "Cache-Control": [ "private" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], @@ -532,23 +553,23 @@ "Transfer-Encoding": [ "chunked" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Server": [ + "ESF" ], "content-length": [ - "3855" + "395" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 654035640,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 591499596,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1396229743,\n \"title\": \"test_add_del_worksheet 3\",\n \"index\": 3,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" } } }, { "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 654035640}}]}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI?includeGridData=false", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -568,12 +589,6 @@ "x-identity-trust-boundary": [ "0" ], - "Content-Length": [ - "55" - ], - "Content-Type": [ - "application/json" - ], "authorization": [ "" ] @@ -585,14 +600,14 @@ "message": "OK" }, "headers": { - "Date": [ - "Wed, 09 Aug 2023 17:15:23 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" + "Date": [ + "Wed, 09 Aug 2023 19:33:59 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -600,6 +615,9 @@ "Cache-Control": [ "private" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], @@ -611,23 +629,23 @@ "Transfer-Encoding": [ "chunked" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Server": [ + "ESF" ], "content-length": [ - "97" + "4114" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1877059582,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 580173816,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1396229743,\n \"title\": \"test_add_del_worksheet 3\",\n \"index\": 3,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 591499596}}]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 1877059582}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -648,7 +666,7 @@ "0" ], "Content-Length": [ - "55" + "56" ], "Content-Type": [ "application/json" @@ -664,14 +682,14 @@ "message": "OK" }, "headers": { - "Date": [ - "Wed, 09 Aug 2023 17:15:24 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" + "Date": [ + "Wed, 09 Aug 2023 19:33:59 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -679,6 +697,9 @@ "Cache-Control": [ "private" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], @@ -690,23 +711,23 @@ "Transfer-Encoding": [ "chunked" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Server": [ + "ESF" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?includeGridData=false", - "body": null, + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 580173816}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -726,6 +747,12 @@ "x-identity-trust-boundary": [ "0" ], + "Content-Length": [ + "55" + ], + "Content-Type": [ + "application/json" + ], "authorization": [ "" ] @@ -737,14 +764,14 @@ "message": "OK" }, "headers": { - "Date": [ - "Wed, 09 Aug 2023 17:15:24 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" + "Date": [ + "Wed, 09 Aug 2023 19:33:59 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" @@ -752,6 +779,9 @@ "Cache-Control": [ "private" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "X-Content-Type-Options": [ "nosniff" ], @@ -763,23 +793,23 @@ "Transfer-Encoding": [ "chunked" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Server": [ + "ESF" ], "content-length": [ - "3341" + "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1Z7dkiMbI24eSuhI-lxEOaO7gNY_S4dePDV0EtBKrsi8?supportsAllDrives=True", - "body": null, + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI:batchUpdate", + "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 1396229743}}]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -800,7 +830,10 @@ "0" ], "Content-Length": [ - "0" + "56" + ], + "Content-Type": [ + "application/json" ], "authorization": [ "" @@ -809,57 +842,56 @@ }, "response": { "status": { - "code": 204, - "message": "No Content" + "code": 200, + "message": "OK" }, "headers": { - "Date": [ - "Tue, 25 Jul 2023 15:38:42 GMT" - ], "Content-Type": [ - "text/html" + "application/json; charset=UTF-8" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], - "Content-Length": [ - "0" + "Date": [ + "Wed, 09 Aug 2023 19:33:59 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "private" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "Pragma": [ - "no-cache" - ], "Vary": [ - "Origin, X-Origin" + "Origin", + "X-Origin", + "Referer" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Transfer-Encoding": [ + "chunked" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Server": [ + "ESF" + ], + "content-length": [ + "97" ] }, "body": { - "string": "" + "string": "{\n \"spreadsheetId\": \"18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_add_del_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI?includeGridData=false", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -879,12 +911,6 @@ "x-identity-trust-boundary": [ "0" ], - "Content-Length": [ - "110" - ], - "Content-Type": [ - "application/json" - ], "authorization": [ "" ] @@ -899,1651 +925,48 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "ESF" + "X-XSS-Protection": [ + "0" ], - "Transfer-Encoding": [ - "chunked" + "Date": [ + "Wed, 09 Aug 2023 19:34:00 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Vary": [ - "Origin, X-Origin" + "private" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Wed, 09 Aug 2023 19:28:55 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "197" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Wed, 09 Aug 2023 19:28:56 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Vary": [ - "Origin, X-Origin" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Wed, 09 Aug 2023 19:28:56 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "207" - ] - }, - "body": { - "string": "{\n \"id\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"createdTime\": \"2023-08-09T19:28:53.585Z\",\n \"modifiedTime\": \"2023-08-09T19:28:53.602Z\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Wed, 09 Aug 2023 19:28:56 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "157" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Wed, 09 Aug 2023 19:28:57 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "395" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1008104633,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "157" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Wed, 09 Aug 2023 19:28:57 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "395" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1901564789,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 3\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "157" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Wed, 09 Aug 2023 19:28:57 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "393" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 37034194,\n \"title\": \"test_add_del_worksheet 3\",\n \"index\": 3,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Wed, 09 Aug 2023 19:28:58 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "4113" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1008104633,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1901564789,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 37034194,\n \"title\": \"test_add_del_worksheet 3\",\n \"index\": 3,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1fG17305xXuKkV1CD8_zpOXPYFEFKs3yRvzzOq6hwhpM?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { - "Content-Type": [ - "text/html" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Vary": [ - "Origin, X-Origin" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Length": [ - "0" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Wed, 09 Aug 2023 19:28:59 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test SpreadsheetTest test_add_del_worksheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "110" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Wed, 09 Aug 2023 19:29:30 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "197" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 09 Aug 2023 19:29:31 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://www.googleapis.com/drive/v3/files/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg?supportsAllDrives=True&includeItemsFromAllDrives=True&fields=id%2Cname%2CcreatedTime%2CmodifiedTime", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Wed, 09 Aug 2023 19:29:31 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "207" - ] - }, - "body": { - "string": "{\n \"id\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"name\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"createdTime\": \"2023-08-09T19:29:28.190Z\",\n \"modifiedTime\": \"2023-08-09T19:29:28.208Z\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 09 Aug 2023 19:29:31 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "3341" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 1\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "157" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 09 Aug 2023 19:29:31 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "395" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 1806320663,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 2\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "157" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 09 Aug 2023 19:29:32 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "content-length": [ - "394" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 720215962,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg:batchUpdate", - "body": "{\"requests\": [{\"addSheet\": {\"properties\": {\"title\": \"test_add_del_worksheet 3\", \"sheetType\": \"GRID\", \"gridProperties\": {\"rowCount\": 1, \"columnCount\": 1}}}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "157" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 09 Aug 2023 19:29:32 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "394" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"replies\": [\n {\n \"addSheet\": {\n \"properties\": {\n \"sheetId\": 769684975,\n \"title\": \"test_add_del_worksheet 3\",\n \"index\": 3,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n }\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 09 Aug 2023 19:29:32 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "4113" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 1806320663,\n \"title\": \"test_add_del_worksheet 1\",\n \"index\": 1,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 720215962,\n \"title\": \"test_add_del_worksheet 2\",\n \"index\": 2,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n },\n {\n \"properties\": {\n \"sheetId\": 769684975,\n \"title\": \"test_add_del_worksheet 3\",\n \"index\": 3,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1,\n \"columnCount\": 1\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 1806320663}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "56" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 09 Aug 2023 19:29:32 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 720215962}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "55" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "X-Content-Type-Options": [ "nosniff" ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 09 Aug 2023 19:29:33 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg:batchUpdate", - "body": "{\"requests\": [{\"deleteSheet\": {\"sheetId\": 769684975}}]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "55" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 09 Aug 2023 19:29:33 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg?includeGridData=false", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], "Server": [ "ESF" ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 09 Aug 2023 19:29:33 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "content-length": [ "3341" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI\",\n \"properties\": {\n \"title\": \"Test SpreadsheetTest test_add_del_worksheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI/edit\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1o9BHnBojrUVTilofZ4x8d7tDz2YZJnLy5aO8xeotvNg?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/18q2vbKBaujo2mlHN6mzGFyKkOI4k03FUxpKj2retQJI?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -2578,26 +1001,26 @@ "message": "No Content" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Content-Type": [ + "text/html" ], - "Server": [ - "ESF" + "X-XSS-Protection": [ + "0" ], "Date": [ - "Wed, 09 Aug 2023 19:29:34 GMT" + "Wed, 09 Aug 2023 19:34:00 GMT" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Origin, X-Origin" + "X-Content-Type-Options": [ + "nosniff" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" @@ -2605,14 +1028,14 @@ "Content-Length": [ "0" ], - "Content-Type": [ - "text/html" + "Pragma": [ + "no-cache" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin, X-Origin" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ] }, "body": {