Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation

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

The minimum amount of information required to generate a Summary without having a Conversation resource created.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation

Returns a new instance of GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation.



10826
10827
10828
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10826

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

Instance Attribute Details

#messagesArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Message>

Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: content, language_code, participant, participant_role Optional fields: send_time If send_time is not provided, then the messages must be provided in chronological order. Corresponds to the JSON property messages



10824
10825
10826
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10824

def messages
  @messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10831
10832
10833
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10831

def update!(**args)
  @messages = args[:messages] if args.key?(:messages)
end