Google Cloud Dialogflow V2 Client - Class GenerateStatelessSuggestionResponse (1.17.0)

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 \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ generator_suggestion GeneratorSuggestion

Required. Generated suggestion for a conversation.

getGeneratorSuggestion

Required. Generated suggestion for a conversation.

Returns
Type Description
GeneratorSuggestion|null

hasGeneratorSuggestion

clearGeneratorSuggestion

setGeneratorSuggestion

Required. Generated suggestion for a conversation.

Parameter
Name Description
var GeneratorSuggestion
Returns
Type Description
$this