Skip to content

Commit

Permalink
docs: fix docstring example for 'blob.generate_signed_url' (googleapi…
Browse files Browse the repository at this point in the history
  • Loading branch information
HemangChothani authored and cojenco committed Oct 13, 2021
1 parent c3f291d commit 8fdec81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/storage/blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 8fdec81

Please sign in to comment.