public class Storage.Buckets
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Storage.Buckets.Delete |
class |
Storage.Buckets.Get |
class |
Storage.Buckets.Insert |
class |
Storage.Buckets.List |
class |
Storage.Buckets.Patch |
class |
Storage.Buckets.Update |
Constructor and Description |
---|
Storage.Buckets() |
Modifier and Type | Method and Description |
---|---|
Storage.Buckets.Delete |
delete(java.lang.String bucket)
Deletes an empty bucket.
|
Storage.Buckets.Get |
get(java.lang.String bucket)
Returns metadata for the specified bucket.
|
Storage.Buckets.Insert |
insert(Bucket content)
Creates a new bucket.
|
Storage.Buckets.List |
list(java.math.BigInteger projectId)
Retrieves a list of buckets for a given project.
|
Storage.Buckets.Patch |
patch(java.lang.String bucket,
Bucket content)
Updates a bucket.
|
Storage.Buckets.Update |
update(java.lang.String bucket,
Bucket content)
Updates a bucket.
|
public Storage.Buckets.Delete delete(java.lang.String bucket) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of a bucket.java.io.IOException
public Storage.Buckets.Get get(java.lang.String bucket) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of a bucket.java.io.IOException
public Storage.Buckets.Insert insert(Bucket content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the Bucket
java.io.IOException
public Storage.Buckets.List list(java.math.BigInteger projectId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- A valid API project identifier.java.io.IOException
public Storage.Buckets.Patch patch(java.lang.String bucket, Bucket content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of a bucket.content
- the Bucket
java.io.IOException
public Storage.Buckets.Update update(java.lang.String bucket, Bucket content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of a bucket.content
- the Bucket
java.io.IOException