Class GenerateSuggestionsRequest (2.40.0)

GenerateSuggestionsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request message for Conversations.GenerateSuggestions.

Attributes

Name Description
conversation str
Required. The conversation for which the suggestions are generated. Format: projects/. The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions.
latest_message str
Optional. The name of the latest conversation message for which the request is triggered. Format: projects/.
trigger_events MutableSequence[google.cloud.dialogflow_v2.types.TriggerEvent]
Optional. A list of trigger events. Only generators configured in the conversation_profile whose trigger_event is listed here will be triggered.