| Package | Description | 
|---|---|
| com.google.cloud.storage | 
 A client for Cloud Storage - Unified object storage. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Blob.BlobSourceOption | 
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 | 
Blob.BlobSourceOption.decryptionKey(String key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
 blob. 
 | 
static Blob.BlobSourceOption | 
Blob.BlobSourceOption.generationMatch()
Returns an option for blob's generation match. 
 | 
static Blob.BlobSourceOption | 
Blob.BlobSourceOption.generationNotMatch()
Returns an option for blob's generation mismatch. 
 | 
static Blob.BlobSourceOption | 
Blob.BlobSourceOption.metagenerationMatch()
Returns an option for blob's metageneration match. 
 | 
static Blob.BlobSourceOption | 
Blob.BlobSourceOption.metagenerationNotMatch()
Returns an option for blob's metageneration mismatch. 
 | 
static Blob.BlobSourceOption | 
Blob.BlobSourceOption.userProject(String userProject)
Returns an option for blob's billing user project. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CopyWriter | 
Blob.copyTo(BlobId targetBlob,
      Blob.BlobSourceOption... options)
Sends a copy request for the current blob to the target blob. 
 | 
CopyWriter | 
Blob.copyTo(String targetBucket,
      Blob.BlobSourceOption... options)
Sends a copy request for the current blob to the target bucket, preserving its name. 
 | 
CopyWriter | 
Blob.copyTo(String targetBucket,
      String targetBlob,
      Blob.BlobSourceOption... options)
Sends a copy request for the current blob to the target blob. 
 | 
boolean | 
Blob.delete(Blob.BlobSourceOption... options)
Deletes this blob. 
 | 
void | 
Blob.downloadTo(Path path,
          Blob.BlobSourceOption... options)
Downloads this blob to the given file path using specified blob read options. 
 | 
boolean | 
Blob.exists(Blob.BlobSourceOption... options)
Checks if this blob exists. 
 | 
byte[] | 
Blob.getContent(Blob.BlobSourceOption... options)
Returns this blob's content. 
 | 
ReadChannel | 
Blob.reader(Blob.BlobSourceOption... options)
Returns a  
ReadChannel object for reading this blob's content. | 
Blob | 
Blob.reload(Blob.BlobSourceOption... options)
Fetches current blob's latest information. 
 | 
Copyright © 2019 Google LLC. All rights reserved.