Class GetWidgetConfigRequest (0.20.6)

GetWidgetConfigRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request for WidgetConfigService.GetWidgetConfig method.

Attributes

Name Description
name str
Required. Full WidgetConfig resource name. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}
accept_cache bool
Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development.
get_widget_config_request_option google.cloud.discoveryengine_v1.types.GetWidgetConfigRequest.GetWidgetConfigRequestOption
Optional. Options for GetWidgetConfigRequest.
language_code str
Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector display_name / description on WidgetConfig.UiSettings.ModelConfigInfo. Empty / unset falls back to the default language (English).
model_info_view google.cloud.discoveryengine_v1.types.ModelInfoView
Optional. Selects which view of WidgetConfig.UiSettings.ModelConfigInfo the backend computes. ADMIN is set by the Cloud Console admin "Feature Management" page to receive the admin-surfaced model set with ResolvedModel.admin_view populated; END_USER_MOBILE is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / END_USER_WEB returns the end-user web selector.

Classes

GetWidgetConfigRequestOption

GetWidgetConfigRequestOption(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Options for GetWidgetConfigRequest.