Google Cloud Dialogflow V2 Client - Class AgentAssistantRecord (1.9.0)

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
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\V2\ArticleAnswer|null

hasArticleSuggestionAnswer

setArticleSuggestionAnswer

Output only. The article suggestion answer.

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\ArticleAnswer
Returns
TypeDescription
$this

getFaqAnswer

Output only. The FAQ answer.

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\FaqAnswer|null

hasFaqAnswer

setFaqAnswer

Output only. The FAQ answer.

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\FaqAnswer
Returns
TypeDescription
$this

getDialogflowAssistAnswer

Output only. Dialogflow assist answer.

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\DialogflowAssistAnswer|null

hasDialogflowAssistAnswer

setDialogflowAssistAnswer

Output only. Dialogflow assist answer.

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\DialogflowAssistAnswer
Returns
TypeDescription
$this

getAnswer

Returns
TypeDescription
string