Storage Transfer Service V1 API - Module Google::Cloud::StorageTransfer::V1::MetadataOptions::StorageClass (v1.2.0)

Reference documentation and code samples for the Storage Transfer Service V1 API module Google::Cloud::StorageTransfer::V1::MetadataOptions::StorageClass.

Options for handling Google Cloud Storage object storage class.

Constants

STORAGE_CLASS_UNSPECIFIED

value: 0
Storage class behavior is unspecified.

STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT

value: 1
Use the destination bucket's default storage class.

STORAGE_CLASS_PRESERVE

value: 2
Preserve the object's original storage class. This is only supported for transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL storage classes will be mapped to STANDARD to ensure they can be written to the destination bucket.

STORAGE_CLASS_STANDARD

value: 3
Set the storage class to STANDARD.

STORAGE_CLASS_NEARLINE

value: 4
Set the storage class to NEARLINE.

STORAGE_CLASS_COLDLINE

value: 5
Set the storage class to COLDLINE.

STORAGE_CLASS_ARCHIVE

value: 6
Set the storage class to ARCHIVE.