@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20240227 → 0.0.20240305

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 +15 -3
  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=v1beta
12
- // Revision: 20240227
12
+ // Revision: 20240305
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -179,6 +179,8 @@ declare namespace gapi.client {
179
179
  }
180
180
  interface GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse {}
181
181
  interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig {
182
+ /** Whether chunking mode is enabled. */
183
+ chunkingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig;
182
184
  /** Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing. */
183
185
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
184
186
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
@@ -190,6 +192,16 @@ declare namespace gapi.client {
190
192
  [P in string]: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
191
193
  };
192
194
  }
195
+ interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig {
196
+ /** Configuration for the layout based chunking. */
197
+ layoutBasedChunkingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig;
198
+ }
199
+ interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig {
200
+ /** The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500. */
201
+ chunkSize?: number;
202
+ /** Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False. */
203
+ includeAncestorHeadings?: boolean;
204
+ }
193
205
  interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig {
194
206
  /** Configurations applied to digital parser. */
195
207
  digitalParsingConfig?: any;
@@ -4287,7 +4299,7 @@ declare namespace gapi.client {
4287
4299
  prettyPrint?: boolean;
4288
4300
  /** Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. */
4289
4301
  query?: string;
4290
- /** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `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. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. */
4302
+ /** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `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. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. * */
4291
4303
  queryModel?: string;
4292
4304
  /** 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. */
4293
4305
  quotaUser?: string;
@@ -7373,7 +7385,7 @@ declare namespace gapi.client {
7373
7385
  prettyPrint?: boolean;
7374
7386
  /** Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. */
7375
7387
  query?: string;
7376
- /** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `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. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. */
7388
+ /** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `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. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. * */
7377
7389
  queryModel?: string;
7378
7390
  /** 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. */
7379
7391
  quotaUser?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20240227",
3
+ "version": "0.0.20240305",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",