Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static Bucket.BlobTargetOption[] |
Bucket.BlobTargetOption.dedupe(Bucket.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Bucket.BlobTargetOption[] |
Bucket.BlobTargetOption.dedupe(Bucket.BlobTargetOption[] array,
Bucket.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Bucket.BlobTargetOption[] |
Bucket.BlobTargetOption.dedupe(Collection<Bucket.BlobTargetOption> collection,
Bucket.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Bucket.BlobTargetOption |
Bucket.BlobTargetOption.doesNotExist()
Returns an option that causes an operation to succeed only if the target blob does not exist.
|
static Bucket.BlobTargetOption |
Bucket.BlobTargetOption.encryptionKey(@NonNull Key key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Bucket.BlobTargetOption |
Bucket.BlobTargetOption.encryptionKey(@NonNull String key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Bucket.BlobTargetOption |
Bucket.BlobTargetOption.generationMatch(long generation)
Returns an option for blob's data generation match.
|
static Bucket.BlobTargetOption |
Bucket.BlobTargetOption.generationNotMatch(long generation)
Returns an option for blob's data generation mismatch.
|
static Bucket.BlobTargetOption |
Bucket.BlobTargetOption.kmsKeyName(@NonNull String kmsKeyName)
Returns an option to set a customer-managed KMS key for server-side encryption of the blob.
|
static Bucket.BlobTargetOption |
Bucket.BlobTargetOption.metagenerationMatch(long metageneration)
Returns an option for blob's metageneration match.
|
static Bucket.BlobTargetOption |
Bucket.BlobTargetOption.metagenerationNotMatch(long metageneration)
Returns an option for blob's metageneration mismatch.
|
static Bucket.BlobTargetOption |
Bucket.BlobTargetOption.predefinedAcl(Storage.PredefinedAcl acl)
Returns an option for specifying blob's predefined ACL configuration.
|
static Bucket.BlobTargetOption |
Bucket.BlobTargetOption.userProject(@NonNull String userProject)
Returns an option for blob's billing user project.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static Bucket.BlobTargetOption[] |
Bucket.BlobTargetOption.dedupe(Bucket.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Bucket.BlobTargetOption[] |
Bucket.BlobTargetOption.dedupe(Bucket.BlobTargetOption[] array,
Bucket.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Bucket.BlobTargetOption[] |
Bucket.BlobTargetOption.dedupe(Bucket.BlobTargetOption[] array,
Bucket.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Bucket.BlobTargetOption[] |
Bucket.BlobTargetOption.dedupe(Collection<Bucket.BlobTargetOption> collection,
Bucket.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
Modifier and Type | Method and Description |
---|---|
static Bucket.BlobTargetOption[] |
Bucket.BlobTargetOption.dedupe(Collection<Bucket.BlobTargetOption> collection,
Bucket.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
Copyright © 2023 Google LLC. All rights reserved.