Dataset schema resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema It takes the form projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema.
[[["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-10 UTC."],[[["\u003cp\u003eThis endpoint \u003ccode\u003eprojects.locations.processors.dataset.updateDatasetSchema\u003c/code\u003e allows updating a \u003ccode\u003eDatasetSchema\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request uses the \u003ccode\u003ePATCH\u003c/code\u003e method at the specified endpoint and requires the \u003ccode\u003edatasetSchema.name\u003c/code\u003e path parameter in the format \u003ccode\u003eprojects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateMask\u003c/code\u003e query parameter specifies the fields to be updated, using a comma-separated list of fully qualified names in \u003ccode\u003eFieldMask\u003c/code\u003e format.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain an instance of \u003ccode\u003eDatasetSchema\u003c/code\u003e, and a successful response will also contain an instance of \u003ccode\u003eDatasetSchema\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUpdating a dataset schema requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003edocumentai.datasetSchemas.update\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: dataset.updateDatasetSchema\n\n**Full name**: projects.locations.processors.dataset.updateDatasetSchema\n\nUpdates a `DatasetSchema`.\n\n### HTTP request\n\n`PATCH https://{endpoint}/v1beta3/{datasetSchema.name}`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/document-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [DatasetSchema](/document-ai/docs/reference/rest/v1beta3/DatasetSchema).\n\n### Response body\n\nIf successful, the response body contains an instance of [DatasetSchema](/document-ai/docs/reference/rest/v1beta3/DatasetSchema).\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](https://cloud.google.com/docs/authentication/).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `documentai.datasetSchemas.update`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]