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 \ SearchSpecMethods
__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 |