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.



4269
4270
4271
# File 'lib/google/apis/documentai_v1/classes.rb', line 4269

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



4252
4253
4254
# File 'lib/google/apis/documentai_v1/classes.rb', line 4252

def aggregate_metrics
  @aggregate_metrics
end

#aggregate_metrics_exactGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMetrics

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



4257
4258
4259
# File 'lib/google/apis/documentai_v1/classes.rb', line 4257

def aggregate_metrics_exact
  @aggregate_metrics_exact
end

#evaluationString

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

Returns:

  • (String)


4262
4263
4264
# File 'lib/google/apis/documentai_v1/classes.rb', line 4262

def evaluation
  @evaluation
end

#operationString

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

Returns:

  • (String)


4267
4268
4269
# File 'lib/google/apis/documentai_v1/classes.rb', line 4267

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4274
4275
4276
4277
4278
4279
# File 'lib/google/apis/documentai_v1/classes.rb', line 4274

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