public class Storage.BucketAccessControls
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Storage.BucketAccessControls.Delete |
class |
Storage.BucketAccessControls.Get |
class |
Storage.BucketAccessControls.Insert |
class |
Storage.BucketAccessControls.List |
class |
Storage.BucketAccessControls.Patch |
class |
Storage.BucketAccessControls.Update |
Constructor and Description |
---|
Storage.BucketAccessControls() |
Modifier and Type | Method and Description |
---|---|
Storage.BucketAccessControls.Delete |
delete(java.lang.String bucket,
java.lang.String entity)
Permanently deletes the ACL entry for the specified entity on the specified bucket.
|
Storage.BucketAccessControls.Get |
get(java.lang.String bucket,
java.lang.String entity)
Returns the ACL entry for the specified entity on the specified bucket.
|
Storage.BucketAccessControls.Insert |
insert(java.lang.String bucket,
BucketAccessControl content)
Creates a new ACL entry on the specified bucket.
|
Storage.BucketAccessControls.List |
list(java.lang.String bucket)
Retrieves ACL entries on the specified bucket.
|
Storage.BucketAccessControls.Patch |
patch(java.lang.String bucket,
java.lang.String entity,
BucketAccessControl content)
Updates an ACL entry on the specified bucket.
|
Storage.BucketAccessControls.Update |
update(java.lang.String bucket,
java.lang.String entity,
BucketAccessControl content)
Updates an ACL entry on the specified bucket.
|
public Storage.BucketAccessControls.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.BucketAccessControls.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.BucketAccessControls.Insert insert(java.lang.String bucket, BucketAccessControl content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of a bucket.content
- the BucketAccessControl
java.io.IOException
public Storage.BucketAccessControls.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.BucketAccessControls.Patch patch(java.lang.String bucket, java.lang.String entity, BucketAccessControl 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 BucketAccessControl
java.io.IOException
public Storage.BucketAccessControls.Update update(java.lang.String bucket, java.lang.String entity, BucketAccessControl 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 BucketAccessControl
java.io.IOException