@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.2.20260531 → 0.2.20260614
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 +400 -14
- 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=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260614
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -249,6 +249,8 @@ declare namespace gapi.client {
|
|
|
249
249
|
name?: string;
|
|
250
250
|
}
|
|
251
251
|
interface GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest {
|
|
252
|
+
/** Optional. The tool/action name being executed. If provided, the server will check the required scopes of the action and dynamically trigger incremental authorization if they are missing. */
|
|
253
|
+
action?: string;
|
|
252
254
|
/** Optional. The scope to request for the access token. Scope will override default scope if specified. */
|
|
253
255
|
scope?: string;
|
|
254
256
|
}
|
|
@@ -1152,6 +1154,8 @@ declare namespace gapi.client {
|
|
|
1152
1154
|
interface GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy {
|
|
1153
1155
|
/** Optional. List of banned phrases. */
|
|
1154
1156
|
bannedPhrases?: GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase[];
|
|
1157
|
+
/** Optional. Data protection policy to be used for sanitizing file uploads. */
|
|
1158
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy;
|
|
1155
1159
|
/** Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses. */
|
|
1156
1160
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyModelArmorConfig;
|
|
1157
1161
|
}
|
|
@@ -1502,7 +1506,8 @@ declare namespace gapi.client {
|
|
|
1502
1506
|
| 'SUBSCRIPTION_TIER_EDU_PRO'
|
|
1503
1507
|
| 'SUBSCRIPTION_TIER_EDU_EMERGING'
|
|
1504
1508
|
| 'SUBSCRIPTION_TIER_EDU_PRO_EMERGING'
|
|
1505
|
-
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
1509
|
+
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
1510
|
+
| 'SUBSCRIPTION_TIER_CONSUMPTION_ONLY';
|
|
1506
1511
|
}
|
|
1507
1512
|
interface GoogleCloudDiscoveryengineV1alphaBranch {
|
|
1508
1513
|
/** Output only. Statistics describing a branch. This field is not populated in BranchView.BRANCH_VIEW_BASIC view. */
|
|
@@ -1788,6 +1793,28 @@ declare namespace gapi.client {
|
|
|
1788
1793
|
/** The suggestion for the query. */
|
|
1789
1794
|
suggestion?: string;
|
|
1790
1795
|
}
|
|
1796
|
+
interface GoogleCloudDiscoveryengineV1alphaCompletionConfig {
|
|
1797
|
+
/** The enable mode of autocomplete generation pipelines. If this field is unset, the server behavior defaults to CompletionConfig.EnableMode.AUTOMATIC. Applies to DataStore only. Ignored for Engine. */
|
|
1798
|
+
enableMode?: 'ENABLE_MODE_UNSPECIFIED' | 'AUTOMATIC' | 'MANUAL';
|
|
1799
|
+
/** If true, with best effort, try to detect and remove the suggestions containing certain types of PII information. This detection is performated by [DLP](https://cloud.google.com/security/products/dlp) under the hood. */
|
|
1800
|
+
filterPiiSuggestionsUsingDlp?: boolean;
|
|
1801
|
+
/** The matching order for autocomplete suggestions, e.g., a query consisting of `sh` with `out-of-order` specified would suggest `women's shoes`, whereas a query of `red s` with `exact-prefix` specified would suggest `red shoes`. Currently supported values: * `out-of-order` * `exact-prefix` Default value: `exact-prefix`. */
|
|
1802
|
+
matchingOrder?: string;
|
|
1803
|
+
/** The maximum number of autocomplete suggestions returned per term. max_suggestions must lie within the range of [1, 20]. If not set or set to 0, it will be set to the default of 20 suggestions. */
|
|
1804
|
+
maxSuggestions?: number;
|
|
1805
|
+
/** The minimum number of characters needed to be typed in order to get suggestions. min_prefix_length must lie within the range of [1, 20]. If not set or set to 0, it will be set to the default of 1 character. */
|
|
1806
|
+
minPrefixLength?: number;
|
|
1807
|
+
/** Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` */
|
|
1808
|
+
name?: string;
|
|
1809
|
+
/** This field is only meaningful for suggestions generated from user events or search history, which may have user ids attached. If the number of unique users that have searched a query is less than this threshold, the query will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 3 used in the generation pipeline. */
|
|
1810
|
+
numUniqueUsersThreshold?: number;
|
|
1811
|
+
/** This field is only meaningful for suggestions generated from user events or search history. If a query shows up less than this threshold, it may indicate that the query is rarely searched and thus will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 8 used in the generation pipeline. */
|
|
1812
|
+
queryFrequencyThreshold?: number;
|
|
1813
|
+
/** The data model of query suggestions for serving. Currently supported values: * `automatic` - autocomplete backend automatic selects or mixes suggestions from different models. * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. If query model is empty, the serving applies the "automatic" model by default. */
|
|
1814
|
+
queryModel?: string;
|
|
1815
|
+
/** Whether to generate and serve content suggestions. This allows for content suggestions to be served in addition to query suggestions. */
|
|
1816
|
+
shouldServeContentSuggestions?: boolean;
|
|
1817
|
+
}
|
|
1791
1818
|
interface GoogleCloudDiscoveryengineV1alphaCompletionInfo {
|
|
1792
1819
|
/** End user selected CompleteQueryResponse.QuerySuggestion.suggestion position, starting from 0. */
|
|
1793
1820
|
selectedPosition?: number;
|
|
@@ -2187,7 +2214,8 @@ declare namespace gapi.client {
|
|
|
2187
2214
|
| 'GCNV'
|
|
2188
2215
|
| 'GOOGLE_CHAT'
|
|
2189
2216
|
| 'GOOGLE_SITES'
|
|
2190
|
-
| 'REMOTE_MCP'
|
|
2217
|
+
| 'REMOTE_MCP'
|
|
2218
|
+
| 'GOOGLE_WORKSPACE';
|
|
2191
2219
|
/** Optional. Whether the END USER AUTHENTICATION connector is created in SaaS. */
|
|
2192
2220
|
createEuaSaas?: boolean;
|
|
2193
2221
|
/** Output only. Timestamp the DataConnector was created at. */
|
|
@@ -2764,7 +2792,7 @@ declare namespace gapi.client {
|
|
|
2764
2792
|
disableAnalytics?: boolean;
|
|
2765
2793
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
2766
2794
|
displayName?: string;
|
|
2767
|
-
/** 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` * `
|
|
2795
|
+
/** 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` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
|
|
2768
2796
|
features?: {
|
|
2769
2797
|
[P in string]:
|
|
2770
2798
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -2930,7 +2958,8 @@ declare namespace gapi.client {
|
|
|
2930
2958
|
| 'SUBSCRIPTION_TIER_EDU_PRO'
|
|
2931
2959
|
| 'SUBSCRIPTION_TIER_EDU_EMERGING'
|
|
2932
2960
|
| 'SUBSCRIPTION_TIER_EDU_PRO_EMERGING'
|
|
2933
|
-
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
2961
|
+
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
2962
|
+
| 'SUBSCRIPTION_TIER_CONSUMPTION_ONLY';
|
|
2934
2963
|
/** The add-on that this search engine enables. */
|
|
2935
2964
|
searchAddOns?: 'SEARCH_ADD_ON_UNSPECIFIED' | 'SEARCH_ADD_ON_LLM'[];
|
|
2936
2965
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
@@ -3645,7 +3674,8 @@ declare namespace gapi.client {
|
|
|
3645
3674
|
| 'SUBSCRIPTION_TIER_EDU_PRO'
|
|
3646
3675
|
| 'SUBSCRIPTION_TIER_EDU_EMERGING'
|
|
3647
3676
|
| 'SUBSCRIPTION_TIER_EDU_PRO_EMERGING'
|
|
3648
|
-
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
3677
|
+
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
3678
|
+
| 'SUBSCRIPTION_TIER_CONSUMPTION_ONLY';
|
|
3649
3679
|
}
|
|
3650
3680
|
interface GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats {
|
|
3651
3681
|
/** Required. The LicenseConfig name. */
|
|
@@ -3950,6 +3980,8 @@ declare namespace gapi.client {
|
|
|
3950
3980
|
};
|
|
3951
3981
|
}
|
|
3952
3982
|
interface GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus {
|
|
3983
|
+
/** Output only. Per-model Agent Search TPM subscription status. */
|
|
3984
|
+
agentSearchTokenSubscriptionStatuses?: GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus[];
|
|
3953
3985
|
/** Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations. */
|
|
3954
3986
|
effectiveIndexingCoreThreshold?: string;
|
|
3955
3987
|
/** Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations. */
|
|
@@ -3970,6 +4002,25 @@ declare namespace gapi.client {
|
|
|
3970
4002
|
| 'SCALE_UP'
|
|
3971
4003
|
| 'SCALE_DOWN';
|
|
3972
4004
|
}
|
|
4005
|
+
interface GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus {
|
|
4006
|
+
/** Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale-down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. */
|
|
4007
|
+
effectiveTpmThreshold?: string;
|
|
4008
|
+
/** Output only. The Gemini model version this status corresponds to. Matches CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from the Gemini Enterprise Agent Platform model-versions registry; see https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini-models). */
|
|
4009
|
+
modelVersion?: string;
|
|
4010
|
+
/** Output only. When this (project, model_version) Agent Search TPM subscription was first activated. Set once on first activation of this model version and never moved by subsequent threshold updates; on termination + re-activation a new value is recorded. Does NOT move the whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to represent the first activation of the overall customer-configurable-pricing relationship. */
|
|
4011
|
+
startTime?: string;
|
|
4012
|
+
/** Output only. If set, the scheduled effective time at which this (project, model_version) Agent Search TPM subscription will terminate. Populated when the customer removes this entry from `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the entire customer-configurable-pricing relationship is being torn down. */
|
|
4013
|
+
terminateTime?: string;
|
|
4014
|
+
/** Output only. The earliest next update time for the TPM subscription threshold for this (project, model_version). Populated only after a successful update. */
|
|
4015
|
+
tpmThresholdNextUpdateTime?: string;
|
|
4016
|
+
/** Output only. The type of the most recent update to this (project, model_version) subscription, as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` reflects an earlier update). The whole-relationship `update_type` on the enclosing ConfigurableBillingStatus continues to summarize the direction of the most recent update across all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). */
|
|
4017
|
+
updateType?:
|
|
4018
|
+
| 'UPDATE_TYPE_UNSPECIFIED'
|
|
4019
|
+
| 'CREATE'
|
|
4020
|
+
| 'DELETE'
|
|
4021
|
+
| 'SCALE_UP'
|
|
4022
|
+
| 'SCALE_DOWN';
|
|
4023
|
+
}
|
|
3973
4024
|
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig {
|
|
3974
4025
|
/** Optional. Configuration for NotebookLM settings. */
|
|
3975
4026
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig;
|
|
@@ -5877,6 +5928,8 @@ declare namespace gapi.client {
|
|
|
5877
5928
|
| 'WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH';
|
|
5878
5929
|
}
|
|
5879
5930
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent {
|
|
5931
|
+
/** Output only. The auth uri of the connector source. */
|
|
5932
|
+
connectorAuthState?: GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState;
|
|
5880
5933
|
/** Output only. The icon link of the connector source. */
|
|
5881
5934
|
connectorIconLink?: string;
|
|
5882
5935
|
/** The name of the data source, retrieved from `Collection.data_connector.data_source`. */
|
|
@@ -5892,6 +5945,19 @@ declare namespace gapi.client {
|
|
|
5892
5945
|
/** The name of the collection. It should be collection resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}`. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field. */
|
|
5893
5946
|
name?: string;
|
|
5894
5947
|
}
|
|
5948
|
+
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState {
|
|
5949
|
+
/** Output only. The authorization uri for the data connector. */
|
|
5950
|
+
authorizationUri?: string;
|
|
5951
|
+
/** Output only. The authorization state of the data connector. */
|
|
5952
|
+
authState?:
|
|
5953
|
+
| 'AUTH_STATE_UNSPECIFIED'
|
|
5954
|
+
| 'AUTHORIZED'
|
|
5955
|
+
| 'EXPIRED'
|
|
5956
|
+
| 'ACTIONS_DISABLED'
|
|
5957
|
+
| 'NO_AUTH';
|
|
5958
|
+
/** Output only. The authorization state update timestamp. */
|
|
5959
|
+
updateTime?: string;
|
|
5960
|
+
}
|
|
5895
5961
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigCustomerProvidedConfig {
|
|
5896
5962
|
/** Customer type. */
|
|
5897
5963
|
customerType?: 'DEFAULT_CUSTOMER' | 'GOVERNMENT_CUSTOMER';
|
|
@@ -6014,7 +6080,7 @@ declare namespace gapi.client {
|
|
|
6014
6080
|
enableSearchAsYouType?: boolean;
|
|
6015
6081
|
/** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
|
|
6016
6082
|
enableVisualContentSummary?: boolean;
|
|
6017
|
-
/** 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` * `
|
|
6083
|
+
/** 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` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
|
|
6018
6084
|
features?: {
|
|
6019
6085
|
[P in string]:
|
|
6020
6086
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -6755,7 +6821,7 @@ declare namespace gapi.client {
|
|
|
6755
6821
|
disableAnalytics?: boolean;
|
|
6756
6822
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
6757
6823
|
displayName?: string;
|
|
6758
|
-
/** 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` * `
|
|
6824
|
+
/** 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` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
|
|
6759
6825
|
features?: {
|
|
6760
6826
|
[P in string]:
|
|
6761
6827
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -6901,7 +6967,8 @@ declare namespace gapi.client {
|
|
|
6901
6967
|
| 'SUBSCRIPTION_TIER_EDU_PRO'
|
|
6902
6968
|
| 'SUBSCRIPTION_TIER_EDU_EMERGING'
|
|
6903
6969
|
| 'SUBSCRIPTION_TIER_EDU_PRO_EMERGING'
|
|
6904
|
-
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
6970
|
+
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
6971
|
+
| 'SUBSCRIPTION_TIER_CONSUMPTION_ONLY';
|
|
6905
6972
|
/** The add-on that this search engine enables. */
|
|
6906
6973
|
searchAddOns?: 'SEARCH_ADD_ON_UNSPECIFIED' | 'SEARCH_ADD_ON_LLM'[];
|
|
6907
6974
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
@@ -7132,7 +7199,8 @@ declare namespace gapi.client {
|
|
|
7132
7199
|
| 'SUBSCRIPTION_TIER_EDU_PRO'
|
|
7133
7200
|
| 'SUBSCRIPTION_TIER_EDU_EMERGING'
|
|
7134
7201
|
| 'SUBSCRIPTION_TIER_EDU_PRO_EMERGING'
|
|
7135
|
-
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
7202
|
+
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
7203
|
+
| 'SUBSCRIPTION_TIER_CONSUMPTION_ONLY';
|
|
7136
7204
|
}
|
|
7137
7205
|
interface GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig {
|
|
7138
7206
|
/** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
|
|
@@ -7177,6 +7245,8 @@ declare namespace gapi.client {
|
|
|
7177
7245
|
};
|
|
7178
7246
|
}
|
|
7179
7247
|
interface GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus {
|
|
7248
|
+
/** Output only. Per-model Agent Search TPM subscription status. */
|
|
7249
|
+
agentSearchTokenSubscriptionStatuses?: GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus[];
|
|
7180
7250
|
/** Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations. */
|
|
7181
7251
|
effectiveIndexingCoreThreshold?: string;
|
|
7182
7252
|
/** Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations. */
|
|
@@ -7197,6 +7267,25 @@ declare namespace gapi.client {
|
|
|
7197
7267
|
| 'SCALE_UP'
|
|
7198
7268
|
| 'SCALE_DOWN';
|
|
7199
7269
|
}
|
|
7270
|
+
interface GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus {
|
|
7271
|
+
/** Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale-down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. */
|
|
7272
|
+
effectiveTpmThreshold?: string;
|
|
7273
|
+
/** Output only. The Gemini model version this status corresponds to. Matches CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from the Gemini Enterprise Agent Platform model-versions registry; see https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini-models). */
|
|
7274
|
+
modelVersion?: string;
|
|
7275
|
+
/** Output only. When this (project, model_version) Agent Search TPM subscription was first activated. Set once on first activation of this model version and never moved by subsequent threshold updates; on termination + re-activation a new value is recorded. Does NOT move the whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to represent the first activation of the overall customer-configurable-pricing relationship. */
|
|
7276
|
+
startTime?: string;
|
|
7277
|
+
/** Output only. If set, the scheduled effective time at which this (project, model_version) Agent Search TPM subscription will terminate. Populated when the customer removes this entry from `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the entire customer-configurable-pricing relationship is being torn down. */
|
|
7278
|
+
terminateTime?: string;
|
|
7279
|
+
/** Output only. The earliest next update time for the TPM subscription threshold for this (project, model_version). Populated only after a successful update. */
|
|
7280
|
+
tpmThresholdNextUpdateTime?: string;
|
|
7281
|
+
/** Output only. The type of the most recent update to this (project, model_version) subscription, as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` reflects an earlier update). The whole-relationship `update_type` on the enclosing ConfigurableBillingStatus continues to summarize the direction of the most recent update across all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). */
|
|
7282
|
+
updateType?:
|
|
7283
|
+
| 'UPDATE_TYPE_UNSPECIFIED'
|
|
7284
|
+
| 'CREATE'
|
|
7285
|
+
| 'DELETE'
|
|
7286
|
+
| 'SCALE_UP'
|
|
7287
|
+
| 'SCALE_DOWN';
|
|
7288
|
+
}
|
|
7200
7289
|
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig {
|
|
7201
7290
|
/** Optional. Configuration for NotebookLM settings. */
|
|
7202
7291
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig;
|
|
@@ -8081,7 +8170,8 @@ declare namespace gapi.client {
|
|
|
8081
8170
|
| 'GCNV'
|
|
8082
8171
|
| 'GOOGLE_CHAT'
|
|
8083
8172
|
| 'GOOGLE_SITES'
|
|
8084
|
-
| 'REMOTE_MCP'
|
|
8173
|
+
| 'REMOTE_MCP'
|
|
8174
|
+
| 'GOOGLE_WORKSPACE';
|
|
8085
8175
|
/** Optional. Whether the END USER AUTHENTICATION connector is created in SaaS. */
|
|
8086
8176
|
createEuaSaas?: boolean;
|
|
8087
8177
|
/** Output only. Timestamp the DataConnector was created at. */
|
|
@@ -8518,7 +8608,7 @@ declare namespace gapi.client {
|
|
|
8518
8608
|
disableAnalytics?: boolean;
|
|
8519
8609
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
8520
8610
|
displayName?: string;
|
|
8521
|
-
/** 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` * `
|
|
8611
|
+
/** 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` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
|
|
8522
8612
|
features?: {
|
|
8523
8613
|
[P in string]:
|
|
8524
8614
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -8664,7 +8754,8 @@ declare namespace gapi.client {
|
|
|
8664
8754
|
| 'SUBSCRIPTION_TIER_EDU_PRO'
|
|
8665
8755
|
| 'SUBSCRIPTION_TIER_EDU_EMERGING'
|
|
8666
8756
|
| 'SUBSCRIPTION_TIER_EDU_PRO_EMERGING'
|
|
8667
|
-
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
8757
|
+
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
8758
|
+
| 'SUBSCRIPTION_TIER_CONSUMPTION_ONLY';
|
|
8668
8759
|
/** The add-on that this search engine enables. */
|
|
8669
8760
|
searchAddOns?: 'SEARCH_ADD_ON_UNSPECIFIED' | 'SEARCH_ADD_ON_LLM'[];
|
|
8670
8761
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
@@ -8830,7 +8921,8 @@ declare namespace gapi.client {
|
|
|
8830
8921
|
| 'SUBSCRIPTION_TIER_EDU_PRO'
|
|
8831
8922
|
| 'SUBSCRIPTION_TIER_EDU_EMERGING'
|
|
8832
8923
|
| 'SUBSCRIPTION_TIER_EDU_PRO_EMERGING'
|
|
8833
|
-
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
8924
|
+
| 'SUBSCRIPTION_TIER_FRONTLINE_STARTER'
|
|
8925
|
+
| 'SUBSCRIPTION_TIER_CONSUMPTION_ONLY';
|
|
8834
8926
|
}
|
|
8835
8927
|
interface GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig {
|
|
8836
8928
|
/** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
|
|
@@ -8859,6 +8951,8 @@ declare namespace gapi.client {
|
|
|
8859
8951
|
};
|
|
8860
8952
|
}
|
|
8861
8953
|
interface GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus {
|
|
8954
|
+
/** Output only. Per-model Agent Search TPM subscription status. */
|
|
8955
|
+
agentSearchTokenSubscriptionStatuses?: GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus[];
|
|
8862
8956
|
/** Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations. */
|
|
8863
8957
|
effectiveIndexingCoreThreshold?: string;
|
|
8864
8958
|
/** Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations. */
|
|
@@ -8879,6 +8973,25 @@ declare namespace gapi.client {
|
|
|
8879
8973
|
| 'SCALE_UP'
|
|
8880
8974
|
| 'SCALE_DOWN';
|
|
8881
8975
|
}
|
|
8976
|
+
interface GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus {
|
|
8977
|
+
/** Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale-down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. */
|
|
8978
|
+
effectiveTpmThreshold?: string;
|
|
8979
|
+
/** Output only. The Gemini model version this status corresponds to. Matches CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from the Gemini Enterprise Agent Platform model-versions registry; see https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini-models). */
|
|
8980
|
+
modelVersion?: string;
|
|
8981
|
+
/** Output only. When this (project, model_version) Agent Search TPM subscription was first activated. Set once on first activation of this model version and never moved by subsequent threshold updates; on termination + re-activation a new value is recorded. Does NOT move the whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to represent the first activation of the overall customer-configurable-pricing relationship. */
|
|
8982
|
+
startTime?: string;
|
|
8983
|
+
/** Output only. If set, the scheduled effective time at which this (project, model_version) Agent Search TPM subscription will terminate. Populated when the customer removes this entry from `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the entire customer-configurable-pricing relationship is being torn down. */
|
|
8984
|
+
terminateTime?: string;
|
|
8985
|
+
/** Output only. The earliest next update time for the TPM subscription threshold for this (project, model_version). Populated only after a successful update. */
|
|
8986
|
+
tpmThresholdNextUpdateTime?: string;
|
|
8987
|
+
/** Output only. The type of the most recent update to this (project, model_version) subscription, as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` reflects an earlier update). The whole-relationship `update_type` on the enclosing ConfigurableBillingStatus continues to summarize the direction of the most recent update across all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). */
|
|
8988
|
+
updateType?:
|
|
8989
|
+
| 'UPDATE_TYPE_UNSPECIFIED'
|
|
8990
|
+
| 'CREATE'
|
|
8991
|
+
| 'DELETE'
|
|
8992
|
+
| 'SCALE_UP'
|
|
8993
|
+
| 'SCALE_DOWN';
|
|
8994
|
+
}
|
|
8882
8995
|
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig {
|
|
8883
8996
|
/** Optional. Configuration for NotebookLM settings. */
|
|
8884
8997
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig;
|
|
@@ -14259,6 +14372,8 @@ declare namespace gapi.client {
|
|
|
14259
14372
|
'getWidgetConfigRequestOption.turnOffCollectionComponents'?: boolean;
|
|
14260
14373
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
14261
14374
|
key?: string;
|
|
14375
|
+
/** 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). */
|
|
14376
|
+
languageCode?: string;
|
|
14262
14377
|
/** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
|
|
14263
14378
|
name: string;
|
|
14264
14379
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -14619,6 +14734,33 @@ declare namespace gapi.client {
|
|
|
14619
14734
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14620
14735
|
uploadType?: string;
|
|
14621
14736
|
}): Request<GoogleCloudDiscoveryengineV1alphaDataStore>;
|
|
14737
|
+
/** Gets a CompletionConfig */
|
|
14738
|
+
getCompletionConfig(request?: {
|
|
14739
|
+
/** V1 error format. */
|
|
14740
|
+
'$.xgafv'?: '1' | '2';
|
|
14741
|
+
/** OAuth access token. */
|
|
14742
|
+
access_token?: string;
|
|
14743
|
+
/** Data format for response. */
|
|
14744
|
+
alt?: 'json' | 'media' | 'proto';
|
|
14745
|
+
/** JSONP */
|
|
14746
|
+
callback?: string;
|
|
14747
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14748
|
+
fields?: string;
|
|
14749
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
14750
|
+
key?: string;
|
|
14751
|
+
/** Required. Full CompletionConfig resource name. Format: `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` */
|
|
14752
|
+
name: string;
|
|
14753
|
+
/** OAuth 2.0 token for the current user. */
|
|
14754
|
+
oauth_token?: string;
|
|
14755
|
+
/** Returns response with indentations and line breaks. */
|
|
14756
|
+
prettyPrint?: boolean;
|
|
14757
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
14758
|
+
quotaUser?: string;
|
|
14759
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14760
|
+
upload_protocol?: string;
|
|
14761
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14762
|
+
uploadType?: string;
|
|
14763
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
|
|
14622
14764
|
/** Gets a DocumentProcessingConfig. */
|
|
14623
14765
|
getDocumentProcessingConfig(request?: {
|
|
14624
14766
|
/** V1 error format. */
|
|
@@ -14942,6 +15084,68 @@ declare namespace gapi.client {
|
|
|
14942
15084
|
},
|
|
14943
15085
|
body: GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest,
|
|
14944
15086
|
): Request<GoogleLongrunningOperation>;
|
|
15087
|
+
/** Updates the CompletionConfigs. */
|
|
15088
|
+
updateCompletionConfig(request: {
|
|
15089
|
+
/** V1 error format. */
|
|
15090
|
+
'$.xgafv'?: '1' | '2';
|
|
15091
|
+
/** OAuth access token. */
|
|
15092
|
+
access_token?: string;
|
|
15093
|
+
/** Data format for response. */
|
|
15094
|
+
alt?: 'json' | 'media' | 'proto';
|
|
15095
|
+
/** JSONP */
|
|
15096
|
+
callback?: string;
|
|
15097
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15098
|
+
fields?: string;
|
|
15099
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15100
|
+
key?: string;
|
|
15101
|
+
/** Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` */
|
|
15102
|
+
name: string;
|
|
15103
|
+
/** OAuth 2.0 token for the current user. */
|
|
15104
|
+
oauth_token?: string;
|
|
15105
|
+
/** Returns response with indentations and line breaks. */
|
|
15106
|
+
prettyPrint?: boolean;
|
|
15107
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15108
|
+
quotaUser?: string;
|
|
15109
|
+
/** Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.query_model * CompletionConfig.enable_mode * CompletionConfig.query_frequency_threshold * CompletionConfig.num_unique_users_threshold * CompletionConfig.should_serve_content_suggestions * CompletionConfig.filter_pii_suggestions_using_dlp If not set, all supported fields are updated. */
|
|
15110
|
+
updateMask?: string;
|
|
15111
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15112
|
+
upload_protocol?: string;
|
|
15113
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15114
|
+
uploadType?: string;
|
|
15115
|
+
/** Request body */
|
|
15116
|
+
resource: GoogleCloudDiscoveryengineV1alphaCompletionConfig;
|
|
15117
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
|
|
15118
|
+
updateCompletionConfig(
|
|
15119
|
+
request: {
|
|
15120
|
+
/** V1 error format. */
|
|
15121
|
+
'$.xgafv'?: '1' | '2';
|
|
15122
|
+
/** OAuth access token. */
|
|
15123
|
+
access_token?: string;
|
|
15124
|
+
/** Data format for response. */
|
|
15125
|
+
alt?: 'json' | 'media' | 'proto';
|
|
15126
|
+
/** JSONP */
|
|
15127
|
+
callback?: string;
|
|
15128
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15129
|
+
fields?: string;
|
|
15130
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15131
|
+
key?: string;
|
|
15132
|
+
/** Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` */
|
|
15133
|
+
name: string;
|
|
15134
|
+
/** OAuth 2.0 token for the current user. */
|
|
15135
|
+
oauth_token?: string;
|
|
15136
|
+
/** Returns response with indentations and line breaks. */
|
|
15137
|
+
prettyPrint?: boolean;
|
|
15138
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15139
|
+
quotaUser?: string;
|
|
15140
|
+
/** Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.query_model * CompletionConfig.enable_mode * CompletionConfig.query_frequency_threshold * CompletionConfig.num_unique_users_threshold * CompletionConfig.should_serve_content_suggestions * CompletionConfig.filter_pii_suggestions_using_dlp If not set, all supported fields are updated. */
|
|
15141
|
+
updateMask?: string;
|
|
15142
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15143
|
+
upload_protocol?: string;
|
|
15144
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15145
|
+
uploadType?: string;
|
|
15146
|
+
},
|
|
15147
|
+
body: GoogleCloudDiscoveryengineV1alphaCompletionConfig,
|
|
15148
|
+
): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
|
|
14945
15149
|
/** Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig. */
|
|
14946
15150
|
updateDocumentProcessingConfig(request: {
|
|
14947
15151
|
/** V1 error format. */
|
|
@@ -17487,6 +17691,8 @@ declare namespace gapi.client {
|
|
|
17487
17691
|
'getWidgetConfigRequestOption.turnOffCollectionComponents'?: boolean;
|
|
17488
17692
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
17489
17693
|
key?: string;
|
|
17694
|
+
/** 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). */
|
|
17695
|
+
languageCode?: string;
|
|
17490
17696
|
/** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
|
|
17491
17697
|
name: string;
|
|
17492
17698
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -17680,6 +17886,33 @@ declare namespace gapi.client {
|
|
|
17680
17886
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17681
17887
|
uploadType?: string;
|
|
17682
17888
|
}): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
|
|
17889
|
+
/** Gets a CompletionConfig */
|
|
17890
|
+
getCompletionConfig(request?: {
|
|
17891
|
+
/** V1 error format. */
|
|
17892
|
+
'$.xgafv'?: '1' | '2';
|
|
17893
|
+
/** OAuth access token. */
|
|
17894
|
+
access_token?: string;
|
|
17895
|
+
/** Data format for response. */
|
|
17896
|
+
alt?: 'json' | 'media' | 'proto';
|
|
17897
|
+
/** JSONP */
|
|
17898
|
+
callback?: string;
|
|
17899
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
17900
|
+
fields?: string;
|
|
17901
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
17902
|
+
key?: string;
|
|
17903
|
+
/** Required. Full CompletionConfig resource name. Format: `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` */
|
|
17904
|
+
name: string;
|
|
17905
|
+
/** OAuth 2.0 token for the current user. */
|
|
17906
|
+
oauth_token?: string;
|
|
17907
|
+
/** Returns response with indentations and line breaks. */
|
|
17908
|
+
prettyPrint?: boolean;
|
|
17909
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
17910
|
+
quotaUser?: string;
|
|
17911
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17912
|
+
upload_protocol?: string;
|
|
17913
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17914
|
+
uploadType?: string;
|
|
17915
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
|
|
17683
17916
|
/** Gets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. */
|
|
17684
17917
|
getIamPolicy(request?: {
|
|
17685
17918
|
/** V1 error format. */
|
|
@@ -18035,6 +18268,68 @@ declare namespace gapi.client {
|
|
|
18035
18268
|
},
|
|
18036
18269
|
body: GoogleCloudDiscoveryengineV1alphaTuneEngineRequest,
|
|
18037
18270
|
): Request<GoogleLongrunningOperation>;
|
|
18271
|
+
/** Updates the CompletionConfigs. */
|
|
18272
|
+
updateCompletionConfig(request: {
|
|
18273
|
+
/** V1 error format. */
|
|
18274
|
+
'$.xgafv'?: '1' | '2';
|
|
18275
|
+
/** OAuth access token. */
|
|
18276
|
+
access_token?: string;
|
|
18277
|
+
/** Data format for response. */
|
|
18278
|
+
alt?: 'json' | 'media' | 'proto';
|
|
18279
|
+
/** JSONP */
|
|
18280
|
+
callback?: string;
|
|
18281
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
18282
|
+
fields?: string;
|
|
18283
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
18284
|
+
key?: string;
|
|
18285
|
+
/** Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` */
|
|
18286
|
+
name: string;
|
|
18287
|
+
/** OAuth 2.0 token for the current user. */
|
|
18288
|
+
oauth_token?: string;
|
|
18289
|
+
/** Returns response with indentations and line breaks. */
|
|
18290
|
+
prettyPrint?: boolean;
|
|
18291
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
18292
|
+
quotaUser?: string;
|
|
18293
|
+
/** Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.query_model * CompletionConfig.enable_mode * CompletionConfig.query_frequency_threshold * CompletionConfig.num_unique_users_threshold * CompletionConfig.should_serve_content_suggestions * CompletionConfig.filter_pii_suggestions_using_dlp If not set, all supported fields are updated. */
|
|
18294
|
+
updateMask?: string;
|
|
18295
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
18296
|
+
upload_protocol?: string;
|
|
18297
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
18298
|
+
uploadType?: string;
|
|
18299
|
+
/** Request body */
|
|
18300
|
+
resource: GoogleCloudDiscoveryengineV1alphaCompletionConfig;
|
|
18301
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
|
|
18302
|
+
updateCompletionConfig(
|
|
18303
|
+
request: {
|
|
18304
|
+
/** V1 error format. */
|
|
18305
|
+
'$.xgafv'?: '1' | '2';
|
|
18306
|
+
/** OAuth access token. */
|
|
18307
|
+
access_token?: string;
|
|
18308
|
+
/** Data format for response. */
|
|
18309
|
+
alt?: 'json' | 'media' | 'proto';
|
|
18310
|
+
/** JSONP */
|
|
18311
|
+
callback?: string;
|
|
18312
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
18313
|
+
fields?: string;
|
|
18314
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
18315
|
+
key?: string;
|
|
18316
|
+
/** Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` */
|
|
18317
|
+
name: string;
|
|
18318
|
+
/** OAuth 2.0 token for the current user. */
|
|
18319
|
+
oauth_token?: string;
|
|
18320
|
+
/** Returns response with indentations and line breaks. */
|
|
18321
|
+
prettyPrint?: boolean;
|
|
18322
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
18323
|
+
quotaUser?: string;
|
|
18324
|
+
/** Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.query_model * CompletionConfig.enable_mode * CompletionConfig.query_frequency_threshold * CompletionConfig.num_unique_users_threshold * CompletionConfig.should_serve_content_suggestions * CompletionConfig.filter_pii_suggestions_using_dlp If not set, all supported fields are updated. */
|
|
18325
|
+
updateMask?: string;
|
|
18326
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
18327
|
+
upload_protocol?: string;
|
|
18328
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
18329
|
+
uploadType?: string;
|
|
18330
|
+
},
|
|
18331
|
+
body: GoogleCloudDiscoveryengineV1alphaCompletionConfig,
|
|
18332
|
+
): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
|
|
18038
18333
|
analytics: AnalyticsResource;
|
|
18039
18334
|
assistants: AssistantsResource;
|
|
18040
18335
|
completionConfig: CompletionConfigResource;
|
|
@@ -21661,6 +21956,8 @@ declare namespace gapi.client {
|
|
|
21661
21956
|
'getWidgetConfigRequestOption.turnOffCollectionComponents'?: boolean;
|
|
21662
21957
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
21663
21958
|
key?: string;
|
|
21959
|
+
/** 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). */
|
|
21960
|
+
languageCode?: string;
|
|
21664
21961
|
/** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
|
|
21665
21962
|
name: string;
|
|
21666
21963
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -22021,6 +22318,33 @@ declare namespace gapi.client {
|
|
|
22021
22318
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22022
22319
|
uploadType?: string;
|
|
22023
22320
|
}): Request<GoogleCloudDiscoveryengineV1alphaDataStore>;
|
|
22321
|
+
/** Gets a CompletionConfig */
|
|
22322
|
+
getCompletionConfig(request?: {
|
|
22323
|
+
/** V1 error format. */
|
|
22324
|
+
'$.xgafv'?: '1' | '2';
|
|
22325
|
+
/** OAuth access token. */
|
|
22326
|
+
access_token?: string;
|
|
22327
|
+
/** Data format for response. */
|
|
22328
|
+
alt?: 'json' | 'media' | 'proto';
|
|
22329
|
+
/** JSONP */
|
|
22330
|
+
callback?: string;
|
|
22331
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22332
|
+
fields?: string;
|
|
22333
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
22334
|
+
key?: string;
|
|
22335
|
+
/** Required. Full CompletionConfig resource name. Format: `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` */
|
|
22336
|
+
name: string;
|
|
22337
|
+
/** OAuth 2.0 token for the current user. */
|
|
22338
|
+
oauth_token?: string;
|
|
22339
|
+
/** Returns response with indentations and line breaks. */
|
|
22340
|
+
prettyPrint?: boolean;
|
|
22341
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
22342
|
+
quotaUser?: string;
|
|
22343
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22344
|
+
upload_protocol?: string;
|
|
22345
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22346
|
+
uploadType?: string;
|
|
22347
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
|
|
22024
22348
|
/** Gets a DocumentProcessingConfig. */
|
|
22025
22349
|
getDocumentProcessingConfig(request?: {
|
|
22026
22350
|
/** V1 error format. */
|
|
@@ -22286,6 +22610,68 @@ declare namespace gapi.client {
|
|
|
22286
22610
|
},
|
|
22287
22611
|
body: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest,
|
|
22288
22612
|
): Request<GoogleLongrunningOperation>;
|
|
22613
|
+
/** Updates the CompletionConfigs. */
|
|
22614
|
+
updateCompletionConfig(request: {
|
|
22615
|
+
/** V1 error format. */
|
|
22616
|
+
'$.xgafv'?: '1' | '2';
|
|
22617
|
+
/** OAuth access token. */
|
|
22618
|
+
access_token?: string;
|
|
22619
|
+
/** Data format for response. */
|
|
22620
|
+
alt?: 'json' | 'media' | 'proto';
|
|
22621
|
+
/** JSONP */
|
|
22622
|
+
callback?: string;
|
|
22623
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22624
|
+
fields?: string;
|
|
22625
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
22626
|
+
key?: string;
|
|
22627
|
+
/** Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` */
|
|
22628
|
+
name: string;
|
|
22629
|
+
/** OAuth 2.0 token for the current user. */
|
|
22630
|
+
oauth_token?: string;
|
|
22631
|
+
/** Returns response with indentations and line breaks. */
|
|
22632
|
+
prettyPrint?: boolean;
|
|
22633
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
22634
|
+
quotaUser?: string;
|
|
22635
|
+
/** Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.query_model * CompletionConfig.enable_mode * CompletionConfig.query_frequency_threshold * CompletionConfig.num_unique_users_threshold * CompletionConfig.should_serve_content_suggestions * CompletionConfig.filter_pii_suggestions_using_dlp If not set, all supported fields are updated. */
|
|
22636
|
+
updateMask?: string;
|
|
22637
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22638
|
+
upload_protocol?: string;
|
|
22639
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22640
|
+
uploadType?: string;
|
|
22641
|
+
/** Request body */
|
|
22642
|
+
resource: GoogleCloudDiscoveryengineV1alphaCompletionConfig;
|
|
22643
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
|
|
22644
|
+
updateCompletionConfig(
|
|
22645
|
+
request: {
|
|
22646
|
+
/** V1 error format. */
|
|
22647
|
+
'$.xgafv'?: '1' | '2';
|
|
22648
|
+
/** OAuth access token. */
|
|
22649
|
+
access_token?: string;
|
|
22650
|
+
/** Data format for response. */
|
|
22651
|
+
alt?: 'json' | 'media' | 'proto';
|
|
22652
|
+
/** JSONP */
|
|
22653
|
+
callback?: string;
|
|
22654
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22655
|
+
fields?: string;
|
|
22656
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
22657
|
+
key?: string;
|
|
22658
|
+
/** Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` */
|
|
22659
|
+
name: string;
|
|
22660
|
+
/** OAuth 2.0 token for the current user. */
|
|
22661
|
+
oauth_token?: string;
|
|
22662
|
+
/** Returns response with indentations and line breaks. */
|
|
22663
|
+
prettyPrint?: boolean;
|
|
22664
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
22665
|
+
quotaUser?: string;
|
|
22666
|
+
/** Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.query_model * CompletionConfig.enable_mode * CompletionConfig.query_frequency_threshold * CompletionConfig.num_unique_users_threshold * CompletionConfig.should_serve_content_suggestions * CompletionConfig.filter_pii_suggestions_using_dlp If not set, all supported fields are updated. */
|
|
22667
|
+
updateMask?: string;
|
|
22668
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22669
|
+
upload_protocol?: string;
|
|
22670
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22671
|
+
uploadType?: string;
|
|
22672
|
+
},
|
|
22673
|
+
body: GoogleCloudDiscoveryengineV1alphaCompletionConfig,
|
|
22674
|
+
): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
|
|
22289
22675
|
/** Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig. */
|
|
22290
22676
|
updateDocumentProcessingConfig(request: {
|
|
22291
22677
|
/** V1 error format. */
|