| Package | Description | 
|---|---|
| com.google.cloud.storage | 
 A client for Cloud Storage - Unified object storage. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Storage.BlobTargetOption | 
Storage.BlobTargetOption.disableGzipContent()
Returns an option for blob's data disabledGzipContent. 
 | 
static Storage.BlobTargetOption | 
Storage.BlobTargetOption.doesNotExist()
Returns an option that causes an operation to succeed only if the target blob does not exist. 
 | 
static Storage.BlobTargetOption | 
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 | 
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 | 
Storage.BlobTargetOption.generationMatch()
Returns an option for blob's data generation match. 
 | 
static Storage.BlobTargetOption | 
Storage.BlobTargetOption.generationNotMatch()
Returns an option for blob's data generation mismatch. 
 | 
static Storage.BlobTargetOption | 
Storage.BlobTargetOption.kmsKeyName(String kmsKeyName)
Returns an option to set a customer-managed key for server-side encryption of the blob. 
 | 
static Storage.BlobTargetOption | 
Storage.BlobTargetOption.metagenerationMatch()
Returns an option for blob's metageneration match. 
 | 
static Storage.BlobTargetOption | 
Storage.BlobTargetOption.metagenerationNotMatch()
Returns an option for blob's metageneration mismatch. 
 | 
static Storage.BlobTargetOption | 
Storage.BlobTargetOption.predefinedAcl(Storage.PredefinedAcl acl)
Returns an option for specifying blob's predefined ACL configuration. 
 | 
static Storage.BlobTargetOption | 
Storage.BlobTargetOption.userProject(String userProject)
Returns an option for blob's billing user project. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<Storage.BlobTargetOption> | 
Storage.ComposeRequest.getTargetOptions()
Returns compose operation's target blob's options. 
 | 
List<Storage.BlobTargetOption> | 
Storage.CopyRequest.getTargetOptions()
Returns blob's target options. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Blob | 
Storage.create(BlobInfo blobInfo,
      byte[] content,
      int offset,
      int length,
      Storage.BlobTargetOption... options)
Creates a new blob with the sub array of the given byte array. 
 | 
Blob | 
Storage.create(BlobInfo blobInfo,
      byte[] content,
      Storage.BlobTargetOption... options)
Creates a new blob. 
 | 
Blob | 
Storage.create(BlobInfo blobInfo,
      Storage.BlobTargetOption... options)
Creates a new blob with no content. 
 | 
Storage.CopyRequest.Builder | 
Storage.CopyRequest.Builder.setTarget(BlobId targetId,
         Storage.BlobTargetOption... options)
Sets the copy target. 
 | 
Storage.CopyRequest.Builder | 
Storage.CopyRequest.Builder.setTarget(BlobInfo target,
         Storage.BlobTargetOption... options)
Sets the copy target and target options. 
 | 
Storage.ComposeRequest.Builder | 
Storage.ComposeRequest.Builder.setTargetOptions(Storage.BlobTargetOption... options)
Sets compose operation's target blob options. 
 | 
Blob | 
Storage.update(BlobInfo blobInfo,
      Storage.BlobTargetOption... options)
Updates blob information. 
 | 
StorageBatchResult<Blob> | 
StorageBatch.update(BlobInfo blobInfo,
      Storage.BlobTargetOption... options)
Adds a request representing the "update blob" operation to this batch. 
 | 
Blob | 
Blob.update(Storage.BlobTargetOption... options)
Updates the blob's information. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Storage.CopyRequest.Builder | 
Storage.CopyRequest.Builder.setTarget(BlobId targetId,
         Iterable<Storage.BlobTargetOption> options)
Sets the copy target and target options. 
 | 
Storage.CopyRequest.Builder | 
Storage.CopyRequest.Builder.setTarget(BlobInfo target,
         Iterable<Storage.BlobTargetOption> options)
Sets the copy target and target options. 
 | 
Storage.ComposeRequest.Builder | 
Storage.ComposeRequest.Builder.setTargetOptions(Iterable<Storage.BlobTargetOption> options)
Sets compose operation's target blob options. 
 | 
Copyright © 2019 Google LLC. All rights reserved.