Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest.
The request message for the ImportProcessorVersion method. Requirements:
- 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][ImportProcessorVersionRequest.processor_version_source or ImportProcessorVersionRequest.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, and can be from different environment and region than the destination processor.
#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, and can be from different environment and region than the destination processor.
- (::Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest::ExternalProcessorVersionSource) — The source processor version to import from, and can be from different environment and region than the destination processor.
#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.
#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.
- (::String) — The source processor version to import from. The source processor version and destination processor need to be in the same environment and region.