jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-labs-google] JCLOUDS-458:Added ObjectAccessControls with expect tests (#36)
Date Wed, 17 Sep 2014 18:52:21 GMT
> +    *           The entity holding the permission. Can be user-userId, user-emailAddress,
group-groupId,
> +    *           group-emailAddress, allUsers, or allAuthenticatedUsers
> +    * @param generation
> +    *           If present, selects a specific revision of this object
> +    *
> +    * @return an {@link ObjectAccessControls }
> +    */
> +
> +   @Named("ObjectAccessControls:get")
> +   @GET
> +   @Consumes(MediaType.APPLICATION_JSON)
> +   @Path("/b/{bucket}/o/{object}/acl/{entity}")
> +   @OAuthScopes(STORAGE_FULLCONTROL_SCOPE)
> +   @Fallback(NullOnNotFoundOr404.class)
> +   @Nullable
> +   ObjectAccessControls getObjectAccessControls(@PathParam("bucket") String bucketName,

Just curious...would it make sense to have `one` call and make `generation` optional, i.e.
nullable?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/36/files#r17685235
Mime
View raw message