Method: processorVersions.importProcessorVersion

Full name: projects.locations.processors.processorVersions.importProcessorVersion

Imports a processor version from source processor version.

HTTP request

POST https://{endpoint}/v1beta3/{parent}/processorVersions:importProcessorVersion

Where {endpoint} is one of the supported service endpoints.

Path parameters



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
  // End of list of possible types for union field source.

Union field source.

source can be only one of the following:



The source processor version to import from. The source processor version and destination processor need to be in the same environment and region.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • documentai.processorVersions.create

For more information, see the IAM documentation.