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.



8071
8072
8073
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8071

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)


8054
8055
8056
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8054

def start_time
  @start_time
end

#submit_timeString

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

Returns:

  • (String)


8059
8060
8061
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8059

def submit_time
  @submit_time
end

#summary_textString

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

Returns:

  • (String)


8064
8065
8066
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8064

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


8069
8070
8071
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8069

def text_sections
  @text_sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8076
8077
8078
8079
8080
8081
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8076

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