Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1TrainProcessorVersionMetadata

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) ⇒ GoogleCloudDocumentaiV1TrainProcessorVersionMetadata

Returns a new instance of GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.



1870
1871
1872
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 1870

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

Instance Attribute Details

#common_metadataGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1CommonOperationMetadata

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



1856
1857
1858
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 1856

def 
  @common_metadata
end

#test_dataset_validationGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation

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



1862
1863
1864
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 1862

def test_dataset_validation
  @test_dataset_validation
end

#training_dataset_validationGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation

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



1868
1869
1870
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 1868

def training_dataset_validation
  @training_dataset_validation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1875
1876
1877
1878
1879
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 1875

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