Google Cloud Storage Transfer V1 Client - Class StorageClass (2.0.2)

Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class StorageClass.

Options for handling Google Cloud Storage object storage class.

Protobuf type google.storagetransfer.v1.MetadataOptions.StorageClass

Namespace

Google \ Cloud \ StorageTransfer \ V1 \ MetadataOptions

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STORAGE_CLASS_UNSPECIFIED

Value: 0

Storage class behavior is unspecified.

Generated from protobuf enum STORAGE_CLASS_UNSPECIFIED = 0;

STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT

Value: 1

Use the destination bucket's default storage class.

Generated from protobuf enum STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1;

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.

Generated from protobuf enum STORAGE_CLASS_PRESERVE = 2;

STORAGE_CLASS_STANDARD

Value: 3

Set the storage class to STANDARD.

Generated from protobuf enum STORAGE_CLASS_STANDARD = 3;

STORAGE_CLASS_NEARLINE

Value: 4

Set the storage class to NEARLINE.

Generated from protobuf enum STORAGE_CLASS_NEARLINE = 4;

STORAGE_CLASS_COLDLINE

Value: 5

Set the storage class to COLDLINE.

Generated from protobuf enum STORAGE_CLASS_COLDLINE = 5;

STORAGE_CLASS_ARCHIVE

Value: 6

Set the storage class to ARCHIVE.

Generated from protobuf enum STORAGE_CLASS_ARCHIVE = 6;