Google Cloud Discovery Engine V1beta Client - Class GuidedSearchResult (0.1.1)

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

Guided search result. The guided search helps user to refine the search results and narrow down to the real needs from a broaded search results.

Generated from protobuf message google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ refinement_attributes array<Google\Cloud\DiscoveryEngine\V1beta\SearchResponse\GuidedSearchResult\RefinementAttribute>

A list of ranked refinement attributes.

getRefinementAttributes

A list of ranked refinement attributes.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRefinementAttributes

A list of ranked refinement attributes.

Parameter
NameDescription
var array<Google\Cloud\DiscoveryEngine\V1beta\SearchResponse\GuidedSearchResult\RefinementAttribute>
Returns
TypeDescription
$this