@google-cloud/discoveryengine 1.13.0 → 1.14.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.
Files changed (92) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +6 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +49 -5
  4. package/build/protos/google/cloud/discoveryengine/v1/control.proto +6 -4
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +9 -9
  6. package/build/protos/google/cloud/discoveryengine/v1/custom_tuning_model.proto +96 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +10 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/document.proto +20 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +2 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +110 -0
  11. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +2 -1
  12. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +13 -7
  13. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +117 -0
  14. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +2 -1
  15. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +40 -16
  16. package/build/protos/google/cloud/discoveryengine/v1/search_tuning_service.proto +196 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +4 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +21 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +1 -1
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +6 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +1 -1
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +3 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +48 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +20 -0
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +107 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +2 -1
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +7 -7
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +1 -1
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +21 -1
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +47 -2
  32. package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +1 -1
  33. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +3 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +3 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +20 -0
  36. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +2 -0
  37. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +114 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +2 -1
  39. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +13 -7
  40. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +44 -0
  41. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +101 -6
  42. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -0
  43. package/build/protos/protos.d.ts +7369 -2842
  44. package/build/protos/protos.js +13311 -2062
  45. package/build/protos/protos.json +1096 -45
  46. package/build/src/index.d.ts +4 -1
  47. package/build/src/index.js +4 -1
  48. package/build/src/v1/completion_service_client.d.ts +93 -0
  49. package/build/src/v1/completion_service_client.js +134 -0
  50. package/build/src/v1/control_service_client.d.ts +93 -0
  51. package/build/src/v1/control_service_client.js +128 -0
  52. package/build/src/v1/conversational_search_service_client.d.ts +93 -0
  53. package/build/src/v1/conversational_search_service_client.js +128 -0
  54. package/build/src/v1/data_store_service_client.d.ts +102 -0
  55. package/build/src/v1/data_store_service_client.js +134 -0
  56. package/build/src/v1/document_service_client.d.ts +131 -0
  57. package/build/src/v1/document_service_client.js +156 -0
  58. package/build/src/v1/document_service_client_config.json +5 -0
  59. package/build/src/v1/engine_service_client.d.ts +93 -0
  60. package/build/src/v1/engine_service_client.js +134 -0
  61. package/build/src/v1/grounded_generation_service_client.d.ts +93 -0
  62. package/build/src/v1/grounded_generation_service_client.js +128 -0
  63. package/build/src/v1/index.d.ts +1 -0
  64. package/build/src/v1/index.js +3 -1
  65. package/build/src/v1/project_service_client.d.ts +93 -0
  66. package/build/src/v1/project_service_client.js +134 -0
  67. package/build/src/v1/rank_service_client.d.ts +93 -0
  68. package/build/src/v1/rank_service_client.js +128 -0
  69. package/build/src/v1/recommendation_service_client.d.ts +95 -1
  70. package/build/src/v1/recommendation_service_client.js +128 -0
  71. package/build/src/v1/schema_service_client.d.ts +93 -0
  72. package/build/src/v1/schema_service_client.js +134 -0
  73. package/build/src/v1/search_service_client.d.ts +111 -9
  74. package/build/src/v1/search_service_client.js +140 -6
  75. package/build/src/v1/search_tuning_service_client.d.ts +1776 -0
  76. package/build/src/v1/search_tuning_service_client.js +2589 -0
  77. package/build/src/v1/search_tuning_service_client_config.json +34 -0
  78. package/build/src/v1/site_search_engine_service_client.d.ts +93 -0
  79. package/build/src/v1/site_search_engine_service_client.js +134 -0
  80. package/build/src/v1/user_event_service_client.d.ts +168 -0
  81. package/build/src/v1/user_event_service_client.js +176 -0
  82. package/build/src/v1/user_event_service_client_config.json +5 -0
  83. package/build/src/v1alpha/acl_config_service_client.d.ts +1 -1
  84. package/build/src/v1alpha/document_service_client.d.ts +29 -0
  85. package/build/src/v1alpha/document_service_client.js +22 -0
  86. package/build/src/v1alpha/document_service_client_config.json +5 -0
  87. package/build/src/v1beta/document_service_client.d.ts +38 -0
  88. package/build/src/v1beta/document_service_client.js +22 -0
  89. package/build/src/v1beta/document_service_client_config.json +5 -0
  90. package/build/src/v1beta/search_service_client.d.ts +36 -9
  91. package/build/src/v1beta/search_service_client.js +24 -6
  92. package/package.json +1 -1
