Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelConfigInfo::ResolvedModel.
A single model that is resolved to be available to the end-user in the model selector, with all of its localized display metadata.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#admin_view
def admin_view() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelConfigInfo::ResolvedModel::AdminView-
(::Google::Cloud::DiscoveryEngine::V1::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.
#description
def description() -> ::String-
(::String) — Output only. Localized description text (e.g.
State-of-the-art reasoning). Localized using the same locale asdisplay_name.
#display_name
def display_name() -> ::String-
(::String) — Output only. Localized display name of the model (e.g.
Gemini 3.1 Pro). Localized server-side based on the [LookupWidgetConfigRequest.language_code][google.cloud.discoveryengine.v1.LookupWidgetConfigRequest.language_code] and [LookupWidgetConfigRequest.region_code][google.cloud.discoveryengine.v1.LookupWidgetConfigRequest.region_code] of the request.
#family
def family() -> ::String-
(::String) — 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.
#icon
def icon() -> ::String-
(::String) — Output only. GM3-compatible icon token associated with the model
(e.g.
rocket_launch,bolt,graph_5).
#icon_url
def icon_url() -> ::String-
(::String) — Output only. Absolute URL of a brand mark to render instead of
icon, for models whose vendor logo is not a GM3 glyph.iconstays 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.
#is_preview
def is_preview() -> ::Boolean- (::Boolean) — Output only. Whether the model is currently in preview. Clients should surface this via a "Preview" badge in the selector UI.
#label
def label() -> ::String-
(::String) — Output only. Short label shown in the compact selector bar chip (e.g.
3.x Flash) as opposed to the fulldisplay_name(Gemini 3.x Flash). Falls back todisplay_namewhen the backend registry does not specify a distinct short label.
#model_id
def model_id() -> ::String-
(::String) — 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.
#promoted
def promoted() -> ::Boolean- (::Boolean) — Output only. Whether this model should be promoted in the GE chat homepage banner.