| Package | Description |
|---|---|
| com.google.cloud.storage |
A client to Google Cloud Storage.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| 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.
|
boolean |
Blob.exists(Blob.BlobSourceOption... options)
Checks if this blob exists.
|
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 © 2016 Google. All rights reserved.