public class GcsTasks extends Object
| Constructor and Description |
|---|
GcsTasks() |
| Modifier and Type | Method and Description |
|---|---|
static Task<com.google.cloud.storage.Blob> |
blobExists(String uri)
Check if a Cloud Storage Blob exists.
|
static Task<com.google.cloud.storage.Blob> |
blobExists(URI uri)
See
blobExists(String). |
public static Task<com.google.cloud.storage.Blob> blobExists(String uri)
This task will only succeed if there exists a blob exactly matching the uri argument.
uri - A uri pointing to the blob, e.g. gs://my-bucket/the/blobpublic static Task<com.google.cloud.storage.Blob> blobExists(URI uri)
blobExists(String).Copyright © 2017. All rights reserved.