Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static Storage.BlobGetOption |
Storage.BlobGetOption.fields(Storage.BlobField... fields)
Returns an option to specify the blob's fields to be returned by the RPC call.
|
static Storage.BlobGetOption |
Storage.BlobGetOption.generationMatch()
Returns an option for blob's data generation match.
|
static Storage.BlobGetOption |
Storage.BlobGetOption.generationMatch(long generation)
Returns an option for blob's data generation match.
|
static Storage.BlobGetOption |
Storage.BlobGetOption.generationNotMatch()
Returns an option for blob's data generation mismatch.
|
static Storage.BlobGetOption |
Storage.BlobGetOption.generationNotMatch(long generation)
Returns an option for blob's data generation mismatch.
|
static Storage.BlobGetOption |
Storage.BlobGetOption.metagenerationMatch(long metageneration)
Returns an option for blob's metageneration match.
|
static Storage.BlobGetOption |
Storage.BlobGetOption.metagenerationNotMatch(long metageneration)
Returns an option for blob's metageneration mismatch.
|
static Storage.BlobGetOption |
Storage.BlobGetOption.userProject(String userProject)
Returns an option for blob's billing user project.
|
Modifier and Type | Method and Description |
---|---|
StorageBatchResult<Blob> |
StorageBatch.get(BlobId blob,
Storage.BlobGetOption... options)
Adds a request representing the "get blob" operation to this batch.
|
Blob |
Storage.get(BlobId blob,
Storage.BlobGetOption... options)
Returns the requested blob or
null if not found. |
Blob |
Bucket.get(String blob,
Storage.BlobGetOption... options)
Returns the requested blob in this bucket or
null if not found. |
StorageBatchResult<Blob> |
StorageBatch.get(String bucket,
String blob,
Storage.BlobGetOption... options)
Adds a request representing the "get blob" operation to this batch.
|
Blob |
Storage.get(String bucket,
String blob,
Storage.BlobGetOption... options)
Returns the requested blob or
null if not found. |
Copyright © 2019 Google LLC. All rights reserved.