@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.2.20260531 → 0.2.20260606

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.
Files changed (2) hide show
  1. package/index.d.ts +298 -5
  2. 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: 20260531
12
+ // Revision: 20260606
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
  }
@@ -1788,6 +1792,28 @@ declare namespace gapi.client {
1788
1792
  /** The suggestion for the query. */
1789
1793
  suggestion?: string;
1790
1794
  }
1795
+ interface GoogleCloudDiscoveryengineV1alphaCompletionConfig {
1796
+ /** 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. */
1797
+ enableMode?: 'ENABLE_MODE_UNSPECIFIED' | 'AUTOMATIC' | 'MANUAL';
1798
+ /** 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. */
1799
+ filterPiiSuggestionsUsingDlp?: boolean;
1800
+ /** 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`. */
1801
+ matchingOrder?: string;
1802
+ /** 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. */
1803
+ maxSuggestions?: number;
1804
+ /** 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. */
1805
+ minPrefixLength?: number;
1806
+ /** Required. Immutable. Fully qualified name `projects/*‍/locations/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/engines/*‍/completionConfig` */
1807
+ name?: string;
1808
+ /** 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. */
1809
+ numUniqueUsersThreshold?: number;
1810
+ /** 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. */
1811
+ queryFrequencyThreshold?: number;
1812
+ /** 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. */
1813
+ queryModel?: string;
1814
+ /** Whether to generate and serve content suggestions. This allows for content suggestions to be served in addition to query suggestions. */
1815
+ shouldServeContentSuggestions?: boolean;
1816
+ }
1791
1817
  interface GoogleCloudDiscoveryengineV1alphaCompletionInfo {
1792
1818
  /** End user selected CompleteQueryResponse.QuerySuggestion.suggestion position, starting from 0. */
1793
1819
  selectedPosition?: number;
@@ -2764,7 +2790,7 @@ declare namespace gapi.client {
2764
2790
  disableAnalytics?: boolean;
2765
2791
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
2766
2792
  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` * `disable-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` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` */
2793
+ /** 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` * `disable-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` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
2768
2794
  features?: {
2769
2795
  [P in string]:
2770
2796
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -6014,7 +6040,7 @@ declare namespace gapi.client {
6014
6040
  enableSearchAsYouType?: boolean;
6015
6041
  /** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
6016
6042
  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` * `disable-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` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` */
6043
+ /** 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` * `disable-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` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
6018
6044
  features?: {
6019
6045
  [P in string]:
6020
6046
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -6755,7 +6781,7 @@ declare namespace gapi.client {
6755
6781
  disableAnalytics?: boolean;
6756
6782
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
6757
6783
  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` * `disable-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` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` */
6784
+ /** 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` * `disable-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` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
6759
6785
  features?: {
6760
6786
  [P in string]:
6761
6787
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -8518,7 +8544,7 @@ declare namespace gapi.client {
8518
8544
  disableAnalytics?: boolean;
8519
8545
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
8520
8546
  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` * `disable-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` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` */
8547
+ /** 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` * `disable-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` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
8522
8548
  features?: {
8523
8549
  [P in string]:
8524
8550
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -14619,6 +14645,33 @@ declare namespace gapi.client {
14619
14645
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14620
14646
  uploadType?: string;
14621
14647
  }): Request<GoogleCloudDiscoveryengineV1alphaDataStore>;
14648
+ /** Gets a CompletionConfig */
14649
+ getCompletionConfig(request?: {
14650
+ /** V1 error format. */
14651
+ '$.xgafv'?: '1' | '2';
14652
+ /** OAuth access token. */
14653
+ access_token?: string;
14654
+ /** Data format for response. */
14655
+ alt?: 'json' | 'media' | 'proto';
14656
+ /** JSONP */
14657
+ callback?: string;
14658
+ /** Selector specifying which fields to include in a partial response. */
14659
+ fields?: string;
14660
+ /** 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. */
14661
+ key?: string;
14662
+ /** Required. Full CompletionConfig resource name. Format: `projects/*‍/locations/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/engines/*‍/completionConfig` */
14663
+ name: string;
14664
+ /** OAuth 2.0 token for the current user. */
14665
+ oauth_token?: string;
14666
+ /** Returns response with indentations and line breaks. */
14667
+ prettyPrint?: boolean;
14668
+ /** 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. */
14669
+ quotaUser?: string;
14670
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14671
+ upload_protocol?: string;
14672
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14673
+ uploadType?: string;
14674
+ }): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
14622
14675
  /** Gets a DocumentProcessingConfig. */
14623
14676
  getDocumentProcessingConfig(request?: {
14624
14677
  /** V1 error format. */
@@ -14942,6 +14995,68 @@ declare namespace gapi.client {
14942
14995
  },
14943
14996
  body: GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest,
14944
14997
  ): Request<GoogleLongrunningOperation>;
14998
+ /** Updates the CompletionConfigs. */
14999
+ updateCompletionConfig(request: {
15000
+ /** V1 error format. */
15001
+ '$.xgafv'?: '1' | '2';
15002
+ /** OAuth access token. */
15003
+ access_token?: string;
15004
+ /** Data format for response. */
15005
+ alt?: 'json' | 'media' | 'proto';
15006
+ /** JSONP */
15007
+ callback?: string;
15008
+ /** Selector specifying which fields to include in a partial response. */
15009
+ fields?: string;
15010
+ /** 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. */
15011
+ key?: string;
15012
+ /** Required. Immutable. Fully qualified name `projects/*‍/locations/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/engines/*‍/completionConfig` */
15013
+ name: string;
15014
+ /** OAuth 2.0 token for the current user. */
15015
+ oauth_token?: string;
15016
+ /** Returns response with indentations and line breaks. */
15017
+ prettyPrint?: boolean;
15018
+ /** 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. */
15019
+ quotaUser?: string;
15020
+ /** 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. */
15021
+ updateMask?: string;
15022
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15023
+ upload_protocol?: string;
15024
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15025
+ uploadType?: string;
15026
+ /** Request body */
15027
+ resource: GoogleCloudDiscoveryengineV1alphaCompletionConfig;
15028
+ }): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
15029
+ updateCompletionConfig(
15030
+ request: {
15031
+ /** V1 error format. */
15032
+ '$.xgafv'?: '1' | '2';
15033
+ /** OAuth access token. */
15034
+ access_token?: string;
15035
+ /** Data format for response. */
15036
+ alt?: 'json' | 'media' | 'proto';
15037
+ /** JSONP */
15038
+ callback?: string;
15039
+ /** Selector specifying which fields to include in a partial response. */
15040
+ fields?: string;
15041
+ /** 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. */
15042
+ key?: string;
15043
+ /** Required. Immutable. Fully qualified name `projects/*‍/locations/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/engines/*‍/completionConfig` */
15044
+ name: string;
15045
+ /** OAuth 2.0 token for the current user. */
15046
+ oauth_token?: string;
15047
+ /** Returns response with indentations and line breaks. */
15048
+ prettyPrint?: boolean;
15049
+ /** 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. */
15050
+ quotaUser?: string;
15051
+ /** 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. */
15052
+ updateMask?: string;
15053
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15054
+ upload_protocol?: string;
15055
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15056
+ uploadType?: string;
15057
+ },
15058
+ body: GoogleCloudDiscoveryengineV1alphaCompletionConfig,
15059
+ ): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
14945
15060
  /** 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
15061
  updateDocumentProcessingConfig(request: {
14947
15062
  /** V1 error format. */
@@ -17680,6 +17795,33 @@ declare namespace gapi.client {
17680
17795
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17681
17796
  uploadType?: string;
17682
17797
  }): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
17798
+ /** Gets a CompletionConfig */
17799
+ getCompletionConfig(request?: {
17800
+ /** V1 error format. */
17801
+ '$.xgafv'?: '1' | '2';
17802
+ /** OAuth access token. */
17803
+ access_token?: string;
17804
+ /** Data format for response. */
17805
+ alt?: 'json' | 'media' | 'proto';
17806
+ /** JSONP */
17807
+ callback?: string;
17808
+ /** Selector specifying which fields to include in a partial response. */
17809
+ fields?: string;
17810
+ /** 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. */
17811
+ key?: string;
17812
+ /** Required. Full CompletionConfig resource name. Format: `projects/*‍/locations/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/engines/*‍/completionConfig` */
17813
+ name: string;
17814
+ /** OAuth 2.0 token for the current user. */
17815
+ oauth_token?: string;
17816
+ /** Returns response with indentations and line breaks. */
17817
+ prettyPrint?: boolean;
17818
+ /** 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. */
17819
+ quotaUser?: string;
17820
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17821
+ upload_protocol?: string;
17822
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17823
+ uploadType?: string;
17824
+ }): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
17683
17825
  /** 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
17826
  getIamPolicy(request?: {
17685
17827
  /** V1 error format. */
@@ -18035,6 +18177,68 @@ declare namespace gapi.client {
18035
18177
  },
18036
18178
  body: GoogleCloudDiscoveryengineV1alphaTuneEngineRequest,
18037
18179
  ): Request<GoogleLongrunningOperation>;
18180
+ /** Updates the CompletionConfigs. */
18181
+ updateCompletionConfig(request: {
18182
+ /** V1 error format. */
18183
+ '$.xgafv'?: '1' | '2';
18184
+ /** OAuth access token. */
18185
+ access_token?: string;
18186
+ /** Data format for response. */
18187
+ alt?: 'json' | 'media' | 'proto';
18188
+ /** JSONP */
18189
+ callback?: string;
18190
+ /** Selector specifying which fields to include in a partial response. */
18191
+ fields?: string;
18192
+ /** 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. */
18193
+ key?: string;
18194
+ /** Required. Immutable. Fully qualified name `projects/*‍/locations/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/engines/*‍/completionConfig` */
18195
+ name: string;
18196
+ /** OAuth 2.0 token for the current user. */
18197
+ oauth_token?: string;
18198
+ /** Returns response with indentations and line breaks. */
18199
+ prettyPrint?: boolean;
18200
+ /** 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. */
18201
+ quotaUser?: string;
18202
+ /** 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. */
18203
+ updateMask?: string;
18204
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18205
+ upload_protocol?: string;
18206
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18207
+ uploadType?: string;
18208
+ /** Request body */
18209
+ resource: GoogleCloudDiscoveryengineV1alphaCompletionConfig;
18210
+ }): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
18211
+ updateCompletionConfig(
18212
+ request: {
18213
+ /** V1 error format. */
18214
+ '$.xgafv'?: '1' | '2';
18215
+ /** OAuth access token. */
18216
+ access_token?: string;
18217
+ /** Data format for response. */
18218
+ alt?: 'json' | 'media' | 'proto';
18219
+ /** JSONP */
18220
+ callback?: string;
18221
+ /** Selector specifying which fields to include in a partial response. */
18222
+ fields?: string;
18223
+ /** 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. */
18224
+ key?: string;
18225
+ /** Required. Immutable. Fully qualified name `projects/*‍/locations/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/engines/*‍/completionConfig` */
18226
+ name: string;
18227
+ /** OAuth 2.0 token for the current user. */
18228
+ oauth_token?: string;
18229
+ /** Returns response with indentations and line breaks. */
18230
+ prettyPrint?: boolean;
18231
+ /** 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. */
18232
+ quotaUser?: string;
18233
+ /** 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. */
18234
+ updateMask?: string;
18235
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18236
+ upload_protocol?: string;
18237
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18238
+ uploadType?: string;
18239
+ },
18240
+ body: GoogleCloudDiscoveryengineV1alphaCompletionConfig,
18241
+ ): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
18038
18242
  analytics: AnalyticsResource;
18039
18243
  assistants: AssistantsResource;
18040
18244
  completionConfig: CompletionConfigResource;
@@ -22021,6 +22225,33 @@ declare namespace gapi.client {
22021
22225
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22022
22226
  uploadType?: string;
22023
22227
  }): Request<GoogleCloudDiscoveryengineV1alphaDataStore>;
