Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.decryptionKey(Key key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.decryptionKey(String key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.generationMatch()
Returns an option for blob's data generation match.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.generationMatch(long generation)
Returns an option for blob's data generation match.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.generationNotMatch()
Returns an option for blob's data generation mismatch.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.generationNotMatch(long generation)
Returns an option for blob's data generation mismatch.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.metagenerationMatch(long metageneration)
Returns an option for blob's metageneration match.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.metagenerationNotMatch(long metageneration)
Returns an option for blob's metageneration mismatch.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.userProject(String userProject)
Returns an option for blob's billing user project.
|
Modifier and Type | Method and Description |
---|---|
List<Storage.BlobSourceOption> |
Storage.CopyRequest.getSourceOptions()
Returns blob's source options.
|
Modifier and Type | Method and Description |
---|---|
StorageBatchResult<Boolean> |
StorageBatch.delete(BlobId blob,
Storage.BlobSourceOption... options)
Adds a request representing the "delete blob" operation to this batch.
|
boolean |
Storage.delete(BlobId blob,
Storage.BlobSourceOption... options)
Deletes the requested blob.
|
StorageBatchResult<Boolean> |
StorageBatch.delete(String bucket,
String blob,
Storage.BlobSourceOption... options)
Adds a request representing the "delete blob" operation to this batch.
|
boolean |
Storage.delete(String bucket,
String blob,
Storage.BlobSourceOption... options)
Deletes the requested blob.
|
byte[] |
Storage.readAllBytes(BlobId blob,
Storage.BlobSourceOption... options)
Reads all the bytes from a blob.
|
byte[] |
Storage.readAllBytes(String bucket,
String blob,
Storage.BlobSourceOption... options)
Reads all the bytes from a blob.
|
ReadChannel |
Storage.reader(BlobId blob,
Storage.BlobSourceOption... options)
Returns a channel for reading the blob's content.
|
ReadChannel |
Storage.reader(String bucket,
String blob,
Storage.BlobSourceOption... options)
Returns a channel for reading the blob's content.
|
Storage.CopyRequest.Builder |
Storage.CopyRequest.Builder.setSourceOptions(Storage.BlobSourceOption... options)
Sets blob's source options.
|
Modifier and Type | Method and Description |
---|---|
Storage.CopyRequest.Builder |
Storage.CopyRequest.Builder.setSourceOptions(Iterable<Storage.BlobSourceOption> options)
Sets blob's source options.
|
Copyright © 2019 Google LLC. All rights reserved.