public static class Storage.BlobWriteOption extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
static Storage.BlobWriteOption |
crc32cMatch()
Returns an option for blob's data CRC32C checksum match.
|
static Storage.BlobWriteOption |
detectContentType()
Returns an option for detecting content type.
|
static Storage.BlobWriteOption |
disableGzipContent()
Returns an option that signals automatic gzip compression should not be performed en route to
the bucket.
|
static Storage.BlobWriteOption |
doesNotExist()
Returns an option that causes an operation to succeed only if the target blob does not exist.
|
static Storage.BlobWriteOption |
encryptionKey(Key key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Storage.BlobWriteOption |
encryptionKey(String key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
boolean |
equals(Object o)
Deprecated.
|
static Storage.BlobWriteOption |
generationMatch()
Returns an option for blob's data generation match.
|
static Storage.BlobWriteOption |
generationNotMatch()
Returns an option for blob's data generation mismatch.
|
int |
hashCode()
Deprecated.
|
static Storage.BlobWriteOption |
kmsKeyName(String kmsKeyName)
Returns an option to set a customer-managed KMS key for server-side encryption of the blob.
|
static Storage.BlobWriteOption |
md5Match()
Deprecated.
Please compute and use a crc32c checksum instead.
crc32cMatch() |
static Storage.BlobWriteOption |
metagenerationMatch()
Returns an option for blob's metageneration match.
|
static Storage.BlobWriteOption |
metagenerationNotMatch()
Returns an option for blob's metageneration mismatch.
|
static Storage.BlobWriteOption |
predefinedAcl(Storage.PredefinedAcl acl)
Returns an option for specifying blob's predefined ACL configuration.
|
String |
toString()
Deprecated.
|
static Storage.BlobWriteOption |
userProject(String userProject)
Returns an option for blob's billing user project.
|
@TransportCompatibility(value={HTTP,GRPC})
public static Storage.BlobWriteOption predefinedAcl(Storage.PredefinedAcl acl)
@TransportCompatibility(value={HTTP,GRPC})
public static Storage.BlobWriteOption doesNotExist()
@TransportCompatibility(value={HTTP,GRPC})
public static Storage.BlobWriteOption generationMatch()
@TransportCompatibility(value={HTTP,GRPC})
public static Storage.BlobWriteOption generationNotMatch()
@TransportCompatibility(value={HTTP,GRPC})
public static Storage.BlobWriteOption metagenerationMatch()
@TransportCompatibility(value={HTTP,GRPC})
public static Storage.BlobWriteOption metagenerationNotMatch()
@Deprecated @TransportCompatibility(value=HTTP) public static Storage.BlobWriteOption md5Match()
crc32cMatch()@TransportCompatibility(value={HTTP,GRPC})
public static Storage.BlobWriteOption crc32cMatch()
@TransportCompatibility(value={HTTP,GRPC})
public static Storage.BlobWriteOption encryptionKey(Key key)
@TransportCompatibility(value={HTTP,GRPC})
public static Storage.BlobWriteOption encryptionKey(String key)
key - the AES256 encoded in base64@TransportCompatibility(value={HTTP,GRPC})
public static Storage.BlobWriteOption kmsKeyName(String kmsKeyName)
kmsKeyName - the KMS key resource id@TransportCompatibility(value={HTTP,GRPC})
public static Storage.BlobWriteOption userProject(String userProject)
@TransportCompatibility(value={HTTP,GRPC})
public static Storage.BlobWriteOption disableGzipContent()
@TransportCompatibility(value={HTTP,GRPC})
public static Storage.BlobWriteOption detectContentType()
Content type detection is based on the database presented by URLConnection.getFileNameMap()
Copyright © 2022 Google LLC. All rights reserved.