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.



8057
8058
8059
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8057

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)


8040
8041
8042
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8040

def start_time
  @start_time
end

#submit_timeString

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

Returns:

  • (String)


8045
8046
8047
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8045

def submit_time
  @submit_time
end

#summary_textString

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

Returns:

  • (String)


8050
8051
8052
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8050

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


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

def text_sections
  @text_sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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