Google Cloud Dialogflow V2 Client - Class Text (1.0.1)

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

The text response message.

Generated from protobuf message google.cloud.dialogflow.v2.Intent.Message.Text

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ text
array

Optional. The collection of the agent's responses.

getText

Optional. The collection of the agent's responses.

Generated from protobuf field repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setText

Optional. The collection of the agent's responses.

Generated from protobuf field repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: