Required. The resource name of the Processor to change default version. It takes the form projects/{project}/locations/{location}/processors/{processor}.
Authorization requires the following IAM permission on the specified resource processor:
documentai.processors.processBatch
Request body
The request body contains data with the following structure:
JSON representation
{"defaultProcessorVersion": string}
Fields
defaultProcessorVersion
string
Required. The resource name of child ProcessorVersion to use as default. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}
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 2024-04-07 UTC."],[[["This API endpoint, `projects.locations.processors.setDefaultProcessorVersion`, sets the default version of a specified Processor for use in document processing operations."],["The HTTP request is a `POST` method to a designated endpoint, with the processor's resource name defined as a required path parameter."],["The request body must contain the `defaultProcessorVersion`, which indicates the resource name of the ProcessorVersion to be set as the default."],["To successfully execute this request, the user must have the `documentai.processors.update` IAM permission on the specified Processor resource."],["This requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]