Class ResolvedModel (0.20.6)

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

A single model that is resolved to be available to the end-user in the model selector, with all of its localized display metadata.

Attributes

Name Description
model_id str
Output only. Unique identifier of the model (e.g. gemini-2.5-flash, gemini-3.1-pro-preview). This is the same identifier that clients pass back to the assistant service to select this model. Virtual / "pseudo" models (e.g. gemini-fast) are also valid values here; they are resolved to the underlying concrete model on the backend.
display_name str
Output only. Localized display name of the model (e.g. Gemini 3.1 Pro). Localized server-side based on the LookupWidgetConfigRequest.language_code and LookupWidgetConfigRequest.region_code of the request.
icon str
Output only. GM3-compatible icon token associated with the model (e.g. rocket_launch, bolt, graph_5).
description str
Output only. Localized description text (e.g. State-of-the-art reasoning). Localized using the same locale as display_name.
is_preview bool
Output only. Whether the model is currently in preview. Clients should surface this via a "Preview" badge in the selector UI.
label str
Output only. Short label shown in the compact selector bar chip (e.g. 3.x Flash) as opposed to the full display_name (Gemini 3.x Flash). Falls back to display_name when the backend registry does not specify a distinct short label.
admin_view google.cloud.discoveryengine_v1.types.WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView
Output only. Admin-surface metadata; populated only for the Console admin Feature Control page (see AdminView). Unset for end-user surfaces.
promoted bool
Output only. Whether this model should be promoted in the GE chat homepage banner.
icon_url str
Output only. Absolute URL of a brand mark to render instead of icon, for models whose vendor logo is not a GM3 glyph. icon stays populated as the fallback, so a client that does not render images, or that fails to fetch this one, shows the glyph instead of nothing.
family str
Output only. Groups models that render together in the selector. Models sharing a value form one group; empty means the model belongs to no group. Compared for equality only -- never parsed, and never shown to a user, so it is not localized.

Classes

AdminView

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

Admin-surface metadata. Populated only when the request originates from the Cloud Console admin "Feature Control" page; left unset for end-user surfaces (Web, Mobile). Lets the admin page render its toggle table directly from the backend instead of a hardcoded client-side registry.