Package com.google.cloud.storage
Class Acl
java.lang.Object
com.google.cloud.storage.Acl
- All Implemented Interfaces:
Serializable
Access Control List for buckets or blobs.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder forAcl
objects.static final class
Class for ACL Domain entities.static class
Base class for Access Control List entities.static final class
Class for ACL Group entities.static final class
Class for ACL Project entities.static final class
static final class
static final class
Class for ACL User entities. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the entity for this ACL object.getEtag()
Returns HTTP 1.1 Entity tag for the ACL entry.getId()
Returns the ID of the ACL entry.getRole()
Returns the role associated to the entity in this ACL object.int
hashCode()
static Acl.Builder
newBuilder
(Acl.Entity entity, Acl.Role role) Returns a builder forAcl
objects.static Acl
of
(Acl.Entity entity, Acl.Role role) Returns anAcl
object.Returns a builder for thisAcl
object.toString()
-
Method Details
-
getEntity
Returns the entity for this ACL object. -
getRole
Returns the role associated to the entity in this ACL object. -
getId
Returns the ID of the ACL entry. -
getEtag
Returns HTTP 1.1 Entity tag for the ACL entry.- See Also:
-
toBuilder
Returns a builder for thisAcl
object. -
of
Returns anAcl
object.- Parameters:
entity
- the entity for this ACL objectrole
- the role to associate to theentity
object
-
newBuilder
Returns a builder forAcl
objects.- Parameters:
entity
- the entity for this ACL objectrole
- the role to associate to theentity
object
-
toString
-
hashCode
public int hashCode() -
equals
-