| Package | Description |
|---|---|
| com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
| com.google.cloud.storage.testing |
A testing helper for Google Cloud Storage.
|
| Modifier and Type | Method and Description |
|---|---|
Storage |
GrpcStorageOptions.GrpcStorageFactory.create(StorageOptions options) |
Storage |
HttpStorageOptions.HttpStorageFactory.create(StorageOptions options) |
Storage |
Bucket.getStorage()
Returns the bucket's
Storage object used to issue requests. |
Storage |
Notification.getStorage()
Returns the notification's
Storage object used to issue requests. |
Storage |
Blob.getStorage()
Returns the blob's
Storage object used to issue requests. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
GrpcStorageOptions.shouldRefreshService(Storage cachedService) |
| Modifier and Type | Method and Description |
|---|---|
GrpcStorageOptions.Builder |
GrpcStorageOptions.Builder.setServiceFactory(com.google.cloud.ServiceFactory<Storage,StorageOptions> serviceFactory) |
HttpStorageOptions.Builder |
HttpStorageOptions.Builder.setServiceFactory(com.google.cloud.ServiceFactory<Storage,StorageOptions> serviceFactory) |
| Modifier and Type | Method and Description |
|---|---|
static void |
RemoteStorageHelper.cleanBuckets(Storage storage,
long olderThan,
long timeoutMs) |
static void |
RemoteStorageHelper.forceDelete(Storage storage,
String bucket)
Deletes a bucket, even if non-empty.
|
static Boolean |
RemoteStorageHelper.forceDelete(Storage storage,
String bucket,
long timeout,
TimeUnit unit)
Deletes a bucket, even if non-empty.
|
static Boolean |
RemoteStorageHelper.forceDelete(Storage storage,
String bucket,
long timeout,
TimeUnit unit,
String userProject)
Deletes a bucket, even if non-empty.
|
Copyright © 2023 Google LLC. All rights reserved.