storage.bucket¶
Attributes¶
Classes¶
Module Contents¶
- storage.bucket.log¶
- class storage.bucket.Bucket(storage, name)¶
- Parameters:
storage (storage.storage.Storage)
name (str)
- storage¶
- name¶
- async get_blob(blob_name, timeout=DEFAULT_TIMEOUT, session=None)¶
- Parameters:
blob_name (str)
timeout (int)
session (Optional[requests.Session])
- Return type:
- async blob_exists(blob_name, session=None)¶
- Parameters:
blob_name (str)
session (Optional[requests.Session])
- Return type:
bool
- async list_blobs(prefix='', match_glob='', session=None)¶
- Parameters:
prefix (str)
match_glob (str)
session (Optional[requests.Session])
- Return type:
List[str]
- new_blob(blob_name)¶
- Parameters:
blob_name (str)
- Return type:
- async get_metadata(params=None, session=None)¶
- Parameters:
params (Optional[Dict[str, Any]])
session (Optional[requests.Session])
- Return type:
Dict[str, Any]