Google Cloud Dialogflow V2 Client - Class SuggestedQuery (1.17.1)

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 \ KnowledgeAssistAnswer

Methods

__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