Class StorageClass (2.19.0)

public final class StorageClass extends StringEnumValue

Enums for the storage classes. See https://cloud.google.com/storage/docs/storage-classes for details.

Inheritance

java.lang.Object > com.google.cloud.StringEnumValue > StorageClass

Static Fields

ARCHIVE

public static final StorageClass ARCHIVE
Field Value
TypeDescription
StorageClass

COLDLINE

public static final StorageClass COLDLINE
Field Value
TypeDescription
StorageClass

DURABLE_REDUCED_AVAILABILITY

public static final StorageClass DURABLE_REDUCED_AVAILABILITY

Legacy Durable Reduced Availability storage class, use #STANDARD instead. This class will be deprecated in the future. See Also: https://cloud.google.com/storage/docs/storage-classes#legacy

Field Value
TypeDescription
StorageClass

MULTI_REGIONAL

public static final StorageClass MULTI_REGIONAL

Legacy Multi-regional storage class, use #STANDARD instead. This class will be deprecated in the future. See Also: https://cloud.google.com/storage/docs/storage-classes#legacy

Field Value
TypeDescription
StorageClass

NEARLINE

public static final StorageClass NEARLINE
Field Value
TypeDescription
StorageClass

REGIONAL

public static final StorageClass REGIONAL

Legacy Regional storage class, use #STANDARD instead. This class will be deprecated in the future. See Also: https://cloud.google.com/storage/docs/storage-classes#legacy

Field Value
TypeDescription
StorageClass

STANDARD

public static final StorageClass STANDARD
Field Value
TypeDescription
StorageClass

Static Methods

valueOf(String constant)

public static StorageClass valueOf(String constant)

Get the StorageClass for the given String constant, and allow unrecognized values.

Parameter
NameDescription
constantString
Returns
TypeDescription
StorageClass

valueOfStrict(String constant)

public static StorageClass valueOfStrict(String constant)

Get the StorageClass for the given String constant, and throw an exception if the constant is not recognized.

Parameter
NameDescription
constantString
Returns
TypeDescription
StorageClass

values()

public static StorageClass[] values()

Return the known values for StorageClass.

Returns
TypeDescription
StorageClass[]