Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

Input data config details

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig

Returns a new instance of GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig.



15999
16000
16001
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15999

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#agent_assist_input_data_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig

The distinctive configs for Agent Assist conversations as the conversation source. Corresponds to the JSON property agentAssistInputDataConfig



15960
15961
15962
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15960

def agent_assist_input_data_config
  @agent_assist_input_data_config
end

#dataset_input_data_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig

The distinctive configs for dataset as the conversation source. Corresponds to the JSON property datasetInputDataConfig



15965
15966
15967
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15965

def dataset_input_data_config
  @dataset_input_data_config
end

#end_timeString

Optional. The end timestamp to fetch conversation data. Corresponds to the JSON property endTime

Returns:

  • (String)


15970
15971
15972
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15970

def end_time
  @end_time
end

#input_data_source_typeString

Required. The source type of input data. Corresponds to the JSON property inputDataSourceType

Returns:

  • (String)


15975
15976
15977
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15975

def input_data_source_type
  @input_data_source_type
end

#is_summary_generation_allowedBoolean 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

Returns:

  • (Boolean)


15981
15982
15983
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15981

def is_summary_generation_allowed
  @is_summary_generation_allowed
end

#sample_sizeFixnum

Optional. Desired number of conversation-summary pairs to be evaluated. Corresponds to the JSON property sampleSize

Returns:

  • (Fixnum)


15987
15988
15989
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15987

def sample_size
  @sample_size
end

#start_timeString

Optional. The start timestamp to fetch conversation data. Corresponds to the JSON property startTime

Returns:

  • (String)


15992
15993
15994
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15992

def start_time
  @start_time
end

#summary_generation_optionString

Optional. Option to control whether summaries are generated during evaluation. Corresponds to the JSON property summaryGenerationOption

Returns:

  • (String)


15997
15998
15999
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15997

def summary_generation_option
  @summary_generation_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16004

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