| Modifier and Type | Class and Description |
|---|---|
class |
Storage.DefaultObjectAccessControls.Delete |
class |
Storage.DefaultObjectAccessControls.Get |
class |
Storage.DefaultObjectAccessControls.Insert |
class |
Storage.DefaultObjectAccessControls.List |
class |
Storage.DefaultObjectAccessControls.Patch |
class |
Storage.DefaultObjectAccessControls.Update |
| Constructor and Description |
|---|
DefaultObjectAccessControls() |
| Modifier and Type | Method and Description |
|---|---|
Storage.DefaultObjectAccessControls.Delete |
delete(String bucket,
String entity)
Permanently deletes the default object ACL entry for the specified entity on the specified
bucket.
|
Storage.DefaultObjectAccessControls.Get |
get(String bucket,
String entity)
Returns the default object ACL entry for the specified entity on the specified bucket.
|
Storage.DefaultObjectAccessControls.Insert |
insert(String bucket,
ObjectAccessControl content)
Creates a new default object ACL entry on the specified bucket.
|
Storage.DefaultObjectAccessControls.List |
list(String bucket)
Retrieves default object ACL entries on the specified bucket.
|
Storage.DefaultObjectAccessControls.Patch |
patch(String bucket,
String entity,
ObjectAccessControl content)
Patches a default object ACL entry on the specified bucket.
|
Storage.DefaultObjectAccessControls.Update |
update(String bucket,
String entity,
ObjectAccessControl content)
Updates a default object ACL entry on the specified bucket.
|
public Storage.DefaultObjectAccessControls.Delete delete(String bucket, String entity) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.entity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
emailAddress, allUsers, or allAuthenticatedUsers.IOExceptionpublic Storage.DefaultObjectAccessControls.Get get(String bucket, String entity) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.entity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
emailAddress, allUsers, or allAuthenticatedUsers.IOExceptionpublic Storage.DefaultObjectAccessControls.Insert insert(String bucket, ObjectAccessControl content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.content - the ObjectAccessControlIOExceptionpublic Storage.DefaultObjectAccessControls.List list(String bucket) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.IOExceptionpublic Storage.DefaultObjectAccessControls.Patch patch(String bucket, String entity, ObjectAccessControl content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.entity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
emailAddress, allUsers, or allAuthenticatedUsers.content - the ObjectAccessControlIOExceptionpublic Storage.DefaultObjectAccessControls.Update update(String bucket, String entity, ObjectAccessControl content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.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.