Google Cloud Dialogflow V2 Client - Class GeneratorSuggestion (2.3.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class GeneratorSuggestion.

Suggestion generated using a Generator.

Generated from protobuf message google.cloud.dialogflow.v2.GeneratorSuggestion

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ free_form_suggestion
FreeFormSuggestion

Optional. Free form suggestion.

↳ summary_suggestion
SummarySuggestion

Optional. Suggested summary.

↳ agent_coaching_suggestion
AgentCoachingSuggestion

Optional. Suggestion to coach the agent.

↳ tool_call_info
array< GeneratorSuggestion\ToolCallInfo >

Optional. List of request and response for tool calls executed.

getFreeFormSuggestion

Optional. Free form suggestion.

Returns
Type
Description

hasFreeFormSuggestion

setFreeFormSuggestion

Optional. Free form suggestion.

Parameter
Name
Description
Returns
Type
Description
$this

getSummarySuggestion

Optional. Suggested summary.

Returns
Type
Description

hasSummarySuggestion

setSummarySuggestion

Optional. Suggested summary.

Parameter
Name
Description
Returns
Type
Description
$this

getAgentCoachingSuggestion

Optional. Suggestion to coach the agent.

Returns
Type
Description

hasAgentCoachingSuggestion

setAgentCoachingSuggestion

Optional. Suggestion to coach the agent.

Parameter
Name
Description
Returns
Type
Description
$this

getToolCallInfo

Optional. List of request and response for tool calls executed.

Returns
Type
Description

setToolCallInfo

Optional. List of request and response for tool calls executed.

Parameter
Name
Description
Returns
Type
Description
$this

getSuggestion

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: