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.



12999
13000
13001
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12999

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



12997
12998
12999
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12997

def messages
  @messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13004
13005
13006
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13004

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