Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference
- 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
Gives a short summary of an evaluation, and links to the evaluation itself.
Instance Attribute Summary collapse
-
#aggregate_metrics ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics
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) ⇒ GoogleCloudDocumentaiV1beta3EvaluationReference
constructor
A new instance of GoogleCloudDocumentaiV1beta3EvaluationReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3EvaluationReference
Returns a new instance of GoogleCloudDocumentaiV1beta3EvaluationReference.
6578 6579 6580 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6578 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aggregate_metrics ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics
Evaluation metrics, either in aggregate or about a specific entity.
Corresponds to the JSON property aggregateMetrics
6566 6567 6568 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6566 def aggregate_metrics @aggregate_metrics end |
#evaluation ⇒ String
The resource name of the evaluation.
Corresponds to the JSON property evaluation
6571 6572 6573 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6571 def evaluation @evaluation end |
#operation ⇒ String
The resource name of the Long Running Operation for the evaluation.
Corresponds to the JSON property operation
6576 6577 6578 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6576 def operation @operation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6583 6584 6585 6586 6587 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6583 def update!(**args) @aggregate_metrics = args[:aggregate_metrics] if args.key?(:aggregate_metrics) @evaluation = args[:evaluation] if args.key?(:evaluation) @operation = args[:operation] if args.key?(:operation) end |