Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig
- 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
Input data config details
Instance Attribute Summary collapse
-
#agent_assist_input_data_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig
The distinctive configs for Agent Assist conversations as the conversation source.
-
#dataset_input_data_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig
The distinctive configs for dataset as the conversation source.
-
#end_time ⇒ String
Optional.
-
#input_data_source_type ⇒ String
Required.
-
#is_summary_generation_allowed ⇒ Boolean
(also: #is_summary_generation_allowed?)
Optional.
-
#sample_size ⇒ Fixnum
Optional.
-
#start_time ⇒ String
Optional.
-
#summary_generation_option ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig
constructor
A new instance of GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig
Returns a new instance of GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig.
12223 12224 12225 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12223 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_assist_input_data_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig
The distinctive configs for Agent Assist conversations as the conversation
source.
Corresponds to the JSON property agentAssistInputDataConfig
12184 12185 12186 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12184 def agent_assist_input_data_config @agent_assist_input_data_config end |
#dataset_input_data_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig
The distinctive configs for dataset as the conversation source.
Corresponds to the JSON property datasetInputDataConfig
12189 12190 12191 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12189 def dataset_input_data_config @dataset_input_data_config end |
#end_time ⇒ String
Optional. The end timestamp to fetch conversation data.
Corresponds to the JSON property endTime
12194 12195 12196 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12194 def end_time @end_time end |
#input_data_source_type ⇒ String
Required. The source type of input data.
Corresponds to the JSON property inputDataSourceType
12199 12200 12201 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12199 def input_data_source_type @input_data_source_type end |
#is_summary_generation_allowed ⇒ Boolean Also known as: is_summary_generation_allowed?
Optional. Whether the summary generation is allowed when the pre-existing
qualified summaries are insufficient to cover the sample size.
Corresponds to the JSON property isSummaryGenerationAllowed
12205 12206 12207 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12205 def is_summary_generation_allowed @is_summary_generation_allowed end |
#sample_size ⇒ Fixnum
Optional. Desired number of conversation-summary pairs to be evaluated.
Corresponds to the JSON property sampleSize
12211 12212 12213 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12211 def sample_size @sample_size end |
#start_time ⇒ String
Optional. The start timestamp to fetch conversation data.
Corresponds to the JSON property startTime
12216 12217 12218 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12216 def start_time @start_time end |
#summary_generation_option ⇒ String
Optional. Option to control whether summaries are generated during evaluation.
Corresponds to the JSON property summaryGenerationOption
12221 12222 12223 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12221 def summary_generation_option @summary_generation_option end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12228 def update!(**args) @agent_assist_input_data_config = args[:agent_assist_input_data_config] if args.key?(:agent_assist_input_data_config) @dataset_input_data_config = args[:dataset_input_data_config] if args.key?(:dataset_input_data_config) @end_time = args[:end_time] if args.key?(:end_time) @input_data_source_type = args[:input_data_source_type] if args.key?(:input_data_source_type) @is_summary_generation_allowed = args[:is_summary_generation_allowed] if args.key?(:is_summary_generation_allowed) @sample_size = args[:sample_size] if args.key?(:sample_size) @start_time = args[:start_time] if args.key?(:start_time) @summary_generation_option = args[:summary_generation_option] if args.key?(:summary_generation_option) end |