Class ListBucketsOptions (4.0.0)

public sealed class ListBucketsOptions

Options for ListBuckets operations.

Inheritance

Object > ListBucketsOptions

Namespace

Google.Cloud.Storage.V1

Assembly

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
TypeDescription
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
TypeDescription
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().

Property Value
TypeDescription
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
TypeDescription
String

Projection

public Projection? Projection { get; set; }

The projection to retrieve.

Property Value
TypeDescription
Nullable<Projection>