Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Evaluation
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Evaluation
- 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
An evaluation of a ProcessorVersion's performance.
Instance Attribute Summary collapse
-
#all_entities_metrics ⇒ Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics
Metrics across multiple confidence levels.
-
#create_time ⇒ String
The time that the evaluation was created.
-
#entity_metrics ⇒ Hash<String,Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics>
Metrics across confidence levels, for different entities.
-
#name ⇒ String
The resource name of the evaluation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3Evaluation
constructor
A new instance of GoogleCloudDocumentaiUiv1beta3Evaluation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3Evaluation
Returns a new instance of GoogleCloudDocumentaiUiv1beta3Evaluation.
300 301 302 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 300 def initialize(**args) update!(**args) end |
Instance Attribute Details
#all_entities_metrics ⇒ Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics
Metrics across multiple confidence levels.
Corresponds to the JSON property allEntitiesMetrics
281 282 283 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 281 def all_entities_metrics @all_entities_metrics end |
#create_time ⇒ String
The time that the evaluation was created.
Corresponds to the JSON property createTime
286 287 288 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 286 def create_time @create_time end |
#entity_metrics ⇒ Hash<String,Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics>
Metrics across confidence levels, for different entities.
Corresponds to the JSON property entityMetrics
291 292 293 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 291 def entity_metrics @entity_metrics end |
#name ⇒ String
The resource name of the evaluation. Format: projects/project/locations/
location/processors/processor/processorVersions/processor_version/
evaluations/evaluation
Corresponds to the JSON property name
298 299 300 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 298 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
305 306 307 308 309 310 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 305 def update!(**args) @all_entities_metrics = args[:all_entities_metrics] if args.key?(:all_entities_metrics) @create_time = args[:create_time] if args.key?(:create_time) @entity_metrics = args[:entity_metrics] if args.key?(:entity_metrics) @name = args[:name] if args.key?(:name) end |