Skip to main content

object_access_controls

Overview

Nameobject_access_controls
TypeResource
Idgoogle.storage.object_access_controls

Fields

NameDatatypeDescription
idstringThe ID of the access-control entry.
bucketstringThe name of the bucket.
domainstringThe domain associated with the entity, if any.
emailstringThe email address associated with the entity, if any.
entitystringThe 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 Examples:
- The user liz@example.com would be user-liz@example.com.
- The group example@googlegroups.com would be group-example@googlegroups.com.
- To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityIdstringThe ID for the entity, if any.
etagstringHTTP 1.1 Entity tag for the access-control entry.
generationstringThe content generation of the object, if applied to an object.
kindstringThe kind of item this is. For object access control entries, this is always storage#objectAccessControl.
objectstringThe name of the object, if applied to an object.
projectTeamobjectThe project team associated with the entity, if any.
rolestringThe access permission for the entity.
selfLinkstringThe link to this access-control entry.

Methods

NameAccessible byRequired ParamsDescription
getSELECTbucket, entity, objectReturns the ACL entry for the specified entity on the specified object.
listSELECTbucket, objectRetrieves ACL entries on the specified object.
insertINSERTbucket, objectCreates a new ACL entry on the specified object.
deleteDELETEbucket, entity, objectPermanently deletes the ACL entry for the specified entity on the specified object.
patchEXECbucket, entity, objectPatches an ACL entry on the specified object.
updateEXECbucket, entity, objectUpdates an ACL entry on the specified object.