Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation

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

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

Returns a new instance of GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation.



13757
13758
13759
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13757

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

Instance Attribute Details

#messagesArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message>

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



13755
13756
13757
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13755

def messages
  @messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13762
13763
13764
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13762

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