Google Cloud Discovery Engine V1 Client - Class SearchResultList (1.3.2)

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

Search result list.

Generated from protobuf message google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ AnswerQueryRequest \ SearchSpec

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ search_results array<SearchResultList\SearchResult>

Search results.

getSearchResults

Search results.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSearchResults

Search results.

Parameter
Name Description
var array<SearchResultList\SearchResult>
Returns
Type Description
$this