Google Cloud Document Ai V1 Client - Class CustomDocumentExtractionOptions (1.9.0)

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 \ TrainProcessorVersionRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ training_method int

Training method to use for CDE training.

getTrainingMethod

Training method to use for CDE training.

Returns
TypeDescription
int

setTrainingMethod

Training method to use for CDE training.

Parameter
NameDescription
var int
Returns
TypeDescription
$this