public class BucketsService extends Object
| Constructor and Description |
|---|
BucketsService(com.google.cloud.storage.Storage storageInstance) |
| Modifier and Type | Method and Description |
|---|---|
com.google.cloud.storage.Bucket |
createBucket(com.google.cloud.storage.BucketInfo bucketInfo,
com.google.cloud.storage.Storage.BucketTargetOption... bucketTargetOption) |
Boolean |
deleteBucket(String bucket,
com.google.cloud.storage.Storage.BucketSourceOption... bucketSourceOption) |
com.google.cloud.storage.Bucket |
getBucket(String bucket,
com.google.cloud.storage.Storage.BucketGetOption... bucketGetOptions) |
List<com.google.cloud.storage.Bucket> |
getBuckets(com.google.cloud.storage.Storage.BucketListOption... bucketListOptions) |
com.google.cloud.storage.Bucket |
updateBucket(com.google.cloud.storage.BucketInfo bucketInfo,
com.google.cloud.storage.Storage.BucketTargetOption... bucketTargetOptions) |
public BucketsService(com.google.cloud.storage.Storage storageInstance)
public com.google.cloud.storage.Bucket createBucket(com.google.cloud.storage.BucketInfo bucketInfo,
com.google.cloud.storage.Storage.BucketTargetOption... bucketTargetOption)
throws GoogleStorageApiException
GoogleStorageApiExceptionpublic Boolean deleteBucket(String bucket, com.google.cloud.storage.Storage.BucketSourceOption... bucketSourceOption) throws GoogleStorageApiException
GoogleStorageApiExceptionpublic com.google.cloud.storage.Bucket getBucket(String bucket, com.google.cloud.storage.Storage.BucketGetOption... bucketGetOptions) throws GoogleStorageApiException
GoogleStorageApiExceptionpublic List<com.google.cloud.storage.Bucket> getBuckets(com.google.cloud.storage.Storage.BucketListOption... bucketListOptions) throws GoogleStorageApiException
GoogleStorageApiExceptionpublic com.google.cloud.storage.Bucket updateBucket(com.google.cloud.storage.BucketInfo bucketInfo,
com.google.cloud.storage.Storage.BucketTargetOption... bucketTargetOptions)
throws GoogleStorageApiException
GoogleStorageApiExceptionCopyright © 2010–2018. All rights reserved.