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.
21002 21003 21004 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21002 def initialize(**args) update!(**args) end |
Instance Attribute Details
#decompositions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition>
Corresponds to the JSON property decompositions
20970 20971 20972 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20970 def decompositions @decompositions end |
#evaluation_results ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult>
Corresponds to the JSON property evaluationResults
20975 20976 20977 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20975 def evaluation_results @evaluation_results end |
#metric ⇒ String
Corresponds to the JSON property metric
20980 20981 20982 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20980 def metric @metric end |
#score ⇒ Float
Corresponds to the JSON property score
20985 20986 20987 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20985 def score @score end |
#section ⇒ String
Corresponds to the JSON property section
20990 20991 20992 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20990 def section @section end |
#section_summary ⇒ String
Corresponds to the JSON property sectionSummary
20995 20996 20997 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20995 def section_summary @section_summary end |
#session_id ⇒ String
Corresponds to the JSON property sessionId
21000 21001 21002 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21000 def session_id @session_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21007 21008 21009 21010 21011 21012 21013 21014 21015 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21007 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 |