Immutable. If set to false, a uri_pattern is generated to include all pages
whose address contains the provided_uri_pattern. If set to true, an
uri_pattern is generated to try to be an exact match of the
provided_uri_pattern or just the specific page if the provided_uri_pattern
is a specific one. provided_uri_pattern is always normalized to
generate the URI pattern to be used by the search engine.
Output only. The fully qualified resource name of the target site.
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}
The target_site_id is system-generated.
[[["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 latest version of the \u003ccode\u003eTargetSite\u003c/code\u003e API class is 1.6.0, with other available versions including 1.5.0, 1.4.0, 1.3.0, 1.2.0, 1.1.0, and 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTargetSite\u003c/code\u003e is a class used within the Discovery Engine v1 API for representing a target site, which can be implemented, cloned, and buffered.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties like \u003ccode\u003eExactMatch\u003c/code\u003e, \u003ccode\u003eFailureReason\u003c/code\u003e, \u003ccode\u003eGeneratedUriPattern\u003c/code\u003e, \u003ccode\u003eIndexingStatus\u003c/code\u003e, and \u003ccode\u003eProvidedUriPattern\u003c/code\u003e to define and retrieve data about a target site, as well as methods to construct \u003ccode\u003eTargetSite\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eIt also contains properties such as \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eRootDomainUri\u003c/code\u003e, \u003ccode\u003eSiteVerificationInfo\u003c/code\u003e, \u003ccode\u003eTargetSiteName\u003c/code\u003e, \u003ccode\u003eType\u003c/code\u003e and \u003ccode\u003eUpdateTime\u003c/code\u003e, giving specific details such as the fully qualified resource name, root domain, ownership and validity verification, or the last updated time.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTargetSite\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e from the \u003ccode\u003eGoogle.Protobuf\u003c/code\u003e namespace, allowing for object manipulation and serialization.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class TargetSite (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.TargetSite)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.TargetSite)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.TargetSite)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.TargetSite)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.TargetSite)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.TargetSite)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.TargetSite)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.TargetSite)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.TargetSite)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.TargetSite) \n\n public sealed class TargetSite : IMessage\u003cTargetSite\u003e, IEquatable\u003cTargetSite\u003e, IDeepCloneable\u003cTargetSite\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class TargetSite.\n\nA target site for the SiteSearchEngine. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TargetSite \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TargetSite](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.TargetSite), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TargetSite](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.TargetSite), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TargetSite](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.TargetSite), [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.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### TargetSite()\n\n public TargetSite()\n\n### TargetSite(TargetSite)\n\n public TargetSite(TargetSite other)\n\nProperties\n----------\n\n### ExactMatch\n\n public bool ExactMatch { get; set; }\n\nImmutable. If set to false, a uri_pattern is generated to include all pages\nwhose address contains the provided_uri_pattern. If set to true, an\nuri_pattern is generated to try to be an exact match of the\nprovided_uri_pattern or just the specific page if the provided_uri_pattern\nis a specific one. provided_uri_pattern is always normalized to\ngenerate the URI pattern to be used by the search engine.\n\n### FailureReason\n\n public TargetSite.Types.FailureReason FailureReason { get; set; }\n\nOutput only. Failure reason.\n\n### GeneratedUriPattern\n\n public string GeneratedUriPattern { get; set; }\n\nOutput only. This is system-generated based on the provided_uri_pattern.\n\n### IndexingStatus\n\n public TargetSite.Types.IndexingStatus IndexingStatus { get; set; }\n\nOutput only. Indexing status.\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. The fully qualified resource name of the target site.\n`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`\nThe `target_site_id` is system-generated.\n\n### ProvidedUriPattern\n\n public string ProvidedUriPattern { get; set; }\n\nRequired. Input only. The user provided URI pattern from which the\n`generated_uri_pattern` is generated.\n\n### RootDomainUri\n\n public string RootDomainUri { get; set; }\n\nOutput only. Root domain of the provided_uri_pattern.\n\n### SiteVerificationInfo\n\n public SiteVerificationInfo SiteVerificationInfo { get; set; }\n\nOutput only. Site ownership and validity verification status.\n\n### TargetSiteName\n\n public TargetSiteName TargetSiteName { get; set; }\n\n[TargetSiteName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.TargetSiteName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.TargetSite#Google_Cloud_DiscoveryEngine_V1_TargetSite_Name) resource name property.\n\n### Type\n\n public TargetSite.Types.Type Type { get; set; }\n\nThe type of the target site, e.g., whether the site is to be included or\nexcluded.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The target site's last updated time."]]