Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class AgentAssistantRecord.
Represents a record of a human agent assist answer.
Generated from protobuf message google.cloud.dialogflow.v2.AgentAssistantRecord
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ article_suggestion_answer |
ArticleAnswer
Output only. The article suggestion answer. |
↳ faq_answer |
FaqAnswer
Output only. The FAQ answer. |
↳ dialogflow_assist_answer |
DialogflowAssistAnswer
Output only. Dialogflow assist answer. |
getArticleSuggestionAnswer
Output only. The article suggestion answer.
Returns | |
---|---|
Type | Description |
ArticleAnswer|null |
hasArticleSuggestionAnswer
setArticleSuggestionAnswer
Output only. The article suggestion answer.
Parameter | |
---|---|
Name | Description |
var |
ArticleAnswer
|
Returns | |
---|---|
Type | Description |
$this |
getFaqAnswer
Output only. The FAQ answer.
Returns | |
---|---|
Type | Description |
FaqAnswer|null |
hasFaqAnswer
setFaqAnswer
Output only. The FAQ answer.
Parameter | |
---|---|
Name | Description |
var |
FaqAnswer
|
Returns | |
---|---|
Type | Description |
$this |
getDialogflowAssistAnswer
Output only. Dialogflow assist answer.
Returns | |
---|---|
Type | Description |
DialogflowAssistAnswer|null |
hasDialogflowAssistAnswer
setDialogflowAssistAnswer
Output only. Dialogflow assist answer.
Parameter | |
---|---|
Name | Description |
var |
DialogflowAssistAnswer
|
Returns | |
---|---|
Type | Description |
$this |
getAnswer
Returns | |
---|---|
Type | Description |
string |