| 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 |
|---|
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,
com.google.api.services.storage.model.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,
com.google.api.services.storage.model.BucketAccessControl content)
Patches an ACL entry on the specified bucket.
|
Storage.BucketAccessControls.Update |
update(String bucket,
String entity,
com.google.api.services.storage.model.BucketAccessControl content)
Updates an ACL entry on the specified bucket.
|
public Storage.BucketAccessControls.Delete delete(String bucket, String entity) throws IOException
Create a request for the method "bucketAccessControls.delete".
This request holds the parameters needed by the storage server. After setting any optional
parameters, call the 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.BucketAccessControls.Get get(String bucket, String entity) throws IOException
Create a request for the method "bucketAccessControls.get".
This request holds the parameters needed by the storage server. After setting any optional
parameters, call the 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.BucketAccessControls.Insert insert(String bucket, com.google.api.services.storage.model.BucketAccessControl content) throws IOException
Create a request for the method "bucketAccessControls.insert".
This request holds the parameters needed by the storage server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
bucket - Name of a bucket.content - the BucketAccessControlIOExceptionpublic Storage.BucketAccessControls.List list(String bucket) throws IOException
Create a request for the method "bucketAccessControls.list".
This request holds the parameters needed by the storage server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
bucket - Name of a bucket.IOExceptionpublic Storage.BucketAccessControls.Patch patch(String bucket, String entity, com.google.api.services.storage.model.BucketAccessControl content) throws IOException
Create a request for the method "bucketAccessControls.patch".
This request holds the parameters needed by the storage server. After setting any optional
parameters, call the 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 BucketAccessControlIOExceptionpublic Storage.BucketAccessControls.Update update(String bucket, String entity, com.google.api.services.storage.model.BucketAccessControl content) throws IOException
Create a request for the method "bucketAccessControls.update".
This request holds the parameters needed by the storage server. After setting any optional
parameters, call the 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 BucketAccessControlIOExceptionCopyright © 2022. All rights reserved.