@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
@@ -153,6 +153,7 @@ class EstimateBillingServiceClient {
153
153
  aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
154
154
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
155
155
  locationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}'),
156
+ projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
156
157
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
157
158
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
158
159
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -160,10 +161,14 @@ class EstimateBillingServiceClient {
160
161
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
161
162
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
162
163
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
164
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
165
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
163
166
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
164
167
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
165
168
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
166
169
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
170
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
171
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
167
172
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
168
173
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
169
174
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -171,6 +176,8 @@ class EstimateBillingServiceClient {
171
176
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
172
177
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
173
178
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
180
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
174
181
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
175
182
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
176
183
  };
@@ -740,6 +747,27 @@ class EstimateBillingServiceClient {
740
747
  matchLocationFromLocationName(locationName) {
741
748
  return this.pathTemplates.locationPathTemplate.match(locationName).location;
742
749
  }
750
+ /**
751
+ * Return a fully-qualified project resource name string.
752
+ *
753
+ * @param {string} project
754
+ * @returns {string} Resource name string.
755
+ */
756
+ projectPath(project) {
757
+ return this.pathTemplates.projectPathTemplate.render({
758
+ project: project,
759
+ });
760
+ }
761
+ /**
762
+ * Parse the project from Project resource.
763
+ *
764
+ * @param {string} projectName
765
+ * A fully-qualified path representing Project resource.
766
+ * @returns {string} A string representing the project.
767
+ */
768
+ matchProjectFromProjectName(projectName) {
769
+ return this.pathTemplates.projectPathTemplate.match(projectName).project;
770
+ }
743
771
  /**
744
772
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
745
773
  *
@@ -1235,6 +1263,156 @@ class EstimateBillingServiceClient {
1235
1263
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1236
1264
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1237
1265
  }
1266
+ /**
1267
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1268
+ *
1269
+ * @param {string} project
1270
+ * @param {string} location
1271
+ * @param {string} collection
1272
+ * @param {string} data_store
1273
+ * @param {string} session
1274
+ * @returns {string} Resource name string.
1275
+ */
1276
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1277
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1278
+ project: project,
1279
+ location: location,
1280
+ collection: collection,
1281
+ data_store: dataStore,
1282
+ session: session,
1283
+ });
1284
+ }
1285
+ /**
1286
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1287
+ *
1288
+ * @param {string} projectLocationCollectionDataStoreSessionName
1289
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1290
+ * @returns {string} A string representing the project.
1291
+ */
1292
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1293
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1294
+ }
1295
+ /**
1296
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1297
+ *
1298
+ * @param {string} projectLocationCollectionDataStoreSessionName
1299
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1300
+ * @returns {string} A string representing the location.
1301
+ */
1302
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1303
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1304
+ }
1305
+ /**
1306
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1307
+ *
1308
+ * @param {string} projectLocationCollectionDataStoreSessionName
1309
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1310
+ * @returns {string} A string representing the collection.
1311
+ */
1312
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1313
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1314
+ }
1315
+ /**
1316
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1317
+ *
1318
+ * @param {string} projectLocationCollectionDataStoreSessionName
1319
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1320
+ * @returns {string} A string representing the data_store.
1321
+ */
1322
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1323
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1324
+ }
1325
+ /**
1326
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1327
+ *
1328
+ * @param {string} projectLocationCollectionDataStoreSessionName
1329
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1330
+ * @returns {string} A string representing the session.
1331
+ */
1332
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1333
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1334
+ }
1335
+ /**
1336
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1337
+ *
1338
+ * @param {string} project
1339
+ * @param {string} location
1340
+ * @param {string} collection
1341
+ * @param {string} data_store
1342
+ * @param {string} session
1343
+ * @param {string} answer
1344
+ * @returns {string} Resource name string.
1345
+ */
1346
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1347
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1348
+ project: project,
1349
+ location: location,
1350
+ collection: collection,
1351
+ data_store: dataStore,
1352
+ session: session,
1353
+ answer: answer,
1354
+ });
1355
+ }
1356
+ /**
1357
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1358
+ *
1359
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1360
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1361
+ * @returns {string} A string representing the project.
1362
+ */
1363
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1364
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1365
+ }
1366
+ /**
1367
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1368
+ *
1369
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1370
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1371
+ * @returns {string} A string representing the location.
1372
+ */
1373
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1374
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1375
+ }
1376
+ /**
1377
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1378
+ *
1379
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1380
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1381
+ * @returns {string} A string representing the collection.
1382
+ */
1383
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1384
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1385
+ }
1386
+ /**
1387
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1388
+ *
1389
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1390
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1391
+ * @returns {string} A string representing the data_store.
1392
+ */
1393
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1394
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1395
+ }
1396
+ /**
1397
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1398
+ *
1399
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1400
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1401
+ * @returns {string} A string representing the session.
1402
+ */
1403
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1404
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1405
+ }
1406
+ /**
1407
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1408
+ *
1409
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1410
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1411
+ * @returns {string} A string representing the answer.
1412
+ */
1413
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1414
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1415
+ }
1238
1416
  /**
1239
1417
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1240
1418
  *
@@ -1499,6 +1677,156 @@ class EstimateBillingServiceClient {
1499
1677
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1500
1678
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1501
1679
  }
1680
+ /**
1681
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1682
+ *
1683
+ * @param {string} project
1684
+ * @param {string} location
1685
+ * @param {string} collection
1686
+ * @param {string} engine
1687
+ * @param {string} session
1688
+ * @returns {string} Resource name string.
1689
+ */
1690
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1691
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1692
+ project: project,
1693
+ location: location,
1694
+ collection: collection,
1695
+ engine: engine,
1696
+ session: session,
1697
+ });
1698
+ }
1699
+ /**
1700
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1701
+ *
1702
+ * @param {string} projectLocationCollectionEngineSessionName
1703
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1704
+ * @returns {string} A string representing the project.
1705
+ */
1706
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1707
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1708
+ }
1709
+ /**
1710
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1711
+ *
1712
+ * @param {string} projectLocationCollectionEngineSessionName
1713
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1714
+ * @returns {string} A string representing the location.
1715
+ */
1716
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1717
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1718
+ }
1719
+ /**
1720
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1721
+ *
1722
+ * @param {string} projectLocationCollectionEngineSessionName
1723
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1724
+ * @returns {string} A string representing the collection.
1725
+ */
1726
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1727
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1728
+ }
1729
+ /**
1730
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1731
+ *
1732
+ * @param {string} projectLocationCollectionEngineSessionName
1733
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1734
+ * @returns {string} A string representing the engine.
1735
+ */
1736
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1737
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1738
+ }
1739
+ /**
1740
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1741
+ *
1742
+ * @param {string} projectLocationCollectionEngineSessionName
1743
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1744
+ * @returns {string} A string representing the session.
1745
+ */
1746
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1747
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1748
+ }
1749
+ /**
1750
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1751
+ *
1752
+ * @param {string} project
1753
+ * @param {string} location
1754
+ * @param {string} collection
1755
+ * @param {string} engine
1756
+ * @param {string} session
1757
+ * @param {string} answer
1758
+ * @returns {string} Resource name string.
1759
+ */
1760
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1761
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1762
+ project: project,
1763
+ location: location,
1764
+ collection: collection,
1765
+ engine: engine,
1766
+ session: session,
1767
+ answer: answer,
1768
+ });
1769
+ }
1770
+ /**
1771
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1772
+ *
1773
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1774
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1775
+ * @returns {string} A string representing the project.
1776
+ */
1777
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1778
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1779
+ }
1780
+ /**
1781
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1782
+ *
1783
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1784
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1785
+ * @returns {string} A string representing the location.
1786
+ */
1787
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1788
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1789
+ }
1790
+ /**
1791
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1792
+ *
1793
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1794
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1795
+ * @returns {string} A string representing the collection.
1796
+ */
1797
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1798
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1799
+ }
1800
+ /**
1801
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1802
+ *
1803
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1804
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1805
+ * @returns {string} A string representing the engine.
1806
+ */
1807
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1808
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1809
+ }
1810
+ /**
1811
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1812
+ *
1813
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1814
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1815
+ * @returns {string} A string representing the session.
1816
+ */
1817
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1818
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1819
+ }
1820
+ /**
1821
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1822
+ *
1823
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1824
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1825
+ * @returns {string} A string representing the answer.
1826
+ */
1827
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1828
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1829
+ }
1502
1830
  /**
1503
1831
  * Return a fully-qualified projectLocationDataStore resource name string.
1504
1832
  *
@@ -1910,6 +2238,132 @@ class EstimateBillingServiceClient {
1910
2238
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1911
2239
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1912
2240
  }
2241
+ /**
2242
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2243
+ *
2244
+ * @param {string} project
2245
+ * @param {string} location
2246
+ * @param {string} data_store
2247
+ * @param {string} session
2248
+ * @returns {string} Resource name string.
2249
+ */
2250
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2251
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2252
+ project: project,
2253
+ location: location,
2254
+ data_store: dataStore,
2255
+ session: session,
2256
+ });
2257
+ }
2258
+ /**
2259
+ * Parse the project from ProjectLocationDataStoreSession resource.
2260
+ *
2261
+ * @param {string} projectLocationDataStoreSessionName
2262
+ * A fully-qualified path representing project_location_data_store_session resource.
2263
+ * @returns {string} A string representing the project.
2264
+ */
2265
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2266
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2267
+ }
2268
+ /**
2269
+ * Parse the location from ProjectLocationDataStoreSession resource.
2270
+ *
2271
+ * @param {string} projectLocationDataStoreSessionName
2272
+ * A fully-qualified path representing project_location_data_store_session resource.
2273
+ * @returns {string} A string representing the location.
2274
+ */
2275
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2276
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2277
+ }
2278
+ /**
2279
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2280
+ *
2281
+ * @param {string} projectLocationDataStoreSessionName
2282
+ * A fully-qualified path representing project_location_data_store_session resource.
2283
+ * @returns {string} A string representing the data_store.
2284
+ */
2285
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2286
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2287
+ }
2288
+ /**
2289
+ * Parse the session from ProjectLocationDataStoreSession resource.
2290
+ *
2291
+ * @param {string} projectLocationDataStoreSessionName
2292
+ * A fully-qualified path representing project_location_data_store_session resource.
2293
+ * @returns {string} A string representing the session.
2294
+ */
2295
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2296
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2297
+ }
2298
+ /**
2299
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2300
+ *
2301
+ * @param {string} project
2302
+ * @param {string} location
2303
+ * @param {string} data_store
2304
+ * @param {string} session
2305
+ * @param {string} answer
2306
+ * @returns {string} Resource name string.
2307
+ */
2308
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2309
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2310
+ project: project,
2311
+ location: location,
2312
+ data_store: dataStore,
2313
+ session: session,
2314
+ answer: answer,
2315
+ });
2316
+ }
2317
+ /**
2318
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2319
+ *
2320
+ * @param {string} projectLocationDataStoreSessionAnswerName
2321
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2322
+ * @returns {string} A string representing the project.
2323
+ */
2324
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2325
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2326
+ }
2327
+ /**
2328
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2329
+ *
2330
+ * @param {string} projectLocationDataStoreSessionAnswerName
2331
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2332
+ * @returns {string} A string representing the location.
2333
+ */
2334
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2335
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2336
+ }
2337
+ /**
2338
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2339
+ *
2340
+ * @param {string} projectLocationDataStoreSessionAnswerName
2341
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2342
+ * @returns {string} A string representing the data_store.
2343
+ */
2344
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2345
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2346
+ }
2347
+ /**
2348
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2349
+ *
2350
+ * @param {string} projectLocationDataStoreSessionAnswerName
2351
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2352
+ * @returns {string} A string representing the session.
2353
+ */
2354
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2355
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2356
+ }
2357
+ /**
2358
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2359
+ *
2360
+ * @param {string} projectLocationDataStoreSessionAnswerName
2361
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2362
+ * @returns {string} A string representing the answer.
2363
+ */
2364
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2365
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2366
+ }
1913
2367
  /**
1914
2368
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1915
2369
  *