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 |
---|
Storage.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)
Updates 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.IOException
public 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.IOException
public 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 ObjectAccessControl
java.io.IOException
public 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.IOException
public 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 ObjectAccessControl
java.io.IOException
public 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 ObjectAccessControl
java.io.IOException