@googleapis/discoveryengine 6.1.0 → 8.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/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.
@@ -351,11 +380,6 @@ export declare namespace discoveryengine_v1beta {
351
380
  */
352
381
  updateTime?: string | null;
353
382
  }
354
- /**
355
- * The digital parsing configurations for documents.
356
- */
357
- export interface Schema$GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig {
358
- }
359
383
  /**
360
384
  * Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
361
385
  */
@@ -378,6 +402,10 @@ export declare namespace discoveryengine_v1beta {
378
402
  * 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.
379
403
  */
380
404
  export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig {
405
+ /**
406
+ * Whether chunking mode is enabled.
407
+ */
408
+ chunkingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig;
381
409
  /**
382
410
  * 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.
383
411
  */
@@ -387,16 +415,34 @@ export declare namespace discoveryengine_v1beta {
387
415
  */
388
416
  name?: string | null;
389
417
  /**
390
- * [DEPRECATED] This field is deprecated. To specify OCR parsing config, please specify `ocr_parsing_config` in `default_parsing_config` field The OCR config. Currently it only applies to PDFs.
391
- */
392
- ocrConfig?: Schema$GoogleCloudDiscoveryengineV1alphaOcrConfig;
393
- /**
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.
418
+ * 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
419
  */
396
420
  parsingConfigOverrides?: {
397
421
  [key: string]: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
398
422
  } | null;
399
423
  }
424
+ /**
425
+ * Configuration for chunking config.
426
+ */
427
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig {
428
+ /**
429
+ * Configuration for the layout based chunking.
430
+ */
431
+ layoutBasedChunkingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig;
432
+ }
433
+ /**
434
+ * Configuration for the layout based chunking.
435
+ */
436
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig {
437
+ /**
438
+ * The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
439
+ */
440
+ chunkSize?: number | null;
441
+ /**
442
+ * Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
443
+ */
444
+ includeAncestorHeadings?: boolean | null;
445
+ }
400
446
  /**
401
447
  * Related configurations applied to a specific type of document parser.
402
448
  */
@@ -404,15 +450,38 @@ export declare namespace discoveryengine_v1beta {
404
450
  /**
405
451
  * Configurations applied to digital parser.
406
452
  */
407
- digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig;
453
+ digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig;
408
454
  /**
409
455
  * Configurations applied to layout parser.
410
456
  */
411
- layoutParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig;
457
+ layoutParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig;
412
458
  /**
413
459
  * Configurations applied to OCR parser. Currently it only applies to PDFs.
414
460
  */
415
- ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaOcrParsingConfig;
461
+ ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig;
462
+ }
463
+ /**
464
+ * The digital parsing configurations for documents.
465
+ */
466
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig {
467
+ }
468
+ /**
469
+ * The layout parsing configurations for documents.
470
+ */
471
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
472
+ }
473
+ /**
474
+ * The OCR parsing configurations for documents.
475
+ */
476
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig {
477
+ /**
478
+ * Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
479
+ */
480
+ enhancedDocumentElements?: string[] | null;
481
+ /**
482
+ * If true, will use native text instead of OCR text on pages containing native text.
483
+ */
484
+ useNativeText?: boolean | null;
416
485
  }
417
486
  /**
418
487
  * Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
@@ -681,6 +750,28 @@ export declare namespace discoveryengine_v1beta {
681
750
  */
682
751
  searchableOption?: string | null;
683
752
  }
753
+ /**
754
+ * Identity Provider Config.
755
+ */
756
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaIdpConfig {
757
+ /**
758
+ * External Identity provider config.
759
+ */
760
+ externalIdpConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig;
761
+ /**
762
+ * Identity provider type configured.
763
+ */
764
+ idpType?: string | null;
765
+ }
766
+ /**
767
+ * Third party IDP Config.
768
+ */
769
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig {
770
+ /**
771
+ * Workforce pool name. Example: "locations/global/workforcePools/pool_id"
772
+ */
773
+ workforcePoolName?: string | null;
774
+ }
684
775
  /**
685
776
  * Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.
686
777
  */
