Google Cloud Document Ai V1 Client - Class EvaluateProcessorVersionRequest (1.4.0)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class EvaluateProcessorVersionRequest.

Evaluates the given ProcessorVersion against the supplied documents.

Generated from protobuf message google.cloud.documentai.v1.EvaluateProcessorVersionRequest

Namespace

Google \ Cloud \ DocumentAI \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ processor_version string

Required. The resource name of the ProcessorVersion to evaluate. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

↳ evaluation_documents Google\Cloud\DocumentAI\V1\BatchDocumentsInputConfig

Optional. The documents used in the evaluation. If unspecified, use the processor's dataset as evaluation input.

getProcessorVersion

Required. The resource name of the ProcessorVersion to evaluate.

projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

Returns
TypeDescription
string

setProcessorVersion

Required. The resource name of the ProcessorVersion to evaluate.

projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEvaluationDocuments

Optional. The documents used in the evaluation. If unspecified, use the processor's dataset as evaluation input.

Returns
TypeDescription
Google\Cloud\DocumentAI\V1\BatchDocumentsInputConfig|null

hasEvaluationDocuments

clearEvaluationDocuments

setEvaluationDocuments

Optional. The documents used in the evaluation. If unspecified, use the processor's dataset as evaluation input.

Parameter
NameDescription
var Google\Cloud\DocumentAI\V1\BatchDocumentsInputConfig
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
processorVersion string

Required. The resource name of the ProcessorVersion to evaluate. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion} Please see Google\Cloud\DocumentAI\V1\DocumentProcessorServiceClient::processorVersionName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\DocumentAI\V1\EvaluateProcessorVersionRequest