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

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 CommonOperationMetadata

The basic metadata of the long-running operation.

↳ training_dataset_validation TrainProcessorVersionMetadata\DatasetValidation

The training dataset validation information.

↳ test_dataset_validation TrainProcessorVersionMetadata\DatasetValidation

The test dataset validation information.

getCommonMetadata

The basic metadata of the long-running operation.

Returns
Type Description
CommonOperationMetadata|null

hasCommonMetadata

clearCommonMetadata

setCommonMetadata

The basic metadata of the long-running operation.

Parameter
Name Description
var CommonOperationMetadata
Returns
Type Description
$this

getTrainingDatasetValidation

The training dataset validation information.

Returns
Type Description
TrainProcessorVersionMetadata\DatasetValidation|null

hasTrainingDatasetValidation

clearTrainingDatasetValidation

setTrainingDatasetValidation

The training dataset validation information.

Parameter
Name Description
var TrainProcessorVersionMetadata\DatasetValidation
Returns
Type Description
$this

getTestDatasetValidation

The test dataset validation information.

Returns
Type Description
TrainProcessorVersionMetadata\DatasetValidation|null

hasTestDatasetValidation

clearTestDatasetValidation

setTestDatasetValidation

The test dataset validation information.

Parameter
Name Description
var TrainProcessorVersionMetadata\DatasetValidation
Returns
Type Description
$this