widget_configs
Creates, updates, deletes, gets or lists a widget_configs resource.
Overview
| Name | widget_configs |
| Type | Resource |
| Id | google.discoveryengine.widget_configs |
Fields
The following fields are returned by SELECT queries:
- projects_locations_collections_engines_widget_configs_get
- projects_locations_collections_data_stores_widget_configs_get
- projects_locations_data_stores_widget_configs_get
| Name | Datatype | Description |
|---|---|---|
name | string | Immutable. The full resource name of the widget config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters. |
accessSettings | object | Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties. (id: GoogleCloudDiscoveryengineV1WidgetConfigAccessSettings) |
allowPublicAccess | boolean | Whether allow no-auth integration with widget. If set true, public access to search or other solutions from widget is allowed without authenication token provided by customer hosted backend server. |
allowlistedDomains | array | Allowlisted domains that can load this widget. |
assistantSettings | object | Optional. Output only. Describes the assistant settings of the widget. (id: GoogleCloudDiscoveryengineV1WidgetConfigAssistantSettings) |
collectionComponents | array | Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources. |
configId | string | Output only. Unique obfuscated identifier of a WidgetConfig. |
contentSearchSpec | object | The content search spec that configs the desired behavior of content search. (id: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec) |
createTime | string (google-datetime) | Output only. Timestamp the WidgetConfig was created. |
customerProvidedConfig | object | Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding. (id: GoogleCloudDiscoveryengineV1WidgetConfigCustomerProvidedConfig) |
dataStoreType | string | Output only. The type of the parent data store. |
dataStoreUiConfigs | array | Configurable UI configurations per data store. |
defaultSearchRequestOrderBy | 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 |
displayName | string | Required. The human readable widget config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. |
enableAutocomplete | boolean | Whether or not to enable autocomplete. |
enableConversationalSearch | boolean | Whether to allow conversational search (LLM, multi-turn) or not (non-LLM, single-turn). |
enablePrivateKnowledgeGraph | boolean | Optional. Output only. Whether to enable private knowledge graph. |
enableQualityFeedback | boolean | Turn on or off collecting the search result quality feedback from end users. |
enableResultScore | boolean | Whether to show the result score. |
enableSafeSearch | boolean | Whether to enable safe search. |
enableSearchAsYouType | boolean | Whether to enable search-as-you-type behavior for the search widget |
enableSnippetResultSummary | boolean | Turn on or off summary for each snippets result. |
enableSummarization | boolean | Turn on or off summarization for the search response. |
enableWebApp | boolean | Whether to enable standalone web app. |
facetField | array | The configuration and appearance of facets in the end user view. |
fieldsUiComponentsMap | object | The key is the UI component. Mock. Currently supported title, thumbnail, url, custom1, custom2, custom3. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed. title, thumbnail, url are required UI components that cannot be removed. |
geminiBundle | boolean | Output only. Whether the subscription is gemini bundle or not. |
homepageSetting | object | Optional. Describes the homepage settings of the widget. (id: GoogleCloudDiscoveryengineV1WidgetConfigHomepageSetting) |
industryVertical | string | Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine. |
llmEnabled | boolean | Output only. Whether LLM is enabled in the corresponding data store. |
minimumDataTermAccepted | boolean | Output only. Whether the customer accepted data use terms. |
resultDisplayType | string | The type of snippet to display in UCS widget. - RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-enterprise search users. - EXTRACTIVE_ANSWER for new enterprise search users. |
solutionType | string | Required. Immutable. Specifies the solution type that this WidgetConfig can be used for. |
uiBranding | object | Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. (id: GoogleCloudDiscoveryengineV1WidgetConfigUiBrandingSettings) |
uiSettings | object | Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties. (id: GoogleCloudDiscoveryengineV1WidgetConfigUiSettings) |
updateTime | string (google-datetime) | Output only. Timestamp the WidgetConfig was updated. |
| Name | Datatype | Description |
|---|---|---|
name | string | Immutable. The full resource name of the widget config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters. |
accessSettings | object | Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties. (id: GoogleCloudDiscoveryengineV1WidgetConfigAccessSettings) |
allowPublicAccess | boolean | Whether allow no-auth integration with widget. If set true, public access to search or other solutions from widget is allowed without authenication token provided by customer hosted backend server. |
allowlistedDomains | array | Allowlisted domains that can load this widget. |
assistantSettings | object | Optional. Output only. Describes the assistant settings of the widget. (id: GoogleCloudDiscoveryengineV1WidgetConfigAssistantSettings) |
collectionComponents | array | Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources. |
configId | string | Output only. Unique obfuscated identifier of a WidgetConfig. |
contentSearchSpec | object | The content search spec that configs the desired behavior of content search. (id: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec) |
createTime | string (google-datetime) | Output only. Timestamp the WidgetConfig was created. |
customerProvidedConfig | object | Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding. (id: GoogleCloudDiscoveryengineV1WidgetConfigCustomerProvidedConfig) |
dataStoreType | string | Output only. The type of the parent data store. |
dataStoreUiConfigs | array | Configurable UI configurations per data store. |
defaultSearchRequestOrderBy | 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 |
displayName | string | Required. The human readable widget config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. |
enableAutocomplete | boolean | Whether or not to enable autocomplete. |
enableConversationalSearch | boolean | Whether to allow conversational search (LLM, multi-turn) or not (non-LLM, single-turn). |
enablePrivateKnowledgeGraph | boolean | Optional. Output only. Whether to enable private knowledge graph. |
enableQualityFeedback | boolean | Turn on or off collecting the search result quality feedback from end users. |
enableResultScore | boolean | Whether to show the result score. |
enableSafeSearch | boolean | Whether to enable safe search. |
enableSearchAsYouType | boolean | Whether to enable search-as-you-type behavior for the search widget |
enableSnippetResultSummary | boolean | Turn on or off summary for each snippets result. |
enableSummarization | boolean | Turn on or off summarization for the search response. |
enableWebApp | boolean | Whether to enable standalone web app. |
facetField | array | The configuration and appearance of facets in the end user view. |
fieldsUiComponentsMap | object | The key is the UI component. Mock. Currently supported title, thumbnail, url, custom1, custom2, custom3. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed. title, thumbnail, url are required UI components that cannot be removed. |
geminiBundle | boolean | Output only. Whether the subscription is gemini bundle or not. |
homepageSetting | object | Optional. Describes the homepage settings of the widget. (id: GoogleCloudDiscoveryengineV1WidgetConfigHomepageSetting) |
industryVertical | string | Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine. |
llmEnabled | boolean | Output only. Whether LLM is enabled in the corresponding data store. |
minimumDataTermAccepted | boolean | Output only. Whether the customer accepted data use terms. |
resultDisplayType | string | The type of snippet to display in UCS widget. - RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-enterprise search users. - EXTRACTIVE_ANSWER for new enterprise search users. |
solutionType | string | Required. Immutable. Specifies the solution type that this WidgetConfig can be used for. |
uiBranding | object | Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. (id: GoogleCloudDiscoveryengineV1WidgetConfigUiBrandingSettings) |
uiSettings | object | Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties. (id: GoogleCloudDiscoveryengineV1WidgetConfigUiSettings) |
updateTime | string (google-datetime) | Output only. Timestamp the WidgetConfig was updated. |
| Name | Datatype | Description |
|---|---|---|
name | string | Immutable. The full resource name of the widget config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters. |
accessSettings | object | Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties. (id: GoogleCloudDiscoveryengineV1WidgetConfigAccessSettings) |
allowPublicAccess | boolean | Whether allow no-auth integration with widget. If set true, public access to search or other solutions from widget is allowed without authenication token provided by customer hosted backend server. |
allowlistedDomains | array | Allowlisted domains that can load this widget. |
assistantSettings | object | Optional. Output only. Describes the assistant settings of the widget. (id: GoogleCloudDiscoveryengineV1WidgetConfigAssistantSettings) |
collectionComponents | array | Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources. |
configId | string | Output only. Unique obfuscated identifier of a WidgetConfig. |
contentSearchSpec | object | The content search spec that configs the desired behavior of content search. (id: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec) |
createTime | string (google-datetime) | Output only. Timestamp the WidgetConfig was created. |
customerProvidedConfig | object | Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding. (id: GoogleCloudDiscoveryengineV1WidgetConfigCustomerProvidedConfig) |
dataStoreType | string | Output only. The type of the parent data store. |
dataStoreUiConfigs | array | Configurable UI configurations per data store. |
defaultSearchRequestOrderBy | 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 |
displayName | string | Required. The human readable widget config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. |
enableAutocomplete | boolean | Whether or not to enable autocomplete. |
enableConversationalSearch | boolean | Whether to allow conversational search (LLM, multi-turn) or not (non-LLM, single-turn). |
enablePrivateKnowledgeGraph | boolean | Optional. Output only. Whether to enable private knowledge graph. |
enableQualityFeedback | boolean | Turn on or off collecting the search result quality feedback from end users. |
enableResultScore | boolean | Whether to show the result score. |
enableSafeSearch | boolean | Whether to enable safe search. |
enableSearchAsYouType | boolean | Whether to enable search-as-you-type behavior for the search widget |
enableSnippetResultSummary | boolean | Turn on or off summary for each snippets result. |
enableSummarization | boolean | Turn on or off summarization for the search response. |
enableWebApp | boolean | Whether to enable standalone web app. |
facetField | array | The configuration and appearance of facets in the end user view. |
fieldsUiComponentsMap | object | The key is the UI component. Mock. Currently supported title, thumbnail, url, custom1, custom2, custom3. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed. title, thumbnail, url are required UI components that cannot be removed. |
geminiBundle | boolean | Output only. Whether the subscription is gemini bundle or not. |
homepageSetting | object | Optional. Describes the homepage settings of the widget. (id: GoogleCloudDiscoveryengineV1WidgetConfigHomepageSetting) |
industryVertical | string | Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine. |
llmEnabled | boolean | Output only. Whether LLM is enabled in the corresponding data store. |
minimumDataTermAccepted | boolean | Output only. Whether the customer accepted data use terms. |
resultDisplayType | string | The type of snippet to display in UCS widget. - RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-enterprise search users. - EXTRACTIVE_ANSWER for new enterprise search users. |
solutionType | string | Required. Immutable. Specifies the solution type that this WidgetConfig can be used for. |
uiBranding | object | Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. (id: GoogleCloudDiscoveryengineV1WidgetConfigUiBrandingSettings) |
uiSettings | object | Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties. (id: GoogleCloudDiscoveryengineV1WidgetConfigUiSettings) |
updateTime | string (google-datetime) | Output only. Timestamp the WidgetConfig was updated. |
Methods
The following methods are available for this resource:
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
collectionsId | string | |
dataStoresId | string | |
enginesId | string | |
locationsId | string | |
projectsId | string | |
widgetConfigsId | string | |
acceptCache | boolean | |
getWidgetConfigRequestOption.turnOffCollectionComponents | boolean | |
updateMask | string (google-fieldmask) |
SELECT examples
- projects_locations_collections_engines_widget_configs_get
- projects_locations_collections_data_stores_widget_configs_get
- projects_locations_data_stores_widget_configs_get
Gets a WidgetConfig.
SELECT
name,
accessSettings,
allowPublicAccess,
allowlistedDomains,
assistantSettings,
collectionComponents,
configId,
contentSearchSpec,
createTime,
customerProvidedConfig,
dataStoreType,
dataStoreUiConfigs,
defaultSearchRequestOrderBy,
displayName,
enableAutocomplete,
enableConversationalSearch,
enablePrivateKnowledgeGraph,
enableQualityFeedback,
enableResultScore,
enableSafeSearch,
enableSearchAsYouType,
enableSnippetResultSummary,
enableSummarization,
enableWebApp,
facetField,
fieldsUiComponentsMap,
geminiBundle,
homepageSetting,
industryVertical,
llmEnabled,
minimumDataTermAccepted,
resultDisplayType,
solutionType,
uiBranding,
uiSettings,
updateTime
FROM google.discoveryengine.widget_configs
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND collectionsId = '{{ collectionsId }}' -- required
AND enginesId = '{{ enginesId }}' -- required
AND widgetConfigsId = '{{ widgetConfigsId }}' -- required
AND acceptCache = '{{ acceptCache }}'
AND getWidgetConfigRequestOption.turnOffCollectionComponents = '{{ getWidgetConfigRequestOption.turnOffCollectionComponents }}'
;
Gets a WidgetConfig.
SELECT
name,
accessSettings,
allowPublicAccess,
allowlistedDomains,
assistantSettings,
collectionComponents,
configId,
contentSearchSpec,
createTime,
customerProvidedConfig,
dataStoreType,
dataStoreUiConfigs,
defaultSearchRequestOrderBy,
displayName,
enableAutocomplete,
enableConversationalSearch,
enablePrivateKnowledgeGraph,
enableQualityFeedback,
enableResultScore,
enableSafeSearch,
enableSearchAsYouType,
enableSnippetResultSummary,
enableSummarization,
enableWebApp,
facetField,
fieldsUiComponentsMap,
geminiBundle,
homepageSetting,
industryVertical,
llmEnabled,
minimumDataTermAccepted,
resultDisplayType,
solutionType,
uiBranding,
uiSettings,
updateTime
FROM google.discoveryengine.widget_configs
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND collectionsId = '{{ collectionsId }}' -- required
AND dataStoresId = '{{ dataStoresId }}' -- required
AND widgetConfigsId = '{{ widgetConfigsId }}' -- required
AND acceptCache = '{{ acceptCache }}'
AND getWidgetConfigRequestOption.turnOffCollectionComponents = '{{ getWidgetConfigRequestOption.turnOffCollectionComponents }}'
;
Gets a WidgetConfig.
SELECT
name,
accessSettings,
allowPublicAccess,
allowlistedDomains,
assistantSettings,
collectionComponents,
configId,
contentSearchSpec,
createTime,
customerProvidedConfig,
dataStoreType,
dataStoreUiConfigs,
defaultSearchRequestOrderBy,
displayName,
enableAutocomplete,
enableConversationalSearch,
enablePrivateKnowledgeGraph,
enableQualityFeedback,
enableResultScore,
enableSafeSearch,
enableSearchAsYouType,
enableSnippetResultSummary,
enableSummarization,
enableWebApp,
facetField,
fieldsUiComponentsMap,
geminiBundle,
homepageSetting,
industryVertical,
llmEnabled,
minimumDataTermAccepted,
resultDisplayType,
solutionType,
uiBranding,
uiSettings,
updateTime
FROM google.discoveryengine.widget_configs
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND dataStoresId = '{{ dataStoresId }}' -- required
AND widgetConfigsId = '{{ widgetConfigsId }}' -- required
AND acceptCache = '{{ acceptCache }}'
AND getWidgetConfigRequestOption.turnOffCollectionComponents = '{{ getWidgetConfigRequestOption.turnOffCollectionComponents }}'
;
UPDATE examples
- projects_locations_collections_engines_widget_configs_patch
- projects_locations_collections_data_stores_widget_configs_patch
- projects_locations_data_stores_widget_configs_patch
Update a WidgetConfig.
UPDATE google.discoveryengine.widget_configs
SET
data__resultDisplayType = '{{ resultDisplayType }}',
data__defaultSearchRequestOrderBy = '{{ defaultSearchRequestOrderBy }}',
data__allowPublicAccess = {{ allowPublicAccess }},
data__enableSnippetResultSummary = {{ enableSnippetResultSummary }},
data__allowlistedDomains = '{{ allowlistedDomains }}',
data__enableSearchAsYouType = {{ enableSearchAsYouType }},
data__contentSearchSpec = '{{ contentSearchSpec }}',
data__enableAutocomplete = {{ enableAutocomplete }},
data__enableWebApp = {{ enableWebApp }},
data__enableSummarization = {{ enableSummarization }},
data__enableSafeSearch = {{ enableSafeSearch }},
data__enableResultScore = {{ enableResultScore }},
data__uiSettings = '{{ uiSettings }}',
data__name = '{{ name }}',
data__fieldsUiComponentsMap = '{{ fieldsUiComponentsMap }}',
data__enableQualityFeedback = {{ enableQualityFeedback }},
data__uiBranding = '{{ uiBranding }}',
data__solutionType = '{{ solutionType }}',
data__accessSettings = '{{ accessSettings }}',
data__displayName = '{{ displayName }}',
data__dataStoreUiConfigs = '{{ dataStoreUiConfigs }}',
data__homepageSetting = '{{ homepageSetting }}',
data__enableConversationalSearch = {{ enableConversationalSearch }},
data__facetField = '{{ facetField }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND collectionsId = '{{ collectionsId }}' --required
AND enginesId = '{{ enginesId }}' --required
AND widgetConfigsId = '{{ widgetConfigsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
accessSettings,
allowPublicAccess,
allowlistedDomains,
assistantSettings,
collectionComponents,
configId,
contentSearchSpec,
createTime,
customerProvidedConfig,
dataStoreType,
dataStoreUiConfigs,
defaultSearchRequestOrderBy,
displayName,
enableAutocomplete,
enableConversationalSearch,
enablePrivateKnowledgeGraph,
enableQualityFeedback,
enableResultScore,
enableSafeSearch,
enableSearchAsYouType,
enableSnippetResultSummary,
enableSummarization,
enableWebApp,
facetField,
fieldsUiComponentsMap,
geminiBundle,
homepageSetting,
industryVertical,
llmEnabled,
minimumDataTermAccepted,
resultDisplayType,
solutionType,
uiBranding,
uiSettings,
updateTime;
Update a WidgetConfig.
UPDATE google.discoveryengine.widget_configs
SET
data__resultDisplayType = '{{ resultDisplayType }}',
data__defaultSearchRequestOrderBy = '{{ defaultSearchRequestOrderBy }}',
data__allowPublicAccess = {{ allowPublicAccess }},
data__enableSnippetResultSummary = {{ enableSnippetResultSummary }},
data__allowlistedDomains = '{{ allowlistedDomains }}',
data__enableSearchAsYouType = {{ enableSearchAsYouType }},
data__contentSearchSpec = '{{ contentSearchSpec }}',
data__enableAutocomplete = {{ enableAutocomplete }},
data__enableWebApp = {{ enableWebApp }},
data__enableSummarization = {{ enableSummarization }},
data__enableSafeSearch = {{ enableSafeSearch }},
data__enableResultScore = {{ enableResultScore }},
data__uiSettings = '{{ uiSettings }}',
data__name = '{{ name }}',
data__fieldsUiComponentsMap = '{{ fieldsUiComponentsMap }}',
data__enableQualityFeedback = {{ enableQualityFeedback }},
data__uiBranding = '{{ uiBranding }}',
data__solutionType = '{{ solutionType }}',
data__accessSettings = '{{ accessSettings }}',
data__displayName = '{{ displayName }}',
data__dataStoreUiConfigs = '{{ dataStoreUiConfigs }}',
data__homepageSetting = '{{ homepageSetting }}',
data__enableConversationalSearch = {{ enableConversationalSearch }},
data__facetField = '{{ facetField }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND collectionsId = '{{ collectionsId }}' --required
AND dataStoresId = '{{ dataStoresId }}' --required
AND widgetConfigsId = '{{ widgetConfigsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
accessSettings,
allowPublicAccess,
allowlistedDomains,
assistantSettings,
collectionComponents,
configId,
contentSearchSpec,
createTime,
customerProvidedConfig,
dataStoreType,
dataStoreUiConfigs,
defaultSearchRequestOrderBy,
displayName,
enableAutocomplete,
enableConversationalSearch,
enablePrivateKnowledgeGraph,
enableQualityFeedback,
enableResultScore,
enableSafeSearch,
enableSearchAsYouType,
enableSnippetResultSummary,
enableSummarization,
enableWebApp,
facetField,
fieldsUiComponentsMap,
geminiBundle,
homepageSetting,
industryVertical,
llmEnabled,
minimumDataTermAccepted,
resultDisplayType,
solutionType,
uiBranding,
uiSettings,
updateTime;
Update a WidgetConfig.
UPDATE google.discoveryengine.widget_configs
SET
data__resultDisplayType = '{{ resultDisplayType }}',
data__defaultSearchRequestOrderBy = '{{ defaultSearchRequestOrderBy }}',
data__allowPublicAccess = {{ allowPublicAccess }},
data__enableSnippetResultSummary = {{ enableSnippetResultSummary }},
data__allowlistedDomains = '{{ allowlistedDomains }}',
data__enableSearchAsYouType = {{ enableSearchAsYouType }},
data__contentSearchSpec = '{{ contentSearchSpec }}',
data__enableAutocomplete = {{ enableAutocomplete }},
data__enableWebApp = {{ enableWebApp }},
data__enableSummarization = {{ enableSummarization }},
data__enableSafeSearch = {{ enableSafeSearch }},
data__enableResultScore = {{ enableResultScore }},
data__uiSettings = '{{ uiSettings }}',
data__name = '{{ name }}',
data__fieldsUiComponentsMap = '{{ fieldsUiComponentsMap }}',
data__enableQualityFeedback = {{ enableQualityFeedback }},
data__uiBranding = '{{ uiBranding }}',
data__solutionType = '{{ solutionType }}',
data__accessSettings = '{{ accessSettings }}',
data__displayName = '{{ displayName }}',
data__dataStoreUiConfigs = '{{ dataStoreUiConfigs }}',
data__homepageSetting = '{{ homepageSetting }}',
data__enableConversationalSearch = {{ enableConversationalSearch }},
data__facetField = '{{ facetField }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND dataStoresId = '{{ dataStoresId }}' --required
AND widgetConfigsId = '{{ widgetConfigsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
accessSettings,
allowPublicAccess,
allowlistedDomains,
assistantSettings,
collectionComponents,
configId,
contentSearchSpec,
createTime,
customerProvidedConfig,
dataStoreType,
dataStoreUiConfigs,
defaultSearchRequestOrderBy,
displayName,
enableAutocomplete,
enableConversationalSearch,
enablePrivateKnowledgeGraph,
enableQualityFeedback,
enableResultScore,
enableSafeSearch,
enableSearchAsYouType,
enableSnippetResultSummary,
enableSummarization,
enableWebApp,
facetField,
fieldsUiComponentsMap,
geminiBundle,
homepageSetting,
industryVertical,
llmEnabled,
minimumDataTermAccepted,
resultDisplayType,
solutionType,
uiBranding,
uiSettings,
updateTime;