@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/v1beta.ts
CHANGED
|
@@ -239,6 +239,19 @@ export namespace discoveryengine_v1beta {
|
|
|
239
239
|
*/
|
|
240
240
|
functionName?: string | null;
|
|
241
241
|
}
|
|
242
|
+
/**
|
|
243
|
+
* Access Control Configuration.
|
|
244
|
+
*/
|
|
245
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaAclConfig {
|
|
246
|
+
/**
|
|
247
|
+
* Identity provider config.
|
|
248
|
+
*/
|
|
249
|
+
idpConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
250
|
+
/**
|
|
251
|
+
* 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.
|
|
252
|
+
*/
|
|
253
|
+
name?: string | null;
|
|
254
|
+
}
|
|
242
255
|
/**
|
|
243
256
|
* Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
244
257
|
*/
|
|
@@ -317,6 +330,10 @@ export namespace discoveryengine_v1beta {
|
|
|
317
330
|
* DataStore captures global settings and configs at the DataStore level.
|
|
318
331
|
*/
|
|
319
332
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaDataStore {
|
|
333
|
+
/**
|
|
334
|
+
* 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.
|
|
335
|
+
*/
|
|
336
|
+
aclEnabled?: boolean | null;
|
|
320
337
|
/**
|
|
321
338
|
* Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
|
|
322
339
|
*/
|
|
@@ -333,6 +350,14 @@ export namespace discoveryengine_v1beta {
|
|
|
333
350
|
* 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.
|
|
334
351
|
*/
|
|
335
352
|
displayName?: string | null;
|
|
353
|
+
/**
|
|
354
|
+
* Configuration for Document understanding and enrichment.
|
|
355
|
+
*/
|
|
356
|
+
documentProcessingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
|
|
357
|
+
/**
|
|
358
|
+
* Output only. Data store level identity provider config.
|
|
359
|
+
*/
|
|
360
|
+
idpConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
336
361
|
/**
|
|
337
362
|
* Immutable. The industry vertical that the data store registers.
|
|
338
363
|
*/
|
|
@@ -345,6 +370,10 @@ export namespace discoveryengine_v1beta {
|
|
|
345
370
|
* 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.
|
|
346
371
|
*/
|
|
347
372
|
solutionTypes?: string[] | null;
|
|
373
|
+
/**
|
|
374
|
+
* 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).
|
|
375
|
+
*/
|
|
376
|
+
startingSchema?: Schema$GoogleCloudDiscoveryengineV1alphaSchema;
|
|
348
377
|
}
|
|
349
378
|
/**
|
|
350
379
|
* Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
@@ -436,7 +465,7 @@ export namespace discoveryengine_v1beta {
|
|
|
436
465
|
*/
|
|
437
466
|
ocrConfig?: Schema$GoogleCloudDiscoveryengineV1alphaOcrConfig;
|
|
438
467
|
/**
|
|
439
|
-
* 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.
|
|
468
|
+
* 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.
|
|
440
469
|
*/
|
|
441
470
|
parsingConfigOverrides?: {
|
|
442
471
|
[
|
|
@@ -482,6 +511,10 @@ export namespace discoveryengine_v1beta {
|
|
|
482
511
|
* Metadata that describes the training and serving parameters of an Engine.
|
|
483
512
|
*/
|
|
484
513
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaEngine {
|
|
514
|
+
/**
|
|
515
|
+
* 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.
|
|
516
|
+
*/
|
|
517
|
+
allowMultipleDataStoresSearchEngine?: boolean | null;
|
|
485
518
|
/**
|
|
486
519
|
* Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
|
|
487
520
|
*/
|
|
@@ -726,6 +759,28 @@ export namespace discoveryengine_v1beta {
|
|
|
726
759
|
*/
|
|
727
760
|
searchableOption?: string | null;
|
|
728
761
|
}
|
|
762
|
+
/**
|
|
763
|
+
* Identity Provider Config.
|
|
764
|
+
*/
|
|
765
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaIdpConfig {
|
|
766
|
+
/**
|
|
767
|
+
* External Identity provider config.
|
|
768
|
+
*/
|
|
769
|
+
externalIdpConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig;
|
|
770
|
+
/**
|
|
771
|
+
* Identity provider type configured.
|
|
772
|
+
*/
|
|
773
|
+
idpType?: string | null;
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* Third party IDP Config.
|
|
777
|
+
*/
|
|
778
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig {
|
|
779
|
+
/**
|
|
780
|
+
* Workforce pool name. Example: "locations/global/workforcePools/pool_id"
|
|
781
|
+
*/
|
|
782
|
+
workforcePoolName?: string | null;
|
|
783
|
+
}
|
|
729
784
|
/**
|
|
730
785
|
* Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.
|
|
731
786
|
*/
|
|
@@ -887,6 +942,10 @@ export namespace discoveryengine_v1beta {
|
|
|
887
942
|
* Count of entries that encountered errors while processing.
|
|
888
943
|
*/
|
|
889
944
|
failureCount?: string | null;
|
|
945
|
+
/**
|
|
946
|
+
* Count of entries that were ignored as entries were not found.
|
|
947
|
+
*/
|
|
948
|
+
ignoredCount?: string | null;
|
|
890
949
|
/**
|
|
891
950
|
* Count of entries that were deleted successfully.
|
|
892
951
|
*/
|
|
@@ -1121,6 +1180,9 @@ export namespace discoveryengine_v1beta {
|
|
|
1121
1180
|
*/
|
|
1122
1181
|
quotaFailure?: Schema$GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure;
|
|
1123
1182
|
}
|
|
1183
|
+
/**
|
|
1184
|
+
* Failed due to insufficient quota.
|
|
1185
|
+
*/
|
|
1124
1186
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure {
|
|
1125
1187
|
/**
|
|
1126
1188
|
* This number is an estimation on how much total quota this project needs to successfully complete indexing.
|
|
@@ -1384,6 +1446,10 @@ export namespace discoveryengine_v1beta {
|
|
|
1384
1446
|
* Request message for ConversationalSearchService.ConverseConversation method.
|
|
1385
1447
|
*/
|
|
1386
1448
|
export interface Schema$GoogleCloudDiscoveryengineV1betaConverseConversationRequest {
|
|
1449
|
+
/**
|
|
1450
|
+
* 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)
|
|
1451
|
+
*/
|
|
1452
|
+
boostSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec;
|
|
1387
1453
|
/**
|
|
1388
1454
|
* 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.
|
|
1389
1455
|
*/
|
|
@@ -1532,6 +1598,10 @@ export namespace discoveryengine_v1beta {
|
|
|
1532
1598
|
* 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.
|
|
1533
1599
|
*/
|
|
1534
1600
|
displayName?: string | null;
|
|
1601
|
+
/**
|
|
1602
|
+
* Configuration for Document understanding and enrichment.
|
|
1603
|
+
*/
|
|
1604
|
+
documentProcessingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
|
|
1535
1605
|
/**
|
|
1536
1606
|
* Immutable. The industry vertical that the data store registers.
|
|
1537
1607
|
*/
|
|
@@ -1544,6 +1614,10 @@ export namespace discoveryengine_v1beta {
|
|
|
1544
1614
|
* 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.
|
|
1545
1615
|
*/
|
|
1546
1616
|
solutionTypes?: string[] | null;
|
|
1617
|
+
/**
|
|
1618
|
+
* 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).
|
|
1619
|
+
*/
|
|
1620
|
+
startingSchema?: Schema$GoogleCloudDiscoveryengineV1betaSchema;
|
|
1547
1621
|
}
|
|
1548
1622
|
/**
|
|
1549
1623
|
* Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
@@ -1597,6 +1671,10 @@ export namespace discoveryengine_v1beta {
|
|
|
1597
1671
|
*/
|
|
1598
1672
|
updateTime?: string | null;
|
|
1599
1673
|
}
|
|
1674
|
+
/**
|
|
1675
|
+
* The digital parsing configurations for documents.
|
|
1676
|
+
*/
|
|
1677
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaDigitalParsingConfig {}
|
|
1600
1678
|
/**
|
|
1601
1679
|
* Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
1602
1680
|
*/
|
|
@@ -1634,6 +1712,10 @@ export namespace discoveryengine_v1beta {
|
|
|
1634
1712
|
* 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.
|
|
1635
1713
|
*/
|
|
1636
1714
|
id?: string | null;
|
|
1715
|
+
/**
|
|
1716
|
+
* 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.
|
|
1717
|
+
*/
|
|
1718
|
+
indexTime?: string | null;
|
|
1637
1719
|
/**
|
|
1638
1720
|
* The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.
|
|
1639
1721
|
*/
|
|
@@ -1697,6 +1779,40 @@ export namespace discoveryengine_v1beta {
|
|
|
1697
1779
|
*/
|
|
1698
1780
|
uri?: string | null;
|
|
1699
1781
|
}
|
|
1782
|
+
/**
|
|
1783
|
+
* 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.
|
|
1784
|
+
*/
|
|
1785
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig {
|
|
1786
|
+
/**
|
|
1787
|
+
* 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.
|
|
1788
|
+
*/
|
|
1789
|
+
defaultParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
|
|
1790
|
+
/**
|
|
1791
|
+
* The full resource name of the Document Processing Config. Format: `projects/x/locations/x/collections/x/dataStores/x/documentProcessingConfig`.
|
|
1792
|
+
*/
|
|
1793
|
+
name?: string | null;
|
|
1794
|
+
/**
|
|
1795
|
+
* 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.
|
|
1796
|
+
*/
|
|
1797
|
+
parsingConfigOverrides?: {
|
|
1798
|
+
[
|
|
1799
|
+
key: string
|
|
1800
|
+
]: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
|
|
1801
|
+
} | null;
|
|
1802
|
+
}
|
|
1803
|
+
/**
|
|
1804
|
+
* Related configurations applied to a specific type of document parser.
|
|
1805
|
+
*/
|
|
1806
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig {
|
|
1807
|
+
/**
|
|
1808
|
+
* Configurations applied to digital parser.
|
|
1809
|
+
*/
|
|
1810
|
+
digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDigitalParsingConfig;
|
|
1811
|
+
/**
|
|
1812
|
+
* Configurations applied to OCR parser. Currently it only applies to PDFs.
|
|
1813
|
+
*/
|
|
1814
|
+
ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaOcrParsingConfig;
|
|
1815
|
+
}
|
|
1700
1816
|
/**
|
|
1701
1817
|
* Double list.
|
|
1702
1818
|
*/
|
|
@@ -2218,6 +2334,19 @@ export namespace discoveryengine_v1beta {
|
|
|
2218
2334
|
*/
|
|
2219
2335
|
mediaProgressPercentage?: number | null;
|
|
2220
2336
|
}
|
|
2337
|
+
/**
|
|
2338
|
+
* The OCR parsing configurations for documents.
|
|
2339
|
+
*/
|
|
2340
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaOcrParsingConfig {
|
|
2341
|
+
/**
|
|
2342
|
+
* Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
|
|
2343
|
+
*/
|
|
2344
|
+
enhancedDocumentElements?: string[] | null;
|
|
2345
|
+
/**
|
|
2346
|
+
* If true, will use native text instead of OCR text on pages containing native text.
|
|
2347
|
+
*/
|
|
2348
|
+
useNativeText?: boolean | null;
|
|
2349
|
+
}
|
|
2221
2350
|
/**
|
|
2222
2351
|
* Detailed page information.
|
|
2223
2352
|
*/
|
|
@@ -2272,6 +2401,10 @@ export namespace discoveryengine_v1beta {
|
|
|
2272
2401
|
* Count of entries that encountered errors while processing.
|
|
2273
2402
|
*/
|
|
2274
2403
|
failureCount?: string | null;
|
|
2404
|
+
/**
|
|
2405
|
+
* Count of entries that were ignored as entries were not found.
|
|
2406
|
+
*/
|
|
2407
|
+
ignoredCount?: string | null;
|
|
2275
2408
|
/**
|
|
2276
2409
|
* Count of entries that were deleted successfully.
|
|
2277
2410
|
*/
|
|
@@ -2592,7 +2725,7 @@ export namespace discoveryengine_v1beta {
|
|
|
2592
2725
|
*/
|
|
2593
2726
|
boost?: number | null;
|
|
2594
2727
|
/**
|
|
2595
|
-
* 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": * (
|
|
2728
|
+
* 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"))
|
|
2596
2729
|
*/
|
|
2597
2730
|
condition?: string | null;
|
|
2598
2731
|
}
|
|
@@ -2698,7 +2831,7 @@ export namespace discoveryengine_v1beta {
|
|
|
2698
2831
|
*/
|
|
2699
2832
|
export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec {
|
|
2700
2833
|
/**
|
|
2701
|
-
* 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.
|
|
2834
|
+
* 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.
|
|
2702
2835
|
*/
|
|
2703
2836
|
version?: string | null;
|
|
2704
2837
|
}
|
|
@@ -2980,6 +3113,9 @@ export namespace discoveryengine_v1beta {
|
|
|
2980
3113
|
* The summary content.
|
|
2981
3114
|
*/
|
|
2982
3115
|
summaryText?: string | null;
|
|
3116
|
+
/**
|
|
3117
|
+
* Summary with metadata information.
|
|
3118
|
+
*/
|
|
2983
3119
|
summaryWithMetadata?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata;
|
|
2984
3120
|
}
|
|
2985
3121
|
/**
|
|
@@ -3120,6 +3256,9 @@ export namespace discoveryengine_v1beta {
|
|
|
3120
3256
|
* 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.
|
|
3121
3257
|
*/
|
|
3122
3258
|
onewaySynonymsControlIds?: string[] | null;
|
|
3259
|
+
/**
|
|
3260
|
+
* 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).
|
|
3261
|
+
*/
|
|
3123
3262
|
rankingExpression?: string | null;
|
|
3124
3263
|
/**
|
|
3125
3264
|
* 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.
|
|
@@ -3261,6 +3400,9 @@ export namespace discoveryengine_v1beta {
|
|
|
3261
3400
|
*/
|
|
3262
3401
|
quotaFailure?: Schema$GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure;
|
|
3263
3402
|
}
|
|
3403
|
+
/**
|
|
3404
|
+
* Failed due to insufficient quota.
|
|
3405
|
+
*/
|
|
3264
3406
|
export interface Schema$GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure {
|
|
3265
3407
|
/**
|
|
3266
3408
|
* This number is an estimation on how much total quota this project needs to successfully complete indexing.
|
|
@@ -3499,6 +3641,10 @@ export namespace discoveryengine_v1beta {
|
|
|
3499
3641
|
* 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.
|
|
3500
3642
|
*/
|
|
3501
3643
|
displayName?: string | null;
|
|
3644
|
+
/**
|
|
3645
|
+
* Configuration for Document understanding and enrichment.
|
|
3646
|
+
*/
|
|
3647
|
+
documentProcessingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
|
|
3502
3648
|
/**
|
|
3503
3649
|
* Immutable. The industry vertical that the data store registers.
|
|
3504
3650
|
*/
|
|
@@ -3511,6 +3657,10 @@ export namespace discoveryengine_v1beta {
|
|
|
3511
3657
|
* 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.
|
|
3512
3658
|
*/
|
|
3513
3659
|
solutionTypes?: string[] | null;
|
|
3660
|
+
/**
|
|
3661
|
+
* 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).
|
|
3662
|
+
*/
|
|
3663
|
+
startingSchema?: Schema$GoogleCloudDiscoveryengineV1Schema;
|
|
3514
3664
|
}
|
|
3515
3665
|
/**
|
|
3516
3666
|
* Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
@@ -3564,6 +3714,10 @@ export namespace discoveryengine_v1beta {
|
|
|
3564
3714
|
*/
|
|
3565
3715
|
updateTime?: string | null;
|
|
3566
3716
|
}
|
|
3717
|
+
/**
|
|
3718
|
+
* The digital parsing configurations for documents.
|
|
3719
|
+
*/
|
|
3720
|
+
export interface Schema$GoogleCloudDiscoveryengineV1DigitalParsingConfig {}
|
|
3567
3721
|
/**
|
|
3568
3722
|
* Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
3569
3723
|
*/
|
|
@@ -3581,6 +3735,40 @@ export namespace discoveryengine_v1beta {
|
|
|
3581
3735
|
* Response message for SiteSearchEngineService.DisableAdvancedSiteSearch method.
|
|
3582
3736
|
*/
|
|
3583
3737
|
export interface Schema$GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse {}
|
|
3738
|
+
/**
|
|
3739
|
+
* 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.
|
|
3740
|
+
*/
|
|
3741
|
+
export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfig {
|
|
3742
|
+
/**
|
|
3743
|
+
* 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.
|
|
3744
|
+
*/
|
|
3745
|
+
defaultParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
|
|
3746
|
+
/**
|
|
3747
|
+
* The full resource name of the Document Processing Config. Format: `projects/x/locations/x/collections/x/dataStores/x/documentProcessingConfig`.
|
|
3748
|
+
*/
|
|
3749
|
+
name?: string | null;
|
|
3750
|
+
/**
|
|
3751
|
+
* 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.
|
|
3752
|
+
*/
|
|
3753
|
+
parsingConfigOverrides?: {
|
|
3754
|
+
[
|
|
3755
|
+
key: string
|
|
3756
|
+
]: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
|
|
3757
|
+
} | null;
|
|
3758
|
+
}
|
|
3759
|
+
/**
|
|
3760
|
+
* Related configurations applied to a specific type of document parser.
|
|
3761
|
+
*/
|
|
3762
|
+
export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig {
|
|
3763
|
+
/**
|
|
3764
|
+
* Configurations applied to digital parser.
|
|
3765
|
+
*/
|
|
3766
|
+
digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DigitalParsingConfig;
|
|
3767
|
+
/**
|
|
3768
|
+
* Configurations applied to OCR parser. Currently it only applies to PDFs.
|
|
3769
|
+
*/
|
|
3770
|
+
ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1OcrParsingConfig;
|
|
3771
|
+
}
|
|
3584
3772
|
/**
|
|
3585
3773
|
* Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
3586
3774
|
*/
|
|
@@ -3827,6 +4015,19 @@ export namespace discoveryengine_v1beta {
|
|
|
3827
4015
|
*/
|
|
3828
4016
|
unjoinedEventsCount?: string | null;
|
|
3829
4017
|
}
|
|
4018
|
+
/**
|
|
4019
|
+
* The OCR parsing configurations for documents.
|
|
4020
|
+
*/
|
|
4021
|
+
export interface Schema$GoogleCloudDiscoveryengineV1OcrParsingConfig {
|
|
4022
|
+
/**
|
|
4023
|
+
* Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
|
|
4024
|
+
*/
|
|
4025
|
+
enhancedDocumentElements?: string[] | null;
|
|
4026
|
+
/**
|
|
4027
|
+
* If true, will use native text instead of OCR text on pages containing native text.
|
|
4028
|
+
*/
|
|
4029
|
+
useNativeText?: boolean | null;
|
|
4030
|
+
}
|
|
3830
4031
|
/**
|
|
3831
4032
|
* Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
3832
4033
|
*/
|
|
@@ -3839,6 +4040,10 @@ export namespace discoveryengine_v1beta {
|
|
|
3839
4040
|
* Count of entries that encountered errors while processing.
|
|
3840
4041
|
*/
|
|
3841
4042
|
failureCount?: string | null;
|
|
4043
|
+
/**
|
|
4044
|
+
* Count of entries that were ignored as entries were not found.
|
|
4045
|
+
*/
|
|
4046
|
+
ignoredCount?: string | null;
|
|
3842
4047
|
/**
|
|
3843
4048
|
* Count of entries that were deleted successfully.
|
|
3844
4049
|
*/
|
|
@@ -3967,6 +4172,9 @@ export namespace discoveryengine_v1beta {
|
|
|
3967
4172
|
*/
|
|
3968
4173
|
quotaFailure?: Schema$GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure;
|
|
3969
4174
|
}
|
|
4175
|
+
/**
|
|
4176
|
+
* Failed due to insufficient quota.
|
|
4177
|
+
*/
|
|
3970
4178
|
export interface Schema$GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure {
|
|
3971
4179
|
/**
|
|
3972
4180
|
* This number is an estimation on how much total quota this project needs to successfully complete indexing.
|