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
GoogleStorageApiException
public Boolean deleteBucket(String bucket, com.google.cloud.storage.Storage.BucketSourceOption... bucketSourceOption) throws GoogleStorageApiException
GoogleStorageApiException
public com.google.cloud.storage.Bucket getBucket(String bucket, com.google.cloud.storage.Storage.BucketGetOption... bucketGetOptions) throws GoogleStorageApiException
GoogleStorageApiException
public List<com.google.cloud.storage.Bucket> getBuckets(com.google.cloud.storage.Storage.BucketListOption... bucketListOptions) throws GoogleStorageApiException
GoogleStorageApiException
public com.google.cloud.storage.Bucket updateBucket(com.google.cloud.storage.BucketInfo bucketInfo, com.google.cloud.storage.Storage.BucketTargetOption... bucketTargetOptions) throws GoogleStorageApiException
GoogleStorageApiException
Copyright © 2010–2018. All rights reserved.