Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static Storage.BucketGetOption |
Storage.BucketGetOption.fields(Storage.BucketField... fields)
Returns an option to specify the bucket's fields to be returned by the RPC call.
|
static Storage.BucketGetOption |
Storage.BucketGetOption.metagenerationMatch(long metageneration)
Returns an option for bucket's metageneration match.
|
static Storage.BucketGetOption |
Storage.BucketGetOption.metagenerationNotMatch(long metageneration)
Returns an option for bucket's metageneration mismatch.
|
static Storage.BucketGetOption |
Storage.BucketGetOption.userProject(String userProject)
Returns an option for bucket's billing user project.
|
Modifier and Type | Method and Description |
---|---|
Bucket |
Storage.get(String bucket,
Storage.BucketGetOption... options)
Returns the requested bucket or
null if not found. |
Copyright © 2019 Google LLC. All rights reserved.