Required. The destination processor name to create the processor version in. Format: projects/{project}/locations/{location}/processors/{processor} It takes the form projects/{project}/locations/{location}/processors/{processor}.
Authorization requires the following IAM permission on the specified resource parent:
documentai.processorVersions.create
Request body
The request body contains data with the following structure:
JSON representation
{// Union field source can be only one of the following:"processorVersionSource": string,"externalProcessorVersionSource": {object (ExternalProcessorVersionSource)}// End of list of possible types for union field source.}
Fields
Union field source.
source can be only one of the following:
processorVersionSource
string
The source processor version to import from. The source processor version and destination processor need to be in the same environment and region. Note that ProcessorVersions with modelTypeMODEL_TYPE_LLM are not supported.
[[["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 endpoint `projects.locations.processors.processorVersions.importProcessorVersion` is used to import a processor version from a source processor version."],["The request must be a POST request to the specified endpoint with the destination processor's details in the `parent` path parameter, using the format `projects/{project}/locations/{location}/processors/{processor}`."],["The `source` field in the request body can be either `processorVersionSource`, which requires the source and destination to be in the same environment and region, or `externalProcessorVersionSource`, which can be from a different environment and region."],["To use this feature, you need `documentai.processorVersions.create` IAM permission on the specified `parent` resource, and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."],["The `externalProcessorVersionSource` requires a processor version name in the format `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}` and a Document AI service endpoint."]]],[]]