Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3EvaluationReference

Returns a new instance of GoogleCloudDocumentaiV1beta3EvaluationReference.



10867
10868
10869
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10867

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#aggregate_metricsGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics

Evaluation metrics, either in aggregate or about a specific entity. Corresponds to the JSON property aggregateMetrics



10850
10851
10852
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10850

def aggregate_metrics
  @aggregate_metrics
end

#aggregate_metrics_exactGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics

Evaluation metrics, either in aggregate or about a specific entity. Corresponds to the JSON property aggregateMetricsExact



10855
10856
10857
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10855

def aggregate_metrics_exact
  @aggregate_metrics_exact
end

#evaluationString

The resource name of the evaluation. Corresponds to the JSON property evaluation

Returns:

  • (String)


10860
10861
10862
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10860

def evaluation
  @evaluation
end

#operationString

The resource name of the Long Running Operation for the evaluation. Corresponds to the JSON property operation

Returns:

  • (String)


10865
10866
10867
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10865

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10872
10873
10874
10875
10876
10877
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10872

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