Google Cloud Document Ai V1 Client - Class CustomDocumentExtractionOptions (2.4.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
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 Enum of type TrainingMethod.

setTrainingMethod

Training method to use for CDE training.

Parameter
Name Description
var int

Enum of type TrainingMethod.

Returns
Type Description
$this