Class StorageClass (2.18.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
Type Description
StorageClass

COLDLINE

public static final StorageClass COLDLINE
Field Value
Type Description
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
Type Description
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
Type Description
StorageClass

NEARLINE

public static final StorageClass NEARLINE
Field Value
Type Description
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
Type Description
StorageClass

STANDARD

public static final StorageClass STANDARD
Field Value
Type Description
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
Name Description
constant String
Returns
Type Description
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
Name Description
constant String
Returns
Type Description
StorageClass

values()

public static StorageClass[] values()

Return the known values for StorageClass.

Returns
Type Description
StorageClass[]