@google-cloud/discoveryengine 1.3.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 (57) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +12 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +0 -5
  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/document.proto +1 -1
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +97 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +147 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +164 -0
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +540 -0
  12. package/build/protos/protos.d.ts +4473 -550
  13. package/build/protos/protos.js +27437 -19222
  14. package/build/protos/protos.json +1060 -358
  15. package/build/src/index.js +1 -1
  16. package/build/src/v1/completion_service_client.js +1 -1
  17. package/build/src/v1/conversational_search_service_client.js +1 -1
  18. package/build/src/v1/document_service_client.js +1 -1
  19. package/build/src/v1/index.js +1 -1
  20. package/build/src/v1/schema_service_client.js +1 -1
  21. package/build/src/v1/search_service_client.js +1 -1
  22. package/build/src/v1/user_event_service_client.js +1 -1
  23. package/build/src/v1alpha/completion_service_client.d.ts +219 -0
  24. package/build/src/v1alpha/completion_service_client.js +302 -0
  25. package/build/src/v1alpha/conversational_search_service_client.d.ts +236 -0
  26. package/build/src/v1alpha/conversational_search_service_client.js +302 -0
  27. package/build/src/v1alpha/data_store_service_client.d.ts +219 -0
  28. package/build/src/v1alpha/data_store_service_client.js +310 -2
  29. package/build/src/v1alpha/document_service_client.d.ts +219 -0
  30. package/build/src/v1alpha/document_service_client.js +310 -2
  31. package/build/src/v1alpha/engine_service_client.d.ts +220 -1
  32. package/build/src/v1alpha/engine_service_client.js +310 -2
  33. package/build/src/v1alpha/index.d.ts +1 -0
  34. package/build/src/v1alpha/index.js +3 -1
  35. package/build/src/v1alpha/recommendation_service_client.d.ts +219 -0
  36. package/build/src/v1alpha/recommendation_service_client.js +302 -0
  37. package/build/src/v1alpha/schema_service_client.d.ts +219 -0
  38. package/build/src/v1alpha/schema_service_client.js +310 -2
  39. package/build/src/v1alpha/search_service_client.d.ts +258 -0
  40. package/build/src/v1alpha/search_service_client.js +328 -0
  41. package/build/src/v1alpha/search_tuning_service_client.d.ts +968 -0
  42. package/build/src/v1alpha/search_tuning_service_client.js +1452 -0
  43. package/build/src/v1alpha/search_tuning_service_client_config.json +30 -0
  44. package/build/src/v1alpha/site_search_engine_service_client.d.ts +739 -1
  45. package/build/src/v1alpha/site_search_engine_service_client.js +801 -4
  46. package/build/src/v1alpha/site_search_engine_service_client_config.json +44 -0
  47. package/build/src/v1alpha/user_event_service_client.d.ts +219 -0
  48. package/build/src/v1alpha/user_event_service_client.js +310 -2
  49. package/build/src/v1beta/completion_service_client.js +1 -1
  50. package/build/src/v1beta/conversational_search_service_client.js +1 -1
  51. package/build/src/v1beta/document_service_client.js +1 -1
  52. package/build/src/v1beta/index.js +1 -1
  53. package/build/src/v1beta/recommendation_service_client.js +1 -1
  54. package/build/src/v1beta/schema_service_client.js +1 -1
  55. package/build/src/v1beta/search_service_client.js +1 -1
  56. package/build/src/v1beta/user_event_service_client.js +1 -1
  57. package/package.json +2 -2
