@google-cloud/discoveryengine 1.6.0 → 1.7.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 (142) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +24 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +13 -1
  4. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +5 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +17 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/document.proto +9 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +2 -2
  9. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +284 -22
  10. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +3 -0
  11. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +228 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +125 -21
  13. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +16 -11
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +328 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +41 -1
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +21 -1
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +574 -0
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +19 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +3 -6
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +64 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +2 -2
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +120 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +55 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +283 -24
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +102 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +171 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +21 -0
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +158 -24
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +9 -3
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +2 -1
  31. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +94 -0
  32. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +1 -1
  33. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +328 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +30 -1
  35. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +559 -0
  36. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +3 -6
  37. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +6 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +2 -2
  39. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +93 -0
  40. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +120 -0
  41. package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +55 -0
  42. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +283 -24
  43. package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +115 -0
  44. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +142 -22
  45. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +7 -1
  46. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +94 -0
  47. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +1 -1
  48. package/build/protos/protos.d.ts +44799 -26093
  49. package/build/protos/protos.js +120465 -74222
  50. package/build/protos/protos.json +8911 -4556
  51. package/build/src/index.d.ts +4 -1
  52. package/build/src/index.js +4 -1
  53. package/build/src/v1/conversational_search_service_client.d.ts +4 -0
  54. package/build/src/v1/document_service_client.d.ts +47 -19
  55. package/build/src/v1/index.d.ts +1 -0
  56. package/build/src/v1/index.js +3 -1
  57. package/build/src/v1/recommendation_service_client.d.ts +1087 -0
  58. package/build/src/v1/recommendation_service_client.js +1432 -0
  59. package/build/src/v1/recommendation_service_client_config.json +43 -0
  60. package/build/src/v1/search_service_client.d.ts +27 -9
  61. package/build/src/v1/search_service_client.js +18 -6
  62. package/build/src/v1/search_service_client_config.json +5 -5
  63. package/build/src/v1alpha/acl_config_service_client.d.ts +330 -0
  64. package/build/src/v1alpha/acl_config_service_client.js +454 -0
  65. package/build/src/v1alpha/chunk_service_client.d.ts +330 -0
  66. package/build/src/v1alpha/chunk_service_client.js +454 -0
  67. package/build/src/v1alpha/completion_service_client.d.ts +330 -0
  68. package/build/src/v1alpha/completion_service_client.js +457 -0
  69. package/build/src/v1alpha/conversational_search_service_client.d.ts +674 -0
  70. package/build/src/v1alpha/conversational_search_service_client.js +724 -0
  71. package/build/src/v1alpha/conversational_search_service_client_config.json +35 -0
  72. package/build/src/v1alpha/data_store_service_client.d.ts +330 -0
  73. package/build/src/v1alpha/data_store_service_client.js +457 -0
  74. package/build/src/v1alpha/document_service_client.d.ts +410 -21
  75. package/build/src/v1alpha/document_service_client.js +479 -0
  76. package/build/src/v1alpha/document_service_client_config.json +5 -0
  77. package/build/src/v1alpha/engine_service_client.d.ts +330 -0
  78. package/build/src/v1alpha/engine_service_client.js +457 -0
  79. package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
  80. package/build/src/v1alpha/estimate_billing_service_client.js +457 -0
  81. package/build/src/v1alpha/grounded_generation_service_client.d.ts +1574 -0
  82. package/build/src/v1alpha/grounded_generation_service_client.js +2248 -0
  83. package/build/src/v1alpha/grounded_generation_service_client_config.json +43 -0
  84. package/build/src/v1alpha/index.d.ts +3 -1
  85. package/build/src/v1alpha/index.js +7 -3
  86. package/build/src/v1alpha/project_service_client.d.ts +1756 -0
  87. package/build/src/v1alpha/project_service_client.js +2500 -0
  88. package/build/src/v1alpha/project_service_client_config.json +38 -0
  89. package/build/src/v1alpha/rank_service_client.d.ts +330 -0
  90. package/build/src/v1alpha/rank_service_client.js +454 -0
  91. package/build/src/v1alpha/rank_service_client_config.json +15 -2
  92. package/build/src/v1alpha/recommendation_service_client.d.ts +330 -0
  93. package/build/src/v1alpha/recommendation_service_client.js +454 -0
  94. package/build/src/v1alpha/schema_service_client.d.ts +330 -0
  95. package/build/src/v1alpha/schema_service_client.js +457 -0
  96. package/build/src/v1alpha/search_service_client.d.ts +360 -15
  97. package/build/src/v1alpha/search_service_client.js +474 -10
  98. package/build/src/v1alpha/search_service_client_config.json +5 -5
  99. package/build/src/v1alpha/search_tuning_service_client.d.ts +330 -0
  100. package/build/src/v1alpha/search_tuning_service_client.js +457 -0
  101. package/build/src/v1alpha/serving_config_service_client.d.ts +317 -1
  102. package/build/src/v1alpha/serving_config_service_client.js +434 -1
  103. package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
  104. package/build/src/v1alpha/site_search_engine_service_client.js +457 -0
  105. package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
  106. package/build/src/v1alpha/user_event_service_client.js +457 -0
  107. package/build/src/v1beta/completion_service_client.d.ts +315 -0
  108. package/build/src/v1beta/completion_service_client.js +432 -0
  109. package/build/src/v1beta/conversational_search_service_client.d.ts +659 -0
  110. package/build/src/v1beta/conversational_search_service_client.js +702 -0
  111. package/build/src/v1beta/conversational_search_service_client_config.json +35 -0
  112. package/build/src/v1beta/data_store_service_client.d.ts +315 -0
  113. package/build/src/v1beta/data_store_service_client.js +432 -0
  114. package/build/src/v1beta/document_service_client.d.ts +361 -21
  115. package/build/src/v1beta/document_service_client.js +432 -0
  116. package/build/src/v1beta/engine_service_client.d.ts +410 -0
  117. package/build/src/v1beta/engine_service_client.js +518 -0
  118. package/build/src/v1beta/engine_service_client_config.json +12 -0
  119. package/build/src/v1beta/grounded_generation_service_client.d.ts +1406 -0
  120. package/build/src/v1beta/grounded_generation_service_client.js +2014 -0
  121. package/build/src/v1beta/grounded_generation_service_client_config.json +43 -0
  122. package/build/src/v1beta/index.d.ts +2 -0
  123. package/build/src/v1beta/index.js +5 -1
  124. package/build/src/v1beta/rank_service_client.d.ts +1416 -0
  125. package/build/src/v1beta/rank_service_client.js +2015 -0
  126. package/build/src/v1beta/rank_service_client_config.json +43 -0
  127. package/build/src/v1beta/recommendation_service_client.d.ts +315 -0
  128. package/build/src/v1beta/recommendation_service_client.js +432 -0
  129. package/build/src/v1beta/schema_service_client.d.ts +315 -0
  130. package/build/src/v1beta/schema_service_client.js +432 -0
  131. package/build/src/v1beta/search_service_client.d.ts +342 -12
  132. package/build/src/v1beta/search_service_client.js +450 -8
  133. package/build/src/v1beta/search_service_client_config.json +5 -5
  134. package/build/src/v1beta/search_tuning_service_client.d.ts +315 -0
  135. package/build/src/v1beta/search_tuning_service_client.js +432 -0
  136. package/build/src/v1beta/serving_config_service_client.d.ts +315 -0
  137. package/build/src/v1beta/serving_config_service_client.js +432 -0
  138. package/build/src/v1beta/site_search_engine_service_client.d.ts +315 -0
  139. package/build/src/v1beta/site_search_engine_service_client.js +432 -0
  140. package/build/src/v1beta/user_event_service_client.d.ts +315 -0
  141. package/build/src/v1beta/user_event_service_client.js +432 -0
  142. package/package.json +1 -1
