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.
16281 16282 16283 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16281 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_addressed ⇒ Boolean Also known as: is_addressed?
Corresponds to the JSON property isAddressed
16268 16269 16270 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16268 def is_addressed @is_addressed end |
#question ⇒ String
Corresponds to the JSON property question
16274 16275 16276 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16274 def question @question end |
#reasoning ⇒ String
Corresponds to the JSON property reasoning
16279 16280 16281 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16279 def reasoning @reasoning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16286 16287 16288 16289 16290 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16286 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 |