public static class Storage.BucketGetOption extends Option
Modifier and Type | Method and Description |
---|---|
static 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 |
metagenerationMatch(long metageneration)
Returns an option for bucket's metageneration match.
|
static Storage.BucketGetOption |
metagenerationNotMatch(long metageneration)
Returns an option for bucket's metageneration mismatch.
|
static Storage.BucketGetOption |
userProject(String userProject)
Returns an option for bucket's billing user project.
|
public static Storage.BucketGetOption metagenerationMatch(long metageneration)
public static Storage.BucketGetOption metagenerationNotMatch(long metageneration)
public static Storage.BucketGetOption userProject(String userProject)
public static Storage.BucketGetOption fields(Storage.BucketField... fields)
BucketGetOption.fields
) can
be used to specify only the fields of interest. Bucket name is always returned, even if not
specified.Copyright © 2019 Google LLC. All rights reserved.