@@ -158,16 +158,22 @@ class DataStoreServiceClient {
158
158
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
159
159
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
160
160
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
161
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
162
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
161
163
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
162
164
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
163
165
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
164
166
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
167
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
168
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
165
169
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
166
170
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
167
171
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
168
172
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
169
173
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
170
174
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
175
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
176
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
171
177
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
172
178
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
173
179
  };
@@ -1355,6 +1361,156 @@ class DataStoreServiceClient {
1355
1361
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1356
1362
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1357
1363
  }
1364
+ /**
1365
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1366
+ *
1367
+ * @param {string} project
1368
+ * @param {string} location
1369
+ * @param {string} collection
1370
+ * @param {string} data_store
1371
+ * @param {string} session
1372
+ * @returns {string} Resource name string.
1373
+ */
1374
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1375
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1376
+ project: project,
1377
+ location: location,
1378
+ collection: collection,
1379
+ data_store: dataStore,
1380
+ session: session,
1381
+ });
1382
+ }
1383
+ /**
1384
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1385
+ *
1386
+ * @param {string} projectLocationCollectionDataStoreSessionName
1387
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1388
+ * @returns {string} A string representing the project.
1389
+ */
1390
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1391
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1392
+ }
1393
+ /**
1394
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1395
+ *
1396
+ * @param {string} projectLocationCollectionDataStoreSessionName
1397
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1398
+ * @returns {string} A string representing the location.
1399
+ */
1400
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1401
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1402
+ }
1403
+ /**
1404
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1405
+ *
1406
+ * @param {string} projectLocationCollectionDataStoreSessionName
1407
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1408
+ * @returns {string} A string representing the collection.
1409
+ */
1410
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1411
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1412
+ }
1413
+ /**
1414
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1415
+ *
1416
+ * @param {string} projectLocationCollectionDataStoreSessionName
1417
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1418
+ * @returns {string} A string representing the data_store.
1419
+ */
1420
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1421
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1422
+ }
1423
+ /**
1424
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1425
+ *
1426
+ * @param {string} projectLocationCollectionDataStoreSessionName
1427
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1428
+ * @returns {string} A string representing the session.
1429
+ */
1430
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1431
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1432
+ }
1433
+ /**
1434
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1435
+ *
1436
+ * @param {string} project
1437
+ * @param {string} location
1438
+ * @param {string} collection
1439
+ * @param {string} data_store
1440
+ * @param {string} session
1441
+ * @param {string} answer
1442
+ * @returns {string} Resource name string.
1443
+ */
1444
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1445
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1446
+ project: project,
1447
+ location: location,
1448
+ collection: collection,
1449
+ data_store: dataStore,
1450
+ session: session,
1451
+ answer: answer,
1452
+ });
1453
+ }
1454
+ /**
1455
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1456
+ *
1457
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1458
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1459
+ * @returns {string} A string representing the project.
1460
+ */
1461
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1462
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1463
+ }
1464
+ /**
1465
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1466
+ *
1467
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1468
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1469
+ * @returns {string} A string representing the location.
1470
+ */
1471
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1472
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1473
+ }
1474
+ /**
1475
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1476
+ *
1477
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1478
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1479
+ * @returns {string} A string representing the collection.
1480
+ */
1481
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1482
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1483
+ }
1484
+ /**
1485
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1486
+ *
1487
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1488
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1489
+ * @returns {string} A string representing the data_store.
1490
+ */
1491
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1492
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1493
+ }
1494
+ /**
1495
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1496
+ *
1497
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1498
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1499
+ * @returns {string} A string representing the session.
1500
+ */
1501
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1502
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1503
+ }
1504
+ /**
1505
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1506
+ *
1507
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1508
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1509
+ * @returns {string} A string representing the answer.
1510
+ */
1511
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1512
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1513
+ }
1358
1514
  /**
1359
1515
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1360
1516
  *
@@ -1619,6 +1775,156 @@ class DataStoreServiceClient {
1619
1775
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1620
1776
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1621
1777
  }
1778
+ /**
1779
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1780
+ *
1781
+ * @param {string} project
1782
+ * @param {string} location
1783
+ * @param {string} collection
1784
+ * @param {string} engine
1785
+ * @param {string} session
1786
+ * @returns {string} Resource name string.
1787
+ */
1788
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1789
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1790
+ project: project,
1791
+ location: location,
1792
+ collection: collection,
1793
+ engine: engine,
1794
+ session: session,
1795
+ });
1796
+ }
1797
+ /**
1798
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1799
+ *
1800
+ * @param {string} projectLocationCollectionEngineSessionName
1801
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1802
+ * @returns {string} A string representing the project.
1803
+ */
1804
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1805
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1806
+ }
1807
+ /**
1808
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1809
+ *
1810
+ * @param {string} projectLocationCollectionEngineSessionName
1811
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1812
+ * @returns {string} A string representing the location.
1813
+ */
1814
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1815
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1816
+ }
1817
+ /**
1818
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1819
+ *
1820
+ * @param {string} projectLocationCollectionEngineSessionName
1821
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1822
+ * @returns {string} A string representing the collection.
1823
+ */
1824
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1825
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1826
+ }
1827
+ /**
1828
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1829
+ *
1830
+ * @param {string} projectLocationCollectionEngineSessionName
1831
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1832
+ * @returns {string} A string representing the engine.
1833
+ */
1834
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1835
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1836
+ }
1837
+ /**
1838
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1839
+ *
1840
+ * @param {string} projectLocationCollectionEngineSessionName
1841
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1842
+ * @returns {string} A string representing the session.
1843
+ */
1844
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1845
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1846
+ }
1847
+ /**
1848
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1849
+ *
1850
+ * @param {string} project
1851
+ * @param {string} location
1852
+ * @param {string} collection
1853
+ * @param {string} engine
1854
+ * @param {string} session
1855
+ * @param {string} answer
1856
+ * @returns {string} Resource name string.
1857
+ */
1858
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1859
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1860
+ project: project,
1861
+ location: location,
1862
+ collection: collection,
1863
+ engine: engine,
1864
+ session: session,
1865
+ answer: answer,
1866
+ });
1867
+ }
1868
+ /**
1869
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1870
+ *
1871
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1872
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1873
+ * @returns {string} A string representing the project.
1874
+ */
1875
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1876
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1877
+ }
1878
+ /**
1879
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1880
+ *
1881
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1882
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1883
+ * @returns {string} A string representing the location.
1884
+ */
1885
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1886
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1887
+ }
1888
+ /**
1889
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1890
+ *
1891
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1892
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1893
+ * @returns {string} A string representing the collection.
1894
+ */
1895
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1896
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1897
+ }
1898
+ /**
1899
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1900
+ *
1901
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1902
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1903
+ * @returns {string} A string representing the engine.
1904
+ */
1905
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1906
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1907
+ }
1908
+ /**
1909
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1910
+ *
1911
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1912
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1913
+ * @returns {string} A string representing the session.
1914
+ */
1915
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1916
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1917
+ }
1918
+ /**
1919
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1920
+ *
1921
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1922
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1923
+ * @returns {string} A string representing the answer.
1924
+ */
1925
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1926
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1927
+ }
1622
1928
  /**
1623
1929
  * Return a fully-qualified projectLocationDataStore resource name string.
1624
1930
  *
@@ -1949,6 +2255,132 @@ class DataStoreServiceClient {
1949
2255
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1950
2256
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1951
2257
  }
2258
+ /**
2259
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2260
+ *
2261
+ * @param {string} project
2262
+ * @param {string} location
2263
+ * @param {string} data_store
2264
+ * @param {string} session
2265
+ * @returns {string} Resource name string.
2266
+ */
2267
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2268
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2269
+ project: project,
2270
+ location: location,
2271
+ data_store: dataStore,
2272
+ session: session,
2273
+ });
2274
+ }
2275
+ /**
2276
+ * Parse the project from ProjectLocationDataStoreSession resource.
2277
+ *
2278
+ * @param {string} projectLocationDataStoreSessionName
2279
+ * A fully-qualified path representing project_location_data_store_session resource.
2280
+ * @returns {string} A string representing the project.
2281
+ */
2282
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2283
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2284
+ }
2285
+ /**
2286
+ * Parse the location from ProjectLocationDataStoreSession resource.
2287
+ *
2288
+ * @param {string} projectLocationDataStoreSessionName
2289
+ * A fully-qualified path representing project_location_data_store_session resource.
2290
+ * @returns {string} A string representing the location.
2291
+ */
2292
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2293
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2294
+ }
2295
+ /**
2296
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2297
+ *
2298
+ * @param {string} projectLocationDataStoreSessionName
2299
+ * A fully-qualified path representing project_location_data_store_session resource.
2300
+ * @returns {string} A string representing the data_store.
2301
+ */
2302
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2303
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2304
+ }
2305
+ /**
2306
+ * Parse the session from ProjectLocationDataStoreSession resource.
2307
+ *
2308
+ * @param {string} projectLocationDataStoreSessionName
2309
+ * A fully-qualified path representing project_location_data_store_session resource.
2310
+ * @returns {string} A string representing the session.
2311
+ */
2312
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2313
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2314
+ }
2315
+ /**
2316
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2317
+ *
2318
+ * @param {string} project
2319
+ * @param {string} location
2320
+ * @param {string} data_store
2321
+ * @param {string} session
2322
+ * @param {string} answer
2323
+ * @returns {string} Resource name string.
2324
+ */
2325
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2326
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2327
+ project: project,
2328
+ location: location,
2329
+ data_store: dataStore,
2330
+ session: session,
2331
+ answer: answer,
2332
+ });
2333
+ }
2334
+ /**
2335
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2336
+ *
2337
+ * @param {string} projectLocationDataStoreSessionAnswerName
2338
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2339
+ * @returns {string} A string representing the project.
2340
+ */
2341
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2342
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2343
+ }
2344
+ /**
2345
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2346
+ *
2347
+ * @param {string} projectLocationDataStoreSessionAnswerName
2348
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2349
+ * @returns {string} A string representing the location.
2350
+ */
2351
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2352
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2353
+ }
2354
+ /**
2355
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2356
+ *
2357
+ * @param {string} projectLocationDataStoreSessionAnswerName
2358
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2359
+ * @returns {string} A string representing the data_store.
2360
+ */
2361
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2362
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2363
+ }
2364
+ /**
2365
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2366
+ *
2367
+ * @param {string} projectLocationDataStoreSessionAnswerName
2368
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2369
+ * @returns {string} A string representing the session.
2370
+ */
2371
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2372
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2373
+ }
2374
+ /**
2375
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2376
+ *
2377
+ * @param {string} projectLocationDataStoreSessionAnswerName
2378
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2379
+ * @returns {string} A string representing the answer.
2380
+ */
2381
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2382
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2383
+ }
1952
2384
  /**
1953
2385
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1954
2386
  *