public class GCPProperties
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GCS_CHANNEL_READ_CHUNK_SIZE |
static java.lang.String |
GCS_CHANNEL_WRITE_CHUNK_SIZE |
static java.lang.String |
GCS_CLIENT_LIB_TOKEN |
static java.lang.String |
GCS_DECRYPTION_KEY |
static java.lang.String |
GCS_DELETE_BATCH_SIZE
Configure the batch size used when deleting multiple files from a given GCS bucket
|
static int |
GCS_DELETE_BATCH_SIZE_DEFAULT
Max possible batch size for deletion.
|
static java.lang.String |
GCS_ENCRYPTION_KEY |
static java.lang.String |
GCS_NO_AUTH |
static java.lang.String |
GCS_OAUTH2_TOKEN |
static java.lang.String |
GCS_OAUTH2_TOKEN_EXPIRES_AT |
static java.lang.String |
GCS_PROJECT_ID |
static java.lang.String |
GCS_SERVICE_HOST |
static java.lang.String |
GCS_USER_PROJECT |
Constructor and Description |
---|
GCPProperties() |
GCPProperties(java.util.Map<java.lang.String,java.lang.String> properties) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.Integer> |
channelReadChunkSize() |
java.util.Optional<java.lang.Integer> |
channelWriteChunkSize() |
java.util.Optional<java.lang.String> |
clientLibToken() |
java.util.Optional<java.lang.String> |
decryptionKey() |
int |
deleteBatchSize() |
java.util.Optional<java.lang.String> |
encryptionKey() |
boolean |
noAuth() |
java.util.Optional<java.lang.String> |
oauth2Token() |
java.util.Optional<java.util.Date> |
oauth2TokenExpiresAt() |
java.util.Optional<java.lang.String> |
projectId() |
java.util.Optional<java.lang.String> |
serviceHost() |
java.util.Optional<java.lang.String> |
userProject() |
public static final java.lang.String GCS_PROJECT_ID
public static final java.lang.String GCS_CLIENT_LIB_TOKEN
public static final java.lang.String GCS_SERVICE_HOST
public static final java.lang.String GCS_DECRYPTION_KEY
public static final java.lang.String GCS_ENCRYPTION_KEY
public static final java.lang.String GCS_USER_PROJECT
public static final java.lang.String GCS_CHANNEL_READ_CHUNK_SIZE
public static final java.lang.String GCS_CHANNEL_WRITE_CHUNK_SIZE
public static final java.lang.String GCS_OAUTH2_TOKEN
public static final java.lang.String GCS_OAUTH2_TOKEN_EXPIRES_AT
public static final java.lang.String GCS_NO_AUTH
public static final java.lang.String GCS_DELETE_BATCH_SIZE
public static final int GCS_DELETE_BATCH_SIZE_DEFAULT
public GCPProperties()
public GCPProperties(java.util.Map<java.lang.String,java.lang.String> properties)
public java.util.Optional<java.lang.Integer> channelReadChunkSize()
public java.util.Optional<java.lang.Integer> channelWriteChunkSize()
public java.util.Optional<java.lang.String> clientLibToken()
public java.util.Optional<java.lang.String> decryptionKey()
public java.util.Optional<java.lang.String> encryptionKey()
public java.util.Optional<java.lang.String> projectId()
public java.util.Optional<java.lang.String> serviceHost()
public java.util.Optional<java.lang.String> userProject()
public java.util.Optional<java.lang.String> oauth2Token()
public boolean noAuth()
public java.util.Optional<java.util.Date> oauth2TokenExpiresAt()
public int deleteBatchSize()