Class: Google::Cloud::Dialogflow::V2::GenerateSuggestionsRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::GenerateSuggestionsRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/conversation.rb
Overview
The request message for Conversations.GenerateSuggestions.
Instance Attribute Summary collapse
-
#conversation ⇒ ::String
Required.
-
#latest_message ⇒ ::String
Optional.
-
#trigger_events ⇒ ::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>
Optional.
Instance Attribute Details
#conversation ⇒ ::String
Returns Required. The conversation for which the suggestions are generated. Format:
projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>
.
The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions.
1014 1015 1016 1017 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 1014 class GenerateSuggestionsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#latest_message ⇒ ::String
Returns Optional. The name of the latest conversation message for which the request
is triggered. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
1014 1015 1016 1017 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 1014 class GenerateSuggestionsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#trigger_events ⇒ ::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>
Returns Optional. A list of trigger events. Only generators configured in the conversation_profile whose trigger_event is listed here will be triggered.
1014 1015 1016 1017 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 1014 class GenerateSuggestionsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |