Enum TransferTypes.MetadataOptions.StorageClass (1.49.0)

public enum TransferTypes.MetadataOptions.StorageClass extends Enum<TransferTypes.MetadataOptions.StorageClass> implements ProtocolMessageEnum

Options for handling Google Cloud Storage object storage class.

Protobuf enum google.storagetransfer.v1.MetadataOptions.StorageClass

Implements

ProtocolMessageEnum

Static Fields

Name Description
STORAGE_CLASS_ARCHIVE

Set the storage class to ARCHIVE.

STORAGE_CLASS_ARCHIVE = 6;

STORAGE_CLASS_ARCHIVE_VALUE

Set the storage class to ARCHIVE.

STORAGE_CLASS_ARCHIVE = 6;

STORAGE_CLASS_COLDLINE

Set the storage class to COLDLINE.

STORAGE_CLASS_COLDLINE = 5;

STORAGE_CLASS_COLDLINE_VALUE

Set the storage class to COLDLINE.

STORAGE_CLASS_COLDLINE = 5;

STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT

Use the destination bucket's default storage class.

STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1;

STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT_VALUE

Use the destination bucket's default storage class.

STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1;

STORAGE_CLASS_NEARLINE

Set the storage class to NEARLINE.

STORAGE_CLASS_NEARLINE = 4;

STORAGE_CLASS_NEARLINE_VALUE

Set the storage class to NEARLINE.

STORAGE_CLASS_NEARLINE = 4;

STORAGE_CLASS_PRESERVE

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_PRESERVE = 2;

STORAGE_CLASS_PRESERVE_VALUE

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_PRESERVE = 2;

STORAGE_CLASS_STANDARD

Set the storage class to STANDARD.

STORAGE_CLASS_STANDARD = 3;

STORAGE_CLASS_STANDARD_VALUE

Set the storage class to STANDARD.

STORAGE_CLASS_STANDARD = 3;

STORAGE_CLASS_UNSPECIFIED

Storage class behavior is unspecified.

STORAGE_CLASS_UNSPECIFIED = 0;

STORAGE_CLASS_UNSPECIFIED_VALUE

Storage class behavior is unspecified.

STORAGE_CLASS_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()