Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric
- 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
-
#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) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric
constructor
A new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric
Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric.
16318 16319 16320 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16318 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_addressed ⇒ Boolean Also known as: is_addressed?
Corresponds to the JSON property isAddressed
16305 16306 16307 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16305 def is_addressed @is_addressed end |
#question ⇒ String
Corresponds to the JSON property question
16311 16312 16313 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16311 def question @question end |
#reasoning ⇒ String
Corresponds to the JSON property reasoning
16316 16317 16318 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16316 def reasoning @reasoning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16323 16324 16325 16326 16327 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16323 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 |