The ObjectAccessControls resources represent the Access Control Lists (ACLs) for objects within Cloud Storage. ACLs let you specify who has access to your data and to what extent.  
There are two roles that can be assigned to an entity:
-  READERs can get an object, though theaclproperty will not be revealed.
-  OWNERs areREADERs, and they can get theaclproperty, update an object, and call all objectAccessControls methods on the object. The owner of an object is always anOWNER.
READER 
and OWNER 
instead of READ 
and FULL_CONTROL 
. To try out the methods for this resource, see Methods .
Resource representations
{ "kind": "storage#objectAccessControl", "object": string , "generation": " long ", "id": string , "selfLink": string , "bucket": string , "entity": string , "role": string , "email": string , "domain": string , "entityId": string , "etag": string , "projectTeam": { "projectNumber": string , "team": string } }
Property name
 
 Value
 
 Description
 
 Notes
 
bucket 
string 
The name of the bucket.
 
  
domain 
string 
The domain associated with the entity, if any.
 
  
email 
string 
The email address associated with the entity, if any.
 
  
entity 
string 
The entity holding the permission, in one of the following forms: 
 
 -  user- email
-  group- groupId
-  group- email
-  domain- domain
-  project- team - projectId
-  allUsers
-  allAuthenticatedUsers
- The user liz@example.comwould beuser-liz@example.com.
- The group example@googlegroups.comwould begroup-example@googlegroups.com.
- To refer to all members of the domain example.com, the entity would bedomain-example.com.
writable
 
entityId 
string 
The ID for the entity, if any.
 
  
generation 
long 
 1 
The content generation of the object, if applied to an object.
 
  
id 
string 
The ID of the access-control entry.
 
  
kind 
string 
The kind of item this is. For object access control entries, this is always 
 
  
storage#objectAccessControl 
.object 
string 
The name of the object, if applied to an object.
 
  
projectTeam 
object 
The project team associated with the entity, if any.
 
  
projectTeam.projectNumber 
string 
The project number.
 
  
projectTeam.team 
string 
The team.
Acceptable values are:
 
  
Acceptable values are:
- " editors"
- " owners"
- " viewers"
role 
string 
The access permission for the entity.
Acceptable values are:
 
 Acceptable values are:
- " OWNER"
- " READER"
writable
 
selfLink 
string 
The link to this access-control entry.
 
  
Methods
The methods for working with an object's access controls are as follows:
- delete
- Permanently deletes the ACL entry for the specified entity on the specified object .
- get
- Returns the ACL entry for the specified entity on the specified object .
- insert
- Creates a new ACL entry on the specified object .
- list
- Retrieves ACL entries on the specified object .
- patch
- Updates an ACL entry on the specified object . This method supports patch semantics.
- update
- Updates an ACL entry on the specified object .

