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
System.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
System.Nullable<System.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 Google.Api.Gax.Page`1 or a raw response from Google.Api.Gax.PagedEnumerable`2.AsRawResponses.
Property Value
Type
Description
System.String
Prefix
public string Prefix { get; set; }
The prefix to match. Only buckets with names that start with this string will be returned.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eListBucketsOptions\u003c/code\u003e class, which provides options for configuring \u003ccode\u003eListBuckets\u003c/code\u003e operations within the Google Cloud Storage .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the library available is 4.11.0, with multiple previous versions (down to 3.4.0) also accessible for review.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eListBucketsOptions\u003c/code\u003e class include \u003ccode\u003eFields\u003c/code\u003e for specifying partial responses, \u003ccode\u003ePageSize\u003c/code\u003e for controlling the number of results per page, and \u003ccode\u003ePageToken\u003c/code\u003e for continued list operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePrefix\u003c/code\u003e property allows filtering buckets by name prefix, and \u003ccode\u003eProjection\u003c/code\u003e determines the type of information retrieved about the buckets.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits several standard methods from the \u003ccode\u003eSystem.Object\u003c/code\u003e such as \u003ccode\u003eToString()\u003c/code\u003e, \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eMemberwiseClone()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]