Required. The processor version resource name to be deployed. It takes the form projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorversion}.
Authorization requires the following IAM permission on the specified resource name:
documentai.processorVersions.update
Request body
The request body must be empty.
Response body
If successful, the response body contains an 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-10 UTC."],[[["\u003cp\u003eThis webpage describes the \u003ccode\u003eprojects.locations.processors.processorVersions.deploy\u003c/code\u003e method for deploying a processor version.\u003c/p\u003e\n"],["\u003cp\u003eThe deployment is initiated via a \u003ccode\u003ePOST\u003c/code\u003e request to a specific endpoint, which can be found within the supported service endpoints.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e parameter is required and specifies the processor version resource name, following a predefined format.\u003c/p\u003e\n"],["\u003cp\u003eAn empty request body is required for this deployment method.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful deployment returns an instance of \u003ccode\u003eOperation\u003c/code\u003e, and the operation requires \u003ccode\u003edocumentai.processorVersions.update\u003c/code\u003e IAM permission and \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: processorVersions.deploy\n\n**Full name**: projects.locations.processors.processorVersions.deploy\n\nDeploys the processor version.\n\n### HTTP request\n\n`POST https://{endpoint}/v1/{name}:deploy`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/document-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/document-ai/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](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.processorVersions.update`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]