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.
16308 16309 16310 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16308 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_addressed ⇒ Boolean Also known as: is_addressed?
Corresponds to the JSON property isAddressed
16300 16301 16302 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16300 def is_addressed @is_addressed end |
#question ⇒ String
Corresponds to the JSON property question
16306 16307 16308 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16306 def question @question end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16313 16314 16315 16316 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16313 def update!(**args) @is_addressed = args[:is_addressed] if args.key?(:is_addressed) @question = args[:question] if args.key?(:question) end |