Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric
- 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
-
#is_addressed ⇒ Boolean
(also: #is_addressed?)
Corresponds to the JSON property
isAddressed. -
#question ⇒ String
Corresponds to the JSON property
question. -
#reasoning ⇒ String
Corresponds to the JSON property
reasoning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric
constructor
A new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric
Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric.
20794 20795 20796 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20794 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_addressed ⇒ Boolean Also known as: is_addressed?
Corresponds to the JSON property isAddressed
20781 20782 20783 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20781 def is_addressed @is_addressed end |
#question ⇒ String
Corresponds to the JSON property question
20787 20788 20789 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20787 def question @question end |
#reasoning ⇒ String
Corresponds to the JSON property reasoning
20792 20793 20794 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20792 def reasoning @reasoning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20799 20800 20801 20802 20803 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20799 def update!(**args) @is_addressed = args[:is_addressed] if args.key?(:is_addressed) @question = args[:question] if args.key?(:question) @reasoning = args[:reasoning] if args.key?(:reasoning) end |