Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata

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

Returns a new instance of GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata.



1245
1246
1247
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 1245

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

Instance Attribute Details

#common_metadataGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata

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



1231
1232
1233
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 1231

def 
  @common_metadata
end

#test_dataset_validationGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation

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



1237
1238
1239
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 1237

def test_dataset_validation
  @test_dataset_validation
end

#training_dataset_validationGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation

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



1243
1244
1245
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 1243

def training_dataset_validation
  @training_dataset_validation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1250
1251
1252
1253
1254
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 1250

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