public sealed class WidgetConfig.Types.UiSettings.Types.ModelConfigInfo : IMessage<WidgetConfig.Types.UiSettings.Types.ModelConfigInfo>, IEquatable<WidgetConfig.Types.UiSettings.Types.ModelConfigInfo>, IDeepCloneable<WidgetConfig.Types.UiSettings.Types.ModelConfigInfo>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1 API class WidgetConfig.Types.UiSettings.Types.ModelConfigInfo.
The resolved, server-side view of model selector configuration for the
end-user. The backend computes this per-request by applying, in order:
Mendel flag evaluation, regional availability rules based on the
engine's location, and admin-panel overrides from model_configs.
The backend is the single source of truth for this configuration;
clients should render resolved_models directly in the model selector
dropdown, in the order provided, without applying their own filtering,
ordering, or localization.
Implements
IMessageWidgetConfigTypesUiSettingsTypesModelConfigInfo, IEquatableWidgetConfigTypesUiSettingsTypesModelConfigInfo, IDeepCloneableWidgetConfigTypesUiSettingsTypesModelConfigInfo, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
ModelConfigInfo()
public ModelConfigInfo()ModelConfigInfo(ModelConfigInfo)
public ModelConfigInfo(WidgetConfig.Types.UiSettings.Types.ModelConfigInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
WidgetConfigTypesUiSettingsTypesModelConfigInfo |
Properties
AutoModelId
public string AutoModelId { get; set; }Output only. The model_id a client must send when the end-user picks
the "Auto" entry (the empty model_id).
Populated only for surfaces known to have no true "Auto" mode, where
leaving the model unset would fall back to a platform default rather
than a backend-chosen model. Empty on every other surface, where
"Auto" is resolved server-side, and when none of the surface's ranked
models is available. When set, it is always one of the non-empty
model_ids present in resolved_models.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DefaultModelId
public string DefaultModelId { get; set; }Output only. The model_id of the model that should be selected by
default in the model selector when the end-user has not made an
explicit choice. The value is always one of the model_ids present in
resolved_models.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ResolvedModels
public RepeatedField<WidgetConfig.Types.UiSettings.Types.ModelConfigInfo.Types.ResolvedModel> ResolvedModels { get; }Output only. The list of models that are available to the end-user in the model selector, in the order in which they should be displayed.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldWidgetConfigTypesUiSettingsTypesModelConfigInfoTypesResolvedModel |
|