Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::EvaluateProcessorVersionRequest.
Evaluates the given ProcessorVersion against the supplied documents.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#evaluation_documents
def evaluation_documents() -> ::Google::Cloud::DocumentAI::V1::BatchDocumentsInputConfig
Returns
- (::Google::Cloud::DocumentAI::V1::BatchDocumentsInputConfig) — Optional. The documents used in the evaluation. If unspecified, use the processor's dataset as evaluation input.
#evaluation_documents=
def evaluation_documents=(value) -> ::Google::Cloud::DocumentAI::V1::BatchDocumentsInputConfig
Parameter
- value (::Google::Cloud::DocumentAI::V1::BatchDocumentsInputConfig) — Optional. The documents used in the evaluation. If unspecified, use the processor's dataset as evaluation input.
Returns
- (::Google::Cloud::DocumentAI::V1::BatchDocumentsInputConfig) — Optional. The documents used in the evaluation. If unspecified, use the processor's dataset as evaluation input.
#processor_version
def processor_version() -> ::String
Returns
-
(::String) — Required. The resource name of the
ProcessorVersion to
evaluate.
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
#processor_version=
def processor_version=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the
ProcessorVersion to
evaluate.
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
Returns
-
(::String) — Required. The resource name of the
ProcessorVersion to
evaluate.
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}