@@ -158,6 +158,7 @@ class EngineServiceClient {
158
158
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
159
159
  projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
160
160
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
161
+ projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
161
162
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
162
163
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
163
164
  projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
@@ -173,6 +174,7 @@ class EngineServiceClient {
173
174
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
174
175
  projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
175
176
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
177
+ projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
176
178
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
177
179
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
178
180
  projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
@@ -252,6 +254,9 @@ class EngineServiceClient {
252
254
  {
253
255
  get: '/v1/{name=projects/*/locations/*/dataStores/*/operations/*}',
254
256
  },
257
+ {
258
+ get: '/v1/{name=projects/*/locations/*/identity_mapping_stores/*/operations/*}',
259
+ },
255
260
  { get: '/v1/{name=projects/*/locations/*/operations/*}' },
256
261
  { get: '/v1/{name=projects/*/operations/*}' },
257
262
  ],
@@ -292,6 +297,9 @@ class EngineServiceClient {
292
297
  get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*}/operations',
293
298
  },
294
299
  { get: '/v1/{name=projects/*/locations/*/dataStores/*}/operations' },
300
+ {
301
+ get: '/v1/{name=projects/*/locations/*/identity_mapping_stores/*}/operations',
302
+ },
295
303
  { get: '/v1/{name=projects/*/locations/*}/operations' },
296
304
  { get: '/v1/{name=projects/*}/operations' },
297
305
  ],
@@ -1330,6 +1338,75 @@ class EngineServiceClient {
1330
1338
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1331
1339
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1332
1340
  }
1341
+ /**
1342
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
1343
+ *
1344
+ * @param {string} project
1345
+ * @param {string} location
1346
+ * @param {string} collection
1347
+ * @param {string} data_store
1348
+ * @param {string} custom_tuning_model
1349
+ * @returns {string} Resource name string.
1350
+ */
1351
+ projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
1352
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
1353
+ project: project,
1354
+ location: location,
1355
+ collection: collection,
1356
+ data_store: dataStore,
1357
+ custom_tuning_model: customTuningModel,
1358
+ });
1359
+ }
1360
+ /**
1361
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1362
+ *
1363
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1364
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1365
+ * @returns {string} A string representing the project.
1366
+ */
1367
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1368
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
1369
+ }
1370
+ /**
1371
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1372
+ *
1373
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1374
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1375
+ * @returns {string} A string representing the location.
1376
+ */
1377
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1378
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
1379
+ }
1380
+ /**
1381
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1382
+ *
1383
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1384
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1385
+ * @returns {string} A string representing the collection.
1386
+ */
1387
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1388
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
1389
+ }
1390
+ /**
1391
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1392
+ *
1393
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1394
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1395
+ * @returns {string} A string representing the data_store.
1396
+ */
1397
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1398
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
1399
+ }
1400
+ /**
1401
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1402
+ *
1403
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1404
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1405
+ * @returns {string} A string representing the custom_tuning_model.
1406
+ */
1407
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1408
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
1409
+ }
1333
1410
  /**
1334
1411
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1335
1412
  *
@@ -2329,6 +2406,63 @@ class EngineServiceClient {
2329
2406
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
2330
2407
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
2331
2408
  }
2409
+ /**
2410
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
2411
+ *
2412
+ * @param {string} project
2413
+ * @param {string} location
2414
+ * @param {string} data_store
2415
+ * @param {string} custom_tuning_model
2416
+ * @returns {string} Resource name string.
2417
+ */
2418
+ projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
2419
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
2420
+ project: project,
2421
+ location: location,
2422
+ data_store: dataStore,
2423
+ custom_tuning_model: customTuningModel,
2424
+ });
2425
+ }
2426
+ /**
2427
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
2428
+ *
2429
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2430
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2431
+ * @returns {string} A string representing the project.
2432
+ */
2433
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2434
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
2435
+ }
2436
+ /**
2437
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
2438
+ *
2439
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2440
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2441
+ * @returns {string} A string representing the location.
2442
+ */
2443
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2444
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
2445
+ }
2446
+ /**
2447
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
2448
+ *
2449
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2450
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2451
+ * @returns {string} A string representing the data_store.
2452
+ */
2453
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2454
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
2455
+ }
2456
+ /**
2457
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
2458
+ *
2459
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2460
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2461
+ * @returns {string} A string representing the custom_tuning_model.
2462
+ */
2463
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2464
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
2465
+ }
2332
2466
  /**
2333
2467
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2334
2468
  *
@@ -577,6 +577,57 @@ export declare class GroundedGenerationServiceClient {
577
577
  * @returns {string} A string representing the conversation.
578
578
  */
