Google Cloud Document Ai V1 Client - Class TrainProcessorVersionMetadata (1.4.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
NameDescription
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
TypeDescription
Google\Cloud\DocumentAI\V1\CommonOperationMetadata|null

hasCommonMetadata

clearCommonMetadata

setCommonMetadata

The basic metadata of the long-running operation.

Parameter
NameDescription
var Google\Cloud\DocumentAI\V1\CommonOperationMetadata
Returns
TypeDescription
$this

getTrainingDatasetValidation

The training dataset validation information.

Returns
TypeDescription
Google\Cloud\DocumentAI\V1\TrainProcessorVersionMetadata\DatasetValidation|null

hasTrainingDatasetValidation

clearTrainingDatasetValidation

setTrainingDatasetValidation

The training dataset validation information.

Parameter
NameDescription
var Google\Cloud\DocumentAI\V1\TrainProcessorVersionMetadata\DatasetValidation
Returns
TypeDescription
$this

getTestDatasetValidation

The test dataset validation information.

Returns
TypeDescription
Google\Cloud\DocumentAI\V1\TrainProcessorVersionMetadata\DatasetValidation|null

hasTestDatasetValidation

clearTestDatasetValidation

setTestDatasetValidation

The test dataset validation information.

Parameter
NameDescription
var Google\Cloud\DocumentAI\V1\TrainProcessorVersionMetadata\DatasetValidation
Returns
TypeDescription
$this