Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric
- 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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric
constructor
A new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric
Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric.
16468 16469 16470 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16468 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_addressed ⇒ Boolean Also known as: is_addressed?
Corresponds to the JSON property isAddressed
16460 16461 16462 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16460 def is_addressed @is_addressed end |
#question ⇒ String
Corresponds to the JSON property question
16466 16467 16468 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16466 def question @question end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16473 16474 16475 16476 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16473 def update!(**args) @is_addressed = args[:is_addressed] if args.key?(:is_addressed) @question = args[:question] if args.key?(:question) end |