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

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
Name Description
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
Type Description
string

setText

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

Parameter
Name Description
var string
Returns
Type Description
$this