Cloud Storage API v1beta2 (revision 2)



com.google.api.services.storage
Class Storage.ObjectAccessControls

java.lang.Object
  extended by com.google.api.services.storage.Storage.ObjectAccessControls
Enclosing class:
Storage

public class Storage.ObjectAccessControls
extends Object

The "objectAccessControls" collection of methods.


Nested Class Summary
 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 Summary
Storage.ObjectAccessControls()
           
 
Method Summary
 Storage.ObjectAccessControls.Delete delete(String bucket, String storageObject, String entity)
          Permanently deletes the ACL entry for the specified entity on the specified object.
 Storage.ObjectAccessControls.Get get(String bucket, String storageObject, String entity)
          Returns the ACL entry for the specified entity on the specified object.
 Storage.ObjectAccessControls.Insert insert(String bucket, String storageObject, ObjectAccessControl content)
          Creates a new ACL entry on the specified object.
 Storage.ObjectAccessControls.List list(String bucket, String storageObject)
          Retrieves ACL entries on the specified object.
 Storage.ObjectAccessControls.Patch patch(String bucket, String storageObject, String entity, ObjectAccessControl content)
          Updates an ACL entry on the specified object.
 Storage.ObjectAccessControls.Update update(String bucket, String storageObject, String entity, ObjectAccessControl content)
          Updates an ACL entry on the specified object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Storage.ObjectAccessControls

public Storage.ObjectAccessControls()
Method Detail

delete

public Storage.ObjectAccessControls.Delete delete(String bucket,
                                                  String storageObject,
                                                  String entity)
                                           throws IOException
Permanently deletes the ACL entry for the specified entity on the specified object. Create a request for the method "objectAccessControls.delete". This request holds the parameters needed by the the storage server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
bucket - Name of a bucket.
storageObject - Name of the object.
entity - The entity holding the permission. Can be user-userId, group-groupId, allUsers, or allAuthenticatedUsers.
Returns:
the request
Throws:
IOException

get

public Storage.ObjectAccessControls.Get get(String bucket,
                                            String storageObject,
                                            String entity)
                                     throws IOException
Returns the ACL entry for the specified entity on the specified object. Create a request for the method "objectAccessControls.get". This request holds the parameters needed by the the storage server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
bucket - Name of a bucket.
storageObject - Name of the object.
entity - The entity holding the permission. Can be user-userId, group-groupId, allUsers, or allAuthenticatedUsers.
Returns:
the request
Throws:
IOException

insert

public Storage.ObjectAccessControls.Insert insert(String bucket,
                                                  String storageObject,
                                                  ObjectAccessControl content)
                                           throws IOException
Creates a new ACL entry on the specified object. Create a request for the method "objectAccessControls.insert". This request holds the parameters needed by the the storage server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
bucket - Name of a bucket.
storageObject - Name of the object.
content - the ObjectAccessControl
Returns:
the request
Throws:
IOException

list

public Storage.ObjectAccessControls.List list(String bucket,
                                              String storageObject)
                                       throws IOException
Retrieves ACL entries on the specified object. Create a request for the method "objectAccessControls.list". This request holds the parameters needed by the the storage server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
bucket - Name of a bucket.
storageObject - Name of the object.
Returns:
the request
Throws:
IOException

patch

public Storage.ObjectAccessControls.Patch patch(String bucket,
                                                String storageObject,
                                                String entity,
                                                ObjectAccessControl content)
                                         throws IOException
Updates an ACL entry on the specified object. This method supports patch semantics. Create a request for the method "objectAccessControls.patch". This request holds the parameters needed by the the storage server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
bucket - Name of a bucket.
storageObject - Name of the object.
entity - The entity holding the permission. Can be user-userId, group-groupId, allUsers, or allAuthenticatedUsers.
content - the ObjectAccessControl
Returns:
the request
Throws:
IOException

update

public Storage.ObjectAccessControls.Update update(String bucket,
                                                  String storageObject,
                                                  String entity,
                                                  ObjectAccessControl content)
                                           throws IOException
Updates an ACL entry on the specified object. Create a request for the method "objectAccessControls.update". This request holds the parameters needed by the the storage server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
bucket - Name of a bucket.
storageObject - Name of the object.
entity - The entity holding the permission. Can be user-userId, group-groupId, allUsers, or allAuthenticatedUsers.
content - the ObjectAccessControl
Returns:
the request
Throws:
IOException