Skip to main content

bucket_access_controls

Overview

Namebucket_access_controls
TypeResource
Idgoogle.storage.bucket_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.
kindstringThe kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
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, entityReturns the ACL entry for the specified entity on the specified bucket.
listSELECTbucketRetrieves ACL entries on the specified bucket.
insertINSERTbucketCreates a new ACL entry on the specified bucket.
deleteDELETEbucket, entityPermanently deletes the ACL entry for the specified entity on the specified bucket.
patchEXECbucket, entityPatches an ACL entry on the specified bucket.
updateEXECbucket, entityUpdates an ACL entry on the specified bucket.