Optional. The maximum number of results to be returned in a single page. If
set to 0, the server decides the number of results to return. If the
number is greater than 25000, it is capped at 25000.
Optional. Pagination token, returned earlier via
[ListSecretsResponse.next_page_token][google.cloud.secrets.v1beta1.ListSecretsResponse.next_page_token].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eListSecretsRequest\u003c/code\u003e class within the Google Cloud Secret Manager v1beta1 API, specifically found in the \u003ccode\u003eGoogle.Cloud.SecretManager.V1Beta1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListSecretsRequest\u003c/code\u003e class is used to define the request message for the \u003ccode\u003eSecretManagerService.ListSecrets\u003c/code\u003e method, enabling the retrieval of a list of secrets.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces, including \u003ccode\u003eIPageRequest\u003c/code\u003e, \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in paged requests and message handling.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within \u003ccode\u003eListSecretsRequest\u003c/code\u003e include \u003ccode\u003ePageSize\u003c/code\u003e to limit the number of results per page, \u003ccode\u003ePageToken\u003c/code\u003e for pagination, and \u003ccode\u003eParent\u003c/code\u003e which specifies the project associated with the secrets to be listed.\u003c/p\u003e\n"],["\u003cp\u003eThe available versions of the API include 3.0.0-beta05 (latest), 3.0.0-beta04, and 2.0.0-beta05.\u003c/p\u003e\n"]]],[],null,["# Secret Manager v1beta1 API - Class ListSecretsRequest (3.0.0-beta06)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0-beta06 (latest)](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.ListSecretsRequest)\n- [3.0.0-beta05](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/3.0.0-beta05/Google.Cloud.SecretManager.V1Beta1.ListSecretsRequest)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/2.0.0-beta05/Google.Cloud.SecretManager.V1Beta1.ListSecretsRequest) \n\n public sealed class ListSecretsRequest : IPageRequest, IMessage\u003cListSecretsRequest\u003e, IEquatable\u003cListSecretsRequest\u003e, IDeepCloneable\u003cListSecretsRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Secret Manager v1beta1 API class ListSecretsRequest.\n\nRequest message for\n\\[SecretManagerService.ListSecrets\\]\\[google.cloud.secrets.v1beta1.SecretManagerService.ListSecrets\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListSecretsRequest \n\nImplements\n----------\n\n[IPageRequest](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageRequest.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListSecretsRequest](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.ListSecretsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListSecretsRequest](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.ListSecretsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListSecretsRequest](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.ListSecretsRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecretManager.V1Beta1](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.SecretManager.V1Beta1.dll\n\nConstructors\n------------\n\n### ListSecretsRequest()\n\n public ListSecretsRequest()\n\n### ListSecretsRequest(ListSecretsRequest)\n\n public ListSecretsRequest(ListSecretsRequest other)\n\nProperties\n----------\n\n### PageSize\n\n public int PageSize { get; set; }\n\nOptional. The maximum number of results to be returned in a single page. If\nset to 0, the server decides the number of results to return. If the\nnumber is greater than 25000, it is capped at 25000.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nOptional. Pagination token, returned earlier via\n\\[ListSecretsResponse.next_page_token\\]\\[google.cloud.secrets.v1beta1.ListSecretsResponse.next_page_token\\].\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The resource name of the project associated with the\n\\[Secrets\\]\\[google.cloud.secrets.v1beta1.Secret\\], in the format `projects/*`.\n\n### ParentAsProjectName\n\n public ProjectName ParentAsProjectName { get; set; }\n\n[ProjectName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.ListSecretsRequest#Google_Cloud_SecretManager_V1Beta1_ListSecretsRequest_Parent) resource name property."]]