Google Cloud Discovery Engine V1beta Client - Class SearchResultList (0.11.3)

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

Search result list.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta \ AnswerQueryRequest \ SearchSpec

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ search_results array<Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult>

Search results.

getSearchResults

Search results.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSearchResults

Search results.

Parameter
Name Description
var array<Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult>
Returns
Type Description
$this