@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
@@ -156,16 +156,22 @@ class SchemaServiceClient {
156
156
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
157
157
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
158
158
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
159
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
160
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
159
161
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
160
162
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
161
163
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
162
164
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
165
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
166
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
163
167
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
164
168
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
165
169
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
166
170
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
167
171
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
168
172
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
173
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
174
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
169
175
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
170
176
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
171
177
  };
@@ -1305,6 +1311,156 @@ class SchemaServiceClient {
1305
1311
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1306
1312
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1307
1313
  }
1314
+ /**
1315
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1316
+ *
1317
+ * @param {string} project
1318
+ * @param {string} location
1319
+ * @param {string} collection
1320
+ * @param {string} data_store
1321
+ * @param {string} session
1322
+ * @returns {string} Resource name string.
1323
+ */
1324
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1325
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1326
+ project: project,
1327
+ location: location,
1328
+ collection: collection,
1329
+ data_store: dataStore,
1330
+ session: session,
1331
+ });
1332
+ }
1333
+ /**
1334
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1335
+ *
1336
+ * @param {string} projectLocationCollectionDataStoreSessionName
1337
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1338
+ * @returns {string} A string representing the project.
1339
+ */
1340
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1341
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1342
+ }
1343
+ /**
1344
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1345
+ *
1346
+ * @param {string} projectLocationCollectionDataStoreSessionName
1347
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1348
+ * @returns {string} A string representing the location.
1349
+ */
1350
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1351
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1352
+ }
1353
+ /**
1354
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1355
+ *
1356
+ * @param {string} projectLocationCollectionDataStoreSessionName
1357
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1358
+ * @returns {string} A string representing the collection.
1359
+ */
1360
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1361
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1362
+ }
1363
+ /**
1364
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1365
+ *
1366
+ * @param {string} projectLocationCollectionDataStoreSessionName
1367
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1368
+ * @returns {string} A string representing the data_store.
1369
+ */
1370
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1371
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1372
+ }
1373
+ /**
1374
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1375
+ *
1376
+ * @param {string} projectLocationCollectionDataStoreSessionName
1377
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1378
+ * @returns {string} A string representing the session.
1379
+ */
1380
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1381
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1382
+ }
1383
+ /**
1384
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1385
+ *
1386
+ * @param {string} project
1387
+ * @param {string} location
1388
+ * @param {string} collection
1389
+ * @param {string} data_store
1390
+ * @param {string} session
1391
+ * @param {string} answer
1392
+ * @returns {string} Resource name string.
1393
+ */
1394
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1395
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1396
+ project: project,
1397
+ location: location,
1398
+ collection: collection,
1399
+ data_store: dataStore,
1400
+ session: session,
1401
+ answer: answer,
1402
+ });
1403
+ }
1404
+ /**
1405
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1406
+ *
1407
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1408
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1409
+ * @returns {string} A string representing the project.
1410
+ */
1411
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1412
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1413
+ }
1414
+ /**
1415
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1416
+ *
1417
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1418
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1419
+ * @returns {string} A string representing the location.
1420
+ */
1421
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1422
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1423
+ }
1424
+ /**
1425
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1426
+ *
1427
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1428
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1429
+ * @returns {string} A string representing the collection.
1430
+ */
1431
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1432
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1433
+ }
1434
+ /**
1435
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1436
+ *
1437
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1438
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1439
+ * @returns {string} A string representing the data_store.
1440
+ */
1441
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1442
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1443
+ }
1444
+ /**
1445
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1446
+ *
1447
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1448
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1449
+ * @returns {string} A string representing the session.
1450
+ */
1451
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1452
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1453
+ }
1454
+ /**
1455
+ * Parse the answer 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 answer.
1460
+ */
1461
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1462
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1463
+ }
1308
1464
  /**
1309
1465
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1310
1466
  *
@@ -1569,6 +1725,156 @@ class SchemaServiceClient {
1569
1725
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1570
1726
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1571
1727
  }
1728
+ /**
1729
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1730
+ *
1731
+ * @param {string} project
1732
+ * @param {string} location
1733
+ * @param {string} collection
1734
+ * @param {string} engine
1735
+ * @param {string} session
1736
+ * @returns {string} Resource name string.
1737
+ */
1738
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1739
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1740
+ project: project,
1741
+ location: location,
1742
+ collection: collection,
1743
+ engine: engine,
1744
+ session: session,
1745
+ });
1746
+ }
1747
+ /**
1748
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1749
+ *
1750
+ * @param {string} projectLocationCollectionEngineSessionName
1751
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1752
+ * @returns {string} A string representing the project.
1753
+ */
1754
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1755
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1756
+ }
1757
+ /**
1758
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1759
+ *
1760
+ * @param {string} projectLocationCollectionEngineSessionName
1761
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1762
+ * @returns {string} A string representing the location.
1763
+ */
1764
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1765
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1766
+ }
1767
+ /**
1768
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1769
+ *
1770
+ * @param {string} projectLocationCollectionEngineSessionName
1771
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1772
+ * @returns {string} A string representing the collection.
1773
+ */
1774
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1775
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1776
+ }
1777
+ /**
1778
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1779
+ *
1780
+ * @param {string} projectLocationCollectionEngineSessionName
1781
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1782
+ * @returns {string} A string representing the engine.
1783
+ */
1784
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1785
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1786
+ }
1787
+ /**
1788
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1789
+ *
1790
+ * @param {string} projectLocationCollectionEngineSessionName
1791
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1792
+ * @returns {string} A string representing the session.
1793
+ */
1794
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1795
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1796
+ }
1797
+ /**
1798
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1799
+ *
1800
+ * @param {string} project
1801
+ * @param {string} location
1802
+ * @param {string} collection
1803
+ * @param {string} engine
1804
+ * @param {string} session
1805
+ * @param {string} answer
1806
+ * @returns {string} Resource name string.
1807
+ */
1808
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1809
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1810
+ project: project,
1811
+ location: location,
1812
+ collection: collection,
1813
+ engine: engine,
1814
+ session: session,
1815
+ answer: answer,
1816
+ });
1817
+ }
1818
+ /**
1819
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1820
+ *
1821
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1822
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1823
+ * @returns {string} A string representing the project.
1824
+ */
1825
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1826
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1827
+ }
1828
+ /**
1829
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1830
+ *
1831
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1832
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1833
+ * @returns {string} A string representing the location.
1834
+ */
1835
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1836
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1837
+ }
1838
+ /**
1839
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1840
+ *
1841
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1842
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1843
+ * @returns {string} A string representing the collection.
1844
+ */
1845
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1846
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1847
+ }
1848
+ /**
1849
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1850
+ *
1851
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1852
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1853
+ * @returns {string} A string representing the engine.
1854
+ */
1855
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1856
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1857
+ }
1858
+ /**
1859
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1860
+ *
1861
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1862
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1863
+ * @returns {string} A string representing the session.
1864
+ */
1865
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1866
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1867
+ }
1868
+ /**
1869
+ * Parse the answer 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 answer.
1874
+ */
1875
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1876
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1877
+ }
1572
1878
  /**
1573
1879
  * Return a fully-qualified projectLocationDataStore resource name string.
1574
1880
  *
@@ -1899,6 +2205,132 @@ class SchemaServiceClient {
1899
2205
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1900
2206
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1901
2207
  }
2208
+ /**
2209
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2210
+ *
2211
+ * @param {string} project
2212
+ * @param {string} location
2213
+ * @param {string} data_store
2214
+ * @param {string} session
2215
+ * @returns {string} Resource name string.
2216
+ */
2217
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2218
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2219
+ project: project,
2220
+ location: location,
2221
+ data_store: dataStore,
2222
+ session: session,
2223
+ });
2224
+ }
2225
+ /**
2226
+ * Parse the project from ProjectLocationDataStoreSession resource.
2227
+ *
2228
+ * @param {string} projectLocationDataStoreSessionName
2229
+ * A fully-qualified path representing project_location_data_store_session resource.
2230
+ * @returns {string} A string representing the project.
2231
+ */
2232
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2233
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2234
+ }
2235
+ /**
2236
+ * Parse the location from ProjectLocationDataStoreSession resource.
2237
+ *
2238
+ * @param {string} projectLocationDataStoreSessionName
2239
+ * A fully-qualified path representing project_location_data_store_session resource.
2240
+ * @returns {string} A string representing the location.
2241
+ */
2242
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2243
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2244
+ }
2245
+ /**
2246
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2247
+ *
2248
+ * @param {string} projectLocationDataStoreSessionName
2249
+ * A fully-qualified path representing project_location_data_store_session resource.
2250
+ * @returns {string} A string representing the data_store.
2251
+ */
2252
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2253
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2254
+ }
2255
+ /**
2256
+ * Parse the session from ProjectLocationDataStoreSession resource.
2257
+ *
2258
+ * @param {string} projectLocationDataStoreSessionName
2259
+ * A fully-qualified path representing project_location_data_store_session resource.
2260
+ * @returns {string} A string representing the session.
2261
+ */
2262
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2263
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2264
+ }
2265
+ /**
2266
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2267
+ *
2268
+ * @param {string} project
2269
+ * @param {string} location
2270
+ * @param {string} data_store
2271
+ * @param {string} session
2272
+ * @param {string} answer
2273
+ * @returns {string} Resource name string.
2274
+ */
2275
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2276
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2277
+ project: project,
2278
+ location: location,
2279
+ data_store: dataStore,
2280
+ session: session,
2281
+ answer: answer,
2282
+ });
2283
+ }
2284
+ /**
2285
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2286
+ *
2287
+ * @param {string} projectLocationDataStoreSessionAnswerName
2288
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2289
+ * @returns {string} A string representing the project.
2290
+ */
2291
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2292
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2293
+ }
2294
+ /**
2295
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2296
+ *
2297
+ * @param {string} projectLocationDataStoreSessionAnswerName
2298
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2299
+ * @returns {string} A string representing the location.
2300
+ */
2301
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2302
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2303
+ }
2304
+ /**
2305
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2306
+ *
2307
+ * @param {string} projectLocationDataStoreSessionAnswerName
2308
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2309
+ * @returns {string} A string representing the data_store.
2310
+ */
2311
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2312
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2313
+ }
2314
+ /**
2315
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2316
+ *
2317
+ * @param {string} projectLocationDataStoreSessionAnswerName
2318
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2319
+ * @returns {string} A string representing the session.
2320
+ */
2321
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2322
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2323
+ }
2324
+ /**
2325
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2326
+ *
2327
+ * @param {string} projectLocationDataStoreSessionAnswerName
2328
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2329
+ * @returns {string} A string representing the answer.
2330
+ */
2331
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2332
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2333
+ }
1902
2334
  /**
1903
2335
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1904
2336
  *