a
    ù!fù  ã                   @   sJ   d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 e
jZdS )a²  Shortcut methods for getting set up with Google Cloud Storage.

You'll typically use these to get started with the API:

>>> from gcloud import storage
>>> client = storage.Client()
>>> bucket = client.get_bucket('bucket-id-here')
>>> # Then do other things...
>>> blob = bucket.get_blob('/remote/path/to/file.txt')
>>> print blob.download_as_string()
>>> blob.upload_from_string('New contents!')
>>> blob2 = bucket.blob('/remote/path/storage.txt')
>>> blob2.upload_from_filename(filename='/local/path.txt')

The main concepts with this API are:

- :class:`gcloud.storage.connection.Connection` which represents a
  connection between your machine and the Cloud Storage API.

- :class:`gcloud.storage.bucket.Bucket` which represents a particular
  bucket (akin to a mounted disk on a computer).

- :class:`gcloud.storage.blob.Blob` which represents a pointer to a
  particular entity in Cloud Storage (akin to a file path on a remote
  machine).
é    )ÚBatch)ÚBlob)ÚBucket)ÚClient)Ú
ConnectionN)Ú__doc__Zgcloud.storage.batchr   Zgcloud.storage.blobr   Zgcloud.storage.bucketr   Zgcloud.storage.clientr   Zgcloud.storage.connectionr   ZSCOPE© r   r   úX/var/www/html/python-backend/venv/lib/python3.9/site-packages/gcloud/storage/__init__.pyÚ<module>   s   