@google-cloud/discoveryengine 1.5.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 (138) hide show
  1. package/CHANGELOG.md +14 -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 +6 -0
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +1 -1
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +574 -0
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +3 -6
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +2 -2
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +120 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +55 -0
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +7 -39
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +102 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +171 -0
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +21 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +7 -3
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +4 -1
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +94 -0
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +1 -1
  30. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +328 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +30 -1
  32. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +559 -0
  33. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +3 -6
  34. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +6 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +2 -2
  36. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +93 -0
  37. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +120 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +55 -0
  39. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +283 -24
  40. package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +115 -0
  41. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +142 -22
  42. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +7 -1
  43. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +94 -0
  44. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +1 -1
  45. package/build/protos/protos.d.ts +41126 -24558
  46. package/build/protos/protos.js +134286 -93661
  47. package/build/protos/protos.json +7598 -3744
  48. package/build/src/index.d.ts +4 -1
  49. package/build/src/index.js +4 -1
  50. package/build/src/v1/conversational_search_service_client.d.ts +4 -0
  51. package/build/src/v1/document_service_client.d.ts +47 -19
  52. package/build/src/v1/index.d.ts +1 -0
  53. package/build/src/v1/index.js +3 -1
  54. package/build/src/v1/recommendation_service_client.d.ts +1087 -0
  55. package/build/src/v1/recommendation_service_client.js +1432 -0
  56. package/build/src/v1/recommendation_service_client_config.json +43 -0
  57. package/build/src/v1/search_service_client.d.ts +27 -9
  58. package/build/src/v1/search_service_client.js +18 -6
  59. package/build/src/v1/search_service_client_config.json +5 -5
  60. package/build/src/v1alpha/acl_config_service_client.d.ts +330 -0
  61. package/build/src/v1alpha/acl_config_service_client.js +454 -0
  62. package/build/src/v1alpha/chunk_service_client.d.ts +330 -0
  63. package/build/src/v1alpha/chunk_service_client.js +454 -0
  64. package/build/src/v1alpha/completion_service_client.d.ts +330 -0
  65. package/build/src/v1alpha/completion_service_client.js +454 -0
  66. package/build/src/v1alpha/conversational_search_service_client.d.ts +674 -0
  67. package/build/src/v1alpha/conversational_search_service_client.js +724 -0
  68. package/build/src/v1alpha/conversational_search_service_client_config.json +35 -0
  69. package/build/src/v1alpha/data_store_service_client.d.ts +330 -0
  70. package/build/src/v1alpha/data_store_service_client.js +454 -0
  71. package/build/src/v1alpha/document_service_client.d.ts +330 -0
  72. package/build/src/v1alpha/document_service_client.js +454 -0
  73. package/build/src/v1alpha/engine_service_client.d.ts +330 -0
  74. package/build/src/v1alpha/engine_service_client.js +454 -0
  75. package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
  76. package/build/src/v1alpha/estimate_billing_service_client.js +454 -0
  77. package/build/src/v1alpha/grounded_generation_service_client.d.ts +1574 -0
  78. package/build/src/v1alpha/grounded_generation_service_client.js +2248 -0
  79. package/build/src/v1alpha/grounded_generation_service_client_config.json +43 -0
  80. package/build/src/v1alpha/index.d.ts +2 -0
  81. package/build/src/v1alpha/index.js +5 -1
  82. package/build/src/v1alpha/project_service_client.d.ts +1756 -0
  83. package/build/src/v1alpha/project_service_client.js +2500 -0
  84. package/build/src/v1alpha/project_service_client_config.json +38 -0
  85. package/build/src/v1alpha/rank_service_client.d.ts +330 -0
  86. package/build/src/v1alpha/rank_service_client.js +454 -0
  87. package/build/src/v1alpha/rank_service_client_config.json +15 -2
  88. package/build/src/v1alpha/recommendation_service_client.d.ts +330 -0
  89. package/build/src/v1alpha/recommendation_service_client.js +454 -0
  90. package/build/src/v1alpha/schema_service_client.d.ts +330 -0
  91. package/build/src/v1alpha/schema_service_client.js +454 -0
  92. package/build/src/v1alpha/search_service_client.d.ts +330 -0
  93. package/build/src/v1alpha/search_service_client.js +454 -0
  94. package/build/src/v1alpha/search_service_client_config.json +5 -5
  95. package/build/src/v1alpha/search_tuning_service_client.d.ts +330 -0
  96. package/build/src/v1alpha/search_tuning_service_client.js +454 -0
  97. package/build/src/v1alpha/serving_config_service_client.d.ts +315 -0
  98. package/build/src/v1alpha/serving_config_service_client.js +432 -0
  99. package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
  100. package/build/src/v1alpha/site_search_engine_service_client.js +454 -0
  101. package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
  102. package/build/src/v1alpha/user_event_service_client.js +454 -0
  103. package/build/src/v1beta/completion_service_client.d.ts +315 -0
  104. package/build/src/v1beta/completion_service_client.js +432 -0
  105. package/build/src/v1beta/conversational_search_service_client.d.ts +659 -0
  106. package/build/src/v1beta/conversational_search_service_client.js +702 -0
  107. package/build/src/v1beta/conversational_search_service_client_config.json +35 -0
  108. package/build/src/v1beta/data_store_service_client.d.ts +315 -0
  109. package/build/src/v1beta/data_store_service_client.js +432 -0
  110. package/build/src/v1beta/document_service_client.d.ts +361 -21
  111. package/build/src/v1beta/document_service_client.js +432 -0
  112. package/build/src/v1beta/engine_service_client.d.ts +410 -0
  113. package/build/src/v1beta/engine_service_client.js +518 -0
  114. package/build/src/v1beta/engine_service_client_config.json +12 -0
  115. package/build/src/v1beta/grounded_generation_service_client.d.ts +1406 -0
  116. package/build/src/v1beta/grounded_generation_service_client.js +2014 -0
  117. package/build/src/v1beta/grounded_generation_service_client_config.json +43 -0
  118. package/build/src/v1beta/index.d.ts +2 -0
  119. package/build/src/v1beta/index.js +5 -1
  120. package/build/src/v1beta/rank_service_client.d.ts +1416 -0
  121. package/build/src/v1beta/rank_service_client.js +2015 -0
  122. package/build/src/v1beta/rank_service_client_config.json +43 -0
  123. package/build/src/v1beta/recommendation_service_client.d.ts +315 -0
  124. package/build/src/v1beta/recommendation_service_client.js +432 -0
  125. package/build/src/v1beta/schema_service_client.d.ts +315 -0
  126. package/build/src/v1beta/schema_service_client.js +432 -0
  127. package/build/src/v1beta/search_service_client.d.ts +342 -12
  128. package/build/src/v1beta/search_service_client.js +450 -8
  129. package/build/src/v1beta/search_service_client_config.json +5 -5
  130. package/build/src/v1beta/search_tuning_service_client.d.ts +315 -0
  131. package/build/src/v1beta/search_tuning_service_client.js +432 -0
  132. package/build/src/v1beta/serving_config_service_client.d.ts +315 -0
  133. package/build/src/v1beta/serving_config_service_client.js +432 -0
  134. package/build/src/v1beta/site_search_engine_service_client.d.ts +315 -0
  135. package/build/src/v1beta/site_search_engine_service_client.js +432 -0
  136. package/build/src/v1beta/user_event_service_client.d.ts +315 -0
  137. package/build/src/v1beta/user_event_service_client.js +432 -0
  138. package/package.json +1 -1
