WidgetConfigUiSettings class
Constructors
-
WidgetConfigUiSettings({Input<
List< ? dataStoreUiConfigs, Input<WidgetConfigUiSettingsDataStoreUiConfig> ?>String?> ? defaultSearchRequestOrderBy, Input<bool?> ? disableUserEventsCollection, Input<bool?> ? enableAutocomplete, Input<bool?> ? enableCreateAgentButton, Input<bool?> ? enablePeopleSearch, Input<bool?> ? enableQualityFeedback, Input<bool?> ? enableSafeSearch, Input<bool?> ? enableSearchAsYouType, Input<bool?> ? enableVisualContentSummary, Input<WidgetConfigUiSettingsGenerativeAnswerConfig?> ? generativeAnswerConfig, Input<String?> ? interactionType, Input<String?> ? resultDescriptionType}) -
Creates a new WidgetConfigUiSettings.
dataStoreUiConfigsPer data store configuration.defaultSearchRequestOrderByThe default ordering for search results if specified.disableUserEventsCollectionIf set to true, the widget will not collect user events.enableAutocompleteWhether or not to enable autocomplete.enableCreateAgentButtonIf set to true, the widget will enable the create agent button.enablePeopleSearchIf set to true, the widget will enable people search.enableQualityFeedbackTurn on or off collecting the search result quality feedback from end users.enableSafeSearchWhether to enable safe search.enableSearchAsYouTypeWhether to enable search-as-you-type behavior for the search widget.enableVisualContentSummaryIf set to true, the widget will enable visual content summary on applicablegenerativeAnswerConfigDescribes generative answer configuration.interactionTypeDescribes widget (or web app) interaction typeresultDescriptionTypeControls whether result extract is display and how (snippet or extractive answer).const -
WidgetConfigUiSettings.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
dataStoreUiConfigs
→ Input<
List< ?WidgetConfigUiSettingsDataStoreUiConfig> ?> -
Per data store configuration.
Structure is documented below.
final
-
defaultSearchRequestOrderBy
→ Input<
String?> ? -
The default ordering for search results if specified.
Used to set SearchRequest#orderBy on applicable requests.
final
-
disableUserEventsCollection
→ Input<
bool?> ? -
If set to true, the widget will not collect user events.
final
-
enableAutocomplete
→ Input<
bool?> ? -
Whether or not to enable autocomplete.
final
-
enableCreateAgentButton
→ Input<
bool?> ? -
If set to true, the widget will enable the create agent button.
final
-
enablePeopleSearch
→ Input<
bool?> ? -
If set to true, the widget will enable people search.
final
-
enableQualityFeedback
→ Input<
bool?> ? -
Turn on or off collecting the search result quality feedback from end users.
final
-
enableSafeSearch
→ Input<
bool?> ? -
Whether to enable safe search.
final
-
enableSearchAsYouType
→ Input<
bool?> ? -
Whether to enable search-as-you-type behavior for the search widget.
final
-
enableVisualContentSummary
→ Input<
bool?> ? -
If set to true, the widget will enable visual content summary on applicable
search requests. Only used by healthcare search.
final
-
generativeAnswerConfig
→ Input<
WidgetConfigUiSettingsGenerativeAnswerConfig?> ? -
Describes generative answer configuration.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interactionType
→ Input<
String?> ? -
Describes widget (or web app) interaction type
Possible values are:
SEARCH_ONLY,SEARCH_WITH_ANSWER,SEARCH_WITH_FOLLOW_UPS.final -
resultDescriptionType
→ Input<
String?> ? -
Controls whether result extract is display and how (snippet or extractive answer).
Default to no result if unspecified.
Possible values are:
SNIPPET,EXTRACTIVE_ANSWER.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited