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(String bucket,
String entity)
Permanently deletes the ACL entry for the specified entity on the specified bucket.
|
Storage.BucketAccessControls.Get |
get(String bucket,
String entity)
Returns the ACL entry for the specified entity on the specified bucket.
|
Storage.BucketAccessControls.Insert |
insert(String bucket,
BucketAccessControl content)
Creates a new ACL entry on the specified bucket.
|
Storage.BucketAccessControls.List |
list(String bucket)
Retrieves ACL entries on the specified bucket.
|
Storage.BucketAccessControls.Patch |
patch(String bucket,
String entity,
BucketAccessControl content)
Updates an ACL entry on the specified bucket.
|
Storage.BucketAccessControls.Update |
update(String bucket,
String entity,
BucketAccessControl content)
Updates an ACL entry on the specified bucket.
|
public Storage.BucketAccessControls.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.IOException
public Storage.BucketAccessControls.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.IOException
public Storage.BucketAccessControls.Insert insert(String bucket, BucketAccessControl content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of a bucket.content
- the BucketAccessControl
IOException
public Storage.BucketAccessControls.List list(String bucket) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of a bucket.IOException
public Storage.BucketAccessControls.Patch patch(String bucket, String entity, BucketAccessControl 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 BucketAccessControl
IOException
public Storage.BucketAccessControls.Update update(String bucket, String entity, BucketAccessControl 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 BucketAccessControl
IOException