Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#decompositions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition>
Corresponds to the JSON property
decompositions. -
#evaluation_results ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult>
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) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult
constructor
A new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult
Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult.
21348 21349 21350 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21348 def initialize(**args) update!(**args) end |
Instance Attribute Details
#decompositions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition>
Corresponds to the JSON property decompositions
21316 21317 21318 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21316 def decompositions @decompositions end |
#evaluation_results ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult>
Corresponds to the JSON property evaluationResults
21321 21322 21323 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21321 def evaluation_results @evaluation_results end |
#metric ⇒ String
Corresponds to the JSON property metric
21326 21327 21328 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21326 def metric @metric end |
#score ⇒ Float
Corresponds to the JSON property score
21331 21332 21333 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21331 def score @score end |
#section ⇒ String
Corresponds to the JSON property section
21336 21337 21338 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21336 def section @section end |
#section_summary ⇒ String
Corresponds to the JSON property sectionSummary
21341 21342 21343 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21341 def section_summary @section_summary end |
#session_id ⇒ String
Corresponds to the JSON property sessionId
21346 21347 21348 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21346 def session_id @session_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21353 21354 21355 21356 21357 21358 21359 21360 21361 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21353 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 |