Google Cloud Discovery Engine V1 Client - Class ModelInfoView (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ModelInfoView.

Selects which "view" of the model selector configuration the backend computes for WidgetConfig.UiSettings.ModelConfigInfo.

The end-user views (END_USER_WEB, END_USER_MOBILE) return the user-facing model selector for their respective surface; the ADMIN view returns the set surfaced on the Cloud Console admin "Feature Control" page, with ModelConfigInfo.ResolvedModel.admin_view populated on each entry.

Protobuf type google.cloud.discoveryengine.v1.ModelInfoView

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

MODEL_INFO_VIEW_UNSPECIFIED

Value: 0

Not specified.

Generated from protobuf enum MODEL_INFO_VIEW_UNSPECIFIED = 0;

END_USER_WEB

Value: 1

The end-user web model selector view.

Generated from protobuf enum END_USER_WEB = 1;

ADMIN

Value: 2

The Cloud Console admin "Feature Control" view that displays model toggles.

Returns admin-surfaced models with ResolvedModel.admin_view populated.

Generated from protobuf enum ADMIN = 2;

END_USER_MOBILE

Value: 3

The end-user model selector view for the Gemini Enterprise mobile app.

Returns only mobile-surfaced models, with the mobile default selected. Set explicitly by the mobile client.

Generated from protobuf enum END_USER_MOBILE = 3;