public final class StorageClass extends StringEnumValue
Enums for the storage classes. See https://cloud.google.com/storage/docs/storage-classes for details.
Static Fields
ARCHIVE
public static final StorageClass ARCHIVE
Archive storage class. See Also: https://cloud.google.com/storage/docs/storage-classes#archive
Field Value | |
---|---|
Type | Description |
StorageClass |
COLDLINE
public static final StorageClass COLDLINE
Coldline storage class. See Also: https://cloud.google.com/storage/docs/storage-classes#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
Nearline storage class. See Also: https://cloud.google.com/storage/docs/storage-classes#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
Standard storage class. See Also: https://cloud.google.com/storage/docs/storage-classes#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[] |