Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class GenerateSuggestionsResponse.
The response message for Conversations.GenerateSuggestions .
Generated from protobuf message google.cloud.dialogflow.v2.GenerateSuggestionsResponse
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ generator_suggestion_answers
array< GenerateSuggestionsResponse\GeneratorSuggestionAnswer
>
The answers generated for the conversation based on context.
↳ latest_message
string
The name of the latest conversation message used as context for compiling suggestion. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>
.
getGeneratorSuggestionAnswers
The answers generated for the conversation based on context.
setGeneratorSuggestionAnswers
The answers generated for the conversation based on context.
$this
getLatestMessage
The name of the latest conversation message used as context for compiling suggestion.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
string
setLatestMessage
The name of the latest conversation message used as context for compiling suggestion.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
var
string
$this