WidgetConfigUiSettings class

Constructors

WidgetConfigUiSettings({Input<List<WidgetConfigUiSettingsDataStoreUiConfig>?>? dataStoreUiConfigs, Input<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. dataStoreUiConfigs Per data store configuration. defaultSearchRequestOrderBy The default ordering for search results if specified. disableUserEventsCollection If set to true, the widget will not collect user events. enableAutocomplete Whether or not to enable autocomplete. enableCreateAgentButton If set to true, the widget will enable the create agent button. enablePeopleSearch If set to true, the widget will enable people search. enableQualityFeedback Turn on or off collecting the search result quality feedback from end users. enableSafeSearch Whether to enable safe search. enableSearchAsYouType Whether to enable search-as-you-type behavior for the search widget. enableVisualContentSummary If set to true, the widget will enable visual content summary on applicable generativeAnswerConfig Describes generative answer configuration. interactionType Describes widget (or web app) interaction type resultDescriptionType Controls 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