Required. The resource name of Processor or ProcessorVersion. Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion} It takes the form projects/{project}/locations/{location}/processors/{processor}.
Authorization requires one or more of the following IAM permissions on the specified resource name:
documentai.processors.processBatch
documentai.processorVersions.processBatch
Request body
The request body contains data with the following structure:
Optional. The labels with user-defined metadata for the request. The metadata key-value pairs will show up in billing data details.
Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
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\u003eThe \u003ccode\u003eprojects.locations.processors.batchProcess\u003c/code\u003e endpoint allows for batch processing of multiple documents, with output stored in Cloud Storage as JSON.\u003c/p\u003e\n"],["\u003cp\u003eThe request must specify the target Processor or ProcessorVersion using its resource name in the format \u003ccode\u003eprojects/{project}/locations/{location}/processors/{processor}\u003c/code\u003e or \u003ccode\u003eprojects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body includes parameters for input documents, output configuration, options to skip human review, inference-time options, and optional user-defined labels.\u003c/p\u003e\n"],["\u003cp\u003eThe processing requires the \u003ccode\u003edocumentai.processors.processBatch\u003c/code\u003e or \u003ccode\u003edocumentai.processorVersions.processBatch\u003c/code\u003e IAM permission on the \u003ccode\u003ename\u003c/code\u003e resource, along with the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"],["\u003cp\u003eA successful batch process returns an instance of \u003ccode\u003eOperation\u003c/code\u003e, which can be found in the response body.\u003c/p\u003e\n"]]],[],null,[]]