diff --git a/google/cloud/storage/blob.py b/google/cloud/storage/blob.py index a7e6952bf..b1e13788d 100644 --- a/google/cloud/storage/blob.py +++ b/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',