Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class GenerateStatelessSuggestionResponse.
The response message for Conversations.GenerateStatelessSuggestion.
Generated from protobuf message google.cloud.dialogflow.v2.GenerateStatelessSuggestionResponse
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ generator_suggestion |
Google\Cloud\Dialogflow\V2\GeneratorSuggestion
Required. Generated suggestion for a conversation. |
getGeneratorSuggestion
Required. Generated suggestion for a conversation.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\V2\GeneratorSuggestion|null |
hasGeneratorSuggestion
clearGeneratorSuggestion
setGeneratorSuggestion
Required. Generated suggestion for a conversation.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\V2\GeneratorSuggestion
|
Returns | |
---|---|
Type | Description |
$this |