public static class Storage.BlobTargetOption extends Option
Modifier and Type | Method and Description |
---|---|
static Storage.BlobTargetOption |
disableGzipContent()
Returns an option for blob's data disabledGzipContent.
|
static Storage.BlobTargetOption |
doesNotExist()
Returns an option that causes an operation to succeed only if the target blob does not exist.
|
static Storage.BlobTargetOption |
encryptionKey(Key key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Storage.BlobTargetOption |
encryptionKey(String key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Storage.BlobTargetOption |
generationMatch()
Returns an option for blob's data generation match.
|
static Storage.BlobTargetOption |
generationNotMatch()
Returns an option for blob's data generation mismatch.
|
static Storage.BlobTargetOption |
kmsKeyName(String kmsKeyName)
Returns an option to set a customer-managed key for server-side encryption of the blob.
|
static Storage.BlobTargetOption |
metagenerationMatch()
Returns an option for blob's metageneration match.
|
static Storage.BlobTargetOption |
metagenerationNotMatch()
Returns an option for blob's metageneration mismatch.
|
static Storage.BlobTargetOption |
predefinedAcl(Storage.PredefinedAcl acl)
Returns an option for specifying blob's predefined ACL configuration.
|
static Storage.BlobTargetOption |
userProject(String userProject)
Returns an option for blob's billing user project.
|
public static Storage.BlobTargetOption predefinedAcl(Storage.PredefinedAcl acl)
public static Storage.BlobTargetOption doesNotExist()
public static Storage.BlobTargetOption generationMatch()
public static Storage.BlobTargetOption generationNotMatch()
public static Storage.BlobTargetOption metagenerationMatch()
public static Storage.BlobTargetOption metagenerationNotMatch()
public static Storage.BlobTargetOption disableGzipContent()
public static Storage.BlobTargetOption encryptionKey(Key key)
public static Storage.BlobTargetOption userProject(String userProject)
public static Storage.BlobTargetOption encryptionKey(String key)
key
- the AES256 encoded in base64public static Storage.BlobTargetOption kmsKeyName(String kmsKeyName)
Copyright © 2019 Google LLC. All rights reserved.