@@ -796,41 +887,6 @@ export declare namespace discoveryengine_v1beta {
796
887
  */
797
888
  unjoinedEventsCount?: string | null;
798
889
  }
799
- /**
800
- * The layout parsing configurations for documents.
801
- */
802
- export interface Schema$GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig {
803
- }
804
- /**
805
- * The OCR options for parsing documents.
806
- */
807
- export interface Schema$GoogleCloudDiscoveryengineV1alphaOcrConfig {
808
- /**
809
- * Required. If OCR is enabled or not. OCR must be enabled for other OcrConfig options to apply. We will only perform OCR on the first 80 pages of the PDF files.
810
- */
811
- enabled?: boolean | null;
812
- /**
813
- * Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
814
- */
815
- enhancedDocumentElements?: string[] | null;
816
- /**
817
- * If true, will use native text instead of OCR text on pages containing native text.
818
- */
819
- useNativeText?: boolean | null;
820
- }
821
- /**
822
- * The OCR parsing configurations for documents.
823
- */
824
- export interface Schema$GoogleCloudDiscoveryengineV1alphaOcrParsingConfig {
825
- /**
826
- * Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
827
- */
828
- enhancedDocumentElements?: string[] | null;
829
- /**
830
- * If true, will use native text instead of OCR text on pages containing native text.
831
- */
832
- useNativeText?: boolean | null;
833
- }
834
890
  /**
835
891
  * Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
836
892
  */
