Google Cloud Dialogflow V2 Client - Class Suggestion (1.0.1)

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

The suggestion chip message that the user can tap to quickly post a reply to the conversation.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ title string

Required. The text shown the in the suggestion chip.

getTitle

Required. The text shown the in the suggestion chip.

Generated from protobuf field string title = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setTitle

Required. The text shown the in the suggestion chip.

Generated from protobuf field string title = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this