Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class AgentActionSuggestion.
Actions suggested for the agent. This is based on applicable instructions.
Generated from protobuf message google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion
Namespace
Google \ Cloud \ Dialogflow \ V2 \ AgentCoachingSuggestionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ agent_action |
string
Optional. The suggested action for the agent. |
↳ sources |
Sources
Output only. Sources for the agent action suggestion. |
↳ duplicate_check_result |
DuplicateCheckResult
Output only. Duplicate check result for the agent action suggestion. |
getAgentAction
Optional. The suggested action for the agent.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAgentAction
Optional. The suggested action for the agent.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSources
Output only. Sources for the agent action suggestion.
| Returns | |
|---|---|
| Type | Description |
Sources|null |
|
hasSources
clearSources
setSources
Output only. Sources for the agent action suggestion.
| Parameter | |
|---|---|
| Name | Description |
var |
Sources
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDuplicateCheckResult
Output only. Duplicate check result for the agent action suggestion.
| Returns | |
|---|---|
| Type | Description |
DuplicateCheckResult|null |
|
hasDuplicateCheckResult
clearDuplicateCheckResult
setDuplicateCheckResult
Output only. Duplicate check result for the agent action suggestion.
| Parameter | |
|---|---|
| Name | Description |
var |
DuplicateCheckResult
|
| Returns | |
|---|---|
| Type | Description |
$this |
|