Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest (v0.32.0)

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
Returns

#external_processor_version_source=

def external_processor_version_source=(value) -> ::Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest::ExternalProcessorVersionSource
Parameter
Returns

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The destination processor name to create the processor version in. Format: projects/{project}/locations/{location}/processors/{processor}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The destination processor name to create the processor version in. Format: projects/{project}/locations/{location}/processors/{processor}
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::String) — The source processor version to import from. The source processor version and destination processor need to be in the same environment and region.