Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/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.



7173
7174
7175
# File 'lib/google/apis/documentai_v1/classes.rb', line 7173

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

Instance Attribute Details

#common_metadataGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata

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



7159
7160
7161
# File 'lib/google/apis/documentai_v1/classes.rb', line 7159

def 
  @common_metadata
end

#test_dataset_validationGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation

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



7165
7166
7167
# File 'lib/google/apis/documentai_v1/classes.rb', line 7165

def test_dataset_validation
  @test_dataset_validation
end

#training_dataset_validationGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation

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



7171
7172
7173
# File 'lib/google/apis/documentai_v1/classes.rb', line 7171

def training_dataset_validation
  @training_dataset_validation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7178
7179
7180
7181
7182
# File 'lib/google/apis/documentai_v1/classes.rb', line 7178

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