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.
20536 20537 20538 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20536 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_addressed ⇒ Boolean Also known as: is_addressed?
Corresponds to the JSON property isAddressed
20523 20524 20525 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20523 def is_addressed @is_addressed end |
#question ⇒ String
Corresponds to the JSON property question
20529 20530 20531 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20529 def question @question end |
#reasoning ⇒ String
Corresponds to the JSON property reasoning
20534 20535 20536 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20534 def reasoning @reasoning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20541 20542 20543 20544 20545 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20541 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 |