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

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
Name Description
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
Type Description
int

setTrainingMethod

Training method to use for CDE training.

Parameter
Name Description
var int
Returns
Type Description
$this