@maxim_mazurok/gapi.client.discoveryengine-v1 0.3.20260712 → 0.3.20260724
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +57 -10
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260724
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1686,7 +1686,7 @@ declare namespace gapi.client {
|
|
|
1686
1686
|
createTime?: string;
|
|
1687
1687
|
/** Optional. Specifies the data protection policy for the connector. */
|
|
1688
1688
|
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy;
|
|
1689
|
-
/** Required. The identifier for the data source.
|
|
1689
|
+
/** Required. The identifier for the data source. For the full, up-to-date list of supported connectors and their values, see [Connect a third-party data source](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/connect-third-party-data-source#sources-by-launch-stage). */
|
|
1690
1690
|
dataSource?: string;
|
|
1691
1691
|
/** Optional. Any target destinations used to connect to third-party services. */
|
|
1692
1692
|
destinationConfigs?: GoogleCloudDiscoveryengineV1alphaDestinationConfig[];
|
|
@@ -1720,6 +1720,8 @@ declare namespace gapi.client {
|
|
|
1720
1720
|
lastSyncTime?: string;
|
|
1721
1721
|
/** Output only. The most recent timestamp when this DataConnector was paused, affecting all functionalities such as data synchronization. Pausing a connector has the following effects: - All functionalities, including data synchronization, are halted. - Any ongoing data synchronization job will be canceled. - No future data synchronization runs will be scheduled nor can be triggered. */
|
|
1722
1722
|
latestPauseTime?: string;
|
|
1723
|
+
/** Optional. User-facing metadata for the connector. Populated from the connector's generated metadata / registry `ConnectorSource`. */
|
|
1724
|
+
metadata?: GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata;
|
|
1723
1725
|
/** Identifier. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`. */
|
|
1724
1726
|
name?: string;
|
|
1725
1727
|
/** Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity. */
|
|
@@ -1762,11 +1764,27 @@ declare namespace gapi.client {
|
|
|
1762
1764
|
staticIpEnabled?: boolean;
|
|
1763
1765
|
/** The data synchronization mode supported by the data connector. */
|
|
1764
1766
|
syncMode?: 'PERIODIC' | 'STREAMING' | 'UNSPECIFIED';
|
|
1767
|
+
/** Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time. Optional at Create time. Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill. */
|
|
1768
|
+
tag?: string;
|
|
1765
1769
|
/** Output only. Timestamp the DataConnector was last updated. */
|
|
1766
1770
|
updateTime?: string;
|
|
1767
1771
|
/** Output only. Whether the connector is created with VPC-SC enabled. */
|
|
1768
1772
|
vpcscEnabled?: boolean;
|
|
1769
1773
|
}
|
|
1774
|
+
interface GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata {
|
|
1775
|
+
/** Optional. The end user's account as authenticated to the connector, so the end user can see which account is connected. May be an email, a username, or any identifier the connector/third party provides. */
|
|
1776
|
+
authenticatedAccount?: string;
|
|
1777
|
+
/** Optional. The party that authored the connector, e.g. "Google" or a third-party provider name. Lets end users see who authored a connector (future: third-party-authored connectors). */
|
|
1778
|
+
author?: string;
|
|
1779
|
+
/** Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description. */
|
|
1780
|
+
description?: string;
|
|
1781
|
+
/** Optional. Free-form, multi-line note about the connector's capabilities or a custom note that can be set for the connector. */
|
|
1782
|
+
note?: string;
|
|
1783
|
+
/** Optional. Short, subtitle-length description of the connector (e.g. shown beneath the connector name in list and detail views). */
|
|
1784
|
+
shortDescription?: string;
|
|
1785
|
+
/** Optional. Display title of the connector. */
|
|
1786
|
+
title?: string;
|
|
1787
|
+
}
|
|
1770
1788
|
interface GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig {
|
|
1771
1789
|
/** Optional. Any additional parameters needed for EUA. */
|
|
1772
1790
|
additionalParams?: {[P in string]: any};
|
|
@@ -2172,7 +2190,7 @@ declare namespace gapi.client {
|
|
|
2172
2190
|
disableAnalytics?: boolean;
|
|
2173
2191
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
2174
2192
|
displayName?: string;
|
|
2175
|
-
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence`
|
|
2193
|
+
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
|
|
2176
2194
|
features?: {
|
|
2177
2195
|
[P in string]:
|
|
2178
2196
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -3643,7 +3661,7 @@ declare namespace gapi.client {
|
|
|
3643
3661
|
userId?: string;
|
|
3644
3662
|
}
|
|
3645
3663
|
interface GoogleCloudDiscoveryengineV1alphaUserInfoPreciseLocation {
|
|
3646
|
-
/**
|
|
3664
|
+
/** Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon. */
|
|
3647
3665
|
address?: string;
|
|
3648
3666
|
/** Optional. Location represented by a latitude/longitude point. */
|
|
3649
3667
|
point?: GoogleTypeLatLng;
|
|
@@ -4939,7 +4957,7 @@ declare namespace gapi.client {
|
|
|
4939
4957
|
disableAnalytics?: boolean;
|
|
4940
4958
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
4941
4959
|
displayName?: string;
|
|
4942
|
-
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence`
|
|
4960
|
+
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
|
|
4943
4961
|
features?: {
|
|
4944
4962
|
[P in string]:
|
|
4945
4963
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -5992,7 +6010,7 @@ declare namespace gapi.client {
|
|
|
5992
6010
|
userId?: string;
|
|
5993
6011
|
}
|
|
5994
6012
|
interface GoogleCloudDiscoveryengineV1betaUserInfoPreciseLocation {
|
|
5995
|
-
/**
|
|
6013
|
+
/** Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon. */
|
|
5996
6014
|
address?: string;
|
|
5997
6015
|
/** Optional. Location represented by a latitude/longitude point. */
|
|
5998
6016
|
point?: GoogleTypeLatLng;
|
|
@@ -6621,7 +6639,7 @@ declare namespace gapi.client {
|
|
|
6621
6639
|
createEuaSaas?: boolean;
|
|
6622
6640
|
/** Output only. Timestamp the DataConnector was created at. */
|
|
6623
6641
|
createTime?: string;
|
|
6624
|
-
/** Required. The identifier for the data source.
|
|
6642
|
+
/** Required. The identifier for the data source. For the full, up-to-date list of supported connectors and their values, see [Connect a third-party data source](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/connect-third-party-data-source#sources-by-launch-stage). */
|
|
6625
6643
|
dataSource?: string;
|
|
6626
6644
|
/** Optional. Any target destinations used to connect to third-party services. */
|
|
6627
6645
|
destinationConfigs?: GoogleCloudDiscoveryengineV1DestinationConfig[];
|
|
@@ -6655,6 +6673,8 @@ declare namespace gapi.client {
|
|
|
6655
6673
|
lastSyncTime?: string;
|
|
6656
6674
|
/** Output only. The most recent timestamp when this DataConnector was paused, affecting all functionalities such as data synchronization. Pausing a connector has the following effects: - All functionalities, including data synchronization, are halted. - Any ongoing data synchronization job will be canceled. - No future data synchronization runs will be scheduled nor can be triggered. */
|
|
6657
6675
|
latestPauseTime?: string;
|
|
6676
|
+
/** Optional. User-facing metadata for the connector. Populated from the connector's generated metadata / registry `ConnectorSource`. */
|
|
6677
|
+
metadata?: GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata;
|
|
6658
6678
|
/** Identifier. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`. */
|
|
6659
6679
|
name?: string;
|
|
6660
6680
|
/** Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity. */
|
|
@@ -6697,11 +6717,27 @@ declare namespace gapi.client {
|
|
|
6697
6717
|
staticIpEnabled?: boolean;
|
|
6698
6718
|
/** The data synchronization mode supported by the data connector. */
|
|
6699
6719
|
syncMode?: 'PERIODIC' | 'STREAMING' | 'UNSPECIFIED';
|
|
6720
|
+
/** Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time. Optional at Create time. Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill. */
|
|
6721
|
+
tag?: string;
|
|
6700
6722
|
/** Output only. Timestamp the DataConnector was last updated. */
|
|
6701
6723
|
updateTime?: string;
|
|
6702
6724
|
/** Output only. Whether the connector is created with VPC-SC enabled. */
|
|
6703
6725
|
vpcscEnabled?: boolean;
|
|
6704
6726
|
}
|
|
6727
|
+
interface GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata {
|
|
6728
|
+
/** Optional. The end user's account as authenticated to the connector, so the end user can see which account is connected. May be an email, a username, or any identifier the connector/third party provides. */
|
|
6729
|
+
authenticatedAccount?: string;
|
|
6730
|
+
/** Optional. The party that authored the connector, e.g. "Google" or a third-party provider name. Lets end users see who authored a connector (future: third-party-authored connectors). */
|
|
6731
|
+
author?: string;
|
|
6732
|
+
/** Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description. */
|
|
6733
|
+
description?: string;
|
|
6734
|
+
/** Optional. Free-form, multi-line note about the connector's capabilities or a custom note that can be set for the connector. */
|
|
6735
|
+
note?: string;
|
|
6736
|
+
/** Optional. Short, subtitle-length description of the connector (e.g. shown beneath the connector name in list and detail views). */
|
|
6737
|
+
shortDescription?: string;
|
|
6738
|
+
/** Optional. Display title of the connector. */
|
|
6739
|
+
title?: string;
|
|
6740
|
+
}
|
|
6705
6741
|
interface GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig {
|
|
6706
6742
|
/** Optional. Any additional parameters needed for EUA. */
|
|
6707
6743
|
additionalParams?: {[P in string]: any};
|
|
@@ -7145,7 +7181,7 @@ declare namespace gapi.client {
|
|
|
7145
7181
|
disableAnalytics?: boolean;
|
|
7146
7182
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
7147
7183
|
displayName?: string;
|
|
7148
|
-
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence`
|
|
7184
|
+
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
|
|
7149
7185
|
features?: {
|
|
7150
7186
|
[P in string]:
|
|
7151
7187
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -9094,7 +9130,7 @@ declare namespace gapi.client {
|
|
|
9094
9130
|
userId?: string;
|
|
9095
9131
|
}
|
|
9096
9132
|
interface GoogleCloudDiscoveryengineV1UserInfoPreciseLocation {
|
|
9097
|
-
/**
|
|
9133
|
+
/** Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon. */
|
|
9098
9134
|
address?: string;
|
|
9099
9135
|
/** Optional. Location represented by a latitude/longitude point. */
|
|
9100
9136
|
point?: GoogleTypeLatLng;
|
|
@@ -9396,7 +9432,7 @@ declare namespace gapi.client {
|
|
|
9396
9432
|
enableSearchAsYouType?: boolean;
|
|
9397
9433
|
/** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
|
|
9398
9434
|
enableVisualContentSummary?: boolean;
|
|
9399
|
-
/** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence`
|
|
9435
|
+
/** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
|
|
9400
9436
|
features?: {
|
|
9401
9437
|
[P in string]:
|
|
9402
9438
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -9425,6 +9461,8 @@ declare namespace gapi.client {
|
|
|
9425
9461
|
/** Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified. */
|
|
9426
9462
|
resultDescriptionType?:
|
|
9427
9463
|
'RESULT_DISPLAY_TYPE_UNSPECIFIED' | 'SNIPPET' | 'EXTRACTIVE_ANSWER';
|
|
9464
|
+
/** Optional. Whether to show the admin-configured display name for data connectors in the widget sources UI (instead of the connector kind). Opt-in; defaults to false. */
|
|
9465
|
+
sourceAdminDisplayNameEnabled?: boolean;
|
|
9428
9466
|
}
|
|
9429
9467
|
interface GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsGenerativeAnswerConfig {
|
|
9430
9468
|
/** Whether generated answer contains suggested related questions. */
|
|
@@ -13474,6 +13512,9 @@ declare namespace gapi.client {
|
|
|
13474
13512
|
key?: string;
|
|
13475
13513
|
/** 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). */
|
|
13476
13514
|
languageCode?: string;
|
|
13515
|
+
/** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB` returns the end-user selector. The mobile surface is detected from the `X-Goog-Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`). */
|
|
13516
|
+
modelInfoView?:
|
|
13517
|
+
'MODEL_INFO_VIEW_UNSPECIFIED' | 'END_USER_WEB' | 'ADMIN';
|
|
13477
13518
|
/** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
|
|
13478
13519
|
name: string;
|
|
13479
13520
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -16086,6 +16127,9 @@ declare namespace gapi.client {
|
|
|
16086
16127
|
key?: string;
|
|
16087
16128
|
/** 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). */
|
|
16088
16129
|
languageCode?: string;
|
|
16130
|
+
/** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB` returns the end-user selector. The mobile surface is detected from the `X-Goog-Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`). */
|
|
16131
|
+
modelInfoView?:
|
|
16132
|
+
'MODEL_INFO_VIEW_UNSPECIFIED' | 'END_USER_WEB' | 'ADMIN';
|
|
16089
16133
|
/** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
|
|
16090
16134
|
name: string;
|
|
16091
16135
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -19773,6 +19817,9 @@ declare namespace gapi.client {
|
|
|
19773
19817
|
key?: string;
|
|
19774
19818
|
/** 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). */
|
|
19775
19819
|
languageCode?: string;
|
|
19820
|
+
/** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB` returns the end-user selector. The mobile surface is detected from the `X-Goog-Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`). */
|
|
19821
|
+
modelInfoView?:
|
|
19822
|
+
'MODEL_INFO_VIEW_UNSPECIFIED' | 'END_USER_WEB' | 'ADMIN';
|
|
19776
19823
|
/** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
|
|
19777
19824
|
name: string;
|
|
19778
19825
|
/** OAuth 2.0 token for the current user. */
|