Cloud Storage API v1beta2 (revision 2)



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

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

public class Storage.DefaultObjectAccessControls
extends Object

The "defaultObjectAccessControls" collection of methods.


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

Constructor Detail

Storage.DefaultObjectAccessControls

public Storage.DefaultObjectAccessControls()
Method Detail

delete

public Storage.DefaultObjectAccessControls.Delete delete(String bucket,
                                                         String entity)
                                                  throws IOException
Permanently deletes the default object ACL entry for the specified entity on the specified bucket. Create a request for the method "defaultObjectAccessControls.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.
entity - The entity holding the permission. Can be user-userId, group-groupId, allUsers, or allAuthenticatedUsers.
Returns:
the request
Throws:
IOException

get

public Storage.DefaultObjectAccessControls.Get get(String bucket,
                                                   String entity)
                                            throws IOException
Returns the default object ACL entry for the specified entity on the specified bucket. Create a request for the method "defaultObjectAccessControls.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.
entity - The entity holding the permission. Can be user-userId, group-groupId, allUsers, or allAuthenticatedUsers.
Returns:
the request
Throws:
IOException

insert

public Storage.DefaultObjectAccessControls.Insert insert(String bucket,
                                                         ObjectAccessControl content)
                                                  throws IOException
Creates a new default object ACL entry on the specified bucket. Create a request for the method "defaultObjectAccessControls.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.
content - the ObjectAccessControl
Returns:
the request
Throws:
IOException

list

public Storage.DefaultObjectAccessControls.List list(String bucket)
                                              throws IOException
Retrieves default object ACL entries on the specified bucket. Create a request for the method "defaultObjectAccessControls.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.
Returns:
the request
Throws:
IOException

patch

public Storage.DefaultObjectAccessControls.Patch patch(String bucket,
                                                       String entity,
                                                       ObjectAccessControl content)
                                                throws IOException
Updates a default object ACL entry on the specified bucket. This method supports patch semantics. Create a request for the method "defaultObjectAccessControls.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.
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.DefaultObjectAccessControls.Update update(String bucket,
                                                         String entity,
                                                         ObjectAccessControl content)
                                                  throws IOException
Updates a default object ACL entry on the specified bucket. Create a request for the method "defaultObjectAccessControls.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.
entity - The entity holding the permission. Can be user-userId, group-groupId, allUsers, or allAuthenticatedUsers.
content - the ObjectAccessControl
Returns:
the request
Throws:
IOException