Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation
- 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
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation
constructor
A new instance of GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation
Returns a new instance of GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation.
11737 11738 11739 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11737 def initialize(**args) update!(**args) end |
Instance Attribute Details
#messages ⇒ Array<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
11735 11736 11737 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11735 def @messages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11742 11743 11744 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11742 def update!(**args) @messages = args[:messages] if args.key?(:messages) end |