Reference documentation and code samples for the Google Cloud Document Ai V1 Client class InputData.
The input data used to train a new ProcessorVersion
.
Generated from protobuf message google.cloud.documentai.v1.TrainProcessorVersionRequest.InputData
Namespace
Google \ Cloud \ DocumentAI \ V1 \ TrainProcessorVersionRequestMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ training_documents |
Google\Cloud\DocumentAI\V1\BatchDocumentsInputConfig
The documents used for training the new version. |
↳ test_documents |
Google\Cloud\DocumentAI\V1\BatchDocumentsInputConfig
The documents used for testing the trained version. |
getTrainingDocuments
The documents used for training the new version.
Returns | |
---|---|
Type | Description |
Google\Cloud\DocumentAI\V1\BatchDocumentsInputConfig|null |
hasTrainingDocuments
clearTrainingDocuments
setTrainingDocuments
The documents used for training the new version.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DocumentAI\V1\BatchDocumentsInputConfig
|
Returns | |
---|---|
Type | Description |
$this |
getTestDocuments
The documents used for testing the trained version.
Returns | |
---|---|
Type | Description |
Google\Cloud\DocumentAI\V1\BatchDocumentsInputConfig|null |
hasTestDocuments
clearTestDocuments
setTestDocuments
The documents used for testing the trained version.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DocumentAI\V1\BatchDocumentsInputConfig
|
Returns | |
---|---|
Type | Description |
$this |