Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class SearchAddonSpec.
SearchAddonSpec is used to disable add-ons for search. By default, if this field is not specified, add-ons are enabled wherever applicable.
Generated from protobuf message google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.SearchAddonSpec
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ WidgetConfig \ UiSettingsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ semantic_add_on_disabled |
bool
Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream. |
↳ kpi_personalization_add_on_disabled |
bool
Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results. |
↳ generative_answer_add_on_disabled |
bool
Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers. |
getSemanticAddOnDisabled
Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setSemanticAddOnDisabled
Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKpiPersonalizationAddOnDisabled
Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setKpiPersonalizationAddOnDisabled
Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGenerativeAnswerAddOnDisabled
Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setGenerativeAnswerAddOnDisabled
Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|