[[["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\u003eThe \u003ccode\u003eListSourcesResponse\u003c/code\u003e class is part of the Security Command Center v2 API in the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2\u003c/code\u003e namespace, and it is designed to handle the response for listing sources.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIPageResponse\u003c/code\u003e, \u003ccode\u003eIEnumerable\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 comprehensive functionality for data handling and interaction.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eListSourcesResponse\u003c/code\u003e has two constructors, a default one and another that takes an existing \u003ccode\u003eListSourcesResponse\u003c/code\u003e object as a parameter for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNextPageToken\u003c/code\u003e property, of type string, is used to manage pagination by providing a token for retrieving subsequent pages of results.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSources\u003c/code\u003e property is a \u003ccode\u003eRepeatedField\u003c/code\u003e of \u003ccode\u003eSource\u003c/code\u003e objects, which represent the sources contained in the response, and the \u003ccode\u003eGetEnumerator\u003c/code\u003e method helps iterate over these sources.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class ListSourcesResponse (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ListSourcesResponse)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.ListSourcesResponse)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.ListSourcesResponse) \n\n public sealed class ListSourcesResponse : IPageResponse\u003cSource\u003e, IEnumerable\u003cSource\u003e, IEnumerable, IMessage\u003cListSourcesResponse\u003e, IEquatable\u003cListSourcesResponse\u003e, IDeepCloneable\u003cListSourcesResponse\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class ListSourcesResponse.\n\nResponse message for listing sources. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListSourcesResponse \n\nImplements\n----------\n\n[IPageResponse](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.html)[Source](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Source), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[Source](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Source), [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)[ListSourcesResponse](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ListSourcesResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListSourcesResponse](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ListSourcesResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListSourcesResponse](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ListSourcesResponse), [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.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### ListSourcesResponse()\n\n public ListSourcesResponse()\n\n### ListSourcesResponse(ListSourcesResponse)\n\n public ListSourcesResponse(ListSourcesResponse other)\n\nProperties\n----------\n\n### NextPageToken\n\n public string NextPageToken { get; set; }\n\nToken to retrieve the next page of results, or empty if there are no more\nresults.\n\n### Sources\n\n public RepeatedField\u003cSource\u003e Sources { get; }\n\nSources belonging to the requested parent.\n\nMethods\n-------\n\n### GetEnumerator()\n\n public IEnumerator\u003cSource\u003e GetEnumerator()\n\nReturns an enumerator that iterates through the resources in this response."]]