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

1.11.0 (latest) 1.10.0 1.9.0 1.8.1 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.1 1.0.0 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.2 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.