Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryRequest
- 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 request message for Conversations.SuggestConversationSummary.
Instance Attribute Summary collapse
-
#context_size ⇒ Fixnum
Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion.
-
#latest_message ⇒ String
The name of the latest conversation message used as context for compiling suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SuggestConversationSummaryRequest
constructor
A new instance of GoogleCloudDialogflowV2SuggestConversationSummaryRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SuggestConversationSummaryRequest
Returns a new instance of GoogleCloudDialogflowV2SuggestConversationSummaryRequest.
12783 12784 12785 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12783 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context_size ⇒ Fixnum
Max number of messages prior to and including [latest_message] to use as
context when compiling the suggestion. By default 500 and at most 1000.
Corresponds to the JSON property contextSize
12774 12775 12776 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12774 def context_size @context_size end |
#latest_message ⇒ String
The name of the latest conversation message used as context for compiling
suggestion. If empty, the latest message of the conversation will be used.
Format: projects//locations//conversations//messages/.
Corresponds to the JSON property latestMessage
12781 12782 12783 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12781 def @latest_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12788 12789 12790 12791 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12788 def update!(**args) @context_size = args[:context_size] if args.key?(:context_size) @latest_message = args[:latest_message] if args.key?(:latest_message) end |