Skip to content

Commit 2913577

Browse files
janlugttseaver
authored andcommitted
Change GCS batch endpoint from /batch to /batch/storage/v1 (googleapis#5040)
Per documentation at https://cloud.google.com/storage/docs/json_api/v1/how-tos/batch.
1 parent ae3648f commit 2913577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/google/cloud/storage/batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def finish(self):
250250
"""
251251
headers, body = self._prepare_batch_request()
252252

253-
url = '%s/batch' % self.API_BASE_URL
253+
url = '%s/batch/storage/v1' % self.API_BASE_URL
254254

255255
# Use the private ``_base_connection`` rather than the property
256256
# ``_connection``, since the property may be this

0 commit comments

Comments
 (0)