Google Cloud Dialogflow Cx V3 Client - Class Phrase (0.2.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Phrase.

Text input which can be used for prompt or banned phrases.

Generated from protobuf message google.cloud.dialogflow.cx.v3.Phrase

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ text string

Required. Text input which can be used for prompt or banned phrases.

getText

Required. Text input which can be used for prompt or banned phrases.

Returns
TypeDescription
string

setText

Required. Text input which can be used for prompt or banned phrases.

Parameter
NameDescription
var string
Returns
TypeDescription
$this