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(String bucket)
Deletes an empty bucket.
|
Storage.Buckets.Get |
get(String bucket)
Returns metadata for the specified bucket.
|
Storage.Buckets.Insert |
insert(Bucket content)
Creates a new bucket.
|
Storage.Buckets.List |
list(BigInteger projectId)
Retrieves a list of buckets for a given project.
|
Storage.Buckets.Patch |
patch(String bucket,
Bucket content)
Updates a bucket.
|
Storage.Buckets.Update |
update(String bucket,
Bucket content)
Updates a bucket.
|
public Storage.Buckets.Delete delete(String bucket) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of a bucket.IOException
public Storage.Buckets.Get get(String bucket) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of a bucket.IOException
public Storage.Buckets.Insert insert(Bucket content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the Bucket
IOException
public Storage.Buckets.List list(BigInteger projectId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- A valid API project identifier.IOException
public Storage.Buckets.Patch patch(String bucket, Bucket content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of a bucket.content
- the Bucket
IOException
public Storage.Buckets.Update update(String bucket, Bucket content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of a bucket.content
- the Bucket
IOException