- 2.17.0 (latest)
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.1
- 2.1.0
- 2.0.0
- 1.44.0
- 1.43.0
- 1.42.3
- 1.41.1
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.1
- 1.36.2
- 1.35.1
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.2
- 1.30.0
- 1.29.0
- 1.28.1
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.1
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
Constants
Constants used acros google.cloud.storage modules.
google.cloud.storage.constants.STANDARD_STORAGE_CLASS( = 'STANDARD )
Storage class for objects accessed more than once per month.
See: https://cloud.google.com/storage/docs/storage-classes
google.cloud.storage.constants.NEARLINE_STORAGE_CLASS( = 'NEARLINE )
Storage class for objects accessed at most once per month.
See: https://cloud.google.com/storage/docs/storage-classes
google.cloud.storage.constants.COLDLINE_STORAGE_CLASS( = 'COLDLINE )
Storage class for objects accessed at most once per year.
See: https://cloud.google.com/storage/docs/storage-classes
google.cloud.storage.constants.ARCHIVE_STORAGE_CLASS( = 'ARCHIVE )
Storage class for objects accessed less frequently than once per year.
See: https://cloud.google.com/storage/docs/storage-classes
google.cloud.storage.constants.MULTI_REGIONAL_LEGACY_STORAGE_CLASS( = 'MULTI_REGIONAL )
Legacy storage class.
Alias for STANDARD_STORAGE_CLASS
.
Can only be used for objects in buckets whose
location_type
is
MULTI_REGION_LOCATION_TYPE
.
See: https://cloud.google.com/storage/docs/storage-classes
google.cloud.storage.constants.REGIONAL_LEGACY_STORAGE_CLASS( = 'REGIONAL )
Legacy storage class.
Alias for STANDARD_STORAGE_CLASS
.
Can only be used for objects in buckets whose
location_type
is
REGION_LOCATION_TYPE
.
See: https://cloud.google.com/storage/docs/storage-classes
google.cloud.storage.constants.DURABLE_REDUCED_AVAILABILITY_LEGACY_STORAGE_CLASS( = 'DURABLE_REDUCED_AVAILABILITY )
Legacy storage class.
Similar to NEARLINE_STORAGE_CLASS
.
google.cloud.storage.constants.MULTI_REGION_LOCATION_TYPE( = 'multi-region )
data will be replicated across regions in a multi-region.
Provides highest availability across largest area.
Type
Location type
google.cloud.storage.constants.REGION_LOCATION_TYPE( = 'region )
data will be stored within a single region.
Provides lowest latency within a single region.
Type
Location type
google.cloud.storage.constants.DUAL_REGION_LOCATION_TYPE( = 'dual-region )
data will be stored within two primary regions.
Provides high availability and low latency across two regions.
Type
Location type
google.cloud.storage.constants.PUBLIC_ACCESS_PREVENTION_ENFORCED( = 'enforced )
Enforced public access prevention value.
See: https://cloud.google.com/storage/docs/public-access-prevention
google.cloud.storage.constants.PUBLIC_ACCESS_PREVENTION_UNSPECIFIED( = 'unspecified )
Unspecified public access prevention value.
DEPRECATED: Use ‘PUBLIC_ACCESS_PREVENTION_INHERITED’ instead.
See: https://cloud.google.com/storage/docs/public-access-prevention
google.cloud.storage.constants.PUBLIC_ACCESS_PREVENTION_INHERITED( = 'inherited )
Inherited public access prevention value.
See: https://cloud.google.com/storage/docs/public-access-prevention