Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
com.google.cloud.storage.contrib.nio |
Java 7 nio FileSystem client library for Google Cloud Storage.
|
com.google.cloud.storage.contrib.nio.testing | |
com.google.cloud.storage.spi.v1 | |
com.google.cloud.storage.testing |
A testing helper for Google Cloud Storage.
|
Modifier and Type | Method and Description |
---|---|
StorageOptions |
StorageOptions.Builder.build() |
static StorageOptions |
StorageOptions.getDefaultInstance()
Returns a default
StorageOptions instance. |
static StorageOptions |
StorageOptions.getUnauthenticatedInstance()
Returns a unauthenticated
StorageOptions instance. |
Modifier and Type | Method and Description |
---|---|
Storage |
StorageOptions.DefaultStorageFactory.create(StorageOptions options) |
ServiceRpc |
StorageOptions.DefaultStorageRpcFactory.create(StorageOptions options) |
Modifier and Type | Method and Description |
---|---|
static CloudStorageFileSystem |
CloudStorageFileSystem.forBucket(String bucket,
CloudStorageConfiguration config,
StorageOptions storageOptions)
Returns Google Cloud Storage
FileSystem object for bucket . |
static void |
CloudStorageFileSystemProvider.setStorageOptions(StorageOptions newStorageOptions)
Sets options that are only used by the constructor.
|
Modifier and Type | Method and Description |
---|---|
static StorageOptions |
LocalStorageHelper.customOptions(boolean throwIfOptions)
Returns a
StorageOptions that creates a new FakeStorageRpc instance with the given
option. |
static StorageOptions |
LocalStorageHelper.getOptions()
Returns a
StorageOptions that use the static FakeStorageRpc instance, and resets it
first so you start from a clean slate. |
Constructor and Description |
---|
HttpStorageRpc(StorageOptions options) |
Modifier and Type | Method and Description |
---|---|
StorageOptions |
RemoteStorageHelper.getOptions()
Returns a
StorageOptions object to be used for testing. |
Copyright © 2019 Google LLC. All rights reserved.