public sealed class DeleteTargetSiteRequest : IMessage<DeleteTargetSiteRequest>, IEquatable<DeleteTargetSiteRequest>, IDeepCloneable<DeleteTargetSiteRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class DeleteTargetSiteRequest.
Request message for
[SiteSearchEngineService.DeleteTargetSite][google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteTargetSite]
method.
Required. Full resource name of
[TargetSite][google.cloud.discoveryengine.v1.TargetSite], such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}.
If the caller does not have permission to access the
[TargetSite][google.cloud.discoveryengine.v1.TargetSite], regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the requested [TargetSite][google.cloud.discoveryengine.v1.TargetSite]
does not exist, a NOT_FOUND 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\u003eThis document provides reference information for the \u003ccode\u003eDeleteTargetSiteRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically for version 1.4.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteTargetSiteRequest\u003c/code\u003e is used to send a request to delete a target site via the \u003ccode\u003eSiteSearchEngineService.DeleteTargetSite\u003c/code\u003e method, as part of the Site Search Engine Service within the Discovery Engine.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the .NET \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the class include \u003ccode\u003eName\u003c/code\u003e, which is a required field representing the full resource name of the target site, and \u003ccode\u003eTargetSiteName\u003c/code\u003e, which is a typed view of the name property.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is 1.6.0 and older versions range from 1.5.0 down to 1.0.0-beta06.\u003c/p\u003e\n"]]],[],null,[]]