Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SuggestedQuery.
Represents a suggested query.
Generated from protobuf message google.cloud.dialogflow.v2.KnowledgeAssistAnswer.SuggestedQuery
Namespace
Google \ Cloud \ Dialogflow \ V2 \ KnowledgeAssistAnswerMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ query_text |
string
Suggested query text. |
getQueryText
Suggested query text.
Returns | |
---|---|
Type | Description |
string |
setQueryText
Suggested query text.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |