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

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

Represents the natural language text to be processed.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ text string

Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.

getText

Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.

Returns
TypeDescription
string

setText

Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.

Parameter
NameDescription
var string
Returns
TypeDescription
$this