| Modifier and Type | Class and Description |
|---|---|
class |
Storage.ObjectAccessControls.Delete |
class |
Storage.ObjectAccessControls.Get |
class |
Storage.ObjectAccessControls.Insert |
class |
Storage.ObjectAccessControls.List |
class |
Storage.ObjectAccessControls.Patch |
class |
Storage.ObjectAccessControls.Update |
| Constructor and Description |
|---|
ObjectAccessControls() |
| Modifier and Type | Method and Description |
|---|---|
Storage.ObjectAccessControls.Delete |
delete(String bucket,
String object__,
String entity)
Permanently deletes the ACL entry for the specified entity on the specified object.
|
Storage.ObjectAccessControls.Get |
get(String bucket,
String object__,
String entity)
Returns the ACL entry for the specified entity on the specified object.
|
Storage.ObjectAccessControls.Insert |
insert(String bucket,
String object__,
ObjectAccessControl content)
Creates a new ACL entry on the specified object.
|
Storage.ObjectAccessControls.List |
list(String bucket,
String object__)
Retrieves ACL entries on the specified object.
|
Storage.ObjectAccessControls.Patch |
patch(String bucket,
String object__,
String entity,
ObjectAccessControl content)
Patches an ACL entry on the specified object.
|
Storage.ObjectAccessControls.Update |
update(String bucket,
String object__,
String entity,
ObjectAccessControl content)
Updates an ACL entry on the specified object.
|
public Storage.ObjectAccessControls.Delete delete(String bucket, String object__, String entity) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.object__ - Name of the object. For information about how to URL encode object names to be path safe, see
[Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-
endpoints#encoding).entity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
emailAddress, allUsers, or allAuthenticatedUsers.IOExceptionpublic Storage.ObjectAccessControls.Get get(String bucket, String object__, String entity) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.object__ - Name of the object. For information about how to URL encode object names to be path safe, see
[Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-
endpoints#encoding).entity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
emailAddress, allUsers, or allAuthenticatedUsers.IOExceptionpublic Storage.ObjectAccessControls.Insert insert(String bucket, String object__, ObjectAccessControl content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.object__ - Name of the object. For information about how to URL encode object names to be path safe, see
[Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-
endpoints#encoding).content - the ObjectAccessControlIOExceptionpublic Storage.ObjectAccessControls.List list(String bucket, String object__) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.object__ - Name of the object. For information about how to URL encode object names to be path safe, see
[Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-
endpoints#encoding).IOExceptionpublic Storage.ObjectAccessControls.Patch patch(String bucket, String object__, String entity, ObjectAccessControl content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.object__ - Name of the object. For information about how to URL encode object names to be path safe, see
[Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-
endpoints#encoding).entity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
emailAddress, allUsers, or allAuthenticatedUsers.content - the ObjectAccessControlIOExceptionpublic Storage.ObjectAccessControls.Update update(String bucket, String object__, String entity, ObjectAccessControl content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.object__ - Name of the object. For information about how to URL encode object names to be path safe, see
[Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-
endpoints#encoding).entity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
emailAddress, allUsers, or allAuthenticatedUsers.content - the ObjectAccessControlIOExceptionCopyright © 2011–2025 Google. All rights reserved.