[[["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\u003eThe \u003ccode\u003eListTargetSitesResponse\u003c/code\u003e class is a response message for the \u003ccode\u003eSiteSearchEngineService.ListTargetSites\u003c/code\u003e method within the Google Cloud Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, \u003ccode\u003eIPageResponse\u003c/code\u003e, and \u003ccode\u003eIEnumerable\u003c/code\u003e, providing functionalities such as message handling, equality comparison, deep cloning, and enumeration.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains three main properties: \u003ccode\u003eNextPageToken\u003c/code\u003e (a string for retrieving the next page of results), \u003ccode\u003eTargetSites\u003c/code\u003e (a list of \u003ccode\u003eTargetSite\u003c/code\u003e objects), and \u003ccode\u003eTotalSize\u003c/code\u003e (an integer representing the total number of items matching the request).\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available for creating \u003ccode\u003eListTargetSitesResponse\u003c/code\u003e instances: a default constructor and another that takes an existing \u003ccode\u003eListTargetSitesResponse\u003c/code\u003e object for initialization.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a method, \u003ccode\u003eGetEnumerator()\u003c/code\u003e, which enables iteration through the \u003ccode\u003eTargetSite\u003c/code\u003e resources within the response.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class ListTargetSitesResponse (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesResponse)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesResponse) \n\n public sealed class ListTargetSitesResponse : IMessage\u003cListTargetSitesResponse\u003e, IEquatable\u003cListTargetSitesResponse\u003e, IDeepCloneable\u003cListTargetSitesResponse\u003e, IBufferMessage, IMessage, IPageResponse\u003cTargetSite\u003e, IEnumerable\u003cTargetSite\u003e, IEnumerable\n\nReference documentation and code samples for the Discovery Engine v1beta API class ListTargetSitesResponse.\n\nResponse message for\n\\[SiteSearchEngineService.ListTargetSites\\]\\[google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListTargetSitesResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListTargetSitesResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListTargetSitesResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListTargetSitesResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesResponse), [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), [IPageResponse](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.html)[TargetSite](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.TargetSite), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[TargetSite](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.TargetSite), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable) \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.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### ListTargetSitesResponse()\n\n public ListTargetSitesResponse()\n\n### ListTargetSitesResponse(ListTargetSitesResponse)\n\n public ListTargetSitesResponse(ListTargetSitesResponse other)\n\nProperties\n----------\n\n### NextPageToken\n\n public string NextPageToken { get; set; }\n\nA token that can be sent as `page_token` to retrieve the next page.\nIf this field is omitted, there are no subsequent pages.\n\n### TargetSites\n\n public RepeatedField\u003cTargetSite\u003e TargetSites { get; }\n\nList of TargetSites.\n\n### TotalSize\n\n public int TotalSize { get; set; }\n\nThe total number of items matching the request.\nThis will always be populated in the response.\n\nMethods\n-------\n\n### GetEnumerator()\n\n public IEnumerator\u003cTargetSite\u003e GetEnumerator()\n\nReturns an enumerator that iterates through the resources in this response."]]