Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static Storage.BlobListOption |
Storage.BlobListOption.currentDirectory()
If specified, results are returned in a directory-like mode.
|
static Storage.BlobListOption |
Storage.BlobListOption.fields(Storage.BlobField... fields)
Returns an option to specify the blob's fields to be returned by the RPC call.
|
static Storage.BlobListOption |
Storage.BlobListOption.pageSize(long pageSize)
Returns an option to specify the maximum number of blobs returned per page.
|
static Storage.BlobListOption |
Storage.BlobListOption.pageToken(String pageToken)
Returns an option to specify the page token from which to start listing blobs.
|
static Storage.BlobListOption |
Storage.BlobListOption.prefix(String prefix)
Returns an option to set a prefix to filter results to blobs whose names begin with this
prefix.
|
static Storage.BlobListOption |
Storage.BlobListOption.userProject(String userProject)
Returns an option to define the billing user project.
|
static Storage.BlobListOption |
Storage.BlobListOption.versions(boolean versions)
If set to
true , lists all versions of a blob. |
Modifier and Type | Method and Description |
---|---|
Page<Blob> |
Bucket.list(Storage.BlobListOption... options)
Returns the paginated list of
Blob in this bucket. |
Page<Blob> |
Storage.list(String bucket,
Storage.BlobListOption... options)
Lists the bucket's blobs.
|
Copyright © 2019 Google LLC. All rights reserved.