Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult
- 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
-
#decompositions ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition>
Corresponds to the JSON property
decompositions. -
#evaluation_results ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult>
Corresponds to the JSON property
evaluationResults. -
#metric ⇒ String
Corresponds to the JSON property
metric. -
#score ⇒ Float
Corresponds to the JSON property
score. -
#section ⇒ String
Corresponds to the JSON property
section. -
#section_summary ⇒ String
Corresponds to the JSON property
sectionSummary. -
#session_id ⇒ String
Corresponds to the JSON property
sessionId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult
constructor
A new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult
Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult.
16563 16564 16565 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16563 def initialize(**args) update!(**args) end |
Instance Attribute Details
#decompositions ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition>
Corresponds to the JSON property decompositions
16531 16532 16533 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16531 def decompositions @decompositions end |
#evaluation_results ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult>
Corresponds to the JSON property evaluationResults
16536 16537 16538 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16536 def evaluation_results @evaluation_results end |
#metric ⇒ String
Corresponds to the JSON property metric
16541 16542 16543 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16541 def metric @metric end |
#score ⇒ Float
Corresponds to the JSON property score
16546 16547 16548 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16546 def score @score end |
#section ⇒ String
Corresponds to the JSON property section
16551 16552 16553 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16551 def section @section end |
#section_summary ⇒ String
Corresponds to the JSON property sectionSummary
16556 16557 16558 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16556 def section_summary @section_summary end |
#session_id ⇒ String
Corresponds to the JSON property sessionId
16561 16562 16563 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16561 def session_id @session_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16568 16569 16570 16571 16572 16573 16574 16575 16576 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16568 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 |