Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfig
- 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
Overview
Generator evaluation input config.
Instance Attribute Summary collapse
-
#input_data_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig
Input data config details Corresponds to the JSON property
inputDataConfig. -
#output_gcs_bucket_path ⇒ String
Required.
-
#summarization_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig
Evaluation configs for summarization generator.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2GeneratorEvaluationConfig
constructor
A new instance of GoogleCloudDialogflowV2GeneratorEvaluationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2GeneratorEvaluationConfig
Returns a new instance of GoogleCloudDialogflowV2GeneratorEvaluationConfig.
12116 12117 12118 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12116 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_data_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig
Input data config details
Corresponds to the JSON property inputDataConfig
12101 12102 12103 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12101 def input_data_config @input_data_config end |
#output_gcs_bucket_path ⇒ String
Required. The output Cloud Storage bucket path to store eval files, e.g.
per_summary_accuracy_score report. This path is provided by customer and files
stored in it are visible to customer, no internal data should be stored in
this path.
Corresponds to the JSON property outputGcsBucketPath
12109 12110 12111 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12109 def output_gcs_bucket_path @output_gcs_bucket_path end |
#summarization_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig
Evaluation configs for summarization generator.
Corresponds to the JSON property summarizationConfig
12114 12115 12116 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12114 def summarization_config @summarization_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12121 12122 12123 12124 12125 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12121 def update!(**args) @input_data_config = args[:input_data_config] if args.key?(:input_data_config) @output_gcs_bucket_path = args[:output_gcs_bucket_path] if args.key?(:output_gcs_bucket_path) @summarization_config = args[:summarization_config] if args.key?(:summarization_config) end |