Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::GenerateSuggestionsRequest.
The request message for Conversations.GenerateSuggestions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#conversation
def conversation() -> ::String
-
(::String) — 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.
#conversation=
def conversation=(value) -> ::String
-
value (::String) — 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.
-
(::String) — 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.
#latest_message
def latest_message() -> ::String
-
(::String) — 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>
.
#latest_message=
def latest_message=(value) -> ::String
-
value (::String) — 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>
.
-
(::String) — 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>
.
#trigger_events
def trigger_events() -> ::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>
- (::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>) — Optional. A list of trigger events. Only generators configured in the conversation_profile whose trigger_event is listed here will be triggered.
#trigger_events=
def trigger_events=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>
- value (::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>) — Optional. A list of trigger events. Only generators configured in the conversation_profile whose trigger_event is listed here will be triggered.
- (::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>) — Optional. A list of trigger events. Only generators configured in the conversation_profile whose trigger_event is listed here will be triggered.