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-06-27 UTC."],[[["\u003cp\u003eThis page details the process of creating a \u003ccode\u003eTargetSite\u003c/code\u003e resource within the Google Discovery Engine API.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request to create a \u003ccode\u003eTargetSite\u003c/code\u003e is a POST request to a specific URL with a designated parent parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include an instance of the \u003ccode\u003eTargetSite\u003c/code\u003e resource that you are trying to create.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful creation results in a response body containing a newly created \u003ccode\u003eOperation\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eCreating a \u003ccode\u003eTargetSite\u003c/code\u003e requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003ediscoveryengine.targetSites.create\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]