Required. Parent resource name of TargetSite, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/siteSearchEngine.
Request body
The request body contains an instance of TargetSite.
Response body
If successful, the response body contains a newly created instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-09 UTC."],[[["This page details how to create a TargetSite using a POST request to a specific URL within the Google Discovery Engine API."],["The `parent` parameter in the URL is required, specifying the location and data store of the TargetSite you want to create."],["The request body must include an instance of a TargetSite object to define the site being added."],["Upon a successful request, the response body will contain an Operation instance, which will inform the status of the action."],["Creating a TargetSite requires OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the `discoveryengine.targetSites.create` IAM permission on the parent resource."]]],[]]