Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig

Inherits:
Object
  • Object
show all
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

The distinctive configs for Agent Assist conversations as the conversation source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig

Returns a new instance of GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig.



12145
12146
12147
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12145

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

Instance Attribute Details

#end_timeString

Required. The end of the time range for conversations to be evaluated. Only conversations ended at or before this timestamp will be sampled. Corresponds to the JSON property endTime

Returns:

  • (String)


12137
12138
12139
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12137

def end_time
  @end_time
end

#start_timeString

Required. The start of the time range for conversations to be evaluated. Only conversations created at or after this timestamp will be sampled. Corresponds to the JSON property startTime

Returns:

  • (String)


12143
12144
12145
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12143

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12150
12151
12152
12153
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12150

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
end