Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback

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

Feedback for conversation summarization.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback

Returns a new instance of GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback.



8190
8191
8192
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8190

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

Instance Attribute Details

#start_timeString

Timestamp when composing of the summary starts. Corresponds to the JSON property startTime

Returns:

  • (String)


8173
8174
8175
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8173

def start_time
  @start_time
end

#submit_timeString

Timestamp when the summary was submitted. Corresponds to the JSON property submitTime

Returns:

  • (String)


8178
8179
8180
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8178

def submit_time
  @submit_time
end

#summary_textString

Text of actual submitted summary. Corresponds to the JSON property summaryText

Returns:

  • (String)


8183
8184
8185
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8183

def summary_text
  @summary_text
end

#text_sectionsHash<String,String>

Optional. Actual text sections of submitted summary. Corresponds to the JSON property textSections

Returns:

  • (Hash<String,String>)


8188
8189
8190
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8188

def text_sections
  @text_sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8195
8196
8197
8198
8199
8200
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8195

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