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.createFrom(BlobInfo blobInfo,
InputStream content,
int bufferSize,
Storage.BlobWriteOption... options)
Reads bytes from an input stream and uploads those bytes to the blob using
Storage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...) and
bufferSize . |
Blob |
Storage.createFrom(BlobInfo blobInfo,
InputStream content,
Storage.BlobWriteOption... options)
Reads bytes from an input stream and uploads those bytes to the blob using
Storage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...) . |
Blob |
Storage.createFrom(BlobInfo blobInfo,
Path path,
int bufferSize,
Storage.BlobWriteOption... options)
Uploads
path to the blob using Storage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...) and bufferSize . |
Blob |
Storage.createFrom(BlobInfo blobInfo,
Path path,
Storage.BlobWriteOption... options)
Uploads
path to the blob using Storage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...) . |
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 |
HttpCopyWriter.getResult() |
abstract Blob |
CopyWriter.getResult()
Returns the updated information for the written blob.
|
Blob |
Blob.reload(Blob.BlobSourceOption... options)
Fetches the latest blob properties.
|
Blob |
Storage.update(BlobInfo blobInfo)
Updates the properties of the blob.
|
Blob |
Storage.update(BlobInfo blobInfo,
Storage.BlobTargetOption... options)
Updates the blob properties if the preconditions specified by
options are met. |
Blob |
Blob.update(Storage.BlobTargetOption... options)
Updates the blob properties.
|
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.
|
com.google.api.gax.paging.Page<Blob> |
Bucket.list(Storage.BlobListOption... options)
Returns the paginated list of
Blob in this bucket. |
com.google.api.gax.paging.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 © 2023 Google LLC. All rights reserved.