ImportProcessorVersionRequest(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
The request message for the ImportProcessorVersion method.
The Document AI Service
Agent <https://cloud.google.com/iam/docs/service-agents>
of the
destination project must have Document 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 or external_processor_version_source field.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _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. Note that ProcessorVersions with model_type MODEL_TYPE_LLM are not supported.
This field is a member of oneof _ source .
|
external_processor_version_source |
google.cloud.documentai_v1beta3.types.ImportProcessorVersionRequest.ExternalProcessorVersionSource
The source processor version to import from. It can be from a different environment and region than the destination processor. 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}
|
Classes
ExternalProcessorVersionSource
ExternalProcessorVersionSource(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
The external source processor version.