Google Cloud Dialogflow V2 Client - Class AgentAssistantRecord (1.0.1)

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

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.

Generated from protobuf field .google.cloud.dialogflow.v2.ArticleAnswer article_suggestion_answer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

hasArticleSuggestionAnswer

setArticleSuggestionAnswer

Output only. The article suggestion answer.

Generated from protobuf field .google.cloud.dialogflow.v2.ArticleAnswer article_suggestion_answer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getFaqAnswer

Output only. The FAQ answer.

Generated from protobuf field .google.cloud.dialogflow.v2.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

hasFaqAnswer

setFaqAnswer

Output only. The FAQ answer.

Generated from protobuf field .google.cloud.dialogflow.v2.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getAnswer

Returns
TypeDescription
string