Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions samples/snippets/storage_generate_signed_url_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
def generate_signed_url(bucket_name, blob_name):
"""Generates a v2 signed URL for downloading a blob.

Note that this method requires a service account key file. You can not use
this if you are using Application Default Credentials from Google Compute
Engine or from the Google Cloud SDK.
Note that this method requires a service account key file.
"""
# bucket_name = 'your-bucket-name'
# blob_name = 'your-object-name'
Expand Down
4 changes: 1 addition & 3 deletions samples/snippets/storage_generate_signed_url_v4.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
def generate_download_signed_url_v4(bucket_name, blob_name):
"""Generates a v4 signed URL for downloading a blob.

Note that this method requires a service account key file. You can not use
this if you are using Application Default Credentials from Google Compute
Engine or from the Google Cloud SDK.
Note that this method requires a service account key file.
"""
# bucket_name = 'your-bucket-name'
# blob_name = 'your-object-name'
Expand Down
4 changes: 1 addition & 3 deletions samples/snippets/storage_generate_upload_signed_url_v4.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
def generate_upload_signed_url_v4(bucket_name, blob_name):
"""Generates a v4 signed URL for uploading a blob using HTTP PUT.

Note that this method requires a service account key file. You can not use
this if you are using Application Default Credentials from Google Compute
Engine or from the Google Cloud SDK.
Note that this method requires a service account key file.
"""
# bucket_name = 'your-bucket-name'
# blob_name = 'your-object-name'
Expand Down