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.
10709 10710 10711 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10709 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accuracy_evaluation_version ⇒ String
Corresponds to the JSON property accuracyEvaluationVersion
10685 10686 10687 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10685 def accuracy_evaluation_version @accuracy_evaluation_version end |
#completeness_evaluation_version ⇒ String
Corresponds to the JSON property completenessEvaluationVersion
10690 10691 10692 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10690 def completeness_evaluation_version @completeness_evaluation_version end |
#enable_accuracy_evaluation ⇒ Boolean Also known as: enable_accuracy_evaluation?
Corresponds to the JSON property enableAccuracyEvaluation
10695 10696 10697 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10695 def enable_accuracy_evaluation @enable_accuracy_evaluation end |
#enable_completeness_evaluation ⇒ Boolean Also known as: enable_completeness_evaluation?
Corresponds to the JSON property enableCompletenessEvaluation
10701 10702 10703 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10701 def enable_completeness_evaluation @enable_completeness_evaluation end |
#evaluator_version ⇒ String
Corresponds to the JSON property evaluatorVersion
10707 10708 10709 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10707 def evaluator_version @evaluator_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10714 10715 10716 10717 10718 10719 10720 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10714 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 |