22228
+ /** Gets a CompletionConfig */
22229
+ getCompletionConfig(request?: {
22230
+ /** V1 error format. */
22231
+ '$.xgafv'?: '1' | '2';
22232
+ /** OAuth access token. */
22233
+ access_token?: string;
22234
+ /** Data format for response. */
22235
+ alt?: 'json' | 'media' | 'proto';
22236
+ /** JSONP */
22237
+ callback?: string;
22238
+ /** Selector specifying which fields to include in a partial response. */
22239
+ fields?: string;
22240
+ /** 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. */
22241
+ key?: string;
22242
+ /** Required. Full CompletionConfig resource name. Format: `projects/*‍/locations/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/engines/*‍/completionConfig` */
22243
+ name: string;
22244
+ /** OAuth 2.0 token for the current user. */
22245
+ oauth_token?: string;
22246
+ /** Returns response with indentations and line breaks. */
22247
+ prettyPrint?: boolean;
22248
+ /** 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. */
22249
+ quotaUser?: string;
22250
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22251
+ upload_protocol?: string;
22252
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22253
+ uploadType?: string;
22254
+ }): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
22024
22255
  /** Gets a DocumentProcessingConfig. */
22025
22256
  getDocumentProcessingConfig(request?: {
22026
22257
  /** V1 error format. */
@@ -22286,6 +22517,68 @@ declare namespace gapi.client {
22286
22517
  },
22287
22518
  body: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest,
22288
22519
  ): Request<GoogleLongrunningOperation>;
22520
+ /** Updates the CompletionConfigs. */
22521
+ updateCompletionConfig(request: {
22522
+ /** V1 error format. */
22523
+ '$.xgafv'?: '1' | '2';
22524
+ /** OAuth access token. */
22525
+ access_token?: string;
22526
+ /** Data format for response. */
22527
+ alt?: 'json' | 'media' | 'proto';
22528
+ /** JSONP */
22529
+ callback?: string;
22530
+ /** Selector specifying which fields to include in a partial response. */
22531
+ fields?: string;
22532
+ /** 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. */
22533
+ key?: string;
22534
+ /** Required. Immutable. Fully qualified name `projects/*‍/locations/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/engines/*‍/completionConfig` */
22535
+ name: string;
22536
+ /** OAuth 2.0 token for the current user. */
22537
+ oauth_token?: string;
22538
+ /** Returns response with indentations and line breaks. */
22539
+ prettyPrint?: boolean;
22540
+ /** 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. */
22541
+ quotaUser?: string;
22542
+ /** 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. */
22543
+ updateMask?: string;
22544
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22545
+ upload_protocol?: string;
22546
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22547
+ uploadType?: string;
22548
+ /** Request body */
22549
+ resource: GoogleCloudDiscoveryengineV1alphaCompletionConfig;
22550
+ }): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
22551
+ updateCompletionConfig(
22552
+ request: {
22553
+ /** V1 error format. */
22554
+ '$.xgafv'?: '1' | '2';
22555
+ /** OAuth access token. */
22556
+ access_token?: string;
22557
+ /** Data format for response. */
22558
+ alt?: 'json' | 'media' | 'proto';
22559
+ /** JSONP */
22560
+ callback?: string;
22561
+ /** Selector specifying which fields to include in a partial response. */
22562
+ fields?: string;
22563
+ /** 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. */
22564
+ key?: string;
22565
+ /** Required. Immutable. Fully qualified name `projects/*‍/locations/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/completionConfig` `projects/*‍/locations/*‍/collections/*‍/engines/*‍/completionConfig` */
22566
+ name: string;
22567
+ /** OAuth 2.0 token for the current user. */
22568
+ oauth_token?: string;
22569
+ /** Returns response with indentations and line breaks. */
22570
+ prettyPrint?: boolean;
22571
+ /** 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. */
22572
+ quotaUser?: string;
22573
+ /** 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. */
22574
+ updateMask?: string;
22575
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22576
+ upload_protocol?: string;
22577
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22578
+ uploadType?: string;
22579
+ },
22580
+ body: GoogleCloudDiscoveryengineV1alphaCompletionConfig,
22581
+ ): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
22289
22582
  /** 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
22583
  updateDocumentProcessingConfig(request: {
22291
22584
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.2.20260531",
3
+ "version": "0.2.20260606",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",