Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult

Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult.



16600
16601
16602
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16600

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

Instance Attribute Details

#decompositionsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition>

Corresponds to the JSON property decompositions



16568
16569
16570
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16568

def decompositions
  @decompositions
end

#evaluation_resultsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult>

Corresponds to the JSON property evaluationResults



16573
16574
16575
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16573

def evaluation_results
  @evaluation_results
end

#metricString

Corresponds to the JSON property metric

Returns:

  • (String)


16578
16579
16580
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16578

def metric
  @metric
end

#scoreFloat

Corresponds to the JSON property score

Returns:

  • (Float)


16583
16584
16585
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16583

def score
  @score
end

#sectionString

Corresponds to the JSON property section

Returns:

  • (String)


16588
16589
16590
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16588

def section
  @section
end

#section_summaryString

Corresponds to the JSON property sectionSummary

Returns:

  • (String)


16593
16594
16595
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16593

def section_summary
  @section_summary
end

#session_idString

Corresponds to the JSON property sessionId

Returns:

  • (String)


16598
16599
16600
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16598

def session_id
  @session_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16605
16606
16607
16608
16609
16610
16611
16612
16613
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16605

def update!(**args)
  @decompositions = args[:decompositions] if args.key?(:decompositions)
  @evaluation_results = args[:evaluation_results] if args.key?(:evaluation_results)
  @metric = args[:metric] if args.key?(:metric)
  @score = args[:score] if args.key?(:score)
  @section = args[:section] if args.key?(:section)
  @section_summary = args[:section_summary] if args.key?(:section_summary)
  @session_id = args[:session_id] if args.key?(:session_id)
end