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.
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\u003eThis API endpoint \u003ccode\u003eprojects.locations.processors.batchProcess\u003c/code\u003e allows for batch processing of multiple documents, writing the output in JSON format to Cloud Storage.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request method for this operation is \u003ccode\u003ePOST\u003c/code\u003e, targeting the specified endpoint with the format \u003ccode\u003ehttps://{endpoint}/v1beta3/{name}:batchProcess\u003c/code\u003e, and requires a defined \u003ccode\u003ename\u003c/code\u003e parameter for the resource.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires several configurations including, \u003ccode\u003einputDocuments\u003c/code\u003e, and \u003ccode\u003edocumentOutputConfig\u003c/code\u003e to define the input and output of the documents, along with some other optional fields.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests return an \u003ccode\u003eOperation\u003c/code\u003e object, indicating the status of the batch processing task.\u003c/p\u003e\n"],["\u003cp\u003eThis operation requires specific IAM permissions, either \u003ccode\u003edocumentai.processors.processBatch\u003c/code\u003e or \u003ccode\u003edocumentai.processorVersions.processBatch\u003c/code\u003e, and the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]