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.



7829
7830
7831
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7829

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)


7812
7813
7814
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7812

def start_time
  @start_time
end

#submit_timeString

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

Returns:

  • (String)


7817
7818
7819
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7817

def submit_time
  @submit_time
end

#summary_textString

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

Returns:

  • (String)


7822
7823
7824
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7822

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>)


7827
7828
7829
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7827

def text_sections
  @text_sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7834
7835
7836
7837
7838
7839
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7834

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