@google-cloud/discoveryengine 1.2.0 → 1.3.1

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 (63) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +25 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +38 -8
  4. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -0
  5. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +39 -0
  6. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +98 -0
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +307 -0
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +370 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +336 -0
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +9 -3
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +123 -3
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +147 -0
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +164 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +540 -0
  16. package/build/protos/protos.d.ts +10923 -3222
  17. package/build/protos/protos.js +29891 -12914
  18. package/build/protos/protos.json +2367 -668
  19. package/build/src/index.js +1 -1
  20. package/build/src/v1/completion_service_client.js +1 -1
  21. package/build/src/v1/conversational_search_service_client.js +1 -1
  22. package/build/src/v1/document_service_client.js +1 -1
  23. package/build/src/v1/index.js +1 -1
  24. package/build/src/v1/schema_service_client.js +1 -1
  25. package/build/src/v1/search_service_client.js +1 -1
  26. package/build/src/v1/user_event_service_client.js +1 -1
  27. package/build/src/v1alpha/completion_service_client.d.ts +261 -0
  28. package/build/src/v1alpha/completion_service_client.js +360 -0
  29. package/build/src/v1alpha/conversational_search_service_client.d.ts +278 -0
  30. package/build/src/v1alpha/conversational_search_service_client.js +360 -0
  31. package/build/src/v1alpha/data_store_service_client.d.ts +1279 -0
  32. package/build/src/v1alpha/data_store_service_client.js +1739 -0
  33. package/build/src/v1alpha/data_store_service_client_config.json +46 -0
  34. package/build/src/v1alpha/document_service_client.d.ts +336 -0
  35. package/build/src/v1alpha/document_service_client.js +472 -2
  36. package/build/src/v1alpha/engine_service_client.d.ts +1298 -0
  37. package/build/src/v1alpha/engine_service_client.js +1789 -0
  38. package/build/src/v1alpha/engine_service_client_config.json +58 -0
  39. package/build/src/v1alpha/index.d.ts +3 -0
  40. package/build/src/v1alpha/index.js +7 -1
  41. package/build/src/v1alpha/recommendation_service_client.d.ts +345 -3
  42. package/build/src/v1alpha/recommendation_service_client.js +464 -0
  43. package/build/src/v1alpha/schema_service_client.d.ts +261 -0
  44. package/build/src/v1alpha/schema_service_client.js +368 -2
  45. package/build/src/v1alpha/search_service_client.d.ts +453 -9
  46. package/build/src/v1alpha/search_service_client.js +542 -6
  47. package/build/src/v1alpha/search_tuning_service_client.d.ts +968 -0
  48. package/build/src/v1alpha/search_tuning_service_client.js +1452 -0
  49. package/build/src/v1alpha/search_tuning_service_client_config.json +30 -0
  50. package/build/src/v1alpha/site_search_engine_service_client.d.ts +856 -1
  51. package/build/src/v1alpha/site_search_engine_service_client.js +993 -34
  52. package/build/src/v1alpha/site_search_engine_service_client_config.json +44 -0
  53. package/build/src/v1alpha/user_event_service_client.d.ts +261 -0
  54. package/build/src/v1alpha/user_event_service_client.js +368 -2
  55. package/build/src/v1beta/completion_service_client.js +1 -1
  56. package/build/src/v1beta/conversational_search_service_client.js +1 -1
  57. package/build/src/v1beta/document_service_client.js +1 -1
  58. package/build/src/v1beta/index.js +1 -1
  59. package/build/src/v1beta/recommendation_service_client.js +1 -1
  60. package/build/src/v1beta/schema_service_client.js +1 -1
  61. package/build/src/v1beta/search_service_client.js +1 -1
  62. package/build/src/v1beta/user_event_service_client.js +1 -1
  63. package/package.json +4 -4
