Google Cloud Document Ai V1 Client - Class TrainProcessorVersionMetadata (2.1.0)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class TrainProcessorVersionMetadata.

The metadata that represents a processor version being created.

Generated from protobuf message google.cloud.documentai.v1.TrainProcessorVersionMetadata

Namespace

Google \ Cloud \ DocumentAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ common_metadata Google\Cloud\DocumentAI\V1\CommonOperationMetadata

The basic metadata of the long-running operation.

↳ training_dataset_validation Google\Cloud\DocumentAI\V1\TrainProcessorVersionMetadata\DatasetValidation

The training dataset validation information.

↳ test_dataset_validation Google\Cloud\DocumentAI\V1\TrainProcessorVersionMetadata\DatasetValidation

The test dataset validation information.

getCommonMetadata

The basic metadata of the long-running operation.

Returns
Type Description
Google\Cloud\DocumentAI\V1\CommonOperationMetadata|null

hasCommonMetadata

clearCommonMetadata

setCommonMetadata

The basic metadata of the long-running operation.

Parameter
Name Description
var Google\Cloud\DocumentAI\V1\CommonOperationMetadata
Returns
Type Description
$this

getTrainingDatasetValidation

The training dataset validation information.

Returns
Type Description
Google\Cloud\DocumentAI\V1\TrainProcessorVersionMetadata\DatasetValidation|null

hasTrainingDatasetValidation

clearTrainingDatasetValidation

setTrainingDatasetValidation

The training dataset validation information.

Parameter
Name Description
var Google\Cloud\DocumentAI\V1\TrainProcessorVersionMetadata\DatasetValidation
Returns
Type Description
$this

getTestDatasetValidation

The test dataset validation information.

Returns
Type Description
Google\Cloud\DocumentAI\V1\TrainProcessorVersionMetadata\DatasetValidation|null

hasTestDatasetValidation

clearTestDatasetValidation

setTestDatasetValidation

The test dataset validation information.

Parameter
Name Description
var Google\Cloud\DocumentAI\V1\TrainProcessorVersionMetadata\DatasetValidation
Returns
Type Description
$this