Google Cloud Dialogflow V2 Client - Class FaqSource (1.17.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class FaqSource.

Details about source of FAQ answer.

Generated from protobuf message google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource

Namespace

Google \ Cloud \ Dialogflow \ V2 \ KnowledgeAssistAnswer \ KnowledgeAnswer

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ question string

The corresponding FAQ question.

getQuestion

The corresponding FAQ question.

Returns
Type Description
string

setQuestion

The corresponding FAQ question.

Parameter
Name Description
var string
Returns
Type Description
$this