@@ -151,6 +151,7 @@ class UserEventServiceClient {
151
151
  this.pathTemplates = {
152
152
  aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
153
153
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
154
+ projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
154
155
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
155
156
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
156
157
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -158,10 +159,14 @@ class UserEventServiceClient {
158
159
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
159
160
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
160
161
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
162
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
163
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
161
164
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
162
165
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
163
166
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
164
167
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
168
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
169
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
165
170
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
166
171
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
167
172
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -169,6 +174,8 @@ class UserEventServiceClient {
169
174
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
170
175
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
171
176
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
177
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
178
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
172
179
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
173
180
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
174
181
  };
@@ -793,6 +800,27 @@ class UserEventServiceClient {
793
800
  matchEngineFromEngineName(engineName) {
794
801
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
795
802
  }
803
+ /**
804
+ * Return a fully-qualified project resource name string.
805
+ *
806
+ * @param {string} project
807
+ * @returns {string} Resource name string.
808
+ */
809
+ projectPath(project) {
810
+ return this.pathTemplates.projectPathTemplate.render({
811
+ project: project,
812
+ });
813
+ }
814
+ /**
815
+ * Parse the project from Project resource.
816
+ *
817
+ * @param {string} projectName
818
+ * A fully-qualified path representing Project resource.
819
+ * @returns {string} A string representing the project.
820
+ */
821
+ matchProjectFromProjectName(projectName) {
822
+ return this.pathTemplates.projectPathTemplate.match(projectName).project;
823
+ }
796
824
  /**
797
825
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
798
826
  *
@@ -1288,6 +1316,156 @@ class UserEventServiceClient {
1288
1316
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1289
1317
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1290
1318
  }
1319
+ /**
1320
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1321
+ *
1322
+ * @param {string} project
1323
+ * @param {string} location
1324
+ * @param {string} collection
1325
+ * @param {string} data_store
1326
+ * @param {string} session
1327
+ * @returns {string} Resource name string.
1328
+ */
1329
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1330
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1331
+ project: project,
1332
+ location: location,
1333
+ collection: collection,
1334
+ data_store: dataStore,
1335
+ session: session,
1336
+ });
1337
+ }
1338
+ /**
1339
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1340
+ *
1341
+ * @param {string} projectLocationCollectionDataStoreSessionName
1342
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1343
+ * @returns {string} A string representing the project.
1344
+ */
1345
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1346
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1347
+ }
1348
+ /**
1349
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1350
+ *
1351
+ * @param {string} projectLocationCollectionDataStoreSessionName
1352
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1353
+ * @returns {string} A string representing the location.
1354
+ */
1355
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1356
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1357
+ }
1358
+ /**
1359
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1360
+ *
1361
+ * @param {string} projectLocationCollectionDataStoreSessionName
1362
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1363
+ * @returns {string} A string representing the collection.
1364
+ */
1365
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1366
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1367
+ }
1368
+ /**
1369
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1370
+ *
1371
+ * @param {string} projectLocationCollectionDataStoreSessionName
1372
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1373
+ * @returns {string} A string representing the data_store.
1374
+ */
1375
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1376
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1377
+ }
1378
+ /**
1379
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1380
+ *
1381
+ * @param {string} projectLocationCollectionDataStoreSessionName
1382
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1383
+ * @returns {string} A string representing the session.
1384
+ */
1385
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1386
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1387
+ }
1388
+ /**
1389
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1390
+ *
1391
+ * @param {string} project
1392
+ * @param {string} location
1393
+ * @param {string} collection
1394
+ * @param {string} data_store
1395
+ * @param {string} session
1396
+ * @param {string} answer
1397
+ * @returns {string} Resource name string.
1398
+ */
1399
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1400
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1401
+ project: project,
1402
+ location: location,
1403
+ collection: collection,
1404
+ data_store: dataStore,
1405
+ session: session,
1406
+ answer: answer,
1407
+ });
1408
+ }
1409
+ /**
1410
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1411
+ *
1412
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1413
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1414
+ * @returns {string} A string representing the project.
1415
+ */
1416
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1417
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1418
+ }
1419
+ /**
1420
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1421
+ *
1422
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1423
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1424
+ * @returns {string} A string representing the location.
1425
+ */
1426
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1427
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1428
+ }
1429
+ /**
1430
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1431
+ *
1432
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1433
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1434
+ * @returns {string} A string representing the collection.
1435
+ */
1436
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1437
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1438
+ }
1439
+ /**
1440
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1441
+ *
1442
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1443
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1444
+ * @returns {string} A string representing the data_store.
1445
+ */
1446
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1447
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1448
+ }
1449
+ /**
1450
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1451
+ *
1452
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1453
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1454
+ * @returns {string} A string representing the session.
1455
+ */
1456
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1457
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1458
+ }
1459
+ /**
1460
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1461
+ *
1462
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1463
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1464
+ * @returns {string} A string representing the answer.
1465
+ */
1466
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1467
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1468
+ }
1291
1469
  /**
1292
1470
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1293
1471
  *
@@ -1552,6 +1730,156 @@ class UserEventServiceClient {
1552
1730
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1553
1731
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1554
1732
  }
1733
+ /**
1734
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1735
+ *
1736
+ * @param {string} project
1737
+ * @param {string} location
1738
+ * @param {string} collection
1739
+ * @param {string} engine
1740
+ * @param {string} session
1741
+ * @returns {string} Resource name string.
1742
+ */
1743
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1744
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1745
+ project: project,
1746
+ location: location,
1747
+ collection: collection,
1748
+ engine: engine,
1749
+ session: session,
1750
+ });
1751
+ }
1752
+ /**
1753
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1754
+ *
1755
+ * @param {string} projectLocationCollectionEngineSessionName
1756
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1757
+ * @returns {string} A string representing the project.
1758
+ */
1759
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1760
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1761
+ }
1762
+ /**
1763
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1764
+ *
1765
+ * @param {string} projectLocationCollectionEngineSessionName
1766
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1767
+ * @returns {string} A string representing the location.
1768
+ */
1769
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1770
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1771
+ }
1772
+ /**
1773
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1774
+ *
1775
+ * @param {string} projectLocationCollectionEngineSessionName
1776
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1777
+ * @returns {string} A string representing the collection.
1778
+ */
1779
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1780
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1781
+ }
1782
+ /**
1783
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1784
+ *
1785
+ * @param {string} projectLocationCollectionEngineSessionName
1786
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1787
+ * @returns {string} A string representing the engine.
1788
+ */
1789
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1790
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1791
+ }
1792
+ /**
1793
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1794
+ *
1795
+ * @param {string} projectLocationCollectionEngineSessionName
1796
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1797
+ * @returns {string} A string representing the session.
1798
+ */
1799
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1800
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1801
+ }
1802
+ /**
1803
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1804
+ *
1805
+ * @param {string} project
1806
+ * @param {string} location
1807
+ * @param {string} collection
1808
+ * @param {string} engine
1809
+ * @param {string} session
1810
+ * @param {string} answer
1811
+ * @returns {string} Resource name string.
1812
+ */
1813
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1814
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1815
+ project: project,
1816
+ location: location,
1817
+ collection: collection,
1818
+ engine: engine,
1819
+ session: session,
1820
+ answer: answer,
1821
+ });
1822
+ }
1823
+ /**
1824
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1825
+ *
1826
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1827
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1828
+ * @returns {string} A string representing the project.
1829
+ */
1830
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1831
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1832
+ }
1833
+ /**
1834
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1835
+ *
1836
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1837
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1838
+ * @returns {string} A string representing the location.
1839
+ */
1840
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1841
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1842
+ }
1843
+ /**
1844
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1845
+ *
1846
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1847
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1848
+ * @returns {string} A string representing the collection.
1849
+ */
1850
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1851
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1852
+ }
1853
+ /**
1854
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1855
+ *
1856
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1857
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1858
+ * @returns {string} A string representing the engine.
1859
+ */
1860
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1861
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1862
+ }
1863
+ /**
1864
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1865
+ *
1866
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1867
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1868
+ * @returns {string} A string representing the session.
1869
+ */
1870
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1871
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1872
+ }
1873
+ /**
1874
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1875
+ *
1876
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1877
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1878
+ * @returns {string} A string representing the answer.
1879
+ */
1880
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1881
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1882
+ }
1555
1883
  /**
1556
1884
  * Return a fully-qualified projectLocationDataStore resource name string.
1557
1885
  *
@@ -1963,6 +2291,132 @@ class UserEventServiceClient {
1963
2291
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1964
2292
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1965
2293
  }
2294
+ /**
2295
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2296
+ *
2297
+ * @param {string} project
2298
+ * @param {string} location
2299
+ * @param {string} data_store
2300
+ * @param {string} session
2301
+ * @returns {string} Resource name string.
2302
+ */
2303
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2304
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2305
+ project: project,
2306
+ location: location,
2307
+ data_store: dataStore,
2308
+ session: session,
2309
+ });
2310
+ }
2311
+ /**
2312
+ * Parse the project from ProjectLocationDataStoreSession resource.
2313
+ *
2314
+ * @param {string} projectLocationDataStoreSessionName
2315
+ * A fully-qualified path representing project_location_data_store_session resource.
2316
+ * @returns {string} A string representing the project.
2317
+ */
2318
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2319
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2320
+ }
2321
+ /**
2322
+ * Parse the location from ProjectLocationDataStoreSession resource.
2323
+ *
2324
+ * @param {string} projectLocationDataStoreSessionName
2325
+ * A fully-qualified path representing project_location_data_store_session resource.
2326
+ * @returns {string} A string representing the location.
2327
+ */
2328
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2329
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2330
+ }
2331
+ /**
2332
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2333
+ *
2334
+ * @param {string} projectLocationDataStoreSessionName
2335
+ * A fully-qualified path representing project_location_data_store_session resource.
2336
+ * @returns {string} A string representing the data_store.
2337
+ */
2338
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2339
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2340
+ }
2341
+ /**
2342
+ * Parse the session from ProjectLocationDataStoreSession resource.
2343
+ *
2344
+ * @param {string} projectLocationDataStoreSessionName
2345
+ * A fully-qualified path representing project_location_data_store_session resource.
2346
+ * @returns {string} A string representing the session.
2347
+ */
2348
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2349
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2350
+ }
2351
+ /**
2352
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2353
+ *
2354
+ * @param {string} project
2355
+ * @param {string} location
2356
+ * @param {string} data_store
2357
+ * @param {string} session
2358
+ * @param {string} answer
2359
+ * @returns {string} Resource name string.
2360
+ */
2361
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2362
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2363
+ project: project,
2364
+ location: location,
2365
+ data_store: dataStore,
2366
+ session: session,
2367
+ answer: answer,
2368
+ });
2369
+ }
2370
+ /**
2371
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2372
+ *
2373
+ * @param {string} projectLocationDataStoreSessionAnswerName
2374
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2375
+ * @returns {string} A string representing the project.
2376
+ */
2377
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2378
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2379
+ }
2380
+ /**
2381
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2382
+ *
2383
+ * @param {string} projectLocationDataStoreSessionAnswerName
2384
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2385
+ * @returns {string} A string representing the location.
2386
+ */
2387
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2388
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2389
+ }
2390
+ /**
2391
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2392
+ *
2393
+ * @param {string} projectLocationDataStoreSessionAnswerName
2394
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2395
+ * @returns {string} A string representing the data_store.
2396
+ */
2397
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2398
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2399
+ }
2400
+ /**
2401
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2402
+ *
2403
+ * @param {string} projectLocationDataStoreSessionAnswerName
2404
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2405
+ * @returns {string} A string representing the session.
2406
+ */
2407
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2408
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2409
+ }
2410
+ /**
2411
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2412
+ *
2413
+ * @param {string} projectLocationDataStoreSessionAnswerName
2414
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2415
+ * @returns {string} A string representing the answer.
2416
+ */
2417
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2418
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2419
+ }
1966
2420
  /**
1967
2421
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1968
2422
  *