Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static Storage.BlobWriteOption |
Storage.BlobWriteOption.crc32cMatch()
Returns an option for blob's data CRC32C checksum match.
|
static Storage.BlobWriteOption |
Storage.BlobWriteOption.doesNotExist()
Returns an option that causes an operation to succeed only if the target blob does not exist.
|
static Storage.BlobWriteOption |
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 |
Storage.BlobWriteOption.encryptionKey(String key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Storage.BlobWriteOption |
Storage.BlobWriteOption.generationMatch()
Returns an option for blob's data generation match.
|
static Storage.BlobWriteOption |
Storage.BlobWriteOption.generationNotMatch()
Returns an option for blob's data generation mismatch.
|
static Storage.BlobWriteOption |
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 |
Storage.BlobWriteOption.md5Match()
Returns an option for blob's data MD5 hash match.
|
static Storage.BlobWriteOption |
Storage.BlobWriteOption.metagenerationMatch()
Returns an option for blob's metageneration match.
|
static Storage.BlobWriteOption |
Storage.BlobWriteOption.metagenerationNotMatch()
Returns an option for blob's metageneration mismatch.
|
static Storage.BlobWriteOption |
Storage.BlobWriteOption.predefinedAcl(Storage.PredefinedAcl acl)
Returns an option for specifying blob's predefined ACL configuration.
|
static Storage.BlobWriteOption |
Storage.BlobWriteOption.userProject(String userProject)
Returns an option for blob's billing user project.
|
Modifier and Type | Method and Description |
---|---|
Blob |
Storage.create(BlobInfo blobInfo,
InputStream content,
Storage.BlobWriteOption... options)
Deprecated.
|
WriteChannel |
Storage.writer(BlobInfo blobInfo,
Storage.BlobWriteOption... options)
Creates a blob and return a channel for writing its content.
|
WriteChannel |
Blob.writer(Storage.BlobWriteOption... options)
Returns a
WriteChannel object for writing to this blob. |
Copyright © 2019 Google LLC. All rights reserved.