Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig
- 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
-
#accuracy_evaluation_version ⇒ String
Corresponds to the JSON property
accuracyEvaluationVersion. -
#completeness_evaluation_version ⇒ String
Corresponds to the JSON property
completenessEvaluationVersion. -
#enable_accuracy_evaluation ⇒ Boolean
(also: #enable_accuracy_evaluation?)
Corresponds to the JSON property
enableAccuracyEvaluation. -
#enable_completeness_evaluation ⇒ Boolean
(also: #enable_completeness_evaluation?)
Corresponds to the JSON property
enableCompletenessEvaluation. -
#evaluator_version ⇒ String
Corresponds to the JSON property
evaluatorVersion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig
constructor
A new instance of GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig
Returns a new instance of GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig.
10695 10696 10697 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10695 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accuracy_evaluation_version ⇒ String
Corresponds to the JSON property accuracyEvaluationVersion
10671 10672 10673 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10671 def accuracy_evaluation_version @accuracy_evaluation_version end |
#completeness_evaluation_version ⇒ String
Corresponds to the JSON property completenessEvaluationVersion
10676 10677 10678 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10676 def completeness_evaluation_version @completeness_evaluation_version end |
#enable_accuracy_evaluation ⇒ Boolean Also known as: enable_accuracy_evaluation?
Corresponds to the JSON property enableAccuracyEvaluation
10681 10682 10683 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10681 def enable_accuracy_evaluation @enable_accuracy_evaluation end |
#enable_completeness_evaluation ⇒ Boolean Also known as: enable_completeness_evaluation?
Corresponds to the JSON property enableCompletenessEvaluation
10687 10688 10689 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10687 def enable_completeness_evaluation @enable_completeness_evaluation end |
#evaluator_version ⇒ String
Corresponds to the JSON property evaluatorVersion
10693 10694 10695 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10693 def evaluator_version @evaluator_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10700 10701 10702 10703 10704 10705 10706 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10700 def update!(**args) @accuracy_evaluation_version = args[:accuracy_evaluation_version] if args.key?(:accuracy_evaluation_version) @completeness_evaluation_version = args[:completeness_evaluation_version] if args.key?(:completeness_evaluation_version) @enable_accuracy_evaluation = args[:enable_accuracy_evaluation] if args.key?(:enable_accuracy_evaluation) @enable_completeness_evaluation = args[:enable_completeness_evaluation] if args.key?(:enable_completeness_evaluation) @evaluator_version = args[:evaluator_version] if args.key?(:evaluator_version) end |