Google Cloud Dialogflow V2 Client - Class AgentCoachingSuggestion (2.3.0)

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

Suggestion for coaching agents.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ applicable_instructions array<AgentCoachingInstruction>

Optional. Instructions applicable based on the current context.

↳ agent_action_suggestions array<AgentCoachingSuggestion\AgentActionSuggestion>

Optional. Suggested actions for the agent to take.

↳ sample_responses array<AgentCoachingSuggestion\SampleResponse>

Optional. Sample response for the Agent.

getApplicableInstructions

Optional. Instructions applicable based on the current context.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setApplicableInstructions

Optional. Instructions applicable based on the current context.

Parameter
Name Description
var array<AgentCoachingInstruction>
Returns
Type Description
$this

getAgentActionSuggestions

Optional. Suggested actions for the agent to take.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAgentActionSuggestions

Optional. Suggested actions for the agent to take.

Parameter
Name Description
var array<AgentCoachingSuggestion\AgentActionSuggestion>
Returns
Type Description
$this

getSampleResponses

Optional. Sample response for the Agent.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSampleResponses

Optional. Sample response for the Agent.

Parameter
Name Description
var array<AgentCoachingSuggestion\SampleResponse>
Returns
Type Description
$this