Google Cloud Discovery Engine V1beta Client - Class QuerySuggestion (0.2.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class QuerySuggestion.

Suggestions as search queries.

Generated from protobuf message google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ suggestion string

The suggestion for the query.

getSuggestion

The suggestion for the query.

Returns
TypeDescription
string

setSuggestion

The suggestion for the query.

Parameter
NameDescription
var string
Returns
TypeDescription
$this