Google Cloud Dialogflow V2 Client - Class AgentAssistantRecord (1.12.3)

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

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ article_suggestion_answer Google\Cloud\Dialogflow\V2\ArticleAnswer

Output only. The article suggestion answer.

↳ faq_answer Google\Cloud\Dialogflow\V2\FaqAnswer

Output only. The FAQ answer.

↳ dialogflow_assist_answer Google\Cloud\Dialogflow\V2\DialogflowAssistAnswer

Output only. Dialogflow assist answer.

getArticleSuggestionAnswer

Output only. The article suggestion answer.

Returns
Type Description
Google\Cloud\Dialogflow\V2\ArticleAnswer|null

hasArticleSuggestionAnswer

setArticleSuggestionAnswer

Output only. The article suggestion answer.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\ArticleAnswer
Returns
Type Description
$this

getFaqAnswer

Output only. The FAQ answer.

Returns
Type Description
Google\Cloud\Dialogflow\V2\FaqAnswer|null

hasFaqAnswer

setFaqAnswer

Output only. The FAQ answer.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\FaqAnswer
Returns
Type Description
$this

getDialogflowAssistAnswer

Output only. Dialogflow assist answer.

Returns
Type Description
Google\Cloud\Dialogflow\V2\DialogflowAssistAnswer|null

hasDialogflowAssistAnswer

setDialogflowAssistAnswer

Output only. Dialogflow assist answer.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\DialogflowAssistAnswer
Returns
Type Description
$this

getAnswer

Returns
Type Description
string