public sealed class ListBucketsOptions
Reference documentation and code samples for the Google Cloud Storage v1 API class ListBucketsOptions.
Options for ListBuckets
operations.
Namespace
Google.Cloud.Storage.V1Assembly
Google.Cloud.Storage.V1.dll
Properties
Fields
public string Fields { get; set; }
If set, this specifies the fields to fetch in the result to obtain partial responses, usually to improve performance. For example, to fetch just the name and ___location of each bucket, set this property to "items(name,___location),nextPageToken". The "nextPageToken" field is required in order to fetch multiple pages; the library does not add this automatically. See https://cloud.google.com/storage/docs/json_api/v1/how-tos/performance#partial for more details on specifying fields for partial responses.
Property Value | |
---|---|
Type | Description |
string |
PageSize
public int? PageSize { get; set; }
The number of results to return per page. (This modifies the per-request page size; it does not affect the total number of results returned.)
Property Value | |
---|---|
Type | Description |
int |
PageToken
public string PageToken { get; set; }
If set, this token is used to indicate a continued list operation.
The value should be taken from the NextPageToken
property of either
a Page<TResource> or a raw response from AsRawResponses().
Property Value | |
---|---|
Type | Description |
string |
Prefix
public string Prefix { get; set; }
The prefix to match. Only buckets with names that start with this string will be returned.
Property Value | |
---|---|
Type | Description |
string |
Projection
public Projection? Projection { get; set; }
The projection to retrieve.
Property Value | |
---|---|
Type | Description |
Projection |
RetryOptions
public RetryOptions RetryOptions { get; set; }
Options to pass custom retry configuration for each API request.
Property Value | |
---|---|
Type | Description |
RetryOptions |