Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail

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) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail

Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail.



16411
16412
16413
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16411

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

Instance Attribute Details

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

Corresponds to the JSON property evaluationResults



16394
16395
16396
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16394

def evaluation_results
  @evaluation_results
end

#scoreFloat

Corresponds to the JSON property score

Returns:

  • (Float)


16399
16400
16401
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16399

def score
  @score
end

#sectionString

Corresponds to the JSON property section

Returns:

  • (String)


16404
16405
16406
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16404

def section
  @section
end

#section_summaryString

Corresponds to the JSON property sectionSummary

Returns:

  • (String)


16409
16410
16411
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16409

def section_summary
  @section_summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16416
16417
16418
16419
16420
16421
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16416

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