Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static Blob.BlobSourceOption |
Blob.BlobSourceOption.decryptionKey(@NonNull Key key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Blob.BlobSourceOption |
Blob.BlobSourceOption.decryptionKey(@NonNull String key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Blob.BlobSourceOption[] |
Blob.BlobSourceOption.dedupe(Blob.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Blob.BlobSourceOption[] |
Blob.BlobSourceOption.dedupe(Blob.BlobSourceOption[] array,
Blob.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Blob.BlobSourceOption[] |
Blob.BlobSourceOption.dedupe(Collection<Blob.BlobSourceOption> collection,
Blob.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Blob.BlobSourceOption |
Blob.BlobSourceOption.generationMatch()
Returns an option for blob's generation match.
|
static Blob.BlobSourceOption |
Blob.BlobSourceOption.generationNotMatch()
Deprecated.
This option is invalid, and can never result in a valid response from the server.
|
static Blob.BlobSourceOption |
Blob.BlobSourceOption.metagenerationMatch()
Returns an option for blob's metageneration match.
|
static Blob.BlobSourceOption |
Blob.BlobSourceOption.metagenerationNotMatch()
Returns an option for blob's metageneration mismatch.
|
static Blob.BlobSourceOption |
Blob.BlobSourceOption.shouldReturnRawInputStream(boolean shouldReturnRawInputStream)
Returns an option for whether the request should return the raw input stream, instead of
automatically decompressing the content.
|
static Blob.BlobSourceOption |
Blob.BlobSourceOption.userProject(@NonNull String userProject)
Returns an option for blob's billing user project.
|
Modifier and Type | Method and Description |
---|---|
CopyWriter |
Blob.copyTo(BlobId targetBlob,
Blob.BlobSourceOption... options)
Sends a copy request for the current blob to the target blob.
|
CopyWriter |
Blob.copyTo(String targetBucket,
Blob.BlobSourceOption... options)
Sends a copy request for the current blob to the target bucket, preserving its name.
|
CopyWriter |
Blob.copyTo(String targetBucket,
String targetBlob,
Blob.BlobSourceOption... options)
Sends a copy request for the current blob to the target blob.
|
static Blob.BlobSourceOption[] |
Blob.BlobSourceOption.dedupe(Blob.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Blob.BlobSourceOption[] |
Blob.BlobSourceOption.dedupe(Blob.BlobSourceOption[] array,
Blob.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Blob.BlobSourceOption[] |
Blob.BlobSourceOption.dedupe(Blob.BlobSourceOption[] array,
Blob.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Blob.BlobSourceOption[] |
Blob.BlobSourceOption.dedupe(Collection<Blob.BlobSourceOption> collection,
Blob.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
boolean |
Blob.delete(Blob.BlobSourceOption... options)
Deletes this blob.
|
void |
Blob.downloadTo(OutputStream outputStream,
Blob.BlobSourceOption... options)
Downloads this blob to the given output stream using specified blob read options.
|
void |
Blob.downloadTo(Path path,
Blob.BlobSourceOption... options)
Downloads this blob to the given file path using specified blob read options.
|
boolean |
Blob.exists(Blob.BlobSourceOption... options)
Checks if this blob exists.
|
byte[] |
Blob.getContent(Blob.BlobSourceOption... options)
Returns this blob's content.
|
com.google.cloud.ReadChannel |
Blob.reader(Blob.BlobSourceOption... options)
Returns a
ReadChannel object for reading this blob's content. |
Blob |
Blob.reload(Blob.BlobSourceOption... options)
Fetches the latest blob properties.
|
Modifier and Type | Method and Description |
---|---|
static Blob.BlobSourceOption[] |
Blob.BlobSourceOption.dedupe(Collection<Blob.BlobSourceOption> collection,
Blob.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
Copyright © 2023 Google LLC. All rights reserved.