Skip to content

Commit acdb949

Browse files
Add DURABLE_REDUCED_AVAILABILITY storage class
Otherwise we crash when servers return this value.
1 parent 6de41d5 commit acdb949

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

google-cloud-storage/src/main/java/com/google/cloud/storage/StorageClass.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,10 @@ public enum StorageClass {
4444
/**
4545
* Standard storage class.
4646
*/
47-
STANDARD
47+
STANDARD,
48+
49+
/**
50+
* Durable Reduced Availability (deprecated)
51+
*/
52+
DURABLE_REDUCED_AVAILABILITY,
4853
}

0 commit comments

Comments
 (0)