Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationCounters
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationCounters
- 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
Evaluation counters for the documents that were used.
Instance Attribute Summary collapse
-
#evaluated_documents_count ⇒ Fixnum
How many documents were used in the evaluation.
-
#failed_documents_count ⇒ Fixnum
How many documents were not included in the evaluation as Document AI failed to process them.
-
#input_documents_count ⇒ Fixnum
How many documents were sent for evaluation.
-
#invalid_documents_count ⇒ Fixnum
How many documents were not included in the evaluation as they didn't pass validation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3EvaluationCounters
constructor
A new instance of GoogleCloudDocumentaiV1beta3EvaluationCounters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3EvaluationCounters
Returns a new instance of GoogleCloudDocumentaiV1beta3EvaluationCounters.
9449 9450 9451 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9449 def initialize(**args) update!(**args) end |
Instance Attribute Details
#evaluated_documents_count ⇒ Fixnum
How many documents were used in the evaluation.
Corresponds to the JSON property evaluatedDocumentsCount
9430 9431 9432 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9430 def evaluated_documents_count @evaluated_documents_count end |
#failed_documents_count ⇒ Fixnum
How many documents were not included in the evaluation as Document AI failed
to process them.
Corresponds to the JSON property failedDocumentsCount
9436 9437 9438 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9436 def failed_documents_count @failed_documents_count end |
#input_documents_count ⇒ Fixnum
How many documents were sent for evaluation.
Corresponds to the JSON property inputDocumentsCount
9441 9442 9443 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9441 def input_documents_count @input_documents_count end |
#invalid_documents_count ⇒ Fixnum
How many documents were not included in the evaluation as they didn't pass
validation.
Corresponds to the JSON property invalidDocumentsCount
9447 9448 9449 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9447 def invalid_documents_count @invalid_documents_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9454 9455 9456 9457 9458 9459 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9454 def update!(**args) @evaluated_documents_count = args[:evaluated_documents_count] if args.key?(:evaluated_documents_count) @failed_documents_count = args[:failed_documents_count] if args.key?(:failed_documents_count) @input_documents_count = args[:input_documents_count] if args.key?(:input_documents_count) @invalid_documents_count = args[:invalid_documents_count] if args.key?(:invalid_documents_count) end |