A token to retrieve the next page of results. Pass this value in
[ListSecretsRequest.page_token][google.cloud.secrets.v1beta1.ListSecretsRequest.page_token]
to retrieve the next page.
[[["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 documentation details the \u003ccode\u003eListSecretsResponse\u003c/code\u003e class within the Google Cloud Secret Manager v1beta1 API, which is used to handle the response from a request to list secrets.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListSecretsResponse\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIPageResponse<Secret>\u003c/code\u003e, \u003ccode\u003eIEnumerable<Secret>\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e, indicating its role in managing paginated responses and collections of \u003ccode\u003eSecret\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eListSecretsResponse\u003c/code\u003e include \u003ccode\u003eNextPageToken\u003c/code\u003e for retrieving subsequent pages, \u003ccode\u003eSecrets\u003c/code\u003e for accessing the list of \u003ccode\u003eSecret\u003c/code\u003e objects, and \u003ccode\u003eTotalSize\u003c/code\u003e for knowing the overall number of secrets.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods like \u003ccode\u003eGetEnumerator()\u003c/code\u003e to iterate over the returned secrets, and it has constructors for creating new instances, as well as allowing for cloning existing ones.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the package is \u003ccode\u003e3.0.0-beta05\u003c/code\u003e, and previous versions \u003ccode\u003e3.0.0-beta04\u003c/code\u003e, and \u003ccode\u003e2.0.0-beta05\u003c/code\u003e are also listed.\u003c/p\u003e\n"]]],[],null,["# Secret Manager v1beta1 API - Class ListSecretsResponse (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.ListSecretsResponse)\n- [3.0.0-beta05](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/3.0.0-beta05/Google.Cloud.SecretManager.V1Beta1.ListSecretsResponse)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/2.0.0-beta05/Google.Cloud.SecretManager.V1Beta1.ListSecretsResponse) \n\n public sealed class ListSecretsResponse : IPageResponse\u003cSecret\u003e, IEnumerable\u003cSecret\u003e, IEnumerable, IMessage\u003cListSecretsResponse\u003e, IEquatable\u003cListSecretsResponse\u003e, IDeepCloneable\u003cListSecretsResponse\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Secret Manager v1beta1 API class ListSecretsResponse.\n\nResponse 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 ListSecretsResponse \n\nImplements\n----------\n\n[IPageResponse](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.html)[Secret](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.Secret), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[Secret](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.Secret), [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)[ListSecretsResponse](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.ListSecretsResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListSecretsResponse](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.ListSecretsResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListSecretsResponse](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta1/latest/Google.Cloud.SecretManager.V1Beta1.ListSecretsResponse), [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### ListSecretsResponse()\n\n public ListSecretsResponse()\n\n### ListSecretsResponse(ListSecretsResponse)\n\n public ListSecretsResponse(ListSecretsResponse 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\\[ListSecretsRequest.page_token\\]\\[google.cloud.secrets.v1beta1.ListSecretsRequest.page_token\\]\nto retrieve the next page.\n\n### Secrets\n\n public RepeatedField\u003cSecret\u003e Secrets { get; }\n\nThe list of \\[Secrets\\]\\[google.cloud.secrets.v1beta1.Secret\\] sorted in\nreverse by create_time (newest first).\n\n### TotalSize\n\n public int TotalSize { get; set; }\n\nThe total number of \\[Secrets\\]\\[google.cloud.secrets.v1beta1.Secret\\].\n\nMethods\n-------\n\n### GetEnumerator()\n\n public IEnumerator\u003cSecret\u003e GetEnumerator()\n\nReturns an enumerator that iterates through the resources in this response."]]