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