public class Storage.DefaultObjectAccessControls
extends java.lang.Object
| 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(java.lang.String bucket,
java.lang.String entity)
Permanently deletes the default object ACL entry for the specified entity on the specified
bucket.
|
Storage.DefaultObjectAccessControls.Get |
get(java.lang.String bucket,
java.lang.String entity)
Returns the default object ACL entry for the specified entity on the specified bucket.
|
Storage.DefaultObjectAccessControls.Insert |
insert(java.lang.String bucket,
ObjectAccessControl content)
Creates a new default object ACL entry on the specified bucket.
|
Storage.DefaultObjectAccessControls.List |
list(java.lang.String bucket)
Retrieves default object ACL entries on the specified bucket.
|
Storage.DefaultObjectAccessControls.Patch |
patch(java.lang.String bucket,
java.lang.String entity,
ObjectAccessControl content)
Patches a default object ACL entry on the specified bucket.
|
Storage.DefaultObjectAccessControls.Update |
update(java.lang.String bucket,
java.lang.String entity,
ObjectAccessControl content)
Updates a default object ACL entry on the specified bucket.
|
public Storage.DefaultObjectAccessControls.Delete delete(java.lang.String bucket, java.lang.String entity) throws java.io.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.java.io.IOExceptionpublic Storage.DefaultObjectAccessControls.Get get(java.lang.String bucket, java.lang.String entity) throws java.io.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.java.io.IOExceptionpublic Storage.DefaultObjectAccessControls.Insert insert(java.lang.String bucket, ObjectAccessControl content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.content - the ObjectAccessControljava.io.IOExceptionpublic Storage.DefaultObjectAccessControls.List list(java.lang.String bucket) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a bucket.java.io.IOExceptionpublic Storage.DefaultObjectAccessControls.Patch patch(java.lang.String bucket, java.lang.String entity, ObjectAccessControl content) throws java.io.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 ObjectAccessControljava.io.IOExceptionpublic Storage.DefaultObjectAccessControls.Update update(java.lang.String bucket, java.lang.String entity, ObjectAccessControl content) throws java.io.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 ObjectAccessControljava.io.IOException