Skip to content

Commit

Permalink
Update README.rst (#3805)
Browse files Browse the repository at this point in the history
-Clarifying what is a bucket id
-Minor url cleanups
  • Loading branch information
alanyee authored and lukesneeringer committed Aug 14, 2017
1 parent cd3a05d commit 0723a9c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions storage/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ how to create a bucket.
from google.cloud import storage
client = storage.Client()
# https://console.cloud.google.com/storage/browser/[bucket-id]/
bucket = client.get_bucket('bucket-id-here')
# Then do other things...
blob = bucket.get_blob('remote/path/to/file.txt')
Expand All @@ -64,6 +65,6 @@ how to create a bucket.
blob2.upload_from_filename(filename='/local/path.txt')
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-storage.svg
:target: https://pypi.org/project/google-cloud-storage/
:target: https://pypi.org/project/google-cloud-storage
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-storage.svg
:target: https://pypi.org/project/google-cloud-storage/
:target: https://pypi.org/project/google-cloud-storage

0 comments on commit 0723a9c

Please sign in to comment.