mirror of
https://github.com/apache/jclouds.git
synced 2026-09-01 00:44:28 +00:00
JCLOUDS-1581: Make CORS maxAgeSeconds optional
This field is not required: https://cloud.google.com/storage/docs/cross-origin#cors-elements
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ public abstract class Bucket {
|
||||
|
||||
public abstract List<String> responseHeader();
|
||||
|
||||
public abstract Integer maxAgeSeconds();
|
||||
@Nullable public abstract Integer maxAgeSeconds();
|
||||
|
||||
@SerializedNames({ "origin", "method", "responseHeader", "maxAgeSeconds" })
|
||||
public static Cors create(List<String> origin, List<String> method, List<String> responseHeader,
|
||||
|
||||
Reference in New Issue
Block a user