Skip to content

Commit 635951a

Browse files
author
Gurov Ilya
authored
docs(storage): few spelling fixes for generate_signed_url() (#85)
1 parent 5adc8b0 commit 635951a

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

google/cloud/storage/blob.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -438,23 +438,22 @@ def generate_signed_url(
438438
:type headers: dict
439439
:param headers:
440440
(Optional) Additional HTTP headers to be included as part of the
441-
signed URLs. See:
441+
signed URLs. See:
442442
https://cloud.google.com/storage/docs/xml-api/reference-headers
443443
Requests using the signed URL *must* pass the specified header
444444
(name and value) with each request for the URL.
445445
446446
:type query_parameters: dict
447447
:param query_parameters:
448-
(Optional) Additional query paramtersto be included as part of the
449-
signed URLs. See:
448+
(Optional) Additional query parameters to be included as part of the
449+
signed URLs. See:
450450
https://cloud.google.com/storage/docs/xml-api/reference-headers#query
451451
452452
:type client: :class:`~google.cloud.storage.client.Client` or
453453
``NoneType``
454-
:param client: (Optional) The client to use. If not passed, falls back
454+
:param client: (Optional) The client to use. If not passed, falls back
455455
to the ``client`` stored on the blob's bucket.
456456
457-
458457
:type credentials: :class:`google.auth.credentials.Credentials` or
459458
:class:`NoneType`
460459
:param credentials: The authorization credentials to attach to requests.
@@ -479,8 +478,8 @@ def generate_signed_url(
479478
480479
:type bucket_bound_hostname: str
481480
:param bucket_bound_hostname:
482-
(Optional) If pass, then construct the URL relative to the bucket-bound hostname.
483-
Value cane be a bare or with scheme, e.g., 'example.com' or 'http://example.com'.
481+
(Optional) If passed, then construct the URL relative to the bucket-bound hostname.
482+
Value can be a bare or with scheme, e.g., 'example.com' or 'http://example.com'.
484483
See: https://cloud.google.com/storage/docs/request-endpoints#cname
485484
486485
:type scheme: str

0 commit comments

Comments
 (0)