@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/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.
@@ -398,10 +427,6 @@ export namespace discoveryengine_v1beta {
398
427
  */
399
428
  updateTime?: string | null;
400
429
  }
401
- /**
402
- * The digital parsing configurations for documents.
403
- */
404
- export interface Schema$GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig {}
405
430
  /**
406
431
  * Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
407
432
  */
@@ -423,6 +448,10 @@ export namespace discoveryengine_v1beta {
423
448
  * 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.
424
449
  */
425
450
  export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig {
451
+ /**
452
+ * Whether chunking mode is enabled.
453
+ */
454
+ chunkingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig;
426
455
  /**
427
456
  * 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.
428
457
  */
@@ -432,11 +461,7 @@ export namespace discoveryengine_v1beta {
432
461
  */
433
462
  name?: string | null;
434
463
  /**
435
- * [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.
436
- */
437
- ocrConfig?: Schema$GoogleCloudDiscoveryengineV1alphaOcrConfig;
438
- /**
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.
464
+ * 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
465
  */
441
466
  parsingConfigOverrides?: {
442
467
  [
@@ -444,6 +469,28 @@ export namespace discoveryengine_v1beta {
444
469
  ]: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
445
470
  } | null;
446
471
  }
472
+ /**
473
+ * Configuration for chunking config.
474
+ */
475
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig {
476
+ /**
477
+ * Configuration for the layout based chunking.
478
+ */
479
+ layoutBasedChunkingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig;
480
+ }
481
+ /**
482
+ * Configuration for the layout based chunking.
483
+ */
484
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig {
485
+ /**
486
+ * The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
487
+ */
488
+ chunkSize?: number | null;
489
+ /**
490
+ * Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
491
+ */
492
+ includeAncestorHeadings?: boolean | null;
493
+ }
447
494
  /**
448
495
  * Related configurations applied to a specific type of document parser.
449
496
  */
@@ -451,15 +498,36 @@ export namespace discoveryengine_v1beta {
451
498
  /**
452
499
  * Configurations applied to digital parser.
453
500
  */
454
- digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig;
501
+ digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig;
455
502
  /**
456
503
  * Configurations applied to layout parser.
457
504
  */
458
- layoutParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig;
505
+ layoutParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig;
459
506
  /**
460
507
  * Configurations applied to OCR parser. Currently it only applies to PDFs.
461
508
  */
462
- ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaOcrParsingConfig;
509
+ ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig;
510
+ }
511
+ /**
512
+ * The digital parsing configurations for documents.
513
+ */
514
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig {}
515
+ /**
516
+ * The layout parsing configurations for documents.
517
+ */
518
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig {}
519
+ /**
520
+ * The OCR parsing configurations for documents.
521
+ */
522
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig {
523
+ /**
524
+ * Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
525
+ */
526
+ enhancedDocumentElements?: string[] | null;
527
+ /**
528
+ * If true, will use native text instead of OCR text on pages containing native text.
529
+ */
530
+ useNativeText?: boolean | null;
463
531
  }
464
532
  /**
465
533
  * Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
@@ -726,6 +794,28 @@ export namespace discoveryengine_v1beta {
726
794
  */
727
795
  searchableOption?: string | null;
728
796
  }
797
+ /**
798
+ * Identity Provider Config.
799
+ */
800
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaIdpConfig {
801
+ /**
802
+ * External Identity provider config.
803
+ */
804
+ externalIdpConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig;
805
+ /**
806
+ * Identity provider type configured.
807
+ */
808
+ idpType?: string | null;
809
+ }
810
+ /**
811
+ * Third party IDP Config.
812
+ */
813
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig {
814
+ /**
815
+ * Workforce pool name. Example: "locations/global/workforcePools/pool_id"
816
+ */
817
+ workforcePoolName?: string | null;
818
+ }
729
819
  /**
730
820
  * Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.
731
821
  */
@@ -841,40 +931,6 @@ export namespace discoveryengine_v1beta {
841
931
  */
842
932
  unjoinedEventsCount?: string | null;
843
933
  }
844
- /**
845
- * The layout parsing configurations for documents.
846
- */
847
- export interface Schema$GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig {}
848
- /**
849
- * The OCR options for parsing documents.
850
- */
851
- export interface Schema$GoogleCloudDiscoveryengineV1alphaOcrConfig {
852
- /**
853
- * 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.
854
- */
855
- enabled?: boolean | null;
856
- /**
857
- * Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
858
- */
859
- enhancedDocumentElements?: string[] | null;
860
- /**
861
- * If true, will use native text instead of OCR text on pages containing native text.
862
- */
863
- useNativeText?: boolean | null;
864
- }
865
- /**
866
- * The OCR parsing configurations for documents.
867
- */
868
- export interface Schema$GoogleCloudDiscoveryengineV1alphaOcrParsingConfig {
869
- /**
870
- * Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
871
- */
872
- enhancedDocumentElements?: string[] | null;
873
- /**
874
- * If true, will use native text instead of OCR text on pages containing native text.
875
- */
876
- useNativeText?: boolean | null;
877
- }
878
934
  /**
879
935
  * Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
880
936
  */
@@ -887,6 +943,10 @@ export namespace discoveryengine_v1beta {
887
943
  * Count of entries that encountered errors while processing.
888
944
  */
889
945
  failureCount?: string | null;
946
+ /**
947
+ * Count of entries that were ignored as entries were not found.
948
+ */
949
+ ignoredCount?: string | null;
890
950
  /**
891
951
  * Count of entries that were deleted successfully.
892
952
  */
@@ -1121,6 +1181,9 @@ export namespace discoveryengine_v1beta {
1121
1181
  */
1122
1182
  quotaFailure?: Schema$GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure;
1123
1183
  }
1184
+ /**
1185
+ * Failed due to insufficient quota.
1186
+ */
1124
1187
  export interface Schema$GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure {
1125
1188
  /**
1126
1189
  * This number is an estimation on how much total quota this project needs to successfully complete indexing.
@@ -1384,6 +1447,10 @@ export namespace discoveryengine_v1beta {
1384
1447
  * Request message for ConversationalSearchService.ConverseConversation method.
1385
1448
  */
1386
1449
  export interface Schema$GoogleCloudDiscoveryengineV1betaConverseConversationRequest {
1450
+ /**
1451
+ * 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)
1452
+ */
1453
+ boostSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec;
1387
1454
  /**
1388
1455
  * 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
1456
  */
@@ -1532,6 +1599,10 @@ export namespace discoveryengine_v1beta {
1532
1599
  * 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
1600
  */
1534
1601
  displayName?: string | null;
1602
+ /**
1603
+ * Configuration for Document understanding and enrichment.
1604
+ */
1605
+ documentProcessingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
1535
1606
  /**
1536
1607
  * Immutable. The industry vertical that the data store registers.
1537
1608
  */
@@ -1544,6 +1615,10 @@ export namespace discoveryengine_v1beta {
1544
1615
  * 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
1616
  */
1546
1617
  solutionTypes?: string[] | null;
1618
+ /**
1619
+ * 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).
1620
+ */
1621
+ startingSchema?: Schema$GoogleCloudDiscoveryengineV1betaSchema;
1547
1622
  }
1548
1623
  /**
1549
1624
  * Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
@@ -1634,6 +1709,10 @@ export namespace discoveryengine_v1beta {
1634
1709
  * 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
1710
  */
1636
1711
  id?: string | null;
1712
+ /**
1713
+ * 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.
1714
+ */
1715
+ indexTime?: string | null;
1637
1716
  /**
1638
1717
  * The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.
1639
1718
  */
@@ -1697,6 +1776,57 @@ export namespace discoveryengine_v1beta {
1697
1776
  */
1698
1777
  uri?: string | null;
1699
1778
  }
1779
+ /**
1780
+ * 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.
1781
+ */
1782
+ export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig {
1783
+ /**
1784
+ * 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.
1785
+ */
1786
+ defaultParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
1787
+ /**
1788
+ * The full resource name of the Document Processing Config. Format: `projects/x/locations/x/collections/x/dataStores/x/documentProcessingConfig`.
1789
+ */
1790
+ name?: string | null;
1791
+ /**
1792
+ * 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.
1793
+ */
1794
+ parsingConfigOverrides?: {
1795
+ [
1796
+ key: string
1797
+ ]: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
1798
+ } | null;
1799
+ }
1800
+ /**
1801
+ * Related configurations applied to a specific type of document parser.
1802
+ */
1803
+ export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig {
1804
+ /**
1805
+ * Configurations applied to digital parser.
1806
+ */
1807
+ digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig;
1808
+ /**
1809
+ * Configurations applied to OCR parser. Currently it only applies to PDFs.
1810
+ */
1811
+ ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig;
1812
+ }
1813
+ /**
1814
+ * The digital parsing configurations for documents.
1815
+ */
1816
+ export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig {}
1817
+ /**
1818
+ * The OCR parsing configurations for documents.
1819
+ */
1820
+ export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig {
1821
+ /**
1822
+ * Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
1823
+ */
1824
+ enhancedDocumentElements?: string[] | null;
1825
+ /**
1826
+ * If true, will use native text instead of OCR text on pages containing native text.
1827
+ */
1828
+ useNativeText?: boolean | null;
1829
+ }
1700
1830
  /**
1701
1831
  * Double list.
1702
1832
  */
@@ -2272,6 +2402,10 @@ export namespace discoveryengine_v1beta {
2272
2402
  * Count of entries that encountered errors while processing.
2273
2403
  */
2274
2404
  failureCount?: string | null;
2405
+ /**
2406
+ * Count of entries that were ignored as entries were not found.
2407
+ */
2408
+ ignoredCount?: string | null;
2275
2409
  /**
2276
2410
  * Count of entries that were deleted successfully.
2277
2411
  */
@@ -2505,6 +2639,10 @@ export namespace discoveryengine_v1beta {
2505
2639
  * A specification for configuring the behavior of content search.
2506
2640
  */
2507
2641
  contentSearchSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec;
2642
+ /**
2643
+ * A list of data store specs to apply on a search call.
2644
+ */
2645
+ dataStoreSpecs?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec[];
2508
2646
  /**
2509
2647
  * 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.
2510
2648
  */
@@ -2588,11 +2726,11 @@ export namespace discoveryengine_v1beta {
2588
2726
  */
2589
2727
  export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec {
2590
2728
  /**
2591
- * 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.
2729
+ * 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.
2592
2730
  */
2593
2731
  boost?: number | null;
2594
2732
  /**
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": * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))
2733
+ * 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
2734
  */
2597
2735
  condition?: string | null;
2598
2736
  }
@@ -2633,6 +2771,10 @@ export namespace discoveryengine_v1beta {
2633
2771
  * Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.
2634
2772
  */
2635
2773
  numPreviousSegments?: number | null;
2774
+ /**
2775
+ * 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`.
2776
+ */
2777
+ returnExtractiveSegmentScore?: boolean | null;
2636
2778
  }
2637
2779
  /**
2638
2780
  * A specification for configuring snippets in a search response.
@@ -2680,9 +2822,13 @@ export namespace discoveryengine_v1beta {
2680
2822
  */
2681
2823
  modelSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec;
2682
2824
  /**
2683
- * 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.
2825
+ * 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.
2684
2826
  */
2685
2827
  summaryResultCount?: number | null;
2828
+ /**
2829
+ * 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.
2830
+ */
2831
+ useSemanticChunks?: boolean | null;
2686
2832
  }
2687
2833
  /**
2688
2834
  * Specification of the prompt to use with the model.
@@ -2698,10 +2844,19 @@ export namespace discoveryengine_v1beta {
2698
2844
  */
2699
2845
  export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec {
2700
2846
  /**
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. 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)
2847
+ * 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).
2702
2848
  */
2703
2849
  version?: string | null;
2704
2850
  }
2851
+ /**
2852
+ * A struct to define data stores to filter on in a search call.
2853
+ */
2854
+ export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec {
2855
+ /**
2856
+ * Required. Full resource name of DataStore, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`.
2857
+ */
2858
+ dataStore?: string | null;
2859
+ }
2705
2860
  /**
2706
2861
  * The specification that uses customized query embedding vector to do semantic document retrieval.
2707
2862
  */
@@ -2980,6 +3135,9 @@ export namespace discoveryengine_v1beta {
2980
3135
  * The summary content.
2981
3136
  */
2982
3137
  summaryText?: string | null;
3138
+ /**
3139
+ * Summary with metadata information.
3140
+ */
2983
3141
  summaryWithMetadata?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata;
2984
3142
  }
2985
3143
  /**
@@ -3113,13 +3271,16 @@ export namespace discoveryengine_v1beta {
3113
3271
  */
3114
3272
  modelId?: string | null;
3115
3273
  /**
3116
- * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/servingConfigs/{serving_config_id\}`
3274
+ * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
3117
3275
  */
3118
3276
  name?: string | null;
3119
3277
  /**
3120
3278
  * 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
3279
  */
3122
3280
  onewaySynonymsControlIds?: string[] | null;
3281
+ /**
3282
+ * 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).
3283
+ */
3123
3284
  rankingExpression?: string | null;
3124
3285
  /**
3125
3286
  * 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.
@@ -3159,10 +3320,6 @@ export namespace discoveryengine_v1beta {
3159
3320
  * Specifies the content freshness used for recommendation result. Contents will be demoted if contents were published for more than content freshness cutoff days.
3160
3321
  */
3161
3322
  contentFreshnessCutoffDays?: number | null;
3162
- /**
3163
- * Specifies the content watched minutes threshold for demotion.
3164
- */
3165
- contentWatchedMinutesThreshold?: number | null;
3166
3323
  /**
3167
3324
  * Specifies the content watched percentage threshold for demotion. Threshold value must be between [0, 1.0] inclusive.
3168
3325
  */
@@ -3261,6 +3418,9 @@ export namespace discoveryengine_v1beta {
3261
3418
  */
3262
3419
  quotaFailure?: Schema$GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure;
3263
3420
  }
3421
+ /**
3422
+ * Failed due to insufficient quota.
3423
+ */
3264
3424
  export interface Schema$GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure {
3265
3425
  /**
3266
3426
  * This number is an estimation on how much total quota this project needs to successfully complete indexing.
@@ -3280,6 +3440,74 @@ export namespace discoveryengine_v1beta {
3280
3440
  */
3281
3441
  input?: string | null;
3282
3442
  }
3443
+ /**
3444
+ * Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field.
3445
+ */
3446
+ export interface Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata {
3447
+ /**
3448
+ * Operation create time.
3449
+ */
3450
+ createTime?: string | null;
3451
+ /**
3452
+ * Operation last update time. If the operation is done, this is also the finish time.
3453
+ */
3454
+ updateTime?: string | null;
3455
+ }
3456
+ /**
3457
+ * Request message for SearchTuningService.TrainCustomModel method.
3458
+ */
3459
+ export interface Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest {
3460
+ /**
3461
+ * The desired location of errors incurred during the data ingestion and training.
3462
+ */
3463
+ errorConfig?: Schema$GoogleCloudDiscoveryengineV1betaImportErrorConfig;
3464
+ /**
3465
+ * Cloud Storage training input.
3466
+ */
3467
+ gcsTrainingInput?: Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput;
3468
+ /**
3469
+ * Model to be trained. Supported values are: * **search-tuning**: Fine tuning the search system based on data provided.
3470
+ */
3471
+ modelType?: string | null;
3472
+ }
3473
+ /**
3474
+ * Cloud Storage training data input.
3475
+ */
3476
+ export interface Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput {
3477
+ /**
3478
+ * 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"\}`
3479
+ */
3480
+ corpusDataPath?: string | null;
3481
+ /**
3482
+ * 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"\}
3483
+ */
3484
+ queryDataPath?: string | null;
3485
+ /**
3486
+ * 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.
3487
+ */
3488
+ testDataPath?: string | null;
3489
+ /**
3490
+ * 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`
3491
+ */
3492
+ trainDataPath?: string | null;
3493
+ }
3494
+ /**
3495
+ * Response of the TrainCustomModelRequest. This message is returned by the google.longrunning.Operations.response field.
3496
+ */
3497
+ export interface Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse {
3498
+ /**
3499
+ * Echoes the destination for the complete errors in the request if set.
3500
+ */
3501
+ errorConfig?: Schema$GoogleCloudDiscoveryengineV1betaImportErrorConfig;
3502
+ /**
3503
+ * A sample of errors encountered while processing the data.
3504
+ */
3505
+ errorSamples?: Schema$GoogleRpcStatus[];
3506
+ /**
3507
+ * 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.
3508
+ */
3509
+ modelStatus?: string | null;
3510
+ }
3283
3511
  /**
3284
3512
  * A transaction represents the entire purchase transaction.
3285
3513
  */
@@ -3499,6 +3727,10 @@ export namespace discoveryengine_v1beta {
3499
3727
  * 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
3728
  */
3501
3729
  displayName?: string | null;
3730
+ /**
3731
+ * Configuration for Document understanding and enrichment.
3732
+ */
3733
+ documentProcessingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
3502
3734
  /**
3503
3735
  * Immutable. The industry vertical that the data store registers.
3504
3736
  */
@@ -3511,6 +3743,10 @@ export namespace discoveryengine_v1beta {
3511
3743
  * 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
3744
  */
3513
3745
  solutionTypes?: string[] | null;
3746
+ /**
3747
+ * 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).
3748
+ */
3749
+ startingSchema?: Schema$GoogleCloudDiscoveryengineV1Schema;
3514
3750
  }
3515
3751
  /**
3516
3752
  * Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
@@ -3581,6 +3817,57 @@ export namespace discoveryengine_v1beta {
3581
3817
  * Response message for SiteSearchEngineService.DisableAdvancedSiteSearch method.
3582
3818
  */
3583
3819
  export interface Schema$GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse {}
3820
+ /**
3821
+ * 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.
3822
+ */
3823
+ export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfig {
3824
+ /**
3825
+ * 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.
3826
+ */
3827
+ defaultParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
3828
+ /**
3829
+ * The full resource name of the Document Processing Config. Format: `projects/x/locations/x/collections/x/dataStores/x/documentProcessingConfig`.
3830
+ */
3831
+ name?: string | null;
3832
+ /**
3833
+ * 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.
3834
+ */
3835
+ parsingConfigOverrides?: {
3836
+ [
3837
+ key: string
3838
+ ]: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
3839
+ } | null;
3840
+ }
3841
+ /**
3842
+ * Related configurations applied to a specific type of document parser.
3843
+ */
3844
+ export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig {
3845
+ /**
3846
+ * Configurations applied to digital parser.
3847
+ */
3848
+ digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig;
3849
+ /**
3850
+ * Configurations applied to OCR parser. Currently it only applies to PDFs.
3851
+ */
3852
+ ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig;
3853
+ }
3854
+ /**
3855
+ * The digital parsing configurations for documents.
3856
+ */
3857
+ export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig {}
3858
+ /**
3859
+ * The OCR parsing configurations for documents.
3860
+ */
3861
+ export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig {
3862
+ /**
3863
+ * Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
3864
+ */
3865
+ enhancedDocumentElements?: string[] | null;
3866
+ /**
3867
+ * If true, will use native text instead of OCR text on pages containing native text.
3868
+ */
3869
+ useNativeText?: boolean | null;
3870
+ }
3584
3871
  /**
3585
3872
  * Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
3586
3873
  */
@@ -3839,6 +4126,10 @@ export namespace discoveryengine_v1beta {
3839
4126
  * Count of entries that encountered errors while processing.
3840
4127
  */
3841
4128
  failureCount?: string | null;
4129
+ /**
4130
+ * Count of entries that were ignored as entries were not found.
4131
+ */
4132
+ ignoredCount?: string | null;
3842
4133
  /**
3843
4134
  * Count of entries that were deleted successfully.
3844
4135
  */
@@ -3967,6 +4258,9 @@ export namespace discoveryengine_v1beta {
3967
4258
  */
3968
4259
  quotaFailure?: Schema$GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure;
3969
4260
  }
4261
+ /**
4262
+ * Failed due to insufficient quota.
4263
+ */
3970
4264
  export interface Schema$GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure {
3971
4265
  /**
3972
4266
  * This number is an estimation on how much total quota this project needs to successfully complete indexing.
@@ -5085,6 +5379,102 @@ export namespace discoveryengine_v1beta {
5085
5379
  );
5086
5380
  }
5087
5381
  }
5382
+
5383
+ /**
5384
+ * Trains a custom model.
5385
+ *
5386
+ * @param params - Parameters for request
5387
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5388
+ * @param callback - Optional callback that handles the response.
5389
+ * @returns A promise if used with async/await, or void if used with a callback.
5390
+ */
5391
+ trainCustomModel(
5392
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel,
5393
+ options: StreamMethodOptions
5394
+ ): GaxiosPromise<Readable>;
5395
+ trainCustomModel(
5396
+ params?: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel,
5397
+ options?: MethodOptions
5398
+ ): GaxiosPromise<Schema$GoogleLongrunningOperation>;
5399
+ trainCustomModel(
5400
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel,
5401
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
5402
+ callback: BodyResponseCallback<Readable>
5403
+ ): void;
5404
+ trainCustomModel(
5405
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel,
5406
+ options:
5407
+ | MethodOptions
5408
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
5409
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
5410
+ ): void;
5411
+ trainCustomModel(
5412
+ params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel,
5413
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
5414
+ ): void;
5415
+ trainCustomModel(
5416
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
5417
+ ): void;
5418
+ trainCustomModel(
5419
+ paramsOrCallback?:
5420
+ | Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel
5421
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
5422
+ | BodyResponseCallback<Readable>,
5423
+ optionsOrCallback?:
5424
+ | MethodOptions
5425
+ | StreamMethodOptions
5426
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
5427
+ | BodyResponseCallback<Readable>,
5428
+ callback?:
5429
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
5430
+ | BodyResponseCallback<Readable>
5431
+ ):
5432
+ | void
5433
+ | GaxiosPromise<Schema$GoogleLongrunningOperation>
5434
+ | GaxiosPromise<Readable> {
5435
+ let params = (paramsOrCallback ||
5436
+ {}) as Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel;
5437
+ let options = (optionsOrCallback || {}) as MethodOptions;
5438
+
5439
+ if (typeof paramsOrCallback === 'function') {
5440
+ callback = paramsOrCallback;
5441
+ params =
5442
+ {} as Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel;
5443
+ options = {};
5444
+ }
5445
+
5446
+ if (typeof optionsOrCallback === 'function') {
5447
+ callback = optionsOrCallback;
5448
+ options = {};
5449
+ }
5450
+
5451
+ const rootUrl =
5452
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
5453
+ const parameters = {
5454
+ options: Object.assign(
5455
+ {
5456
+ url: (rootUrl + '/v1beta/{+dataStore}:trainCustomModel').replace(
5457
+ /([^:]\/)\/+/g,
5458
+ '$1'
5459
+ ),
5460
+ method: 'POST',
5461
+ },
5462
+ options
5463
+ ),
5464
+ params,
5465
+ requiredParams: ['dataStore'],
5466
+ pathParams: ['dataStore'],
5467
+ context: this.context,
5468
+ };
5469
+ if (callback) {
5470
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
5471
+ parameters,
5472
+ callback as BodyResponseCallback<unknown>
5473
+ );
5474
+ } else {
5475
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
5476
+ }
5477
+ }
5088
5478
  }
5089
5479
 
5090
5480
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Completequery
@@ -5186,6 +5576,18 @@ export namespace discoveryengine_v1beta {
5186
5576
  */
5187
5577
  requestBody?: Schema$GoogleCloudDiscoveryengineV1betaDataStore;
5188
5578
  }
5579
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel
5580
+ extends StandardParameters {
5581
+ /**
5582
+ * 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.
5583
+ */
5584
+ dataStore?: string;
5585
+
5586
+ /**
5587
+ * Request body metadata
5588
+ */
5589
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest;
5590
+ }
5189
5591
 
5190
5592
  export class Resource$Projects$Locations$Collections$Datastores$Branches {
5191
5593
  context: APIRequestContext;
@@ -8577,7 +8979,7 @@ export namespace discoveryengine_v1beta {
8577
8979
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get
8578
8980
  extends StandardParameters {
8579
8981
  /**
8580
- * Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/servingConfigs/{serving_config_id\}`
8982
+ * Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
8581
8983
  */
8582
8984
  name?: string;
8583
8985
  }
@@ -8592,14 +8994,14 @@ export namespace discoveryengine_v1beta {
8592
8994
  */
8593
8995
  pageToken?: string;
8594
8996
  /**
8595
- * Required. The dataStore resource name. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}`
8997
+ * Required. Full resource name of the parent resource. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
8596
8998
  */
8597
8999
  parent?: string;
8598
9000
  }
8599
9001
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch
8600
9002
  extends StandardParameters {
8601
9003
  /**
8602
- * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/servingConfigs/{serving_config_id\}`
9004
+ * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
8603
9005
  */
8604
9006
  name?: string;
8605
9007
  /**
@@ -12797,7 +13199,7 @@ export namespace discoveryengine_v1beta {
12797
13199
  export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get
12798
13200
  extends StandardParameters {
12799
13201
  /**
12800
- * Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/servingConfigs/{serving_config_id\}`
13202
+ * Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
12801
13203
  */
12802
13204
  name?: string;
12803
13205
  }
@@ -12812,14 +13214,14 @@ export namespace discoveryengine_v1beta {
12812
13214
  */
12813
13215
  pageToken?: string;
12814
13216
  /**
12815
- * Required. The dataStore resource name. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}`
13217
+ * Required. Full resource name of the parent resource. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
12816
13218
  */
12817
13219
  parent?: string;
12818
13220
  }
12819
13221
  export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch
12820
13222
  extends StandardParameters {
12821
13223
  /**
12822
- * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/servingConfigs/{serving_config_id\}`
13224
+ * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
12823
13225
  */
12824
13226
  name?: string;
12825
13227
  /**
@@ -17050,7 +17452,7 @@ export namespace discoveryengine_v1beta {
17050
17452
  export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get
17051
17453
  extends StandardParameters {
17052
17454
  /**
17053
- * Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/servingConfigs/{serving_config_id\}`
17455
+ * Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
17054
17456
  */
17055
17457
  name?: string;
17056
17458
  }
@@ -17065,14 +17467,14 @@ export namespace discoveryengine_v1beta {
17065
17467
  */
17066
17468
  pageToken?: string;
17067
17469
  /**
17068
- * Required. The dataStore resource name. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}`
17470
+ * Required. Full resource name of the parent resource. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
17069
17471
  */
17070
17472
  parent?: string;
17071
17473
  }
17072
17474
  export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch
17073
17475
  extends StandardParameters {
17074
17476
  /**
17075
- * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/servingConfigs/{serving_config_id\}`
17477
+ * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
17076
17478
  */
17077
17479
  name?: string;
17078
17480
  /**