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