Class: Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb

Overview

The request message for the ImportProcessorVersion method. Requirements:

  • The source processor version and destination processor must be in the same location.
  • 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 field.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns 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}



1018
1019
1020
1021
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 1018

class ImportProcessorVersionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#processor_version_source::String

Returns 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.



1018
1019
1020
1021
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 1018

class ImportProcessorVersionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end