mirror of https://github.com/apache/jclouds.git
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:
parent
261f9d1fd5
commit
fda1824620
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue