public static class Bucket.BlobWriteOption extends Object implements Serializable
Bucket methods are used.| Modifier and Type | Method and Description |
|---|---|
static Bucket.BlobWriteOption |
crc32cMatch(String crc32c)
Returns an option for blob's data CRC32C checksum match.
|
static Bucket.BlobWriteOption |
doesNotExist()
Returns an option that causes an operation to succeed only if the target blob does not exist.
|
static Bucket.BlobWriteOption |
encryptionKey(Key key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Bucket.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 Bucket.BlobWriteOption |
generationMatch(long generation)
Returns an option for blob's data generation match.
|
static Bucket.BlobWriteOption |
generationNotMatch(long generation)
Returns an option for blob's data generation mismatch.
|
int |
hashCode()
Deprecated.
|
static Bucket.BlobWriteOption |
md5Match(String md5)
Returns an option for blob's data MD5 hash match.
|
static Bucket.BlobWriteOption |
metagenerationMatch(long metageneration)
Returns an option for blob's metageneration match.
|
static Bucket.BlobWriteOption |
metagenerationNotMatch(long metageneration)
Returns an option for blob's metageneration mismatch.
|
static Bucket.BlobWriteOption |
predefinedAcl(Storage.PredefinedAcl acl)
Returns an option for specifying blob's predefined ACL configuration.
|
String |
toString()
Deprecated.
|
static Bucket.BlobWriteOption |
userProject(String userProject)
Returns an option for blob's billing user project.
|
@TransportCompatibility(value={HTTP,GRPC})
public static Bucket.BlobWriteOption predefinedAcl(Storage.PredefinedAcl acl)
@TransportCompatibility(value={HTTP,GRPC})
public static Bucket.BlobWriteOption doesNotExist()
generationMatch(long) or generationNotMatch(long).@TransportCompatibility(value={HTTP,GRPC})
public static Bucket.BlobWriteOption generationMatch(long generation)
generationNotMatch(long) or doesNotExist().@TransportCompatibility(value={HTTP,GRPC})
public static Bucket.BlobWriteOption generationNotMatch(long generation)
generationMatch(long) or doesNotExist().@TransportCompatibility(value={HTTP,GRPC})
public static Bucket.BlobWriteOption metagenerationMatch(long metageneration)
metagenerationNotMatch(long).@TransportCompatibility(value={HTTP,GRPC})
public static Bucket.BlobWriteOption metagenerationNotMatch(long metageneration)
metagenerationMatch(long).@TransportCompatibility(value={HTTP,GRPC})
public static Bucket.BlobWriteOption md5Match(String md5)
@TransportCompatibility(value={HTTP,GRPC})
public static Bucket.BlobWriteOption crc32cMatch(String crc32c)
@TransportCompatibility(value={HTTP,GRPC})
public static Bucket.BlobWriteOption encryptionKey(Key key)
@TransportCompatibility(value={HTTP,GRPC})
public static Bucket.BlobWriteOption encryptionKey(String key)
key - the AES256 encoded in base64@TransportCompatibility(value={HTTP,GRPC})
public static Bucket.BlobWriteOption userProject(String userProject)
Copyright © 2022 Google LLC. All rights reserved.