| Modifier and Type | Class and Description |
|---|---|
class |
Storage.ObjectAccessControls.Delete |
class |
Storage.ObjectAccessControls.Get |
class |
Storage.ObjectAccessControls.Insert |
class |
Storage.ObjectAccessControls.List |
class |
Storage.ObjectAccessControls.Patch |
class |
Storage.ObjectAccessControls.Update |
| Constructor and Description |
|---|
ObjectAccessControls() |
| Modifier and Type | Method and Description |
|---|---|
Storage.ObjectAccessControls.Delete |
delete(String bucket,
String object__,
String entity)
Permanently deletes the ACL entry for the specified entity on the specified object.
|
Storage.ObjectAccessControls.Get |
get(String bucket,
String object__,
String entity)
Returns the ACL entry for the specified entity on the specified object.
|
Storage.ObjectAccessControls.Insert |
insert(String bucket,
String object__,
com.google.api.services.storage.model.ObjectAccessControl content)
Creates a new ACL entry on the specified object.
|
Storage.ObjectAccessControls.List |
list(String bucket,
String object__)
Retrieves ACL entries on the specified object.
|
Storage.ObjectAccessControls.Patch |
patch(String bucket,
String object__,
String entity,
com.google.api.services.storage.model.ObjectAccessControl content)
Patches an ACL entry on the specified object.
|
Storage.ObjectAccessControls.Update |
update(String bucket,
String object__,
String entity,
com.google.api.services.storage.model.ObjectAccessControl content)
Updates an ACL entry on the specified object.
|
public Storage.ObjectAccessControls.Delete delete(String bucket, String object__, String entity) throws IOException
Create a request for the method "objectAccessControls.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.object__ - Name of the object. For information about how to URL encode object names to
be path safe, see Encoding URI Path Parts.entity - The entity holding the permission. Can be user-userId, user-emailAddress,
group-groupId, group- emailAddress, allUsers, or allAuthenticatedUsers.IOExceptionpublic Storage.ObjectAccessControls.Get get(String bucket, String object__, String entity) throws IOException
Create a request for the method "objectAccessControls.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.object__ - Name of the object. For information about how to URL encode object names to
be path safe, see Encoding URI Path Parts.entity - The entity holding the permission. Can be user-userId, user-emailAddress,
group-groupId, group- emailAddress, allUsers, or allAuthenticatedUsers.IOExceptionpublic Storage.ObjectAccessControls.Insert insert(String bucket, String object__, com.google.api.services.storage.model.ObjectAccessControl content) throws IOException
Create a request for the method "objectAccessControls.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.object__ - Name of the object. For information about how to URL encode object names to
be path safe, see Encoding URI Path Parts.content - the ObjectAccessControlIOExceptionpublic Storage.ObjectAccessControls.List list(String bucket, String object__) throws IOException
Create a request for the method "objectAccessControls.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.object__ - Name of the object. For information about how to URL encode object names to
be path safe, see Encoding URI Path Parts.IOExceptionpublic Storage.ObjectAccessControls.Patch patch(String bucket, String object__, String entity, com.google.api.services.storage.model.ObjectAccessControl content) throws IOException
Create a request for the method "objectAccessControls.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.object__ - Name of the object. For information about how to URL encode object names to
be path safe, see Encoding URI Path Parts.entity - The entity holding the permission. Can be user-userId, user-emailAddress,
group-groupId, group- emailAddress, allUsers, or allAuthenticatedUsers.content - the ObjectAccessControlIOExceptionpublic Storage.ObjectAccessControls.Update update(String bucket, String object__, String entity, com.google.api.services.storage.model.ObjectAccessControl content) throws IOException
Create a request for the method "objectAccessControls.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.object__ - Name of the object. For information about how to URL encode object names to
be path safe, see Encoding URI Path Parts.entity - The entity holding the permission. Can be user-userId, user-emailAddress,
group-groupId, group- emailAddress, allUsers, or allAuthenticatedUsers.content - the ObjectAccessControlIOExceptionCopyright © 2022. All rights reserved.