579
579
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
580
+ /**
581
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
582
+ *
583
+ * @param {string} project
584
+ * @param {string} location
585
+ * @param {string} collection
586
+ * @param {string} data_store
587
+ * @param {string} custom_tuning_model
588
+ * @returns {string} Resource name string.
589
+ */
590
+ projectLocationCollectionDataStoreCustomTuningModelPath(project: string, location: string, collection: string, dataStore: string, customTuningModel: string): string;
591
+ /**
592
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
593
+ *
594
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
595
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
596
+ * @returns {string} A string representing the project.
597
+ */
598
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
599
+ /**
600
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
601
+ *
602
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
603
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
604
+ * @returns {string} A string representing the location.
605
+ */
606
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
607
+ /**
608
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
609
+ *
610
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
611
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
612
+ * @returns {string} A string representing the collection.
613
+ */
614
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
615
+ /**
616
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
617
+ *
618
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
619
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
620
+ * @returns {string} A string representing the data_store.
621
+ */
622
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
623
+ /**
624
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
625
+ *
626
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
627
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
628
+ * @returns {string} A string representing the custom_tuning_model.
629
+ */
630
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
580
631
  /**
581
632
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
582
633
  *
@@ -1315,6 +1366,48 @@ export declare class GroundedGenerationServiceClient {
1315
1366
  * @returns {string} A string representing the conversation.
1316
1367
  */
