Reference documentation and code samples for the Google Cloud Document Ai V1 Client class CustomDocumentExtractionOptions.
Options to control the training of the Custom Document Extraction (CDE) Processor.
Generated from protobuf message google.cloud.documentai.v1.TrainProcessorVersionRequest.CustomDocumentExtractionOptions
Namespace
Google \ Cloud \ DocumentAI \ V1 \ TrainProcessorVersionRequestMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ training_method |
int
Optional. Training method to use for CDE training. |
getTrainingMethod
Optional. Training method to use for CDE training.
Returns | |
---|---|
Type | Description |
int |
Enum of type TrainingMethod. |
setTrainingMethod
Optional. Training method to use for CDE training.
Parameter | |
---|---|
Name | Description |
var |
int
Enum of type TrainingMethod. |
Returns | |
---|---|
Type | Description |
$this |