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.



11332
11333
11334
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11332

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)


11315
11316
11317
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11315

def start_timestamp
  @start_timestamp
end

#submit_timestampString

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

Returns:

  • (String)


11320
11321
11322
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11320

def submit_timestamp
  @submit_timestamp
end

#summary_textString

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

Returns:

  • (String)


11325
11326
11327
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11325

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


11330
11331
11332
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11330

def text_sections
  @text_sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11337
11338
11339
11340
11341
11342
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11337

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