@google-cloud/discoveryengine 1.4.0 → 1.4.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 (107) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +13 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +49 -0
  4. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +79 -0
  5. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +72 -0
  6. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +77 -4
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +52 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +44 -2
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +6 -1
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +44 -0
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +80 -1
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +83 -0
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +6 -0
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +13 -8
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +3 -2
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +130 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +64 -0
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +3 -1
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +3 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +74 -13
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +24 -20
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +147 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +9 -3
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +7 -4
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -3
  30. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +5 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +22 -0
  32. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +9 -0
  33. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +3 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +19 -4
  36. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
  37. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +4 -3
  38. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +6 -5
  39. package/build/protos/protos.d.ts +15133 -7787
  40. package/build/protos/protos.js +50444 -32043
  41. package/build/protos/protos.json +4132 -2305
  42. package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
  43. package/build/src/v1alpha/acl_config_service_client.js +1765 -0
  44. package/build/src/v1alpha/acl_config_service_client_config.json +34 -0
  45. package/build/src/v1alpha/chunk_service_client.d.ts +1350 -0
  46. package/build/src/v1alpha/chunk_service_client.js +1886 -0
  47. package/build/src/v1alpha/chunk_service_client_config.json +34 -0
  48. package/build/src/v1alpha/completion_service_client.d.ts +588 -3
  49. package/build/src/v1alpha/completion_service_client.js +831 -2
  50. package/build/src/v1alpha/completion_service_client_config.json +10 -0
  51. package/build/src/v1alpha/conversational_search_service_client.d.ts +233 -1
  52. package/build/src/v1alpha/conversational_search_service_client.js +316 -0
  53. package/build/src/v1alpha/data_store_service_client.d.ts +451 -3
  54. package/build/src/v1alpha/data_store_service_client.js +562 -2
  55. package/build/src/v1alpha/data_store_service_client_config.json +8 -0
  56. package/build/src/v1alpha/document_service_client.d.ts +382 -0
  57. package/build/src/v1alpha/document_service_client.js +514 -0
  58. package/build/src/v1alpha/engine_service_client.d.ts +375 -2
  59. package/build/src/v1alpha/engine_service_client.js +514 -0
  60. package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
  61. package/build/src/v1alpha/estimate_billing_service_client.js +2028 -0
  62. package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
  63. package/build/src/v1alpha/index.d.ts +4 -0
  64. package/build/src/v1alpha/index.js +9 -1
  65. package/build/src/v1alpha/recommendation_service_client.d.ts +231 -1
  66. package/build/src/v1alpha/recommendation_service_client.js +316 -0
  67. package/build/src/v1alpha/schema_service_client.d.ts +372 -0
  68. package/build/src/v1alpha/schema_service_client.js +514 -0
  69. package/build/src/v1alpha/search_service_client.d.ts +258 -15
  70. package/build/src/v1alpha/search_service_client.js +336 -10
  71. package/build/src/v1alpha/search_tuning_service_client.d.ts +373 -1
  72. package/build/src/v1alpha/search_tuning_service_client.js +514 -0
  73. package/build/src/v1alpha/serving_config_service_client.d.ts +1369 -0
  74. package/build/src/v1alpha/serving_config_service_client.js +1935 -0
  75. package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
  76. package/build/src/v1alpha/site_search_engine_service_client.d.ts +372 -0
  77. package/build/src/v1alpha/site_search_engine_service_client.js +514 -0
  78. package/build/src/v1alpha/user_event_service_client.d.ts +372 -0
  79. package/build/src/v1alpha/user_event_service_client.js +514 -0
  80. package/build/src/v1beta/completion_service_client.d.ts +75 -0
  81. package/build/src/v1beta/completion_service_client.js +104 -0
  82. package/build/src/v1beta/conversational_search_service_client.d.ts +79 -0
  83. package/build/src/v1beta/conversational_search_service_client.js +104 -0
  84. package/build/src/v1beta/data_store_service_client.d.ts +75 -0
  85. package/build/src/v1beta/data_store_service_client.js +104 -0
  86. package/build/src/v1beta/document_service_client.d.ts +75 -0
  87. package/build/src/v1beta/document_service_client.js +104 -0
  88. package/build/src/v1beta/engine_service_client.d.ts +75 -0
  89. package/build/src/v1beta/engine_service_client.js +104 -0
  90. package/build/src/v1beta/index.d.ts +1 -0
  91. package/build/src/v1beta/index.js +3 -1
  92. package/build/src/v1beta/recommendation_service_client.d.ts +75 -0
  93. package/build/src/v1beta/recommendation_service_client.js +104 -0
  94. package/build/src/v1beta/schema_service_client.d.ts +75 -0
  95. package/build/src/v1beta/schema_service_client.js +104 -0
  96. package/build/src/v1beta/search_service_client.d.ts +81 -0
  97. package/build/src/v1beta/search_service_client.js +108 -0
  98. package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
  99. package/build/src/v1beta/search_tuning_service_client.js +1781 -0
  100. package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
  101. package/build/src/v1beta/serving_config_service_client.d.ts +123 -8
  102. package/build/src/v1beta/serving_config_service_client.js +166 -5
  103. package/build/src/v1beta/site_search_engine_service_client.d.ts +75 -0
  104. package/build/src/v1beta/site_search_engine_service_client.js +104 -0
  105. package/build/src/v1beta/user_event_service_client.d.ts +75 -0
  106. package/build/src/v1beta/user_event_service_client.js +104 -0
  107. package/package.json +3 -3
