Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference
- 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
Gives a short summary of an evaluation, and links to the evaluation itself.
Instance Attribute Summary collapse
-
#aggregate_metrics ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMetrics
Evaluation metrics, either in aggregate or about a specific entity.
-
#aggregate_metrics_exact ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMetrics
Evaluation metrics, either in aggregate or about a specific entity.
-
#evaluation ⇒ String
The resource name of the evaluation.
-
#operation ⇒ String
The resource name of the Long Running Operation for the evaluation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1EvaluationReference
constructor
A new instance of GoogleCloudDocumentaiV1EvaluationReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1EvaluationReference
Returns a new instance of GoogleCloudDocumentaiV1EvaluationReference.
3839 3840 3841 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3839 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aggregate_metrics ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMetrics
Evaluation metrics, either in aggregate or about a specific entity.
Corresponds to the JSON property aggregateMetrics
3822 3823 3824 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3822 def aggregate_metrics @aggregate_metrics end |
#aggregate_metrics_exact ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMetrics
Evaluation metrics, either in aggregate or about a specific entity.
Corresponds to the JSON property aggregateMetricsExact
3827 3828 3829 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3827 def aggregate_metrics_exact @aggregate_metrics_exact end |
#evaluation ⇒ String
The resource name of the evaluation.
Corresponds to the JSON property evaluation
3832 3833 3834 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3832 def evaluation @evaluation end |
#operation ⇒ String
The resource name of the Long Running Operation for the evaluation.
Corresponds to the JSON property operation
3837 3838 3839 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3837 def operation @operation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3844 3845 3846 3847 3848 3849 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3844 def update!(**args) @aggregate_metrics = args[:aggregate_metrics] if args.key?(:aggregate_metrics) @aggregate_metrics_exact = args[:aggregate_metrics_exact] if args.key?(:aggregate_metrics_exact) @evaluation = args[:evaluation] if args.key?(:evaluation) @operation = args[:operation] if args.key?(:operation) end |