1317
1368
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1369
+ /**
1370
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
1371
+ *
1372
+ * @param {string} project
1373
+ * @param {string} location
1374
+ * @param {string} data_store
1375
+ * @param {string} custom_tuning_model
1376
+ * @returns {string} Resource name string.
1377
+ */
1378
+ projectLocationDataStoreCustomTuningModelPath(project: string, location: string, dataStore: string, customTuningModel: string): string;
1379
+ /**
1380
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
1381
+ *
1382
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1383
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1384
+ * @returns {string} A string representing the project.
1385
+ */
1386
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1387
+ /**
1388
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
1389
+ *
1390
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1391
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1392
+ * @returns {string} A string representing the location.
1393
+ */
1394
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1395
+ /**
1396
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
1397
+ *
1398
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1399
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1400
+ * @returns {string} A string representing the data_store.
1401
+ */
1402
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1403
+ /**
1404
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
1405
+ *
1406
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1407
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1408
+ * @returns {string} A string representing the custom_tuning_model.
1409
+ */
1410
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1318
1411
  /**
1319
1412
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1320
1413
  *
@@ -158,6 +158,7 @@ class GroundedGenerationServiceClient {
158
158
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
159
159
  projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
160
160
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
161
+ projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
161
162
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
162
163
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
163
164
  projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
@@ -173,6 +174,7 @@ class GroundedGenerationServiceClient {
173
174
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
174
175
  projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
175
176
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
177
+ projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
176
178
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
177
179
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
178
180
  projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
@@ -862,6 +864,75 @@ class GroundedGenerationServiceClient {
862
864
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
863
865
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
864
866
  }
867
+ /**
868
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
869
+ *
870
+ * @param {string} project
871
+ * @param {string} location
872
+ * @param {string} collection
873
+ * @param {string} data_store
874
+ * @param {string} custom_tuning_model
875
+ * @returns {string} Resource name string.
876
+ */
877
+ projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
878
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
879
+ project: project,
880
+ location: location,
881
+ collection: collection,
882
+ data_store: dataStore,
883
+ custom_tuning_model: customTuningModel,
884
+ });
885
+ }
886
+ /**
887
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
888
+ *
889
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
890
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
891
+ * @returns {string} A string representing the project.
892
+ */
893
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
894
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
895
+ }
896
+ /**
897
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
898
+ *
899
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
900
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
901
+ * @returns {string} A string representing the location.
902
+ */
903
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
904
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
905
+ }
906
+ /**
907
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
908
+ *
909
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
910
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
911
+ * @returns {string} A string representing the collection.
912
+ */
913
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
914
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
915
+ }
916
+ /**
917
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
918
+ *
919
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
920
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
921
+ * @returns {string} A string representing the data_store.
922
+ */
923
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
924
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
925
+ }
926
+ /**
927
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
928
+ *
929
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
930
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
931
+ * @returns {string} A string representing the custom_tuning_model.
932
+ */
933
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
934
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
935
+ }
865
936
  /**
866
937
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
867
938
  *
@@ -1861,6 +1932,63 @@ class GroundedGenerationServiceClient {
1861
1932
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1862
1933
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1863
1934
  }
1935
+ /**
1936
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
1937
+ *
1938
+ * @param {string} project
1939
+ * @param {string} location
1940
+ * @param {string} data_store
1941
+ * @param {string} custom_tuning_model
1942
+ * @returns {string} Resource name string.
1943
+ */
1944
+ projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
1945
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
1946
+ project: project,
1947
+ location: location,
1948
+ data_store: dataStore,
1949
+ custom_tuning_model: customTuningModel,
1950
+ });
1951
+ }
1952
+ /**
1953
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
1954
+ *
1955
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1956
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1957
+ * @returns {string} A string representing the project.
1958
+ */
1959
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
1960
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
1961
+ }
1962
+ /**
1963
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
1964
+ *
1965
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1966
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1967
+ * @returns {string} A string representing the location.
1968
+ */
1969
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
1970
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
1971
+ }
1972
+ /**
1973
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
1974
+ *
1975
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1976
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1977
+ * @returns {string} A string representing the data_store.
1978
+ */
1979
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
1980
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
1981
+ }
1982
+ /**
1983
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
1984
+ *
1985
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1986
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1987
+ * @returns {string} A string representing the custom_tuning_model.
1988
+ */
1989
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
1990
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
1991
+ }
1864
1992
  /**
1865
1993
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1866
1994
  *
@@ -10,5 +10,6 @@ export { RankServiceClient } from './rank_service_client';
10
10
  export { RecommendationServiceClient } from './recommendation_service_client';
11
11
  export { SchemaServiceClient } from './schema_service_client';
12
12
  export { SearchServiceClient } from './search_service_client';
13
+ export { SearchTuningServiceClient } from './search_tuning_service_client';
13
14
  export { SiteSearchEngineServiceClient } from './site_search_engine_service_client';
14
15
  export { UserEventServiceClient } from './user_event_service_client';
@@ -17,7 +17,7 @@
17
17
  // ** https://github.com/googleapis/gapic-generator-typescript **
18
18
  // ** All changes to this file may be overwritten. **
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.UserEventServiceClient = exports.SiteSearchEngineServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.RecommendationServiceClient = exports.RankServiceClient = exports.ProjectServiceClient = exports.GroundedGenerationServiceClient = exports.EngineServiceClient = exports.DocumentServiceClient = exports.DataStoreServiceClient = exports.ConversationalSearchServiceClient = exports.ControlServiceClient = exports.CompletionServiceClient = void 0;
20
+ exports.UserEventServiceClient = exports.SiteSearchEngineServiceClient = exports.SearchTuningServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.RecommendationServiceClient = exports.RankServiceClient = exports.ProjectServiceClient = exports.GroundedGenerationServiceClient = exports.EngineServiceClient = exports.DocumentServiceClient = exports.DataStoreServiceClient = exports.ConversationalSearchServiceClient = exports.ControlServiceClient = exports.CompletionServiceClient = void 0;
21
21
  var completion_service_client_1 = require("./completion_service_client");
22
22
  Object.defineProperty(exports, "CompletionServiceClient", { enumerable: true, get: function () { return completion_service_client_1.CompletionServiceClient; } });
23
23
  var control_service_client_1 = require("./control_service_client");
@@ -42,6 +42,8 @@ var schema_service_client_1 = require("./schema_service_client");
42
42
  Object.defineProperty(exports, "SchemaServiceClient", { enumerable: true, get: function () { return schema_service_client_1.SchemaServiceClient; } });
43
43
  var search_service_client_1 = require("./search_service_client");
44
44
  Object.defineProperty(exports, "SearchServiceClient", { enumerable: true, get: function () { return search_service_client_1.SearchServiceClient; } });
45
+ var search_tuning_service_client_1 = require("./search_tuning_service_client");
46
+ Object.defineProperty(exports, "SearchTuningServiceClient", { enumerable: true, get: function () { return search_tuning_service_client_1.SearchTuningServiceClient; } });
45
47
  var site_search_engine_service_client_1 = require("./site_search_engine_service_client");
46
48
  Object.defineProperty(exports, "SiteSearchEngineServiceClient", { enumerable: true, get: function () { return site_search_engine_service_client_1.SiteSearchEngineServiceClient; } });
47
49
  var user_event_service_client_1 = require("./user_event_service_client");
@@ -671,6 +671,57 @@ export declare class ProjectServiceClient {
671
671
  * @returns {string} A string representing the conversation.
672
672
  */
