- 3.8.0 (latest)
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.1
- 3.3.1
- 3.2.0
- 3.1.1
- 3.0.0
- 2.19.0
- 2.17.0
- 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 forSTANDARD_STORAGE_CLASS.
Can only be used for objects in buckets whoselocation_type isMULTI_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 forSTANDARD_STORAGE_CLASS.
Can only be used for objects in buckets whoselocation_type isREGION_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 toNEARLINE_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
google.cloud.storage.constants.RPO_ASYNC_TURBO( = 'ASYNC_TURBO )
Turbo Replication RPO
See:https://cloud.google.com/storage/docs/managing-turbo-replication
google.cloud.storage.constants.RPO_DEFAULT( = 'DEFAULT )
Default RPO
See:https://cloud.google.com/storage/docs/managing-turbo-replication
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-29 UTC.