Input only. 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\u003eThis page provides reference documentation for the \u003ccode\u003eTargetSite\u003c/code\u003e class within the Discovery Engine v1beta API, specifically for the .NET environment, including its properties and constructors.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTargetSite\u003c/code\u003e is a class representing a target site for the SiteSearchEngine, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTargetSite\u003c/code\u003e class has multiple properties such as \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, which are used to define and manage site indexing behavior and status.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available for creating a \u003ccode\u003eTargetSite\u003c/code\u003e instance, including a default constructor and one that accepts another \u003ccode\u003eTargetSite\u003c/code\u003e instance for copying its data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTargetSite\u003c/code\u003e also has multiple output only fields like \u003ccode\u003eGeneratedUriPattern\u003c/code\u003e and \u003ccode\u003eIndexingStatus\u003c/code\u003e, as well as output only status verifiers like \u003ccode\u003eSiteVerificationInfo\u003c/code\u003e, and \u003ccode\u003eFailureReason\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class TargetSite (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.TargetSite)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.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 v1beta 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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.TargetSite), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TargetSite](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.TargetSite), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TargetSite](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.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### 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\nInput only. If set to false, a uri_pattern is generated to include all\npages whose 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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.TargetSiteName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.TargetSite#Google_Cloud_DiscoveryEngine_V1Beta_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."]]