Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb

Overview

The metadata that represents a processor version being created.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata

Returns a new instance of GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata.



12644
12645
12646
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12644

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#common_metadataGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata

The common metadata for long running operations. Corresponds to the JSON property commonMetadata



12630
12631
12632
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12630

def 
  @common_metadata
end

#test_dataset_validationGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation

The dataset validation information. This includes any and all errors with documents and the dataset. Corresponds to the JSON property testDatasetValidation



12636
12637
12638
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12636

def test_dataset_validation
  @test_dataset_validation
end

#training_dataset_validationGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation

The dataset validation information. This includes any and all errors with documents and the dataset. Corresponds to the JSON property trainingDatasetValidation



12642
12643
12644
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12642

def training_dataset_validation
  @training_dataset_validation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12649
12650
12651
12652
12653
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12649

def update!(**args)
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
  @test_dataset_validation = args[:test_dataset_validation] if args.key?(:test_dataset_validation)
  @training_dataset_validation = args[:training_dataset_validation] if args.key?(:training_dataset_validation)
end