Skip to content
Permalink
Browse files
docs: fix docstring example for 'blob.generate_signed_url' (#278)
  • Loading branch information
HemangChothani committed Sep 23, 2020
1 parent 0dd22a4 commit 2dc91c947e3693023b4478a15c460693808ea2d9
Showing with 1 addition and 1 deletion.
  1. +1 −1 google/cloud/storage/blob.py
@@ -407,7 +407,7 @@ def generate_signed_url(
>>> from google.cloud import storage
>>> client = storage.Client()
>>> bucket = client.get_bucket('my-bucket-name')
>>> blob = client.get_blob('my-blob-name')
>>> blob = bucket.get_blob('my-blob-name')
>>> url = blob.generate_signed_url(expiration='url-expiration-time', bucket_bound_hostname='mydomain.tld',
>>> version='v4')
>>> url = blob.generate_signed_url(expiration='url-expiration-time', bucket_bound_hostname='mydomain.tld',

0 comments on commit 2dc91c9

Please sign in to comment.