ImportProcessorVersionRequest(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
The request message for the ImportProcessorVersion method. Requirements:
- The source processor version and destination processor must be in the same location.
- The Document AI
Service Agent <https://cloud.google.com/iam/docs/service-agents>
of the destination project must haveDocument AI Editor role <https://cloud.google.com/document-ai/docs/access-control/iam-roles>
on the source project.
The destination project is specified as part of the parent field. The source project is specified as part of the source field.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
processor_version_source |
str
The source processor version to import from. The source processor version and destination processor need to be in the same environment and region. This field is a member of oneof _ source .
|
parent |
str
Required. The destination processor name to create the processor version in. Format: projects/{project}/locations/{location}/processors/{processor}
|