Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1EvaluationReference

Returns a new instance of GoogleCloudDocumentaiV1EvaluationReference.



2602
2603
2604
# File 'lib/google/apis/documentai_v1/classes.rb', line 2602

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

Instance Attribute Details

#aggregate_metricsGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMetrics

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



2590
2591
2592
# File 'lib/google/apis/documentai_v1/classes.rb', line 2590

def aggregate_metrics
  @aggregate_metrics
end

#evaluationString

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

Returns:

  • (String)


2595
2596
2597
# File 'lib/google/apis/documentai_v1/classes.rb', line 2595

def evaluation
  @evaluation
end

#operationString

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

Returns:

  • (String)


2600
2601
2602
# File 'lib/google/apis/documentai_v1/classes.rb', line 2600

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2607
2608
2609
2610
2611
# File 'lib/google/apis/documentai_v1/classes.rb', line 2607

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