Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation

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

Overview

The dataset validation information. This includes any and all errors with documents and the dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation

Returns a new instance of GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation.



8386
8387
8388
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 8386

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

Instance Attribute Details

#dataset_error_countFixnum

The total number of dataset errors. Corresponds to the JSON property datasetErrorCount

Returns:

  • (Fixnum)


8366
8367
8368
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 8366

def dataset_error_count
  @dataset_error_count
end

#dataset_errorsArray<Google::Apis::DocumentaiV1beta2::GoogleRpcStatus>

Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training. Corresponds to the JSON property datasetErrors



8372
8373
8374
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 8372

def dataset_errors
  @dataset_errors
end

#document_error_countFixnum

The total number of document errors. Corresponds to the JSON property documentErrorCount

Returns:

  • (Fixnum)


8377
8378
8379
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 8377

def document_error_count
  @document_error_count
end

#document_errorsArray<Google::Apis::DocumentaiV1beta2::GoogleRpcStatus>

Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training. Corresponds to the JSON property documentErrors



8384
8385
8386
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 8384

def document_errors
  @document_errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8391
8392
8393
8394
8395
8396
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 8391

def update!(**args)
  @dataset_error_count = args[:dataset_error_count] if args.key?(:dataset_error_count)
  @dataset_errors = args[:dataset_errors] if args.key?(:dataset_errors)
  @document_error_count = args[:document_error_count] if args.key?(:document_error_count)
  @document_errors = args[:document_errors] if args.key?(:document_errors)
end