Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest.
The request message for the ImportProcessorVersion method.
The Document AI Service Agent of the destination project must have Document AI Editor role 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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#external_processor_version_source
def external_processor_version_source() -> ::Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest::ExternalProcessorVersionSource
-
(::Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest::ExternalProcessorVersionSource) — The source processor version to import from. It can be from a different
environment and region than the destination processor.
Note: The following fields are mutually exclusive:
external_processor_version_source
,processor_version_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#external_processor_version_source=
def external_processor_version_source=(value) -> ::Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest::ExternalProcessorVersionSource
-
value (::Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest::ExternalProcessorVersionSource) — The source processor version to import from. It can be from a different
environment and region than the destination processor.
Note: The following fields are mutually exclusive:
external_processor_version_source
,processor_version_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest::ExternalProcessorVersionSource) — The source processor version to import from. It can be from a different
environment and region than the destination processor.
Note: The following fields are mutually exclusive:
external_processor_version_source
,processor_version_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#parent
def parent() -> ::String
-
(::String) — Required. The destination processor name to create the processor version
in. Format:
projects/{project}/locations/{location}/processors/{processor}
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The destination processor name to create the processor version
in. Format:
projects/{project}/locations/{location}/processors/{processor}
-
(::String) — Required. The destination processor name to create the processor version
in. Format:
projects/{project}/locations/{location}/processors/{processor}
#processor_version_source
def processor_version_source() -> ::String
-
(::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
model_type
MODEL_TYPE_LLM
are not supported.Note: The following fields are mutually exclusive:
processor_version_source
,external_processor_version_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#processor_version_source=
def processor_version_source=(value) -> ::String
-
value (::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
model_type
MODEL_TYPE_LLM
are not supported.Note: The following fields are mutually exclusive:
processor_version_source
,external_processor_version_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::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
model_type
MODEL_TYPE_LLM
are not supported.Note: The following fields are mutually exclusive:
processor_version_source
,external_processor_version_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.