673
673
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
674
+ /**
675
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
676
+ *
677
+ * @param {string} project
678
+ * @param {string} location
679
+ * @param {string} collection
680
+ * @param {string} data_store
681
+ * @param {string} custom_tuning_model
682
+ * @returns {string} Resource name string.
683
+ */
684
+ projectLocationCollectionDataStoreCustomTuningModelPath(project: string, location: string, collection: string, dataStore: string, customTuningModel: string): string;
685
+ /**
686
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
687
+ *
688
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
689
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
690
+ * @returns {string} A string representing the project.
691
+ */
692
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
693
+ /**
694
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
695
+ *
696
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
697
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
698
+ * @returns {string} A string representing the location.
699
+ */
700
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
701
+ /**
702
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
703
+ *
704
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
705
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
706
+ * @returns {string} A string representing the collection.
707
+ */
708
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
709
+ /**
710
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
711
+ *
712
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
713
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
714
+ * @returns {string} A string representing the data_store.
715
+ */
716
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
717
+ /**
718
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
719
+ *
720
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
721
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
722
+ * @returns {string} A string representing the custom_tuning_model.
723
+ */
724
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
674
725
  /**
675
726
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
676
727
  *
@@ -1409,6 +1460,48 @@ export declare class ProjectServiceClient {
1409
1460
  * @returns {string} A string representing the conversation.
1410
1461
  */
1411
1462
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1463
+ /**
1464
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
1465
+ *
1466
+ * @param {string} project
1467
+ * @param {string} location
1468
+ * @param {string} data_store
1469
+ * @param {string} custom_tuning_model
1470
+ * @returns {string} Resource name string.
1471
+ */
1472
+ projectLocationDataStoreCustomTuningModelPath(project: string, location: string, dataStore: string, customTuningModel: string): string;
1473
+ /**
1474
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
1475
+ *
1476
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1477
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1478
+ * @returns {string} A string representing the project.
1479
+ */
1480
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1481
+ /**
1482
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
1483
+ *
1484
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1485
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1486
+ * @returns {string} A string representing the location.
1487
+ */
1488
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1489
+ /**
1490
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
1491
+ *
1492
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1493
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1494
+ * @returns {string} A string representing the data_store.
1495
+ */
1496
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1497
+ /**
1498
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
1499
+ *
1500
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1501
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1502
+ * @returns {string} A string representing the custom_tuning_model.
1503
+ */
1504
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1412
1505
  /**
1413
1506
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1414
1507
  *