Google Cloud Dialogflow V2 Client - Class AgentAssistantRecord (1.8.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.

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

getAnswer

Returns
TypeDescription
string