Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Class and Description |
---|---|
class |
Blob
A Google cloud storage object.
|
Modifier and Type | Method and Description |
---|---|
abstract BlobInfo |
BlobInfo.Builder.build()
Creates a
BlobInfo object. |
BlobInfo |
Storage.ComposeRequest.getTarget()
Returns compose operation's target blob.
|
BlobInfo |
Storage.CopyRequest.getTarget()
Returns the
BlobInfo for the target blob. |
Modifier and Type | Method and Description |
---|---|
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.
|
static Storage.CopyRequest |
Storage.CopyRequest.of(BlobId sourceBlobId,
BlobInfo target)
Creates a copy request.
|
static Storage.ComposeRequest |
Storage.ComposeRequest.of(Iterable<String> sources,
BlobInfo target)
Creates a
ComposeRequest object. |
static Storage.CopyRequest |
Storage.CopyRequest.of(String sourceBucket,
String sourceBlob,
BlobInfo target)
Creates a copy request.
|
Storage.ComposeRequest.Builder |
Storage.ComposeRequest.Builder.setTarget(BlobInfo target)
Sets compose operation's target blob.
|
Storage.CopyRequest.Builder |
Storage.CopyRequest.Builder.setTarget(BlobInfo target,
Iterable<Storage.BlobTargetOption> options)
Sets the copy target and target options.
|
Storage.CopyRequest.Builder |
Storage.CopyRequest.Builder.setTarget(BlobInfo target,
Storage.BlobTargetOption... options)
Sets the copy target and target options.
|
URL |
Storage.signUrl(BlobInfo blobInfo,
long duration,
TimeUnit unit,
Storage.SignUrlOption... options)
Generates a signed URL for a blob.
|
List<Blob> |
Storage.update(BlobInfo... blobInfos)
Updates the requested blobs.
|
Blob |
Storage.update(BlobInfo blobInfo)
Updates blob information.
|
StorageBatchResult<Blob> |
StorageBatch.update(BlobInfo blobInfo,
Storage.BlobTargetOption... options)
Adds a request representing the "update blob" operation to this batch.
|
Blob |
Storage.update(BlobInfo blobInfo,
Storage.BlobTargetOption... options)
Updates blob information.
|
com.google.cloud.WriteChannel |
Storage.writer(BlobInfo blobInfo,
Storage.BlobWriteOption... options)
Creates a blob and return a channel for writing its content.
|
Modifier and Type | Method and Description |
---|---|
List<Blob> |
Storage.update(Iterable<BlobInfo> blobInfos)
Updates the requested blobs.
|
Copyright © 2019 Google LLC. All rights reserved.