Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static Storage.BlobTargetOption[] |
Storage.BlobTargetOption.dedupe(Collection<Storage.BlobTargetOption> collection,
Storage.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobTargetOption[] |
Storage.BlobTargetOption.dedupe(Storage.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobTargetOption[] |
Storage.BlobTargetOption.dedupe(Storage.BlobTargetOption[] array,
Storage.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.detectContentType()
Returns an option for detecting content type.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.disableGzipContent()
Returns an option for blob's data disabledGzipContent.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.doesNotExist()
Returns an option that causes an operation to succeed only if the target blob does not exist.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.encryptionKey(@NonNull Key key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.encryptionKey(@NonNull String key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.generationMatch()
Returns an option for blob's data generation match.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.generationMatch(long generation)
Returns an option for blob's data generation match.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.generationNotMatch()
Returns an option for blob's data generation mismatch.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.generationNotMatch(long generation)
Returns an option for blob's data generation mismatch.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.kmsKeyName(@NonNull String kmsKeyName)
Returns an option to set a customer-managed key for server-side encryption of the blob.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.metagenerationMatch()
Returns an option for blob's metageneration match.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.metagenerationMatch(long metageneration)
Returns an option for blob's metageneration match.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.metagenerationNotMatch()
Returns an option for blob's metageneration mismatch.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.metagenerationNotMatch(long metageneration)
Returns an option for blob's metageneration mismatch.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.predefinedAcl(@NonNull Storage.PredefinedAcl acl)
Returns an option for specifying blob's predefined ACL configuration.
|
static Storage.BlobTargetOption |
Storage.BlobTargetOption.userProject(@NonNull String userProject)
Returns an option for blob's billing user project.
|
Modifier and Type | Method and Description |
---|---|
List<Storage.BlobTargetOption> |
Storage.ComposeRequest.getTargetOptions()
Returns compose operation's target blob's options.
|
List<Storage.BlobTargetOption> |
Storage.CopyRequest.getTargetOptions()
Returns blob's target options.
|
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,
Storage.BlobTargetOption... options)
Creates a new blob with no content.
|
static Storage.BlobTargetOption[] |
Storage.BlobTargetOption.dedupe(Collection<Storage.BlobTargetOption> collection,
Storage.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobTargetOption[] |
Storage.BlobTargetOption.dedupe(Storage.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobTargetOption[] |
Storage.BlobTargetOption.dedupe(Storage.BlobTargetOption[] array,
Storage.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobTargetOption[] |
Storage.BlobTargetOption.dedupe(Storage.BlobTargetOption[] array,
Storage.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
Storage.CopyRequest.Builder |
Storage.CopyRequest.Builder.setTarget(BlobId targetId,
Storage.BlobTargetOption... options)
Sets the copy target.
|
Storage.CopyRequest.Builder |
Storage.CopyRequest.Builder.setTarget(BlobInfo target,
Storage.BlobTargetOption... options)
Sets the copy target and target options.
|
Storage.ComposeRequest.Builder |
Storage.ComposeRequest.Builder.setTargetOptions(Storage.BlobTargetOption... options)
Sets compose operation's target blob options.
|
Blob |
Storage.update(BlobInfo blobInfo,
Storage.BlobTargetOption... options)
Updates the blob properties if the preconditions specified by
options are met. |
StorageBatchResult<Blob> |
StorageBatch.update(BlobInfo blobInfo,
Storage.BlobTargetOption... options)
Adds a request representing the "update blob" operation to this batch.
|
Blob |
Blob.update(Storage.BlobTargetOption... options)
Updates the blob properties.
|
Modifier and Type | Method and Description |
---|---|
static Storage.BlobTargetOption[] |
Storage.BlobTargetOption.dedupe(Collection<Storage.BlobTargetOption> collection,
Storage.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
Storage.CopyRequest.Builder |
Storage.CopyRequest.Builder.setTarget(BlobId targetId,
Iterable<Storage.BlobTargetOption> options)
Sets the copy target and target options.
|
Storage.CopyRequest.Builder |
Storage.CopyRequest.Builder.setTarget(BlobInfo target,
Iterable<Storage.BlobTargetOption> options)
Sets the copy target and target options.
|
Storage.ComposeRequest.Builder |
Storage.ComposeRequest.Builder.setTargetOptions(Iterable<Storage.BlobTargetOption> options)
Sets compose operation's target blob options.
|
Copyright © 2023 Google LLC. All rights reserved.