Google Cloud Dialogflow Cx V3 Client - Class UserUtterance (0.10.1)

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

UserUtterance represents one message sent by the customer.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ text string

Required. Message content in text.

getText

Required. Message content in text.

Returns
Type Description
string

setText

Required. Message content in text.

Parameter
Name Description
var string
Returns
Type Description
$this