Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric
- 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
Overview
Rubric details of the completeness evaluation result.
Instance Attribute Summary collapse
-
#is_addressed ⇒ Boolean
(also: #is_addressed?)
Output only.
-
#question ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric
constructor
A new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric
Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric.
22856 22857 22858 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22856 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_addressed ⇒ Boolean Also known as: is_addressed?
Output only. A boolean that indicates whether the rubric question is addressed
or not.
Corresponds to the JSON property isAddressed
22847 22848 22849 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22847 def is_addressed @is_addressed end |
#question ⇒ String
Output only. The question generated from instruction that used to evaluate
summary.
Corresponds to the JSON property question
22854 22855 22856 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22854 def question @question end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22861 22862 22863 22864 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22861 def update!(**args) @is_addressed = args[:is_addressed] if args.key?(:is_addressed) @question = args[:question] if args.key?(:question) end |