> +import static com.google.common.base.Objects.equal;
> +import static com.google.common.base.Objects.toStringHelper;
> +
> +import com.google.common.base.Objects;
> +
> +/**
> + * This is an internal object used in both Bucket and Object representation
> + */
> +
> +public final class Owner {
> +
> +   private final String entity;
> +   private final String entityId;
> +
> +   public Owner(String entity, String entityId) {
> +      this.entity = entity;

>From api refference in BucketAccessCotrol
entity
"The entity holding the permission, in one of the following forms:
user-userId
user-email
group-groupId
group-email
domain-domain
project-team-projectId
allUsers
allAuthenticatedUsers"

entityId - "The ID for the entity, if any" .

Anyway entityId return null in all the tests i tried






---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/31/files#r14577031

Reply via email to