@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20240224 → 0.0.20240229
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 +37 -3
- 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:
|
|
12
|
+
// Revision: 20240229
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -82,6 +82,12 @@ declare namespace gapi.client {
|
|
|
82
82
|
/** Human-readable name of a function or method—for example, `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend`. */
|
|
83
83
|
functionName?: string;
|
|
84
84
|
}
|
|
85
|
+
interface GoogleCloudDiscoveryengineV1alphaAclConfig {
|
|
86
|
+
/** Identity provider config. */
|
|
87
|
+
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
88
|
+
/** Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
89
|
+
name?: string;
|
|
90
|
+
}
|
|
85
91
|
interface GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata {
|
|
86
92
|
/** Operation create time. */
|
|
87
93
|
createTime?: string;
|
|
@@ -117,6 +123,8 @@ declare namespace gapi.client {
|
|
|
117
123
|
updateTime?: string;
|
|
118
124
|
}
|
|
119
125
|
interface GoogleCloudDiscoveryengineV1alphaDataStore {
|
|
126
|
+
/** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
|
|
127
|
+
aclEnabled?: boolean;
|
|
120
128
|
/** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
|
|
121
129
|
contentConfig?: string;
|
|
122
130
|
/** Output only. Timestamp the DataStore was created at. */
|
|
@@ -127,6 +135,8 @@ declare namespace gapi.client {
|
|
|
127
135
|
displayName?: string;
|
|
128
136
|
/** Configuration for Document understanding and enrichment. */
|
|
129
137
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
|
|
138
|
+
/** Output only. Data store level identity provider config. */
|
|
139
|
+
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
130
140
|
/** Immutable. The industry vertical that the data store registers. */
|
|
131
141
|
industryVertical?: string;
|
|
132
142
|
/** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
@@ -169,6 +179,8 @@ declare namespace gapi.client {
|
|
|
169
179
|
}
|
|
170
180
|
interface GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse {}
|
|
171
181
|
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig {
|
|
182
|
+
/** Whether chunking mode is enabled. */
|
|
183
|
+
chunkingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig;
|
|
172
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. */
|
|
173
185
|
defaultParsingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
|
|
174
186
|
/** The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. */
|
|
@@ -180,6 +192,16 @@ declare namespace gapi.client {
|
|
|
180
192
|
[P in string]: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
|
|
181
193
|
};
|
|
182
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
|
+
}
|
|
183
205
|
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig {
|
|
184
206
|
/** Configurations applied to digital parser. */
|
|
185
207
|
digitalParsingConfig?: any;
|
|
@@ -196,6 +218,8 @@ declare namespace gapi.client {
|
|
|
196
218
|
}
|
|
197
219
|
interface GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse {}
|
|
198
220
|
interface GoogleCloudDiscoveryengineV1alphaEngine {
|
|
221
|
+
/** Whether the search engine can associate with multiple data stores. If true, the generic search engine can associate with one or more data stores. This is an input-only field. */
|
|
222
|
+
allowMultipleDataStoresSearchEngine?: boolean;
|
|
199
223
|
/** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
200
224
|
chatEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig;
|
|
201
225
|
/** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
@@ -312,6 +336,16 @@ declare namespace gapi.client {
|
|
|
312
336
|
/** If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only `string` fields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throw `INVALID_ARGUMENT` error. */
|
|
313
337
|
searchableOption?: string;
|
|
314
338
|
}
|
|
339
|
+
interface GoogleCloudDiscoveryengineV1alphaIdpConfig {
|
|
340
|
+
/** External Identity provider config. */
|
|
341
|
+
externalIdpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig;
|
|
342
|
+
/** Identity provider type configured. */
|
|
343
|
+
idpType?: string;
|
|
344
|
+
}
|
|
345
|
+
interface GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig {
|
|
346
|
+
/** Workforce pool name. Example: "locations/global/workforcePools/pool_id" */
|
|
347
|
+
workforcePoolName?: string;
|
|
348
|
+
}
|
|
315
349
|
interface GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata {
|
|
316
350
|
/** Operation create time. */
|
|
317
351
|
createTime?: string;
|
|
@@ -4265,7 +4299,7 @@ declare namespace gapi.client {
|
|
|
4265
4299
|
prettyPrint?: boolean;
|
|
4266
4300
|
/** Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. */
|
|
4267
4301
|
query?: string;
|
|
4268
|
-
/** 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. * */
|
|
4269
4303
|
queryModel?: string;
|
|
4270
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. */
|
|
4271
4305
|
quotaUser?: string;
|
|
@@ -7351,7 +7385,7 @@ declare namespace gapi.client {
|
|
|
7351
7385
|
prettyPrint?: boolean;
|
|
7352
7386
|
/** Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. */
|
|
7353
7387
|
query?: string;
|
|
7354
|
-
/** 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. * */
|
|
7355
7389
|
queryModel?: string;
|
|
7356
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. */
|
|
7357
7391
|
quotaUser?: string;
|