Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.
HTTP request
POST https://discoveryengine.googleapis.com/v1alpha/{siteSearchEngine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:setUriPatternDocumentData
Document data keyed by URI pattern. Each entry must be consistent with the Schema. For example: Schema = { "type": "object", "properties": { "Categories": { "type": "array", "items": { "retrievable": true, "type": "string" } } }
[[["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 endpoint uses a POST request to set the URI pattern to document data mapping for a Site Search DataStore.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esiteSearchEngine\u003c/code\u003e parameter is required, specifying the full resource name of the Site Search Engine.\u003c/p\u003e\n"],["\u003cp\u003eThe request body includes \u003ccode\u003edocumentDataMap\u003c/code\u003e (mapping URI patterns to document data), \u003ccode\u003eemptyDocumentDataMap\u003c/code\u003e (to clear the data map), and \u003ccode\u003eschema\u003c/code\u003e (to validate and update the data schema).\u003c/p\u003e\n"],["\u003cp\u003eSuccessful calls return an \u003ccode\u003eOperation\u003c/code\u003e instance, and the operation requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"],["\u003cp\u003eThe endpoint uses gRPC Transcoding syntax for the URL.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.collections.dataStores.siteSearchEngine.setUriPatternDocumentData\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nSets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.\n\n### HTTP request\n\n`POST https://discoveryengine.googleapis.com/v1alpha/{siteSearchEngine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:setUriPatternDocumentData`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/generative-ai-app-builder/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]