Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class SearchSpec.
Search specification.
Generated from protobuf message google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec
Namespace
Google \ Cloud \ DiscoveryEngine \ V1beta \ AnswerQueryRequestMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ search_params |
Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchParams
Search parameters. |
↳ search_result_list |
Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchResultList
Search result list. |
getSearchParams
Search parameters.
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchParams|null |
hasSearchParams
setSearchParams
Search parameters.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchParams
|
Returns | |
---|---|
Type | Description |
$this |
getSearchResultList
Search result list.
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchResultList|null |
hasSearchResultList
setSearchResultList
Search result list.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchResultList
|
Returns | |
---|---|
Type | Description |
$this |
getInput
Returns | |
---|---|
Type | Description |
string |