A token to retrieve the next page of results. Pass this value in
[ListSecretVersionsRequest.page_token][google.cloud.secretmanager.v1beta2.ListSecretVersionsRequest.page_token]
to retrieve the next page.
The total number of
[SecretVersions][google.cloud.secretmanager.v1beta2.SecretVersion] but 0
when the
[ListSecretsRequest.filter][google.cloud.secretmanager.v1beta2.ListSecretsRequest.filter]
field is set.
[[["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-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eListSecretVersionsResponse\u003c/code\u003e class within the Google Cloud Secret Manager v1beta2 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListSecretVersionsResponse\u003c/code\u003e class is used to receive a response from the \u003ccode\u003eSecretManagerService.ListSecretVersions\u003c/code\u003e method, containing a list of secret versions.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIPageResponse<SecretVersion>\u003c/code\u003e, \u003ccode\u003eIEnumerable<SecretVersion>\u003c/code\u003e, \u003ccode\u003eIMessage\u003c/code\u003e, and others, providing functionalities like pagination, enumeration, and protocol buffer message handling.\u003c/p\u003e\n"],["\u003cp\u003eIt contains properties like \u003ccode\u003eNextPageToken\u003c/code\u003e, \u003ccode\u003eTotalSize\u003c/code\u003e, and \u003ccode\u003eVersions\u003c/code\u003e, which are used to manage pagination, track the total number of secret versions, and hold the list of \u003ccode\u003eSecretVersion\u003c/code\u003e objects, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListSecretVersionsResponse\u003c/code\u003e class has constructors for creating new instances and offers a \u003ccode\u003eGetEnumerator\u003c/code\u003e method to iterate through the list of secret versions within the response.\u003c/p\u003e\n"]]],[],null,["# Secret Manager v1beta2 API - Class ListSecretVersionsResponse (1.0.0-beta03)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta03 (latest)](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.ListSecretVersionsResponse)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/1.0.0-beta02/Google.Cloud.SecretManager.V1Beta2.ListSecretVersionsResponse) \n\n public sealed class ListSecretVersionsResponse : IPageResponse\u003cSecretVersion\u003e, IEnumerable\u003cSecretVersion\u003e, IEnumerable, IMessage\u003cListSecretVersionsResponse\u003e, IEquatable\u003cListSecretVersionsResponse\u003e, IDeepCloneable\u003cListSecretVersionsResponse\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Secret Manager v1beta2 API class ListSecretVersionsResponse.\n\nResponse message for\n\\[SecretManagerService.ListSecretVersions\\]\\[google.cloud.secretmanager.v1beta2.SecretManagerService.ListSecretVersions\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListSecretVersionsResponse \n\nImplements\n----------\n\n[IPageResponse](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/PagedEnumerableCommon.cs)[SecretVersion](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.SecretVersion), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[SecretVersion](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.SecretVersion), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListSecretVersionsResponse](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.ListSecretVersionsResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListSecretVersionsResponse](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.ListSecretVersionsResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListSecretVersionsResponse](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.ListSecretVersionsResponse), [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.V1Beta2](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecretManager.V1Beta2.dll\n\nConstructors\n------------\n\n### ListSecretVersionsResponse()\n\n public ListSecretVersionsResponse()\n\n### ListSecretVersionsResponse(ListSecretVersionsResponse)\n\n public ListSecretVersionsResponse(ListSecretVersionsResponse other)\n\nProperties\n----------\n\n### NextPageToken\n\n public string NextPageToken { get; set; }\n\nA token to retrieve the next page of results. Pass this value in\n\\[ListSecretVersionsRequest.page_token\\]\\[google.cloud.secretmanager.v1beta2.ListSecretVersionsRequest.page_token\\]\nto retrieve the next page.\n\n### TotalSize\n\n public int TotalSize { get; set; }\n\nThe total number of\n\\[SecretVersions\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\] but 0\nwhen the\n\\[ListSecretsRequest.filter\\]\\[google.cloud.secretmanager.v1beta2.ListSecretsRequest.filter\\]\nfield is set.\n\n### Versions\n\n public RepeatedField\u003cSecretVersion\u003e Versions { get; }\n\nThe list of\n\\[SecretVersions\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\] sorted\nin reverse by create_time (newest first).\n\nMethods\n-------\n\n### GetEnumerator()\n\n public IEnumerator\u003cSecretVersion\u003e GetEnumerator()\n\nReturns an enumerator that iterates through the resources in this response."]]