@@ -138,14 +138,20 @@ class SchemaServiceClient {
138
138
  // identifiers to uniquely identify resources within the API.
139
139
  // Create useful helper objects for these.
140
140
  this.pathTemplates = {
141
+ enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
141
142
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
142
143
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
143
144
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
144
145
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
146
+ projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
147
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
148
+ projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
145
149
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
146
150
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
147
151
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
148
152
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
153
+ projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
154
+ projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
149
155
  };
150
156
  // Some of the methods on this service return "paged" results,
151
157
  // (e.g. 50 results at a time, with tokens to get subsequent
@@ -166,8 +172,11 @@ class SchemaServiceClient {
166
172
  lroOptions.httpRules = [
167
173
  {
168
174
  selector: 'google.longrunning.Operations.GetOperation',
169
- get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}',
175
+ get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
170
176
  additional_bindings: [
177
+ {
178
+ get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}',
179
+ },
171
180
  {
172
181
  get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}',
173
182
  },
@@ -204,8 +213,11 @@ class SchemaServiceClient {
204
213
  },
205
214
  {
206
215
  selector: 'google.longrunning.Operations.ListOperations',
207
- get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations',
216
+ get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector}/operations',
208
217
  additional_bindings: [
218
+ {
219
+ get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations',
220
+ },
209
221
  {
210
222
  get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations',
211
223
  },
@@ -801,6 +813,63 @@ class SchemaServiceClient {
801
813
  // --------------------
802
814
  // -- Path templates --
803
815
  // --------------------
816
+ /**
817
+ * Return a fully-qualified engine resource name string.
818
+ *
819
+ * @param {string} project
820
+ * @param {string} location
821
+ * @param {string} collection
822
+ * @param {string} engine
823
+ * @returns {string} Resource name string.
824
+ */
825
+ enginePath(project, location, collection, engine) {
826
+ return this.pathTemplates.enginePathTemplate.render({
827
+ project: project,
828
+ location: location,
829
+ collection: collection,
830
+ engine: engine,
831
+ });
832
+ }
833
+ /**
834
+ * Parse the project from Engine resource.
835
+ *
836
+ * @param {string} engineName
837
+ * A fully-qualified path representing Engine resource.
838
+ * @returns {string} A string representing the project.
839
+ */
840
+ matchProjectFromEngineName(engineName) {
841
+ return this.pathTemplates.enginePathTemplate.match(engineName).project;
842
+ }
843
+ /**
844
+ * Parse the location from Engine resource.
845
+ *
846
+ * @param {string} engineName
847
+ * A fully-qualified path representing Engine resource.
848
+ * @returns {string} A string representing the location.
849
+ */
850
+ matchLocationFromEngineName(engineName) {
851
+ return this.pathTemplates.enginePathTemplate.match(engineName).location;
852
+ }
853
+ /**
854
+ * Parse the collection from Engine resource.
855
+ *
856
+ * @param {string} engineName
857
+ * A fully-qualified path representing Engine resource.
858
+ * @returns {string} A string representing the collection.
859
+ */
860
+ matchCollectionFromEngineName(engineName) {
861
+ return this.pathTemplates.enginePathTemplate.match(engineName).collection;
862
+ }
863
+ /**
864
+ * Parse the engine from Engine resource.
865
+ *
866
+ * @param {string} engineName
867
+ * A fully-qualified path representing Engine resource.
868
+ * @returns {string} A string representing the engine.
869
+ */
870
+ matchEngineFromEngineName(engineName) {
871
+ return this.pathTemplates.enginePathTemplate.match(engineName).engine;
872
+ }
804
873
  /**
805
874
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
806
875
  *
@@ -1077,6 +1146,201 @@ class SchemaServiceClient {
1077
1146
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1078
1147
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1079
1148
  }
1149
+ /**
1150
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1151
+ *
1152
+ * @param {string} project
1153
+ * @param {string} location
1154
+ * @param {string} collection
1155
+ * @param {string} data_store
1156
+ * @returns {string} Resource name string.
1157
+ */
1158
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
1159
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
1160
+ project: project,
1161
+ location: location,
1162
+ collection: collection,
1163
+ data_store: dataStore,
1164
+ });
1165
+ }
1166
+ /**
1167
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1168
+ *
1169
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1170
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1171
+ * @returns {string} A string representing the project.
1172
+ */
1173
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1174
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
1175
+ }
1176
+ /**
1177
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1178
+ *
1179
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1180
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1181
+ * @returns {string} A string representing the location.
1182
+ */
1183
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1184
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
1185
+ }
1186
+ /**
1187
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1188
+ *
1189
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1190
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1191
+ * @returns {string} A string representing the collection.
1192
+ */
1193
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1194
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
1195
+ }
1196
+ /**
1197
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1198
+ *
1199
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1200
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1201
+ * @returns {string} A string representing the data_store.
1202
+ */
1203
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1204
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
1205
+ }
1206
+ /**
1207
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
1208
+ *
1209
+ * @param {string} project
1210
+ * @param {string} location
1211
+ * @param {string} collection
1212
+ * @param {string} data_store
1213
+ * @param {string} target_site
1214
+ * @returns {string} Resource name string.
1215
+ */
1216
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
1217
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1218
+ project: project,
1219
+ location: location,
1220
+ collection: collection,
1221
+ data_store: dataStore,
1222
+ target_site: targetSite,
1223
+ });
1224
+ }
1225
+ /**
1226
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1227
+ *
1228
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1229
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1230
+ * @returns {string} A string representing the project.
1231
+ */
1232
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1233
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
1234
+ }
1235
+ /**
1236
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1237
+ *
1238
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1239
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1240
+ * @returns {string} A string representing the location.
1241
+ */
1242
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1243
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
1244
+ }
1245
+ /**
1246
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1247
+ *
1248
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1249
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1250
+ * @returns {string} A string representing the collection.
1251
+ */
1252
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1253
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
1254
+ }
1255
+ /**
1256
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1257
+ *
1258
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1259
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1260
+ * @returns {string} A string representing the data_store.
1261
+ */
1262
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1263
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
1264
+ }
1265
+ /**
1266
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1267
+ *
1268
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1269
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1270
+ * @returns {string} A string representing the target_site.
1271
+ */
1272
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1273
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1274
+ }
1275
+ /**
1276
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1277
+ *
1278
+ * @param {string} project
1279
+ * @param {string} location
1280
+ * @param {string} collection
1281
+ * @param {string} engine
1282
+ * @param {string} conversation
1283
+ * @returns {string} Resource name string.
1284
+ */
1285
+ projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
1286
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
1287
+ project: project,
1288
+ location: location,
1289
+ collection: collection,
1290
+ engine: engine,
1291
+ conversation: conversation,
1292
+ });
1293
+ }
1294
+ /**
1295
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
1296
+ *
1297
+ * @param {string} projectLocationCollectionEngineConversationName
1298
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1299
+ * @returns {string} A string representing the project.
1300
+ */
1301
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1302
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
1303
+ }
1304
+ /**
1305
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1306
+ *
1307
+ * @param {string} projectLocationCollectionEngineConversationName
1308
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1309
+ * @returns {string} A string representing the location.
1310
+ */
1311
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1312
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
1313
+ }
1314
+ /**
1315
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1316
+ *
1317
+ * @param {string} projectLocationCollectionEngineConversationName
1318
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1319
+ * @returns {string} A string representing the collection.
1320
+ */
1321
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1322
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
1323
+ }
1324
+ /**
1325
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1326
+ *
1327
+ * @param {string} projectLocationCollectionEngineConversationName
1328
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1329
+ * @returns {string} A string representing the engine.
1330
+ */
1331
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1332
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
1333
+ }
1334
+ /**
1335
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1336
+ *
1337
+ * @param {string} projectLocationCollectionEngineConversationName
1338
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1339
+ * @returns {string} A string representing the conversation.
1340
+ */
1341
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1342
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1343
+ }
1080
1344
  /**
1081
1345
  * Return a fully-qualified projectLocationDataStore resource name string.
1082
1346
  *
@@ -1305,6 +1569,108 @@ class SchemaServiceClient {
1305
1569
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1306
1570
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1307
1571
  }
1572
+ /**
1573
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1574
+ *
1575
+ * @param {string} project
1576
+ * @param {string} location
1577
+ * @param {string} data_store
1578
+ * @returns {string} Resource name string.
1579
+ */
1580
+ projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
1581
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
1582
+ project: project,
1583
+ location: location,
1584
+ data_store: dataStore,
1585
+ });
1586
+ }
1587
+ /**
1588
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1589
+ *
1590
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1591
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1592
+ * @returns {string} A string representing the project.
1593
+ */
1594
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1595
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
1596
+ }
1597
+ /**
1598
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1599
+ *
1600
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1601
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1602
+ * @returns {string} A string representing the location.
1603
+ */
1604
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1605
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
1606
+ }
1607
+ /**
1608
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1609
+ *
1610
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1611
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1612
+ * @returns {string} A string representing the data_store.
1613
+ */
1614
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1615
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
1616
+ }
1617
+ /**
1618
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1619
+ *
1620
+ * @param {string} project
1621
+ * @param {string} location
1622
+ * @param {string} data_store
1623
+ * @param {string} target_site
1624
+ * @returns {string} Resource name string.
1625
+ */
1626
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
1627
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1628
+ project: project,
1629
+ location: location,
1630
+ data_store: dataStore,
1631
+ target_site: targetSite,
1632
+ });
1633
+ }
1634
+ /**
1635
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1636
+ *
1637
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1638
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1639
+ * @returns {string} A string representing the project.
1640
+ */
1641
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1642
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
1643
+ }
1644
+ /**
1645
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1646
+ *
1647
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1648
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1649
+ * @returns {string} A string representing the location.
1650
+ */
1651
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1652
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
1653
+ }
1654
+ /**
1655
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1656
+ *
1657
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1658
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1659
+ * @returns {string} A string representing the data_store.
1660
+ */
1661
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1662
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
1663
+ }
1664
+ /**
1665
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1666
+ *
1667
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1668
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1669
+ * @returns {string} A string representing the target_site.
1670
+ */
1671
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1672
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
1673
+ }
1308
1674
  /**
1309
1675
  * Terminate the gRPC channel and close the client.
1310
1676
  *