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.
Required. The resource name of the
[Secret][google.cloud.secrets.v1beta1.Secret] associated with the
[SecretVersions][google.cloud.secrets.v1beta1.SecretVersion] to list, in
the format projects/*/secrets/*.
[[["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\u003e\u003ccode\u003eListSecretVersionsRequest\u003c/code\u003e is a class in the Secret Manager v1beta1 API used to request a list of secret versions.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, making it compatible with various .NET functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListSecretVersionsRequest\u003c/code\u003e class has properties like \u003ccode\u003ePageSize\u003c/code\u003e, \u003ccode\u003ePageToken\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsSecretName\u003c/code\u003e to control the listing of secret versions and the location the secret is in.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for \u003ccode\u003eListSecretVersionsRequest\u003c/code\u003e, one default and one that takes another \u003ccode\u003eListSecretVersionsRequest\u003c/code\u003e for cloning purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the ListSecretVersionsRequest is \u003ccode\u003e3.0.0-beta05\u003c/code\u003e, with previous beta versions also accessible.\u003c/p\u003e\n"]]],[],null,["# Secret Manager v1beta1 API - Class ListSecretVersionsRequest (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.ListSecretVersionsRequest)\n- [3.0.0-beta05](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/3.0.0-beta05/Google.Cloud.SecretManager.V1Beta1.ListSecretVersionsRequest)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/2.0.0-beta05/Google.Cloud.SecretManager.V1Beta1.ListSecretVersionsRequest) \n\n public sealed class ListSecretVersionsRequest : IPageRequest, IMessage\u003cListSecretVersionsRequest\u003e, IEquatable\u003cListSecretVersionsRequest\u003e, IDeepCloneable\u003cListSecretVersionsRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Secret Manager v1beta1 API class ListSecretVersionsRequest.\n\nRequest message for\n\\[SecretManagerService.ListSecretVersions\\]\\[google.cloud.secrets.v1beta1.SecretManagerService.ListSecretVersions\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListSecretVersionsRequest \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)[ListSecretVersionsRequest](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.ListSecretVersionsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListSecretVersionsRequest](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.ListSecretVersionsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListSecretVersionsRequest](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.ListSecretVersionsRequest), [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### ListSecretVersionsRequest()\n\n public ListSecretVersionsRequest()\n\n### ListSecretVersionsRequest(ListSecretVersionsRequest)\n\n public ListSecretVersionsRequest(ListSecretVersionsRequest 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\nListSecretVersionsResponse.next_page_token\\]\\[\\].\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The resource name of the\n\\[Secret\\]\\[google.cloud.secrets.v1beta1.Secret\\] associated with the\n\\[SecretVersions\\]\\[google.cloud.secrets.v1beta1.SecretVersion\\] to list, in\nthe format `projects/*/secrets/*`.\n\n### ParentAsSecretName\n\n public SecretName ParentAsSecretName { get; set; }\n\n[SecretName](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.SecretName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.ListSecretVersionsRequest#Google_Cloud_SecretManager_V1Beta1_ListSecretVersionsRequest_Parent) resource name property."]]