From 270820e7402c8098adbb18e791d81cd6c74706b9 Mon Sep 17 00:00:00 2001 From: HemangChothani Date: Wed, 23 Sep 2020 10:52:37 +0530 Subject: [PATCH] docs: fix the docs --- google/cloud/storage/blob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',