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.



16462
16463
16464
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16462

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

Instance Attribute Details

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

Corresponds to the JSON property evaluationResults



16445
16446
16447
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16445

def evaluation_results
  @evaluation_results
end

#scoreFloat

Corresponds to the JSON property score

Returns:

  • (Float)


16450
16451
16452
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16450

def score
  @score
end

#sectionString

Corresponds to the JSON property section

Returns:

  • (String)


16455
16456
16457
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16455

def section
  @section
end

#section_summaryString

Corresponds to the JSON property sectionSummary

Returns:

  • (String)


16460
16461
16462
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16460

def section_summary
  @section_summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16467
16468
16469
16470
16471
16472
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16467

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