Reference documentation and code samples for the Google Cloud Document Ai V1 Client class EntityValidationOutput.
The output of the validation given the document and the validation rules.
Generated from protobuf message google.cloud.documentai.v1.Document.EntityValidationOutput
Namespace
Google \ Cloud \ DocumentAI \ V1 \ DocumentMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ validation_results |
array<EntityValidationOutput\ValidationResult>
The result of each validation rule. |
↳ pass_all_rules |
bool
The overall result of the validation, true if all applicable rules are valid. |
getValidationResults
The result of each validation rule.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setValidationResults
The result of each validation rule.
Parameter | |
---|---|
Name | Description |
var |
array<EntityValidationOutput\ValidationResult>
|
Returns | |
---|---|
Type | Description |
$this |
getPassAllRules
The overall result of the validation, true if all applicable rules are valid.
Returns | |
---|---|
Type | Description |
bool |
setPassAllRules
The overall result of the validation, true if all applicable rules are valid.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |