Google Cloud Document Ai V1 Client - Class Counters (1.7.0)

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

Evaluation counters for the documents that were used.

Generated from protobuf message google.cloud.documentai.v1.Evaluation.Counters

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Evaluation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ input_documents_count int

How many documents were sent for evaluation.

↳ invalid_documents_count int

How many documents were not included in the evaluation as they didn't pass validation.

↳ failed_documents_count int

How many documents were not included in the evaluation as Document AI failed to process them.

↳ evaluated_documents_count int

How many documents were used in the evaluation.

getInputDocumentsCount

How many documents were sent for evaluation.

Returns
TypeDescription
int

setInputDocumentsCount

How many documents were sent for evaluation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getInvalidDocumentsCount

How many documents were not included in the evaluation as they didn't pass validation.

Returns
TypeDescription
int

setInvalidDocumentsCount

How many documents were not included in the evaluation as they didn't pass validation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getFailedDocumentsCount

How many documents were not included in the evaluation as Document AI failed to process them.

Returns
TypeDescription
int

setFailedDocumentsCount

How many documents were not included in the evaluation as Document AI failed to process them.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getEvaluatedDocumentsCount

How many documents were used in the evaluation.

Returns
TypeDescription
int

setEvaluatedDocumentsCount

How many documents were used in the evaluation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this