@@ -147,19 +147,27 @@ class EngineServiceClient {
147
147
  // identifiers to uniquely identify resources within the API.
148
148
  // Create useful helper objects for these.
149
149
  this.pathTemplates = {
150
+ aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
150
151
  collectionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}'),
151
152
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
152
153
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
153
154
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
155
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
154
156
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
157
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
155
158
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
159
+ projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
156
160
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
157
161
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
158
162
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
163
+ projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
159
164
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
160
165
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
166
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
161
167
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
168
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
162
169
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
170
+ projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
163
171
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
164
172
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
165
173
  };
@@ -888,6 +896,41 @@ class EngineServiceClient {
888
896
  // --------------------
889
897
  // -- Path templates --
890
898
  // --------------------
899
+ /**
900
+ * Return a fully-qualified aclConfig resource name string.
901
+ *
902
+ * @param {string} project
903
+ * @param {string} location
904
+ * @returns {string} Resource name string.
905
+ */
906
+ aclConfigPath(project, location) {
907
+ return this.pathTemplates.aclConfigPathTemplate.render({
908
+ project: project,
909
+ location: location,
910
+ });
911
+ }
912
+ /**
913
+ * Parse the project from AclConfig resource.
914
+ *
915
+ * @param {string} aclConfigName
916
+ * A fully-qualified path representing AclConfig resource.
917
+ * @returns {string} A string representing the project.
918
+ */
919
+ matchProjectFromAclConfigName(aclConfigName) {
920
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
921
+ .project;
922
+ }
923
+ /**
924
+ * Parse the location from AclConfig resource.
925
+ *
926
+ * @param {string} aclConfigName
927
+ * A fully-qualified path representing AclConfig resource.
928
+ * @returns {string} A string representing the location.
929
+ */
930
+ matchLocationFromAclConfigName(aclConfigName) {
931
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
932
+ .location;
933
+ }
891
934
  /**
892
935
  * Return a fully-qualified collection resource name string.
893
936
  *
@@ -1131,6 +1174,99 @@ class EngineServiceClient {
1131
1174
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1132
1175
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1133
1176
  }
1177
+ /**
1178
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1179
+ *
1180
+ * @param {string} project
1181
+ * @param {string} location
1182
+ * @param {string} collection
1183
+ * @param {string} data_store
1184
+ * @param {string} branch
1185
+ * @param {string} document
1186
+ * @param {string} chunk
1187
+ * @returns {string} Resource name string.
1188
+ */
1189
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
1190
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
1191
+ project: project,
1192
+ location: location,
1193
+ collection: collection,
1194
+ data_store: dataStore,
1195
+ branch: branch,
1196
+ document: document,
1197
+ chunk: chunk,
1198
+ });
1199
+ }
1200
+ /**
1201
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1202
+ *
1203
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1204
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1205
+ * @returns {string} A string representing the project.
1206
+ */
1207
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1208
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
1209
+ }
1210
+ /**
1211
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1212
+ *
1213
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1214
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1215
+ * @returns {string} A string representing the location.
1216
+ */
1217
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1218
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
1219
+ }
1220
+ /**
1221
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1222
+ *
1223
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1224
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1225
+ * @returns {string} A string representing the collection.
1226
+ */
1227
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1228
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
1229
+ }
1230
+ /**
1231
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1232
+ *
1233
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1234
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1235
+ * @returns {string} A string representing the data_store.
1236
+ */
1237
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1238
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
1239
+ }
1240
+ /**
1241
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1242
+ *
1243
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1244
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1245
+ * @returns {string} A string representing the branch.
1246
+ */
1247
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1248
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1249
+ }
1250
+ /**
1251
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1252
+ *
1253
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1254
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1255
+ * @returns {string} A string representing the document.
1256
+ */
1257
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1258
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1259
+ }
1260
+ /**
1261
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1262
+ *
1263
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1264
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1265
+ * @returns {string} A string representing the chunk.
1266
+ */
1267
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1268
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1269
+ }
1134
1270
  /**
1135
1271
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1136
1272
  *
@@ -1200,6 +1336,63 @@ class EngineServiceClient {
1200
1336
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1201
1337
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1202
1338
  }
1339
+ /**
1340
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1341
+ *
1342
+ * @param {string} project
1343
+ * @param {string} location
1344
+ * @param {string} collection
1345
+ * @param {string} data_store
1346
+ * @returns {string} Resource name string.
1347
+ */
1348
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1349
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1350
+ project: project,
1351
+ location: location,
1352
+ collection: collection,
1353
+ data_store: dataStore,
1354
+ });
1355
+ }
1356
+ /**
1357
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1358
+ *
1359
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1360
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1361
+ * @returns {string} A string representing the project.
1362
+ */
1363
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1364
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1365
+ }
1366
+ /**
1367
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1368
+ *
1369
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1370
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1371
+ * @returns {string} A string representing the location.
1372
+ */
1373
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1374
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1375
+ }
1376
+ /**
1377
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1378
+ *
1379
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1380
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1381
+ * @returns {string} A string representing the collection.
1382
+ */
1383
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1384
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1385
+ }
1386
+ /**
1387
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1388
+ *
1389
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1390
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1391
+ * @returns {string} A string representing the data_store.
1392
+ */
1393
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1394
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1395
+ }
1203
1396
  /**
1204
1397
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1205
1398
  *
@@ -1269,6 +1462,75 @@ class EngineServiceClient {
1269
1462
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1270
1463
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1271
1464
  }
1465
+ /**
1466
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
1467
+ *
1468
+ * @param {string} project
1469
+ * @param {string} location
1470
+ * @param {string} collection
1471
+ * @param {string} data_store
1472
+ * @param {string} serving_config
1473
+ * @returns {string} Resource name string.
1474
+ */
1475
+ projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
1476
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
1477
+ project: project,
1478
+ location: location,
1479
+ collection: collection,
1480
+ data_store: dataStore,
1481
+ serving_config: servingConfig,
1482
+ });
1483
+ }
1484
+ /**
1485
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1486
+ *
1487
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1488
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1489
+ * @returns {string} A string representing the project.
1490
+ */
1491
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1492
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
1493
+ }
1494
+ /**
1495
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1496
+ *
1497
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1498
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1499
+ * @returns {string} A string representing the location.
1500
+ */
1501
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1502
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
1503
+ }
1504
+ /**
1505
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1506
+ *
1507
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1508
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1509
+ * @returns {string} A string representing the collection.
1510
+ */
1511
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1512
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
1513
+ }
1514
+ /**
1515
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1516
+ *
1517
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1518
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1519
+ * @returns {string} A string representing the data_store.
1520
+ */
1521
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1522
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
1523
+ }
1524
+ /**
1525
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1526
+ *
1527
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1528
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1529
+ * @returns {string} A string representing the serving_config.
1530
+ */
1531
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1532
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1533
+ }
1272
1534
  /**
1273
1535
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1274
1536
  *
@@ -1464,6 +1726,75 @@ class EngineServiceClient {
1464
1726
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1465
1727
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1466
1728
  }
1729
+ /**
1730
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1731
+ *
1732
+ * @param {string} project
1733
+ * @param {string} location
1734
+ * @param {string} collection
1735
+ * @param {string} engine
1736
+ * @param {string} serving_config
1737
+ * @returns {string} Resource name string.
1738
+ */
1739
+ projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
1740
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
1741
+ project: project,
1742
+ location: location,
1743
+ collection: collection,
1744
+ engine: engine,
1745
+ serving_config: servingConfig,
1746
+ });
1747
+ }
1748
+ /**
1749
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1750
+ *
1751
+ * @param {string} projectLocationCollectionEngineServingConfigName
1752
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1753
+ * @returns {string} A string representing the project.
1754
+ */
1755
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1756
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
1757
+ }
1758
+ /**
1759
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1760
+ *
1761
+ * @param {string} projectLocationCollectionEngineServingConfigName
1762
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1763
+ * @returns {string} A string representing the location.
1764
+ */
1765
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1766
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
1767
+ }
1768
+ /**
1769
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1770
+ *
1771
+ * @param {string} projectLocationCollectionEngineServingConfigName
1772
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1773
+ * @returns {string} A string representing the collection.
1774
+ */
1775
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1776
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
1777
+ }
1778
+ /**
1779
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1780
+ *
1781
+ * @param {string} projectLocationCollectionEngineServingConfigName
1782
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1783
+ * @returns {string} A string representing the engine.
1784
+ */
1785
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1786
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
1787
+ }
1788
+ /**
1789
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1790
+ *
1791
+ * @param {string} projectLocationCollectionEngineServingConfigName
1792
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1793
+ * @returns {string} A string representing the serving_config.
1794
+ */
1795
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1796
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1797
+ }
1467
1798
  /**
1468
1799
  * Return a fully-qualified projectLocationDataStore resource name string.
1469
1800
  *
@@ -1578,6 +1909,87 @@ class EngineServiceClient {
1578
1909
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1579
1910
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1580
1911
  }
1912
+ /**
1913
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1914
+ *
1915
+ * @param {string} project
1916
+ * @param {string} location
1917
+ * @param {string} data_store
1918
+ * @param {string} branch
1919
+ * @param {string} document
1920
+ * @param {string} chunk
1921
+ * @returns {string} Resource name string.
1922
+ */
1923
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
1924
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
1925
+ project: project,
1926
+ location: location,
1927
+ data_store: dataStore,
1928
+ branch: branch,
1929
+ document: document,
1930
+ chunk: chunk,
1931
+ });
1932
+ }
1933
+ /**
1934
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1935
+ *
1936
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1937
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1938
+ * @returns {string} A string representing the project.
1939
+ */
1940
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1941
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
1942
+ }
1943
+ /**
1944
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1945
+ *
1946
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1947
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1948
+ * @returns {string} A string representing the location.
1949
+ */
1950
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1951
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
1952
+ }
1953
+ /**
1954
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1955
+ *
1956
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1957
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1958
+ * @returns {string} A string representing the data_store.
1959
+ */
1960
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1961
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
1962
+ }
1963
+ /**
1964
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1965
+ *
1966
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1967
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1968
+ * @returns {string} A string representing the branch.
1969
+ */
1970
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1971
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
1972
+ }
1973
+ /**
1974
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1975
+ *
1976
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1977
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1978
+ * @returns {string} A string representing the document.
1979
+ */
1980
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1981
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
1982
+ }
1983
+ /**
1984
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1985
+ *
1986
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1987
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1988
+ * @returns {string} A string representing the chunk.
1989
+ */
1990
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1991
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
1992
+ }
1581
1993
  /**
1582
1994
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1583
1995
  *
@@ -1635,6 +2047,51 @@ class EngineServiceClient {
1635
2047
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1636
2048
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1637
2049
  }
2050
+ /**
2051
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2052
+ *
2053
+ * @param {string} project
2054
+ * @param {string} location
2055
+ * @param {string} data_store
2056
+ * @returns {string} Resource name string.
2057
+ */
2058
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
2059
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
2060
+ project: project,
2061
+ location: location,
2062
+ data_store: dataStore,
2063
+ });
2064
+ }
2065
+ /**
2066
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
2067
+ *
2068
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2069
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2070
+ * @returns {string} A string representing the project.
2071
+ */
2072
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2073
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
2074
+ }
2075
+ /**
2076
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
2077
+ *
2078
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2079
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2080
+ * @returns {string} A string representing the location.
2081
+ */
2082
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2083
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
2084
+ }
2085
+ /**
2086
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
2087
+ *
2088
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2089
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2090
+ * @returns {string} A string representing the data_store.
2091
+ */
2092
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2093
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
2094
+ }
1638
2095
  /**
1639
2096
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1640
2097
  *
@@ -1692,6 +2149,63 @@ class EngineServiceClient {
1692
2149
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1693
2150
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1694
2151
  }
2152
+ /**
2153
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
2154
+ *
2155
+ * @param {string} project
2156
+ * @param {string} location
2157
+ * @param {string} data_store
2158
+ * @param {string} serving_config
2159
+ * @returns {string} Resource name string.
2160
+ */
2161
+ projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
2162
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
2163
+ project: project,
2164
+ location: location,
2165
+ data_store: dataStore,
2166
+ serving_config: servingConfig,
2167
+ });
2168
+ }
2169
+ /**
2170
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
2171
+ *
2172
+ * @param {string} projectLocationDataStoreServingConfigName
2173
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2174
+ * @returns {string} A string representing the project.
2175
+ */
2176
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2177
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
2178
+ }
2179
+ /**
2180
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
2181
+ *
2182
+ * @param {string} projectLocationDataStoreServingConfigName
2183
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2184
+ * @returns {string} A string representing the location.
2185
+ */
2186
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2187
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
2188
+ }
2189
+ /**
2190
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
2191
+ *
2192
+ * @param {string} projectLocationDataStoreServingConfigName
2193
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2194
+ * @returns {string} A string representing the data_store.
2195
+ */
2196
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2197
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
2198
+ }
2199
+ /**
2200
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
2201
+ *
2202
+ * @param {string} projectLocationDataStoreServingConfigName
2203
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2204
+ * @returns {string} A string representing the serving_config.
2205
+ */
2206
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2207
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2208
+ }
1695
2209
  /**
1696
2210
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1697
2211
  *