> @@ -32,31 +30,30 @@ > * @see <a href= "https://developers.google.com/storage/docs/cross-origin" /> > */ > > -public final class BucketCors { > - private final Set<String> origins; > - private final Set<String> methods; > - private final Set<String> responseHeaders; > +public class BucketCors { > + private final Set<String> origin ; > + private final Set<String> method ; > + private final Set<String> responseHeader ;
This is sample json given in https://developers.google.com/storage/docs/cross-origin [ { "origin": ["http://example.appspot.com"], "responseHeader": ["x-meta-goog-custom"], "method": ["GET", "HEAD", "DELETE"], "maxAgeSeconds": 3600 } ] In xml api there is "methods" and "origins" but not in json api https://developers.google.com/storage/docs/reference-methods#elements-for-cors --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-google/pull/33/files#r14650321