diff --git a/storage/google/cloud/storage/constants.py b/storage/google/cloud/storage/constants.py index fa281649da29..5b3117d92fa4 100644 --- a/storage/google/cloud/storage/constants.py +++ b/storage/google/cloud/storage/constants.py @@ -16,16 +16,28 @@ # Storage classes STANDARD_STORAGE_CLASS = "STANDARD" -"""Storage class for objects accessed more than once per month.""" +"""Storage class for objects accessed more than once per month. + +See: https://cloud.google.com/storage/docs/per-object-storage-class +""" NEARLINE_STORAGE_CLASS = "NEARLINE" -"""Storage class for objects accessed at most once per month.""" +"""Storage class for objects accessed at most once per month. + +See: https://cloud.google.com/storage/docs/per-object-storage-class +""" COLDLINE_STORAGE_CLASS = "COLDLINE" -"""Storage class for objects accessed at most once per year.""" +"""Storage class for objects accessed at most once per year. + +See: https://cloud.google.com/storage/docs/per-object-storage-class +""" ARCHIVE_STORAGE_CLASS = "ARCHIVE" -"""Storage class for objects accessed less frequently than once per year.""" +"""Storage class for objects accessed less frequently than once per year. + +See: https://cloud.google.com/storage/docs/per-object-storage-class +""" MULTI_REGIONAL_LEGACY_STORAGE_CLASS = "MULTI_REGIONAL" """Legacy storage class. @@ -35,6 +47,8 @@ Can only be used for objects in buckets whose :attr:`~google.cloud.storage.bucket.Bucket.location_type` is :attr:`~google.cloud.storage.bucket.Bucket.MULTI_REGION_LOCATION_TYPE`. + +See: https://cloud.google.com/storage/docs/per-object-storage-class """ REGIONAL_LEGACY_STORAGE_CLASS = "REGIONAL" @@ -45,6 +59,8 @@ Can only be used for objects in buckets whose :attr:`~google.cloud.storage.bucket.Bucket.location_type` is :attr:`~google.cloud.storage.bucket.Bucket.REGION_LOCATION_TYPE`. + +See: https://cloud.google.com/storage/docs/per-object-storage-class """ DURABLE_REDUCED_AVAILABILITY_LEGACY_STORAGE_CLASS = "DURABLE_REDUCED_AVAILABILITY"