@@ -843,6 +899,10 @@ export declare namespace discoveryengine_v1beta {
843
899
  * Count of entries that encountered errors while processing.
844
900
  */
845
901
  failureCount?: string | null;
902
+ /**
903
+ * Count of entries that were ignored as entries were not found.
904
+ */
905
+ ignoredCount?: string | null;
846
906
  /**
847
907
  * Count of entries that were deleted successfully.
848
908
  */
@@ -1079,6 +1139,9 @@ export declare namespace discoveryengine_v1beta {
1079
1139
  */
1080
1140
  quotaFailure?: Schema$GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure;
1081
1141
  }
1142
+ /**
1143
+ * Failed due to insufficient quota.
1144
+ */
1082
1145
  export interface Schema$GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure {
1083
1146
  /**
1084
1147
  * This number is an estimation on how much total quota this project needs to successfully complete indexing.
@@ -1344,6 +1407,10 @@ export declare namespace discoveryengine_v1beta {
1344
1407
  * Request message for ConversationalSearchService.ConverseConversation method.
1345
1408
  */
1346
1409
  export interface Schema$GoogleCloudDiscoveryengineV1betaConverseConversationRequest {
1410
+ /**
1411
+ * 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)
1412
+ */
1413
+ boostSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec;
1347
1414
  /**
1348
1415
  * 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
1416
  */
@@ -1494,6 +1561,10 @@ export declare namespace discoveryengine_v1beta {
1494
1561
  * 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
1562
  */
1496
1563
  displayName?: string | null;
1564
+ /**
1565
+ * Configuration for Document understanding and enrichment.
1566
+ */
1567
+ documentProcessingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
1497
1568
  /**
1498
1569
  * Immutable. The industry vertical that the data store registers.
1499
1570
  */
@@ -1506,6 +1577,10 @@ export declare namespace discoveryengine_v1beta {
1506
1577
  * 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
1578
  */
1508
1579
  solutionTypes?: string[] | null;
1580
+ /**
1581
+ * 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).
1582
+ */
1583
+ startingSchema?: Schema$GoogleCloudDiscoveryengineV1betaSchema;
1509
1584
  }
1510
1585
  /**
1511
1586
  * Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
@@ -1600,6 +1675,10 @@ export declare namespace discoveryengine_v1beta {
1600
1675
  * 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
1676
  */
1602
1677
  id?: string | null;
1678
+ /**
1679
+ * 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.
1680
+ */
1681
+ indexTime?: string | null;
1603
1682
  /**
1604
1683
  * The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.
1605
1684
  */
@@ -1665,6 +1744,56 @@ export declare namespace discoveryengine_v1beta {
1665
1744
  */
1666
1745
  uri?: string | null;
1667
1746
  }
1747
+ /**
1748
+ * 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.
1749
+ */
1750
+ export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig {
1751
+ /**
1752
+ * 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.
1753
+ */
1754
+ defaultParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
1755
+ /**
1756
+ * The full resource name of the Document Processing Config. Format: `projects/x/locations/x/collections/x/dataStores/x/documentProcessingConfig`.
1757
+ */
1758
+ name?: string | null;
1759
+ /**
1760
+ * 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.
1761
+ */
1762
+ parsingConfigOverrides?: {
1763
+ [key: string]: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
1764
+ } | null;
1765
+ }
1766
+ /**
1767
+ * Related configurations applied to a specific type of document parser.
1768
+ */
1769
+ export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig {
1770
+ /**
1771
+ * Configurations applied to digital parser.
1772
+ */
1773
+ digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig;
1774
+ /**
1775
+ * Configurations applied to OCR parser. Currently it only applies to PDFs.
1776
+ */
1777
+ ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig;
1778
+ }
1779
+ /**
1780
+ * The digital parsing configurations for documents.
1781
+ */
1782
+ export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig {
1783
+ }
1784
+ /**
1785
+ * The OCR parsing configurations for documents.
1786
+ */
1787
+ export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig {
1788
+ /**
1789
+ * Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
1790
+ */
1791
+ enhancedDocumentElements?: string[] | null;
1792
+ /**
1793
+ * If true, will use native text instead of OCR text on pages containing native text.
1794
+ */
1795
+ useNativeText?: boolean | null;
1796
+ }
1668
1797
  /**
1669
1798
  * Double list.
1670
1799
  */
@@ -2242,6 +2371,10 @@ export declare namespace discoveryengine_v1beta {
2242
2371
  * Count of entries that encountered errors while processing.
2243
2372
  */
2244
2373
  failureCount?: string | null;
2374
+ /**
2375
+ * Count of entries that were ignored as entries were not found.
2376
+ */
2377
+ ignoredCount?: string | null;
2245
2378
  /**
2246
2379
  * Count of entries that were deleted successfully.
2247
2380
  */
@@ -2484,6 +2617,10 @@ export declare namespace discoveryengine_v1beta {
2484
2617
  * A specification for configuring the behavior of content search.
2485
2618
  */
2486
2619
  contentSearchSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec;
2620
+ /**
2621
+ * A list of data store specs to apply on a search call.
2622
+ */
2623
+ dataStoreSpecs?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec[];
2487
2624
  /**
2488
2625
  * Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embedding that is provided in SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it will use ServingConfig.EmbeddingConfig.field_path.
2489
2626
  */
@@ -2571,11 +2708,11 @@ export declare namespace discoveryengine_v1beta {
2571
2708
  */
2572
2709
  export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec {
2573
2710
  /**
2574
- * Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.
2711
+ * Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. Only one of the (condition, boost) combination or the boost_control_spec below are set. If both are set then the global boost is ignored and the more fine-grained boost_control_spec is applied.
2575
2712
  */
2576
2713
  boost?: number | null;
2577
2714
  /**
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": * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))
2715
+ * 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
2716
  */
2580
2717
  condition?: string | null;
2581
2718
  }
@@ -2616,6 +2753,10 @@ export declare namespace discoveryengine_v1beta {
2616
2753
  * Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.
2617
2754
  */
2618
2755
  numPreviousSegments?: number | null;
2756
+ /**
2757
+ * Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, please contact your Customer Engineer. The default value is `false`.
2758
+ */
2759
+ returnExtractiveSegmentScore?: boolean | null;
2619
2760
  }
2620
2761
  /**
2621
2762
  * A specification for configuring snippets in a search response.
@@ -2663,9 +2804,13 @@ export declare namespace discoveryengine_v1beta {
2663
2804
  */
2664
2805
  modelSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec;
2665
2806
  /**
2666
- * The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most five results can be used to generate a summary.
2807
+ * The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most 10 results can be used to generate a summary.
2667
2808
  */
2668
2809
  summaryResultCount?: number | null;
2810
+ /**
2811
+ * If true, answer will be generated from most relevant chunks from top search results. This feature will improve summary quality. Please note that with this feature enabled, not all top search results will be referenced and included in the reference list, so the citation source index only points to the search results listed in the reference list.
2812
+ */
2813
+ useSemanticChunks?: boolean | null;
2669
2814
  }
2670
2815
  /**
2671
2816
  * Specification of the prompt to use with the model.
@@ -2681,10 +2826,19 @@ export declare namespace discoveryengine_v1beta {
2681
2826
  */
2682
2827
  export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec {
2683
2828
  /**
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. LINT.IfChange * `preview`: string. (Public preview) Uses a fine-tuned version of the text-bison@002 model. This model works only for summaries in English. LINT.ThenChange(//depot/google3/cloud/console/web/ai/unified_cloud_search/pages/configurations/widget_tab.ts)
2829
+ * 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 model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). * `preview`: string. (Public preview) Uses a preview model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models).
2685
2830
  */
2686
2831
  version?: string | null;
2687
2832
  }
2833
+ /**
2834
+ * A struct to define data stores to filter on in a search call.
2835
+ */
2836
+ export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec {
2837
+ /**
2838
+ * Required. Full resource name of DataStore, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`.
2839
+ */
2840
+ dataStore?: string | null;
2841
+ }
2688
2842
  /**
2689
2843
  * The specification that uses customized query embedding vector to do semantic document retrieval.
2690
2844
  */
@@ -2963,6 +3117,9 @@ export declare namespace discoveryengine_v1beta {
2963
3117
  * The summary content.
2964
3118
  */
2965
3119
  summaryText?: string | null;
3120
+ /**
3121
+ * Summary with metadata information.
3122
+ */
2966
3123
  summaryWithMetadata?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata;
2967
3124
  }
2968
3125
  /**
@@ -3096,13 +3253,16 @@ export declare namespace discoveryengine_v1beta {
3096
3253
  */
3097
3254
  modelId?: string | null;
3098
3255
  /**
3099
- * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/servingConfigs/{serving_config_id\}`
3256
+ * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
3100
3257
  */
3101
3258
  name?: string | null;
3102
3259
  /**
3103
3260
  * 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
3261
  */
3105
3262
  onewaySynonymsControlIds?: string[] | null;
3263
+ /**
3264
+ * 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).
3265
+ */
3106
3266
  rankingExpression?: string | null;
3107
3267
  /**
3108
3268
  * 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.
@@ -3142,10 +3302,6 @@ export declare namespace discoveryengine_v1beta {
3142
3302
  * Specifies the content freshness used for recommendation result. Contents will be demoted if contents were published for more than content freshness cutoff days.
3143
3303
  */
3144
3304
  contentFreshnessCutoffDays?: number | null;
3145
- /**
3146
- * Specifies the content watched minutes threshold for demotion.
3147
- */
3148
- contentWatchedMinutesThreshold?: number | null;
3149
3305
  /**
3150
3306
  * Specifies the content watched percentage threshold for demotion. Threshold value must be between [0, 1.0] inclusive.
3151
3307
  */
@@ -3244,6 +3400,9 @@ export declare namespace discoveryengine_v1beta {
3244
3400
  */
3245
3401
  quotaFailure?: Schema$GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure;
3246
3402
  }
3403
+ /**
3404
+ * Failed due to insufficient quota.
3405
+ */
3247
3406
  export interface Schema$GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure {
3248
3407
  /**
3249
3408
  * This number is an estimation on how much total quota this project needs to successfully complete indexing.
@@ -3263,6 +3422,74 @@ export declare namespace discoveryengine_v1beta {
3263
3422
  */
3264
3423
  input?: string | null;
3265
3424
  }
3425
+ /**
3426
+ * Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field.
3427
+ */
3428
+ export interface Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata {
3429
+ /**
3430
+ * Operation create time.
3431
+ */
3432
+ createTime?: string | null;
3433
+ /**
3434
+ * Operation last update time. If the operation is done, this is also the finish time.
3435
+ */
3436
+ updateTime?: string | null;
3437
+ }
3438
+ /**
3439
+ * Request message for SearchTuningService.TrainCustomModel method.
3440
+ */
3441
+ export interface Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest {
3442
+ /**
3443
+ * The desired location of errors incurred during the data ingestion and training.
3444
+ */
3445
+ errorConfig?: Schema$GoogleCloudDiscoveryengineV1betaImportErrorConfig;
3446
+ /**
3447
+ * Cloud Storage training input.
3448
+ */
3449
+ gcsTrainingInput?: Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput;
3450
+ /**
3451
+ * Model to be trained. Supported values are: * **search-tuning**: Fine tuning the search system based on data provided.
3452
+ */
3453
+ modelType?: string | null;
3454
+ }
3455
+ /**
3456
+ * Cloud Storage training data input.
3457
+ */
3458
+ export interface Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput {
3459
+ /**
3460
+ * The Cloud Storage corpus data which could be associated in train data. The data path format is `gs:///`. A newline delimited jsonl/ndjson file. For search-tuning model, each line should have the _id, title and text. Example: `{"_id": "doc1", title: "relevant doc", "text": "relevant text"\}`
3461
+ */
3462
+ corpusDataPath?: string | null;
3463
+ /**
3464
+ * The gcs query data which could be associated in train data. The data path format is `gs:///`. A newline delimited jsonl/ndjson file. For search-tuning model, each line should have the _id and text. Example: {"_id": "query1", "text": "example query"\}
3465
+ */
3466
+ queryDataPath?: string | null;
3467
+ /**
3468
+ * Cloud Storage test data. Same format as train_data_path. If not provided, a random 80/20 train/test split will be performed on train_data_path.
3469
+ */
3470
+ testDataPath?: string | null;
3471
+ /**
3472
+ * Cloud Storage training data path whose format should be `gs:///`. The file should be in tsv format. Each line should have the doc_id and query_id and score (number). For search-tuning model, it should have the query-id corpus-id score as tsv file header. The score should be a number in `[0, inf+)`. The larger the number is, the more relevant the pair is. Example: * `query-id\tcorpus-id\tscore` * `query1\tdoc1\t1`
3473
+ */
3474
+ trainDataPath?: string | null;
3475
+ }
3476
+ /**
3477
+ * Response of the TrainCustomModelRequest. This message is returned by the google.longrunning.Operations.response field.
3478
+ */
3479
+ export interface Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse {
3480
+ /**
3481
+ * Echoes the destination for the complete errors in the request if set.
3482
+ */
3483
+ errorConfig?: Schema$GoogleCloudDiscoveryengineV1betaImportErrorConfig;
3484
+ /**
3485
+ * A sample of errors encountered while processing the data.
3486
+ */
3487
+ errorSamples?: Schema$GoogleRpcStatus[];
3488
+ /**
3489
+ * The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training is in progress. * **ready**: The model is ready for serving.
3490
+ */
3491
+ modelStatus?: string | null;
3492
+ }
3266
3493
  /**
3267
3494
  * A transaction represents the entire purchase transaction.
3268
3495
  */
@@ -3482,6 +3709,10 @@ export declare namespace discoveryengine_v1beta {
3482
3709
  * 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
3710
  */
3484
3711
  displayName?: string | null;
3712
+ /**
3713
+ * Configuration for Document understanding and enrichment.
3714
+ */
3715
+ documentProcessingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
3485
3716
  /**
3486
3717
  * Immutable. The industry vertical that the data store registers.
3487
3718
  */
@@ -3494,6 +3725,10 @@ export declare namespace discoveryengine_v1beta {
3494
3725
  * 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
3726
  */
3496
3727
  solutionTypes?: string[] | null;
3728
+ /**
3729
+ * 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).
3730
+ */
3731
+ startingSchema?: Schema$GoogleCloudDiscoveryengineV1Schema;
3497
3732
  }
3498
3733
  /**
3499
3734
  * Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
@@ -3565,6 +3800,56 @@ export declare namespace discoveryengine_v1beta {
3565
3800
  */
3566
3801
  export interface Schema$GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse {
3567
3802
  }
3803
+ /**
3804
+ * 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.
3805
+ */
3806
+ export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfig {
3807
+ /**
3808
+ * 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.
3809
+ */
3810
+ defaultParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
3811
+ /**
3812
+ * The full resource name of the Document Processing Config. Format: `projects/x/locations/x/collections/x/dataStores/x/documentProcessingConfig`.
3813
+ */
3814
+ name?: string | null;
3815
+ /**
3816
+ * 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.
3817
+ */
3818
+ parsingConfigOverrides?: {
3819
+ [key: string]: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
3820
+ } | null;
3821
+ }
3822
+ /**
3823
+ * Related configurations applied to a specific type of document parser.
3824
+ */
3825
+ export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig {
3826
+ /**
3827
+ * Configurations applied to digital parser.
3828
+ */
3829
+ digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig;
3830
+ /**
3831
+ * Configurations applied to OCR parser. Currently it only applies to PDFs.
3832
+ */
3833
+ ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig;
3834
+ }
3835
+ /**
3836
+ * The digital parsing configurations for documents.
3837
+ */
3838
+ export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig {
3839
+ }
3840
+ /**
3841
+ * The OCR parsing configurations for documents.
3842
+ */
3843
+ export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig {
3844
+ /**
3845
+ * Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
3846
+ */
3847
+ enhancedDocumentElements?: string[] | null;
3848
+ /**
3849
+ * If true, will use native text instead of OCR text on pages containing native text.
3850
+ */
3851
+ useNativeText?: boolean | null;
3852
+ }
3568
3853
  /**
3569
3854
  * Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
3570
3855
  */
@@ -3824,6 +4109,10 @@ export declare namespace discoveryengine_v1beta {
3824
4109
  * Count of entries that encountered errors while processing.
3825
4110
  */
3826
4111
  failureCount?: string | null;
4112
+ /**
4113
+ * Count of entries that were ignored as entries were not found.
4114
+ */
4115
+ ignoredCount?: string | null;
3827
4116
  /**
3828
4117
  * Count of entries that were deleted successfully.
3829
4118
  */
@@ -3954,6 +4243,9 @@ export declare namespace discoveryengine_v1beta {
3954
4243
  */
3955
4244
  quotaFailure?: Schema$GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure;
3956
4245
  }
4246
+ /**
4247
+ * Failed due to insufficient quota.
4248
+ */
3957
4249
  export interface Schema$GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure {
3958
4250
  /**
3959
4251
  * This number is an estimation on how much total quota this project needs to successfully complete indexing.
@@ -4261,6 +4553,20 @@ export declare namespace discoveryengine_v1beta {
4261
4553
  patch(params: Params$Resource$Projects$Locations$Collections$Datastores$Patch, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaDataStore>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaDataStore>): void;
4262
4554
  patch(params: Params$Resource$Projects$Locations$Collections$Datastores$Patch, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaDataStore>): void;
4263
4555
  patch(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaDataStore>): void;
4556
+ /**
4557
+ * Trains a custom model.
4558
+ *
4559
+ * @param params - Parameters for request
4560
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4561
+ * @param callback - Optional callback that handles the response.
4562
+ * @returns A promise if used with async/await, or void if used with a callback.
4563
+ */
4564
+ trainCustomModel(params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, options: StreamMethodOptions): GaxiosPromise<Readable>;
4565
+ trainCustomModel(params?: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, options?: MethodOptions): GaxiosPromise<Schema$GoogleLongrunningOperation>;
4566
+ trainCustomModel(params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4567
+ trainCustomModel(params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
4568
+ trainCustomModel(params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
4569
+ trainCustomModel(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
4264
4570
  }
4265
4571
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Completequery extends StandardParameters {
4266
4572
  /**
@@ -4352,6 +4658,16 @@ export declare namespace discoveryengine_v1beta {
4352
4658
  */
4353
4659
  requestBody?: Schema$GoogleCloudDiscoveryengineV1betaDataStore;
4354
4660
  }
4661
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel extends StandardParameters {
4662
+ /**
4663
+ * Required. The resource name of the Data Store, such as `projects/x/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to train the models.
4664
+ */
4665
+ dataStore?: string;
4666
+ /**
4667
+ * Request body metadata
4668
+ */
4669
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest;
4670
+ }
4355
4671
  export class Resource$Projects$Locations$Collections$Datastores$Branches {
4356
4672
  context: APIRequestContext;
4357
4673
  documents: Resource$Projects$Locations$Collections$Datastores$Branches$Documents;
@@ -5124,7 +5440,7 @@ export declare namespace discoveryengine_v1beta {
5124
5440
  }
5125
5441
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get extends StandardParameters {
5126
5442
  /**
5127
- * Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/servingConfigs/{serving_config_id\}`
5443
+ * Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
5128
5444
  */
5129
5445
  name?: string;
5130
5446
  }
@@ -5138,13 +5454,13 @@ export declare namespace discoveryengine_v1beta {
5138
5454
  */
5139
5455
  pageToken?: string;
5140
5456
  /**
5141
- * Required. The dataStore resource name. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}`
5457
+ * Required. Full resource name of the parent resource. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
5142
5458
  */
5143
5459
  parent?: string;
5144
5460
  }
5145
5461
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch extends StandardParameters {
5146
5462
  /**
5147
- * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/servingConfigs/{serving_config_id\}`
5463
+ * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
5148
5464
  */
5149
5465
  name?: string;
5150
5466
  /**
@@ -6122,7 +6438,7 @@ export declare namespace discoveryengine_v1beta {
6122
6438
  }
6123
6439
  export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get extends StandardParameters {
6124
6440
  /**
6125
- * Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/servingConfigs/{serving_config_id\}`
6441
+ * Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
6126
6442
  */
6127
6443
  name?: string;
6128
6444
  }
@@ -6136,13 +6452,13 @@ export declare namespace discoveryengine_v1beta {
6136
6452
  */
6137
6453
  pageToken?: string;
6138
6454
  /**
6139
- * Required. The dataStore resource name. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}`
6455
+ * Required. Full resource name of the parent resource. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
6140
6456
  */
6141
6457
  parent?: string;
6142
6458
  }
6143
6459
  export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch extends StandardParameters {
6144
6460
  /**
6145
- * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/servingConfigs/{serving_config_id\}`
6461
+ * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
6146
6462
  */
6147
6463
  name?: string;
6148
6464
  /**
@@ -7146,7 +7462,7 @@ export declare namespace discoveryengine_v1beta {
7146
7462
  }
7147
7463
  export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get extends StandardParameters {
7148
7464
  /**
7149
- * Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/servingConfigs/{serving_config_id\}`
7465
+ * Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
7150
7466
  */
7151
7467
  name?: string;
7152
7468
  }
@@ -7160,13 +7476,13 @@ export declare namespace discoveryengine_v1beta {
7160
7476
  */
7161
7477
  pageToken?: string;
7162
7478
  /**
7163
- * Required. The dataStore resource name. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}`
7479
+ * Required. Full resource name of the parent resource. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
7164
7480
  */
7165
7481
  parent?: string;
7166
7482
  }
7167
7483
  export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch extends StandardParameters {
7168
7484
  /**
7169
- * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/servingConfigs/{serving_config_id\}`
7485
+ * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
7170
7486
  */
7171
7487
  name?: string;
7172
7488
  /**