Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics
- 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
Evaluations metrics, at a specific confidence level.
Instance Attribute Summary collapse
-
#confidence_level ⇒ Float
The confidence level.
-
#metrics ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMetrics
Evaluation metrics, either in aggregate or about a specific entity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics
constructor
A new instance of GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics
Returns a new instance of GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics.
4480 4481 4482 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4480 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_level ⇒ Float
The confidence level.
Corresponds to the JSON property confidenceLevel
4473 4474 4475 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4473 def confidence_level @confidence_level end |
#metrics ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMetrics
Evaluation metrics, either in aggregate or about a specific entity.
Corresponds to the JSON property metrics
4478 4479 4480 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4478 def metrics @metrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4485 4486 4487 4488 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4485 def update!(**args) @confidence_level = args[:confidence_level] if args.key?(:confidence_level) @metrics = args[:metrics] if args.key?(:metrics) end |