Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
Blob |
Blob.Builder.build() |
Blob |
Storage.compose(Storage.ComposeRequest composeRequest)
Sends a compose request.
|
Blob |
Storage.create(BlobInfo blobInfo,
byte[] content,
int offset,
int length,
Storage.BlobTargetOption... options)
Creates a new blob with the sub array of the given byte array.
|
Blob |
Storage.create(BlobInfo blobInfo,
byte[] content,
Storage.BlobTargetOption... options)
Creates a new blob.
|
Blob |
Storage.create(BlobInfo blobInfo,
InputStream content,
Storage.BlobWriteOption... options)
Deprecated.
|
Blob |
Storage.create(BlobInfo blobInfo,
Storage.BlobTargetOption... options)
Creates a new blob with no content.
|
Blob |
Bucket.create(String blob,
byte[] content,
Bucket.BlobTargetOption... options)
Creates a new blob in this bucket.
|
Blob |
Bucket.create(String blob,
byte[] content,
String contentType,
Bucket.BlobTargetOption... options)
Creates a new blob in this bucket.
|
Blob |
Bucket.create(String blob,
InputStream content,
Bucket.BlobWriteOption... options)
Creates a new blob in this bucket.
|
Blob |
Bucket.create(String blob,
InputStream content,
String contentType,
Bucket.BlobWriteOption... options)
Creates a new blob in this bucket.
|
Blob |
Storage.get(BlobId blob)
Returns the requested blob or
null if not found. |
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. |
Blob |
Storage.get(String bucket,
String blob,
Storage.BlobGetOption... options)
Returns the requested blob or
null if not found. |
Blob |
CopyWriter.getResult()
Returns the updated information for the written blob.
|
Blob |
Blob.reload(Blob.BlobSourceOption... options)
Fetches current blob's latest information.
|
Blob |
Storage.update(BlobInfo blobInfo)
Updates blob information.
|
Blob |
Storage.update(BlobInfo blobInfo,
Storage.BlobTargetOption... options)
Updates blob information.
|
Blob |
Blob.update(Storage.BlobTargetOption... options)
Updates the blob's information.
|
Modifier and Type | Method and Description |
---|---|
List<Blob> |
Storage.get(BlobId... blobIds)
Gets the requested blobs.
|
StorageBatchResult<Blob> |
StorageBatch.get(BlobId blob,
Storage.BlobGetOption... options)
Adds a request representing the "get blob" operation to this batch.
|
List<Blob> |
Storage.get(Iterable<BlobId> blobIds)
Gets the requested blobs.
|
List<Blob> |
Bucket.get(Iterable<String> blobNames)
Returns a list of requested blobs in this bucket.
|
StorageBatchResult<Blob> |
StorageBatch.get(String bucket,
String blob,
Storage.BlobGetOption... options)
Adds a request representing the "get blob" operation to this batch.
|
List<Blob> |
Bucket.get(String blobName1,
String blobName2,
String... blobNames)
Returns a list of requested blobs in this bucket.
|
Page<Blob> |
Bucket.list(Storage.BlobListOption... options)
Returns the paginated list of
Blob in this bucket. |
Page<Blob> |
Storage.list(String bucket,
Storage.BlobListOption... options)
Lists the bucket's blobs.
|
List<Blob> |
Storage.update(BlobInfo... blobInfos)
Updates the requested blobs.
|
StorageBatchResult<Blob> |
StorageBatch.update(BlobInfo blobInfo,
Storage.BlobTargetOption... options)
Adds a request representing the "update blob" operation to this batch.
|
List<Blob> |
Storage.update(Iterable<BlobInfo> blobInfos)
Updates the requested blobs.
|
Copyright © 2019 Google LLC. All rights reserved.