object_access_controls
Overview
Name | object_access_controls |
Type | Resource |
Id | google.storage.object_access_controls |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The ID of the access-control entry. |
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-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. |
entityId | string | The ID for the entity, if any. |
etag | string | HTTP 1.1 Entity tag for the access-control entry. |
generation | string | The content generation of the object, if applied to an object. |
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. |
role | string | The access permission for the entity. |
selfLink | string | The link to this access-control entry. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | bucket, entity, object | Returns the ACL entry for the specified entity on the specified object. |
list | SELECT | bucket, object | Retrieves ACL entries on the specified object. |
insert | INSERT | bucket, object | Creates a new ACL entry on the specified object. |
delete | DELETE | bucket, entity, object | Permanently deletes the ACL entry for the specified entity on the specified object. |
patch | EXEC | bucket, entity, object | Patches an ACL entry on the specified object. |
update | EXEC | bucket, entity, object | Updates an ACL entry on the specified object. |