Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings.
Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data_store_ui_configs
def data_store_ui_configs() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::DataStoreUiConfig>- (::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::DataStoreUiConfig>) — Per data store configuration.
#data_store_ui_configs=
def data_store_ui_configs=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::DataStoreUiConfig>- value (::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::DataStoreUiConfig>) — Per data store configuration.
- (::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::DataStoreUiConfig>) — Per data store configuration.
#default_search_request_order_by
def default_search_request_order_by() -> ::String-
(::String) — The default ordering for search results if specified.
Used to set SearchRequest#order_by on applicable requests. https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.dataStores.servingConfigs/search#request-body
#default_search_request_order_by=
def default_search_request_order_by=(value) -> ::String-
value (::String) — The default ordering for search results if specified.
Used to set SearchRequest#order_by on applicable requests. https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.dataStores.servingConfigs/search#request-body
-
(::String) — The default ordering for search results if specified.
Used to set SearchRequest#order_by on applicable requests. https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.dataStores.servingConfigs/search#request-body
#disable_user_events_collection
def disable_user_events_collection() -> ::Boolean- (::Boolean) — If set to true, the widget will not collect user events.
#disable_user_events_collection=
def disable_user_events_collection=(value) -> ::Boolean- value (::Boolean) — If set to true, the widget will not collect user events.
- (::Boolean) — If set to true, the widget will not collect user events.
#enable_autocomplete
def enable_autocomplete() -> ::Boolean- (::Boolean) — Whether or not to enable autocomplete.
#enable_autocomplete=
def enable_autocomplete=(value) -> ::Boolean- value (::Boolean) — Whether or not to enable autocomplete.
- (::Boolean) — Whether or not to enable autocomplete.
#enable_create_agent_button
def enable_create_agent_button() -> ::Boolean- (::Boolean) — Optional. If set to true, the widget will enable the create agent button.
#enable_create_agent_button=
def enable_create_agent_button=(value) -> ::Boolean- value (::Boolean) — Optional. If set to true, the widget will enable the create agent button.
- (::Boolean) — Optional. If set to true, the widget will enable the create agent button.
#enable_people_search
def enable_people_search() -> ::Boolean- (::Boolean) — Optional. If set to true, the widget will enable people search.
#enable_people_search=
def enable_people_search=(value) -> ::Boolean- value (::Boolean) — Optional. If set to true, the widget will enable people search.
- (::Boolean) — Optional. If set to true, the widget will enable people search.
#enable_quality_feedback
def enable_quality_feedback() -> ::Boolean- (::Boolean) — Turn on or off collecting the search result quality feedback from end users.
#enable_quality_feedback=
def enable_quality_feedback=(value) -> ::Boolean- value (::Boolean) — Turn on or off collecting the search result quality feedback from end users.
- (::Boolean) — Turn on or off collecting the search result quality feedback from end users.
#enable_safe_search
def enable_safe_search() -> ::Boolean- (::Boolean) — Whether to enable safe search.
#enable_safe_search=
def enable_safe_search=(value) -> ::Boolean- value (::Boolean) — Whether to enable safe search.
- (::Boolean) — Whether to enable safe search.
#enable_search_as_you_type
def enable_search_as_you_type() -> ::Boolean- (::Boolean) — Whether to enable search-as-you-type behavior for the search widget.
#enable_search_as_you_type=
def enable_search_as_you_type=(value) -> ::Boolean- value (::Boolean) — Whether to enable search-as-you-type behavior for the search widget.
- (::Boolean) — Whether to enable search-as-you-type behavior for the search widget.
#enable_visual_content_summary
def enable_visual_content_summary() -> ::Boolean- (::Boolean) — If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search.
#enable_visual_content_summary=
def enable_visual_content_summary=(value) -> ::Boolean- value (::Boolean) — If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search.
- (::Boolean) — If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search.
#features
def features() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::FeatureState}-
(::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::FeatureState}) —
Output only. Feature config for the engine to opt in or opt out of features. Supported keys:
agent-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-tier-badge
#generative_answer_config
def generative_answer_config() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::GenerativeAnswerConfig- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::GenerativeAnswerConfig) — Describes generative answer configuration.
#generative_answer_config=
def generative_answer_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::GenerativeAnswerConfig- value (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::GenerativeAnswerConfig) — Describes generative answer configuration.
- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::GenerativeAnswerConfig) — Describes generative answer configuration.
#google_drive_picker_enabled
def google_drive_picker_enabled() -> ::Boolean-
(::Boolean) — Output only. Whether the Google Drive file picker is available to
end-users. Declared
optionalfor the same field-presence reason asonedrive_picker_enabledabove.
#interaction_type
def interaction_type() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::InteractionType- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::InteractionType) — Describes widget (or web app) interaction type
#interaction_type=
def interaction_type=(value) -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::InteractionType- value (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::InteractionType) — Describes widget (or web app) interaction type
- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::InteractionType) — Describes widget (or web app) interaction type
#model_config_info
def model_config_info() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelConfigInfo-
(::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelConfigInfo) — Output only. The resolved, server-side view of model selector
configuration. Holds both the ordered list of models that should appear
in the model selector dropdown and the model that should be selected by
default.
Clients should render this directly without applying their own filtering, ordering, or localization. The legacy
model_configsmap above is retained for backward compatibility with clients that have not yet migrated to consuming this field.
#model_configs
def model_configs() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelState}-
(::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelState}) — Output only. Maps a model name to its specific configuration for this
engine. This allows admin users to turn on/off individual models. This
only stores models whose states are overridden by the admin.
When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.
#onedrive_picker_enabled
def onedrive_picker_enabled() -> ::Boolean-
(::Boolean) — Output only. Whether the OneDrive file picker is available to end-users.
Computed by the backend from admin connector enablement (Business
edition) or attached OneDrive connectors (Enterprise edition), combined
with the existing
disable-onedrive-uploadadmin feature.Declared
optionalso an explicitly-computedfalseis serialized with field presence. A plain proto3booldrops a defaultfalseon the wire, which prevented clients from distinguishing "picker disabled" (false) from "field not populated" (unset).
#result_description_type
def result_description_type() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::ResultDisplayType- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::ResultDisplayType) — Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified.
#result_description_type=
def result_description_type=(value) -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::ResultDisplayType- value (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::ResultDisplayType) — Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified.
- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::ResultDisplayType) — Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified.
#search_addon_spec
def search_addon_spec() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::SearchAddonSpec- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::SearchAddonSpec) — Optional. SearchAddonSpec is used to disable add-ons for search. This field is only supported for search requests.
#search_addon_spec=
def search_addon_spec=(value) -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::SearchAddonSpec- value (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::SearchAddonSpec) — Optional. SearchAddonSpec is used to disable add-ons for search. This field is only supported for search requests.
- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::SearchAddonSpec) — Optional. SearchAddonSpec is used to disable add-ons for search. This field is only supported for search requests.
#source_admin_display_name_enabled
def source_admin_display_name_enabled() -> ::Boolean- (::Boolean) — Optional. Whether to show the admin-configured display name for data connectors in the widget sources UI (instead of the connector kind). Opt-in; defaults to false.
#source_admin_display_name_enabled=
def source_admin_display_name_enabled=(value) -> ::Boolean- value (::Boolean) — Optional. Whether to show the admin-configured display name for data connectors in the widget sources UI (instead of the connector kind). Opt-in; defaults to false.
- (::Boolean) — Optional. Whether to show the admin-configured display name for data connectors in the widget sources UI (instead of the connector kind). Opt-in; defaults to false.