Requested page size. Server may return fewer items than requested. If
unspecified, server will pick an appropriate default. The maximum value is
1000; values above 1000 will be coerced to 1000.
If this field is negative, an INVALID_ARGUMENT error is returned.
Required. The parent site search engine resource name, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine.
If the caller does not have permission to list
[TargetSite][google.cloud.discoveryengine.v1beta.TargetSite]s under this
site search engine, regardless of whether or not this branch exists, a
PERMISSION_DENIED error is returned.
[[["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\u003e\u003ccode\u003eListTargetSitesRequest\u003c/code\u003e is a class within the Discovery Engine v1beta API, used for requesting a list of target sites.\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, and \u003ccode\u003eIPageRequest\u003c/code\u003e, enhancing its functionality and usage within the API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListTargetSitesRequest\u003c/code\u003e class offers properties like \u003ccode\u003ePageSize\u003c/code\u003e, \u003ccode\u003ePageToken\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e, which are used to manage pagination and specify the site search engine from which to list target sites.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, \u003ccode\u003eListTargetSitesRequest()\u003c/code\u003e which is the default constructor, and \u003ccode\u003eListTargetSitesRequest(ListTargetSitesRequest other)\u003c/code\u003e, which allows to construct a new instance based on another one.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property of the \u003ccode\u003eListTargetSitesRequest\u003c/code\u003e class is a required string representing the parent site search engine resource name.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class ListTargetSitesRequest (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.ListTargetSitesRequest)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesRequest) \n\n public sealed class ListTargetSitesRequest : IMessage\u003cListTargetSitesRequest\u003e, IEquatable\u003cListTargetSitesRequest\u003e, IDeepCloneable\u003cListTargetSitesRequest\u003e, IBufferMessage, IMessage, IPageRequest\n\nReference documentation and code samples for the Discovery Engine v1beta API class ListTargetSitesRequest.\n\nRequest 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 ListTargetSitesRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListTargetSitesRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListTargetSitesRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListTargetSitesRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesRequest), [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), [IPageRequest](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageRequest.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.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### ListTargetSitesRequest()\n\n public ListTargetSitesRequest()\n\n### ListTargetSitesRequest(ListTargetSitesRequest)\n\n public ListTargetSitesRequest(ListTargetSitesRequest other)\n\nProperties\n----------\n\n### PageSize\n\n public int PageSize { get; set; }\n\nRequested page size. Server may return fewer items than requested. If\nunspecified, server will pick an appropriate default. The maximum value is\n1000; values above 1000 will be coerced to 1000.\n\nIf this field is negative, an INVALID_ARGUMENT error is returned.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nA page token, received from a previous `ListTargetSites` call.\nProvide this to retrieve the subsequent page.\n\nWhen paginating, all other parameters provided to `ListTargetSites`\nmust match the call that provided the page token.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent site search engine resource name, such as\n`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`.\n\nIf the caller does not have permission to list\n\\[TargetSite\\]\\[google.cloud.discoveryengine.v1beta.TargetSite\\]s under this\nsite search engine, regardless of whether or not this branch exists, a\nPERMISSION_DENIED error is returned.\n\n### ParentAsSiteSearchEngineName\n\n public SiteSearchEngineName ParentAsSiteSearchEngineName { get; set; }\n\n[SiteSearchEngineName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesRequest#Google_Cloud_DiscoveryEngine_V1Beta_ListTargetSitesRequest_Parent) resource name property."]]