Class ImportProcessorVersionRequest (2.15.0)

ImportProcessorVersionRequest(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The request message for the ImportProcessorVersion method. This method requires Document AI Service Agent of the destination project in the source project's IAM with Document AI Editor role <https://cloud.google.com/document-ai/docs/access-control/iam-roles>__.

The destination project is specified as part of the parent field. The source project is specified as part of source field.

The Service Agent for Document AI can be found in https://cloud.google.com/iam/docs/service-agents.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
processor_version_source str
The source processor version to import from. 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}