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 active version of a specified Document AI Processor."],["The HTTP request to set the default processor version is a `POST` request directed to a specific endpoint URL that includes the processor's resource name."],["The `processor` path parameter, a required string, identifies the target processor, with authorization necessitating `documentai.processors.processBatch` IAM permission."],["The `defaultProcessorVersion` field in the request body is a required string specifying the child ProcessorVersion resource to be made default."],["Successful requests return an Operation instance and require the `documentai.processors.update` IAM permission, as well as `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]