Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class Suggestions.
The collection of suggestions.
Generated from protobuf message google.cloud.dialogflow.v2.Intent.Message.Suggestions
Namespace
Google \ Cloud \ Dialogflow \ V2 \ Intent \ MessageMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ suggestions |
array<Suggestion>
Required. The list of suggested replies. |
getSuggestions
Required. The list of suggested replies.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSuggestions
Required. The list of suggested replies.
Parameter | |
---|---|
Name | Description |
var |
array<Suggestion>
|
Returns | |
---|---|
Type | Description |
$this |