Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

Feedback for conversation summarization.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback

Returns a new instance of GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback.



10618
10619
10620
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10618

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

Instance Attribute Details

#start_timestampString

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

Returns:

  • (String)


10601
10602
10603
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10601

def start_timestamp
  @start_timestamp
end

#submit_timestampString

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

Returns:

  • (String)


10606
10607
10608
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10606

def submit_timestamp
  @submit_timestamp
end

#summary_textString

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

Returns:

  • (String)


10611
10612
10613
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10611

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


10616
10617
10618
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10616

def text_sections
  @text_sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10623
10624
10625
10626
10627
10628
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10623

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