@googleapis/discoveryengine 6.1.0 → 7.0.0
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/CHANGELOG.md +13 -0
- package/build/v1alpha.d.ts +318 -3
- package/build/v1alpha.js +62 -0
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +209 -3
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1alpha.ts +483 -3
- package/v1beta.ts +211 -3
package/build/v1beta.d.ts
CHANGED
|
@@ -192,6 +192,19 @@ export declare namespace discoveryengine_v1beta {
|
|
|
192
192
|
*/
|
|
193
193
|
functionName?: string | null;
|
|
194
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* Access Control Configuration.
|
|
197
|
+
*/
|
|
198
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaAclConfig {
|
|
199
|
+
/**
|
|
200
|
+
* Identity provider config.
|
|
201
|
+
*/
|
|
202
|
+
idpConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
203
|
+
/**
|
|
204
|
+
* 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.
|
|
205
|
+
*/
|
|
206
|
+
name?: string | null;
|
|
207
|
+
}
|
|
195
208
|
/**
|
|
196
209
|
* Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
197
210
|
*/
|
|
@@ -270,6 +283,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
270
283
|
* DataStore captures global settings and configs at the DataStore level.
|
|
271
284
|
*/
|
|
272
285
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaDataStore {
|
|
286
|
+
/**
|
|
287
|
+
* 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.
|
|
288
|
+
*/
|
|
289
|
+
aclEnabled?: boolean | null;
|
|
273
290
|
/**
|
|
274
291
|
* Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
|
|
275
292
|
*/
|
|
@@ -286,6 +303,14 @@ export declare namespace discoveryengine_v1beta {
|
|
|
286
303
|
* Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
287
304
|
*/
|
|
288
305
|
displayName?: string | null;
|
|
306
|
+
/**
|
|
307
|
+
* Configuration for Document understanding and enrichment.
|
|
308
|
+
*/
|
|
309
|
+
documentProcessingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
|
|
310
|
+
/**
|
|
311
|
+
* Output only. Data store level identity provider config.
|
|
312
|
+
*/
|
|
313
|
+
idpConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
289
314
|
/**
|
|
290
315
|
* Immutable. The industry vertical that the data store registers.
|
|
291
316
|
*/
|
|
@@ -298,6 +323,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
298
323
|
* The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
|
|
299
324
|
*/
|
|
300
325
|
solutionTypes?: string[] | null;
|
|
326
|
+
/**
|
|
327
|
+
* The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
|
|
328
|
+
*/
|
|
329
|
+
startingSchema?: Schema$GoogleCloudDiscoveryengineV1alphaSchema;
|
|
301
330
|
}
|
|
302
331
|
/**
|
|
303
332
|
* Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
@@ -391,7 +420,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
391
420
|
*/
|
|
392
421
|
ocrConfig?: Schema$GoogleCloudDiscoveryengineV1alphaOcrConfig;
|
|
393
422
|
/**
|
|
394
|
-
* Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported.
|
|
423
|
+
* Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.
|
|
395
424
|
*/
|
|
396
425
|
parsingConfigOverrides?: {
|
|
397
426
|
[key: string]: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
|
|
@@ -436,6 +465,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
436
465
|
* Metadata that describes the training and serving parameters of an Engine.
|
|
437
466
|
*/
|
|
438
467
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaEngine {
|
|
468
|
+
/**
|
|
469
|
+
* 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.
|
|
470
|
+
*/
|
|
471
|
+
allowMultipleDataStoresSearchEngine?: boolean | null;
|
|
439
472
|
/**
|
|
440
473
|
* Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
|
|
441
474
|
*/
|
|
@@ -681,6 +714,28 @@ export declare namespace discoveryengine_v1beta {
|
|
|
681
714
|
*/
|
|
682
715
|
searchableOption?: string | null;
|
|
683
716
|
}
|
|
717
|
+
/**
|
|
718
|
+
* Identity Provider Config.
|
|
719
|
+
*/
|
|
720
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaIdpConfig {
|
|
721
|
+
/**
|
|
722
|
+
* External Identity provider config.
|
|
723
|
+
*/
|
|
724
|
+
externalIdpConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig;
|
|
725
|
+
/**
|
|
726
|
+
* Identity provider type configured.
|
|
727
|
+
*/
|
|
728
|
+
idpType?: string | null;
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* Third party IDP Config.
|
|
732
|
+
*/
|
|
733
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig {
|
|
734
|
+
/**
|
|
735
|
+
* Workforce pool name. Example: "locations/global/workforcePools/pool_id"
|
|
736
|
+
*/
|
|
737
|
+
workforcePoolName?: string | null;
|
|
738
|
+
}
|
|
684
739
|
/**
|
|
685
740
|
* Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.
|
|
686
741
|
*/
|
|
@@ -843,6 +898,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
843
898
|
* Count of entries that encountered errors while processing.
|
|
844
899
|
*/
|
|
845
900
|
failureCount?: string | null;
|
|
901
|
+
/**
|
|
902
|
+
* Count of entries that were ignored as entries were not found.
|
|
903
|
+
*/
|
|
904
|
+
ignoredCount?: string | null;
|
|
846
905
|
/**
|
|
847
906
|
* Count of entries that were deleted successfully.
|
|
848
907
|
*/
|
|
@@ -1079,6 +1138,9 @@ export declare namespace discoveryengine_v1beta {
|
|
|
1079
1138
|
*/
|
|
1080
1139
|
quotaFailure?: Schema$GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure;
|
|
1081
1140
|
}
|
|
1141
|
+
/**
|
|
1142
|
+
* Failed due to insufficient quota.
|
|
1143
|
+
*/
|
|
1082
1144
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure {
|
|
1083
1145
|
/**
|
|
1084
1146
|
* This number is an estimation on how much total quota this project needs to successfully complete indexing.
|
|
@@ -1344,6 +1406,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
1344
1406
|
* Request message for ConversationalSearchService.ConverseConversation method.
|
|
1345
1407
|
*/
|
|
1346
1408
|
export interface Schema$GoogleCloudDiscoveryengineV1betaConverseConversationRequest {
|
|
1409
|
+
/**
|
|
1410
|
+
* Boost specification to boost certain documents in search results which may affect the converse response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
|
|
1411
|
+
*/
|
|
1412
|
+
boostSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec;
|
|
1347
1413
|
/**
|
|
1348
1414
|
* The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session.
|
|
1349
1415
|
*/
|
|
@@ -1494,6 +1560,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
1494
1560
|
* Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
1495
1561
|
*/
|
|
1496
1562
|
displayName?: string | null;
|
|
1563
|
+
/**
|
|
1564
|
+
* Configuration for Document understanding and enrichment.
|
|
1565
|
+
*/
|
|
1566
|
+
documentProcessingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
|
|
1497
1567
|
/**
|
|
1498
1568
|
* Immutable. The industry vertical that the data store registers.
|
|
1499
1569
|
*/
|
|
@@ -1506,6 +1576,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
1506
1576
|
* The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
|
|
1507
1577
|
*/
|
|
1508
1578
|
solutionTypes?: string[] | null;
|
|
1579
|
+
/**
|
|
1580
|
+
* The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
|
|
1581
|
+
*/
|
|
1582
|
+
startingSchema?: Schema$GoogleCloudDiscoveryengineV1betaSchema;
|
|
1509
1583
|
}
|
|
1510
1584
|
/**
|
|
1511
1585
|
* Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
@@ -1559,6 +1633,11 @@ export declare namespace discoveryengine_v1beta {
|
|
|
1559
1633
|
*/
|
|
1560
1634
|
updateTime?: string | null;
|
|
1561
1635
|
}
|
|
1636
|
+
/**
|
|
1637
|
+
* The digital parsing configurations for documents.
|
|
1638
|
+
*/
|
|
1639
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaDigitalParsingConfig {
|
|
1640
|
+
}
|
|
1562
1641
|
/**
|
|
1563
1642
|
* Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
1564
1643
|
*/
|
|
@@ -1600,6 +1679,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
1600
1679
|
* Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
|
|
1601
1680
|
*/
|
|
1602
1681
|
id?: string | null;
|
|
1682
|
+
/**
|
|
1683
|
+
* Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed.
|
|
1684
|
+
*/
|
|
1685
|
+
indexTime?: string | null;
|
|
1603
1686
|
/**
|
|
1604
1687
|
* The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.
|
|
1605
1688
|
*/
|
|
@@ -1665,6 +1748,38 @@ export declare namespace discoveryengine_v1beta {
|
|
|
1665
1748
|
*/
|
|
1666
1749
|
uri?: string | null;
|
|
1667
1750
|
}
|
|
1751
|
+
/**
|
|
1752
|
+
* A singleton resource of DataStore. It's empty when DataStore is created, which defaults to digital parser. The first call to DataStoreService.UpdateDocumentProcessingConfig method will initialize the config.
|
|
1753
|
+
*/
|
|
1754
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig {
|
|
1755
|
+
/**
|
|
1756
|
+
* 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.
|
|
1757
|
+
*/
|
|
1758
|
+
defaultParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
|
|
1759
|
+
/**
|
|
1760
|
+
* The full resource name of the Document Processing Config. Format: `projects/x/locations/x/collections/x/dataStores/x/documentProcessingConfig`.
|
|
1761
|
+
*/
|
|
1762
|
+
name?: string | null;
|
|
1763
|
+
/**
|
|
1764
|
+
* Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.
|
|
1765
|
+
*/
|
|
1766
|
+
parsingConfigOverrides?: {
|
|
1767
|
+
[key: string]: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
|
|
1768
|
+
} | null;
|
|
1769
|
+
}
|
|
1770
|
+
/**
|
|
1771
|
+
* Related configurations applied to a specific type of document parser.
|
|
1772
|
+
*/
|
|
1773
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig {
|
|
1774
|
+
/**
|
|
1775
|
+
* Configurations applied to digital parser.
|
|
1776
|
+
*/
|
|
1777
|
+
digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDigitalParsingConfig;
|
|
1778
|
+
/**
|
|
1779
|
+
* Configurations applied to OCR parser. Currently it only applies to PDFs.
|
|
1780
|
+
*/
|
|
1781
|
+
ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaOcrParsingConfig;
|
|
1782
|
+
}
|
|
1668
1783
|
/**
|
|
1669
1784
|
* Double list.
|
|
1670
1785
|
*/
|
|
@@ -2188,6 +2303,19 @@ export declare namespace discoveryengine_v1beta {
|
|
|
2188
2303
|
*/
|
|
2189
2304
|
mediaProgressPercentage?: number | null;
|
|
2190
2305
|
}
|
|
2306
|
+
/**
|
|
2307
|
+
* The OCR parsing configurations for documents.
|
|
2308
|
+
*/
|
|
2309
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaOcrParsingConfig {
|
|
2310
|
+
/**
|
|
2311
|
+
* Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
|
|
2312
|
+
*/
|
|
2313
|
+
enhancedDocumentElements?: string[] | null;
|
|
2314
|
+
/**
|
|
2315
|
+
* If true, will use native text instead of OCR text on pages containing native text.
|
|
2316
|
+
*/
|
|
2317
|
+
useNativeText?: boolean | null;
|
|
2318
|
+
}
|
|
2191
2319
|
/**
|
|
2192
2320
|
* Detailed page information.
|
|
2193
2321
|
*/
|
|
@@ -2242,6 +2370,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
2242
2370
|
* Count of entries that encountered errors while processing.
|
|
2243
2371
|
*/
|
|
2244
2372
|
failureCount?: string | null;
|
|
2373
|
+
/**
|
|
2374
|
+
* Count of entries that were ignored as entries were not found.
|
|
2375
|
+
*/
|
|
2376
|
+
ignoredCount?: string | null;
|
|
2245
2377
|
/**
|
|
2246
2378
|
* Count of entries that were deleted successfully.
|
|
2247
2379
|
*/
|
|
@@ -2575,7 +2707,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
2575
2707
|
*/
|
|
2576
2708
|
boost?: number | null;
|
|
2577
2709
|
/**
|
|
2578
|
-
* An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * (
|
|
2710
|
+
* An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * (document_id: ANY("doc_1", "doc_2")) AND (color: ANY("Red", "Blue"))
|
|
2579
2711
|
*/
|
|
2580
2712
|
condition?: string | null;
|
|
2581
2713
|
}
|
|
@@ -2681,7 +2813,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
2681
2813
|
*/
|
|
2682
2814
|
export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec {
|
|
2683
2815
|
/**
|
|
2684
|
-
* The model version used to generate the summary. Supported values are: * `stable`: string. Default value when no value is specified. Uses a generally available, fine-tuned version of the text-bison@001 model.
|
|
2816
|
+
* The model version used to generate the summary. Supported values are: * `stable`: string. Default value when no value is specified. Uses a generally available, fine-tuned version of the text-bison@001 model. * `preview`: string. (Public preview) Uses a fine-tuned version of the text-bison@002 model. This model works only for summaries in English.
|
|
2685
2817
|
*/
|
|
2686
2818
|
version?: string | null;
|
|
2687
2819
|
}
|
|
@@ -2963,6 +3095,9 @@ export declare namespace discoveryengine_v1beta {
|
|
|
2963
3095
|
* The summary content.
|
|
2964
3096
|
*/
|
|
2965
3097
|
summaryText?: string | null;
|
|
3098
|
+
/**
|
|
3099
|
+
* Summary with metadata information.
|
|
3100
|
+
*/
|
|
2966
3101
|
summaryWithMetadata?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata;
|
|
2967
3102
|
}
|
|
2968
3103
|
/**
|
|
@@ -3103,6 +3238,9 @@ export declare namespace discoveryengine_v1beta {
|
|
|
3103
3238
|
* Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH.
|
|
3104
3239
|
*/
|
|
3105
3240
|
onewaySynonymsControlIds?: string[] | null;
|
|
3241
|
+
/**
|
|
3242
|
+
* The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: relevance_score: pre-defined keywords, used for measure relevance between query and document. embedding_field_path: the document embedding field used with query embedding vector. dotProduct: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be 0.5 * relevance_score + 0.3 * dotProduct(doc_embedding).
|
|
3243
|
+
*/
|
|
3106
3244
|
rankingExpression?: string | null;
|
|
3107
3245
|
/**
|
|
3108
3246
|
* IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH.
|
|
@@ -3244,6 +3382,9 @@ export declare namespace discoveryengine_v1beta {
|
|
|
3244
3382
|
*/
|
|
3245
3383
|
quotaFailure?: Schema$GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure;
|
|
3246
3384
|
}
|
|
3385
|
+
/**
|
|
3386
|
+
* Failed due to insufficient quota.
|
|
3387
|
+
*/
|
|
3247
3388
|
export interface Schema$GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure {
|
|
3248
3389
|
/**
|
|
3249
3390
|
* This number is an estimation on how much total quota this project needs to successfully complete indexing.
|
|
@@ -3482,6 +3623,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
3482
3623
|
* Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
3483
3624
|
*/
|
|
3484
3625
|
displayName?: string | null;
|
|
3626
|
+
/**
|
|
3627
|
+
* Configuration for Document understanding and enrichment.
|
|
3628
|
+
*/
|
|
3629
|
+
documentProcessingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
|
|
3485
3630
|
/**
|
|
3486
3631
|
* Immutable. The industry vertical that the data store registers.
|
|
3487
3632
|
*/
|
|
@@ -3494,6 +3639,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
3494
3639
|
* The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
|
|
3495
3640
|
*/
|
|
3496
3641
|
solutionTypes?: string[] | null;
|
|
3642
|
+
/**
|
|
3643
|
+
* The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
|
|
3644
|
+
*/
|
|
3645
|
+
startingSchema?: Schema$GoogleCloudDiscoveryengineV1Schema;
|
|
3497
3646
|
}
|
|
3498
3647
|
/**
|
|
3499
3648
|
* Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
@@ -3547,6 +3696,11 @@ export declare namespace discoveryengine_v1beta {
|
|
|
3547
3696
|
*/
|
|
3548
3697
|
updateTime?: string | null;
|
|
3549
3698
|
}
|
|
3699
|
+
/**
|
|
3700
|
+
* The digital parsing configurations for documents.
|
|
3701
|
+
*/
|
|
3702
|
+
export interface Schema$GoogleCloudDiscoveryengineV1DigitalParsingConfig {
|
|
3703
|
+
}
|
|
3550
3704
|
/**
|
|
3551
3705
|
* Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
3552
3706
|
*/
|
|
@@ -3565,6 +3719,38 @@ export declare namespace discoveryengine_v1beta {
|
|
|
3565
3719
|
*/
|
|
3566
3720
|
export interface Schema$GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse {
|
|
3567
3721
|
}
|
|
3722
|
+
/**
|
|
3723
|
+
* A singleton resource of DataStore. It's empty when DataStore is created, which defaults to digital parser. The first call to DataStoreService.UpdateDocumentProcessingConfig method will initialize the config.
|
|
3724
|
+
*/
|
|
3725
|
+
export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfig {
|
|
3726
|
+
/**
|
|
3727
|
+
* 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.
|
|
3728
|
+
*/
|
|
3729
|
+
defaultParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
|
|
3730
|
+
/**
|
|
3731
|
+
* The full resource name of the Document Processing Config. Format: `projects/x/locations/x/collections/x/dataStores/x/documentProcessingConfig`.
|
|
3732
|
+
*/
|
|
3733
|
+
name?: string | null;
|
|
3734
|
+
/**
|
|
3735
|
+
* Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.
|
|
3736
|
+
*/
|
|
3737
|
+
parsingConfigOverrides?: {
|
|
3738
|
+
[key: string]: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
|
|
3739
|
+
} | null;
|
|
3740
|
+
}
|
|
3741
|
+
/**
|
|
3742
|
+
* Related configurations applied to a specific type of document parser.
|
|
3743
|
+
*/
|
|
3744
|
+
export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig {
|
|
3745
|
+
/**
|
|
3746
|
+
* Configurations applied to digital parser.
|
|
3747
|
+
*/
|
|
3748
|
+
digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DigitalParsingConfig;
|
|
3749
|
+
/**
|
|
3750
|
+
* Configurations applied to OCR parser. Currently it only applies to PDFs.
|
|
3751
|
+
*/
|
|
3752
|
+
ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1OcrParsingConfig;
|
|
3753
|
+
}
|
|
3568
3754
|
/**
|
|
3569
3755
|
* Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
3570
3756
|
*/
|
|
@@ -3812,6 +3998,19 @@ export declare namespace discoveryengine_v1beta {
|
|
|
3812
3998
|
*/
|
|
3813
3999
|
unjoinedEventsCount?: string | null;
|
|
3814
4000
|
}
|
|
4001
|
+
/**
|
|
4002
|
+
* The OCR parsing configurations for documents.
|
|
4003
|
+
*/
|
|
4004
|
+
export interface Schema$GoogleCloudDiscoveryengineV1OcrParsingConfig {
|
|
4005
|
+
/**
|
|
4006
|
+
* Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
|
|
4007
|
+
*/
|
|
4008
|
+
enhancedDocumentElements?: string[] | null;
|
|
4009
|
+
/**
|
|
4010
|
+
* If true, will use native text instead of OCR text on pages containing native text.
|
|
4011
|
+
*/
|
|
4012
|
+
useNativeText?: boolean | null;
|
|
4013
|
+
}
|
|
3815
4014
|
/**
|
|
3816
4015
|
* Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
3817
4016
|
*/
|
|
@@ -3824,6 +4023,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
3824
4023
|
* Count of entries that encountered errors while processing.
|
|
3825
4024
|
*/
|
|
3826
4025
|
failureCount?: string | null;
|
|
4026
|
+
/**
|
|
4027
|
+
* Count of entries that were ignored as entries were not found.
|
|
4028
|
+
*/
|
|
4029
|
+
ignoredCount?: string | null;
|
|
3827
4030
|
/**
|
|
3828
4031
|
* Count of entries that were deleted successfully.
|
|
3829
4032
|
*/
|
|
@@ -3954,6 +4157,9 @@ export declare namespace discoveryengine_v1beta {
|
|
|
3954
4157
|
*/
|
|
3955
4158
|
quotaFailure?: Schema$GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure;
|
|
3956
4159
|
}
|
|
4160
|
+
/**
|
|
4161
|
+
* Failed due to insufficient quota.
|
|
4162
|
+
*/
|
|
3957
4163
|
export interface Schema$GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure {
|
|
3958
4164
|
/**
|
|
3959
4165
|
* This number is an estimation on how much total quota this project needs to successfully complete indexing.
|