@@ -1037,6 +1037,150 @@ export declare class DocumentServiceClient {
1037
1037
  * @returns {string} A string representing the schema.
1038
1038
  */
1039
1039
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
1040
+ /**
1041
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1042
+ *
1043
+ * @param {string} project
1044
+ * @param {string} location
1045
+ * @param {string} collection
1046
+ * @param {string} data_store
1047
+ * @returns {string} Resource name string.
1048
+ */
1049
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
1050
+ /**
1051
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1052
+ *
1053
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1054
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1055
+ * @returns {string} A string representing the project.
1056
+ */
1057
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1058
+ /**
1059
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1060
+ *
1061
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1062
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1063
+ * @returns {string} A string representing the location.
1064
+ */
1065
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1066
+ /**
1067
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1068
+ *
1069
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1070
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1071
+ * @returns {string} A string representing the collection.
1072
+ */
1073
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1074
+ /**
1075
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1076
+ *
1077
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1078
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1079
+ * @returns {string} A string representing the data_store.
1080
+ */
1081
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1082
+ /**
1083
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
1084
+ *
1085
+ * @param {string} project
1086
+ * @param {string} location
1087
+ * @param {string} collection
1088
+ * @param {string} data_store
1089
+ * @param {string} target_site
1090
+ * @returns {string} Resource name string.
1091
+ */
1092
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
1093
+ /**
1094
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1095
+ *
1096
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1097
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1098
+ * @returns {string} A string representing the project.
1099
+ */
1100
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1101
+ /**
1102
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1103
+ *
1104
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1105
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1106
+ * @returns {string} A string representing the location.
1107
+ */
1108
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1109
+ /**
1110
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1111
+ *
1112
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1113
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1114
+ * @returns {string} A string representing the collection.
1115
+ */
1116
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1117
+ /**
1118
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1119
+ *
1120
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1121
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1122
+ * @returns {string} A string representing the data_store.
1123
+ */
1124
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1125
+ /**
1126
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1127
+ *
1128
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1129
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1130
+ * @returns {string} A string representing the target_site.
1131
+ */
1132
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1133
+ /**
1134
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1135
+ *
1136
+ * @param {string} project
1137
+ * @param {string} location
1138
+ * @param {string} collection
1139
+ * @param {string} engine
1140
+ * @param {string} conversation
1141
+ * @returns {string} Resource name string.
1142
+ */
1143
+ projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
1144
+ /**
1145
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
1146
+ *
1147
+ * @param {string} projectLocationCollectionEngineConversationName
1148
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1149
+ * @returns {string} A string representing the project.
1150
+ */
1151
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1152
+ /**
1153
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1154
+ *
1155
+ * @param {string} projectLocationCollectionEngineConversationName
1156
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1157
+ * @returns {string} A string representing the location.
1158
+ */
1159
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1160
+ /**
1161
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1162
+ *
1163
+ * @param {string} projectLocationCollectionEngineConversationName
1164
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1165
+ * @returns {string} A string representing the collection.
1166
+ */
1167
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1168
+ /**
1169
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1170
+ *
1171
+ * @param {string} projectLocationCollectionEngineConversationName
1172
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1173
+ * @returns {string} A string representing the engine.
1174
+ */
1175
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1176
+ /**
1177
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1178
+ *
1179
+ * @param {string} projectLocationCollectionEngineConversationName
1180
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1181
+ * @returns {string} A string representing the conversation.
1182
+ */
1183
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1040
1184
  /**
1041
1185
  * Return a fully-qualified projectLocationDataStore resource name string.
1042
1186
  *
@@ -1247,6 +1391,81 @@ export declare class DocumentServiceClient {
1247
1391
  * @returns {string} A string representing the schema.
1248
1392
  */
1249
1393
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1394
+ /**
1395
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1396
+ *
1397
+ * @param {string} project
1398
+ * @param {string} location
1399
+ * @param {string} data_store
1400
+ * @returns {string} Resource name string.
1401
+ */
1402
+ projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
1403
+ /**
1404
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1405
+ *
1406
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1407
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1408
+ * @returns {string} A string representing the project.
1409
+ */
1410
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1411
+ /**
1412
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1413
+ *
1414
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1415
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1416
+ * @returns {string} A string representing the location.
1417
+ */
1418
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1419
+ /**
1420
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1421
+ *
1422
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1423
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1424
+ * @returns {string} A string representing the data_store.
1425
+ */
1426
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1427
+ /**
1428
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1429
+ *
1430
+ * @param {string} project
1431
+ * @param {string} location
1432
+ * @param {string} data_store
1433
+ * @param {string} target_site
1434
+ * @returns {string} Resource name string.
1435
+ */
1436
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
1437
+ /**
1438
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1439
+ *
1440
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1441
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1442
+ * @returns {string} A string representing the project.
1443
+ */
1444
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1445
+ /**
1446
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1447
+ *
1448
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1449
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1450
+ * @returns {string} A string representing the location.
1451
+ */
1452
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1453
+ /**
1454
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1455
+ *
1456
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1457
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1458
+ * @returns {string} A string representing the data_store.
1459
+ */
1460
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1461
+ /**
1462
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1463
+ *
1464
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1465
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1466
+ * @returns {string} A string representing the target_site.
1467
+ */
1468
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1250
1469
  /**
1251
1470
  * Terminate the gRPC channel and close the client.
1252
1471
  *
@@ -146,11 +146,16 @@ class DocumentServiceClient {
146
146
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
147
147
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
148
148
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
149
+ projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
150
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
151
+ projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
149
152
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
150
153
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
151
154
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
152
155
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
153
156
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
157
+ projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
158
+ projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
154
159
  };
155
160
  // Some of the methods on this service return "paged" results,
156
161
  // (e.g. 50 results at a time, with tokens to get subsequent
@@ -171,8 +176,11 @@ class DocumentServiceClient {
171
176
  lroOptions.httpRules = [
172
177
  {
173
178
  selector: 'google.longrunning.Operations.GetOperation',
174
- get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}',
179
+ get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
175
180
  additional_bindings: [
181
+ {
182
+ get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}',
183
+ },
176
184
  {
177
185
  get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}',
178
186
  },
@@ -209,8 +217,11 @@ class DocumentServiceClient {
209
217
  },
210
218
  {
211
219
  selector: 'google.longrunning.Operations.ListOperations',
212
- get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations',
220
+ get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector}/operations',
213
221
  additional_bindings: [
222
+ {
223
+ get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations',
224
+ },
214
225
  {
215
226
  get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations',
216
227
  },
@@ -1248,6 +1259,201 @@ class DocumentServiceClient {
1248
1259
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1249
1260
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1250
1261
  }
1262
+ /**
1263
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1264
+ *
1265
+ * @param {string} project
1266
+ * @param {string} location
1267
+ * @param {string} collection
1268
+ * @param {string} data_store
1269
+ * @returns {string} Resource name string.
1270
+ */
1271
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
1272
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
1273
+ project: project,
1274
+ location: location,
1275
+ collection: collection,
1276
+ data_store: dataStore,
1277
+ });
1278
+ }
1279
+ /**
1280
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1281
+ *
1282
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1283
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1284
+ * @returns {string} A string representing the project.
1285
+ */
1286
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1287
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
1288
+ }
1289
+ /**
1290
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1291
+ *
1292
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1293
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1294
+ * @returns {string} A string representing the location.
1295
+ */
1296
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1297
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
1298
+ }
1299
+ /**
1300
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1301
+ *
1302
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1303
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1304
+ * @returns {string} A string representing the collection.
1305
+ */
1306
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1307
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
1308
+ }
1309
+ /**
1310
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1311
+ *
1312
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1313
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1314
+ * @returns {string} A string representing the data_store.
1315
+ */
1316
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1317
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
1318
+ }
1319
+ /**
1320
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
1321
+ *
1322
+ * @param {string} project
1323
+ * @param {string} location
1324
+ * @param {string} collection
1325
+ * @param {string} data_store
1326
+ * @param {string} target_site
1327
+ * @returns {string} Resource name string.
1328
+ */
1329
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
1330
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1331
+ project: project,
1332
+ location: location,
1333
+ collection: collection,
1334
+ data_store: dataStore,
1335
+ target_site: targetSite,
1336
+ });
1337
+ }
1338
+ /**
1339
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1340
+ *
1341
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1342
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1343
+ * @returns {string} A string representing the project.
1344
+ */
1345
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1346
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
1347
+ }
1348
+ /**
1349
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1350
+ *
1351
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1352
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1353
+ * @returns {string} A string representing the location.
1354
+ */
1355
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1356
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
1357
+ }
1358
+ /**
1359
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1360
+ *
1361
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1362
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1363
+ * @returns {string} A string representing the collection.
1364
+ */
1365
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1366
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
1367
+ }
1368
+ /**
1369
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1370
+ *
1371
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1372
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1373
+ * @returns {string} A string representing the data_store.
1374
+ */
1375
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1376
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
1377
+ }
1378
+ /**
1379
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1380
+ *
1381
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1382
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1383
+ * @returns {string} A string representing the target_site.
1384
+ */
1385
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1386
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1387
+ }
1388
+ /**
1389
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1390
+ *
1391
+ * @param {string} project
1392
+ * @param {string} location
1393
+ * @param {string} collection
1394
+ * @param {string} engine
1395
+ * @param {string} conversation
1396
+ * @returns {string} Resource name string.
1397
+ */
1398
+ projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
1399
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
1400
+ project: project,
1401
+ location: location,
1402
+ collection: collection,
1403
+ engine: engine,
1404
+ conversation: conversation,
1405
+ });
1406
+ }
1407
+ /**
1408
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
1409
+ *
1410
+ * @param {string} projectLocationCollectionEngineConversationName
1411
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1412
+ * @returns {string} A string representing the project.
1413
+ */
1414
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1415
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
1416
+ }
1417
+ /**
1418
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1419
+ *
1420
+ * @param {string} projectLocationCollectionEngineConversationName
1421
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1422
+ * @returns {string} A string representing the location.
1423
+ */
1424
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1425
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
1426
+ }
1427
+ /**
1428
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1429
+ *
1430
+ * @param {string} projectLocationCollectionEngineConversationName
1431
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1432
+ * @returns {string} A string representing the collection.
1433
+ */
1434
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1435
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
1436
+ }
1437
+ /**
1438
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1439
+ *
1440
+ * @param {string} projectLocationCollectionEngineConversationName
1441
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1442
+ * @returns {string} A string representing the engine.
1443
+ */
1444
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1445
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
1446
+ }
1447
+ /**
1448
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1449
+ *
1450
+ * @param {string} projectLocationCollectionEngineConversationName
1451
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1452
+ * @returns {string} A string representing the conversation.
1453
+ */
1454
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1455
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1456
+ }
1251
1457
  /**
1252
1458
  * Return a fully-qualified projectLocationDataStore resource name string.
1253
1459
  *
@@ -1533,6 +1739,108 @@ class DocumentServiceClient {
1533
1739
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1534
1740
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1535
1741
  }
1742
+ /**
1743
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1744
+ *
1745
+ * @param {string} project
1746
+ * @param {string} location
1747
+ * @param {string} data_store
1748
+ * @returns {string} Resource name string.
1749
+ */
1750
+ projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
1751
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
1752
+ project: project,
1753
+ location: location,
1754
+ data_store: dataStore,
1755
+ });
1756
+ }
1757
+ /**
1758
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1759
+ *
1760
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1761
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1762
+ * @returns {string} A string representing the project.
1763
+ */
1764
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1765
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
1766
+ }
1767
+ /**
1768
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1769
+ *
1770
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1771
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1772
+ * @returns {string} A string representing the location.
1773
+ */
1774
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1775
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
1776
+ }
1777
+ /**
1778
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1779
+ *
1780
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1781
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1782
+ * @returns {string} A string representing the data_store.
1783
+ */
1784
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1785
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
1786
+ }
1787
+ /**
1788
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1789
+ *
1790
+ * @param {string} project
1791
+ * @param {string} location
1792
+ * @param {string} data_store
1793
+ * @param {string} target_site
1794
+ * @returns {string} Resource name string.
1795
+ */
1796
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
1797
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1798
+ project: project,
1799
+ location: location,
1800
+ data_store: dataStore,
1801
+ target_site: targetSite,
1802
+ });
1803
+ }
1804
+ /**
1805
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1806
+ *
1807
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1808
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1809
+ * @returns {string} A string representing the project.
1810
+ */
1811
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1812
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
1813
+ }
1814
+ /**
1815
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1816
+ *
1817
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1818
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1819
+ * @returns {string} A string representing the location.
1820
+ */
1821
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1822
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
1823
+ }
1824
+ /**
1825
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1826
+ *
1827
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1828
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1829
+ * @returns {string} A string representing the data_store.
1830
+ */
1831
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1832
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
1833
+ }
1834
+ /**
1835
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1836
+ *
1837
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1838
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1839
+ * @returns {string} A string representing the target_site.
1840
+ */
1841
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1842
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
1843
+ }
1536
1844
  /**
1537
1845
  * Terminate the gRPC channel and close the client.
1538
1846
  *