[[["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 document describes how to update the \u003ccode\u003eDocumentProcessingConfig\u003c/code\u003e, a singleton resource associated with a \u003ccode\u003eDataStore\u003c/code\u003e, which is initially empty upon creation of the \u003ccode\u003eDataStore\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe update is performed using a \u003ccode\u003ePATCH\u003c/code\u003e HTTP request to a specific URL, utilizing gRPC Transcoding syntax for the path.\u003c/p\u003e\n"],["\u003cp\u003eThe request includes path parameters like \u003ccode\u003edocumentProcessingConfig.name\u003c/code\u003e, query parameters like \u003ccode\u003eupdateMask\u003c/code\u003e to specify which fields to update, and a request body containing the \u003ccode\u003eDocumentProcessingConfig\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eA successful update will return an instance of the \u003ccode\u003eDocumentProcessingConfig\u003c/code\u003e in the response body.\u003c/p\u003e\n"],["\u003cp\u003eUpdating the \u003ccode\u003eDocumentProcessingConfig\u003c/code\u003e requires the \u003ccode\u003ediscoveryengine.documentProcessingConfigs.update\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.dataStores.updateDocumentProcessingConfig\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n\nUpdates the [DocumentProcessingConfig](/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.collections.dataStores#DataStore.DocumentProcessingConfig). [DocumentProcessingConfig](/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.collections.dataStores#DataStore.DocumentProcessingConfig) is a singleon resource of [DataStore](/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.collections.dataStores#DataStore). It's empty when [DataStore](/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.collections.dataStores#DataStore) is created. The first call to this method will set up [DocumentProcessingConfig](/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.collections.dataStores#DataStore.DocumentProcessingConfig).\n\n### HTTP request\n\n`PATCH https://discoveryengine.googleapis.com/v1alpha/{documentProcessingConfig.name=projects/*/locations/*/dataStores/*/documentProcessingConfig}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [DocumentProcessingConfig](/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.collections.dataStores#DataStore.DocumentProcessingConfig).\n\n### Response body\n\nIf successful, the response body contains an instance of [DocumentProcessingConfig](/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.collections.dataStores#DataStore.DocumentProcessingConfig).\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).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `discoveryengine.documentProcessingConfigs.update`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]