public static class Blob.BlobSourceOption extends Option<com.google.cloud.storage.UnifiedOpts.ObjectSourceOpt>
Blob methods are used.| Modifier and Type | Method and Description |
|---|---|
static Blob.BlobSourceOption |
decryptionKey(Key key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Blob.BlobSourceOption |
decryptionKey(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 Blob.BlobSourceOption |
generationMatch()
Returns an option for blob's generation match.
|
static Blob.BlobSourceOption |
generationNotMatch()
Deprecated.
This option is invalid, and can never result in a valid response from the server.
|
int |
hashCode()
Deprecated.
|
static Blob.BlobSourceOption |
metagenerationMatch()
Returns an option for blob's metageneration match.
|
static Blob.BlobSourceOption |
metagenerationNotMatch()
Returns an option for blob's metageneration mismatch.
|
static Blob.BlobSourceOption |
shouldReturnRawInputStream(boolean shouldReturnRawInputStream)
Returns an option for whether the request should return the raw input stream, instead of
automatically decompressing the content.
|
String |
toString()
Deprecated.
|
static Blob.BlobSourceOption |
userProject(String userProject)
Returns an option for blob's billing user project.
|
@TransportCompatibility(value={HTTP,GRPC})
public static Blob.BlobSourceOption generationMatch()
@Deprecated @TransportCompatibility(value={HTTP,GRPC}) public static Blob.BlobSourceOption generationNotMatch()
@TransportCompatibility(value={HTTP,GRPC})
public static Blob.BlobSourceOption metagenerationMatch()
@TransportCompatibility(value={HTTP,GRPC})
public static Blob.BlobSourceOption metagenerationNotMatch()
@TransportCompatibility(value={HTTP,GRPC})
public static Blob.BlobSourceOption decryptionKey(Key key)
@TransportCompatibility(value={HTTP,GRPC})
public static Blob.BlobSourceOption decryptionKey(String key)
key - the AES256 encoded in base64@TransportCompatibility(value={HTTP,GRPC})
public static Blob.BlobSourceOption userProject(String userProject)
@TransportCompatibility(value={HTTP,GRPC})
public static Blob.BlobSourceOption shouldReturnRawInputStream(boolean shouldReturnRawInputStream)
Copyright © 2022 Google LLC. All rights reserved.