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

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
Name Description
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
Type Description
string

setProcessorVersion

Required. The resource name of the ProcessorVersion to evaluate.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getEvaluationDocuments

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

Returns
Type Description
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
Name Description
var Google\Cloud\DocumentAI\V1\BatchDocumentsInputConfig
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
Google\Cloud\DocumentAI\V1\EvaluateProcessorVersionRequest