public sealed 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.
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.)
Type | Description |
Nullable<Int32> |
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().
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.
Type | Description |
String |
Projection
public Projection? Projection { get; set; }
The projection to retrieve.
Type | Description |
Nullable<Projection> |