Google Cloud Discovery Engine V1 Client - Class CompleteQueryResponse (0.3.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class CompleteQueryResponse.

Response message for CompletionService.CompleteQuery method.

Generated from protobuf message google.cloud.discoveryengine.v1.CompleteQueryResponse

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ query_suggestions
array< Google\Cloud\DiscoveryEngine\V1\CompleteQueryResponse\QuerySuggestion >

Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.

getQuerySuggestions

Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.

Returns
Type
Description

setQuerySuggestions

Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.

Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: