@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
@@ -148,20 +148,28 @@ class DocumentServiceClient {
148
148
  // identifiers to uniquely identify resources within the API.
149
149
  // Create useful helper objects for these.
150
150
  this.pathTemplates = {
151
+ aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
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
  projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
154
155
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
156
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
155
157
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
158
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
156
159
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
160
+ projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
157
161
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
158
162
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
159
163
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
164
+ projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
160
165
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
161
166
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
162
167
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
168
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
163
169
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
170
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
164
171
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
172
+ projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
165
173
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
166
174
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
167
175
  };
@@ -884,6 +892,41 @@ class DocumentServiceClient {
884
892
  // --------------------
885
893
  // -- Path templates --
886
894
  // --------------------
895
+ /**
896
+ * Return a fully-qualified aclConfig resource name string.
897
+ *
898
+ * @param {string} project
899
+ * @param {string} location
900
+ * @returns {string} Resource name string.
901
+ */
902
+ aclConfigPath(project, location) {
903
+ return this.pathTemplates.aclConfigPathTemplate.render({
904
+ project: project,
905
+ location: location,
906
+ });
907
+ }
908
+ /**
909
+ * Parse the project from AclConfig resource.
910
+ *
911
+ * @param {string} aclConfigName
912
+ * A fully-qualified path representing AclConfig resource.
913
+ * @returns {string} A string representing the project.
914
+ */
915
+ matchProjectFromAclConfigName(aclConfigName) {
916
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
917
+ .project;
918
+ }
919
+ /**
920
+ * Parse the location from AclConfig resource.
921
+ *
922
+ * @param {string} aclConfigName
923
+ * A fully-qualified path representing AclConfig resource.
924
+ * @returns {string} A string representing the location.
925
+ */
926
+ matchLocationFromAclConfigName(aclConfigName) {
927
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
928
+ .location;
929
+ }
887
930
  /**
888
931
  * Return a fully-qualified engine resource name string.
889
932
  *
@@ -1148,6 +1191,99 @@ class DocumentServiceClient {
1148
1191
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1149
1192
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1150
1193
  }
1194
+ /**
1195
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1196
+ *
1197
+ * @param {string} project
1198
+ * @param {string} location
1199
+ * @param {string} collection
1200
+ * @param {string} data_store
1201
+ * @param {string} branch
1202
+ * @param {string} document
1203
+ * @param {string} chunk
1204
+ * @returns {string} Resource name string.
1205
+ */
1206
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
1207
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
1208
+ project: project,
1209
+ location: location,
1210
+ collection: collection,
1211
+ data_store: dataStore,
1212
+ branch: branch,
1213
+ document: document,
1214
+ chunk: chunk,
1215
+ });
1216
+ }
1217
+ /**
1218
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1219
+ *
1220
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1221
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1222
+ * @returns {string} A string representing the project.
1223
+ */
1224
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1225
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
1226
+ }
1227
+ /**
1228
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1229
+ *
1230
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1231
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1232
+ * @returns {string} A string representing the location.
1233
+ */
1234
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1235
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
1236
+ }
1237
+ /**
1238
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1239
+ *
1240
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1241
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1242
+ * @returns {string} A string representing the collection.
1243
+ */
1244
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1245
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
1246
+ }
1247
+ /**
1248
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1249
+ *
1250
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1251
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1252
+ * @returns {string} A string representing the data_store.
1253
+ */
1254
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1255
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
1256
+ }
1257
+ /**
1258
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1259
+ *
1260
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1261
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1262
+ * @returns {string} A string representing the branch.
1263
+ */
1264
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1265
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1266
+ }
1267
+ /**
1268
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1269
+ *
1270
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1271
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1272
+ * @returns {string} A string representing the document.
1273
+ */
1274
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1275
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1276
+ }
1277
+ /**
1278
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1279
+ *
1280
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1281
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1282
+ * @returns {string} A string representing the chunk.
1283
+ */
1284
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1285
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1286
+ }
1151
1287
  /**
1152
1288
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1153
1289
  *
@@ -1217,6 +1353,63 @@ class DocumentServiceClient {
1217
1353
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1218
1354
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1219
1355
  }
1356
+ /**
1357
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1358
+ *
1359
+ * @param {string} project
1360
+ * @param {string} location
1361
+ * @param {string} collection
1362
+ * @param {string} data_store
1363
+ * @returns {string} Resource name string.
1364
+ */
1365
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1366
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1367
+ project: project,
1368
+ location: location,
1369
+ collection: collection,
1370
+ data_store: dataStore,
1371
+ });
1372
+ }
1373
+ /**
1374
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1375
+ *
1376
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1377
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1378
+ * @returns {string} A string representing the project.
1379
+ */
1380
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1381
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1382
+ }
1383
+ /**
1384
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1385
+ *
1386
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1387
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1388
+ * @returns {string} A string representing the location.
1389
+ */
1390
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1391
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1392
+ }
1393
+ /**
1394
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1395
+ *
1396
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1397
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1398
+ * @returns {string} A string representing the collection.
1399
+ */
1400
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1401
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1402
+ }
1403
+ /**
1404
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1405
+ *
1406
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1407
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1408
+ * @returns {string} A string representing the data_store.
1409
+ */
1410
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1411
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1412
+ }
1220
1413
  /**
1221
1414
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1222
1415
  *
@@ -1286,6 +1479,75 @@ class DocumentServiceClient {
1286
1479
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1287
1480
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1288
1481
  }
1482
+ /**
1483
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
1484
+ *
1485
+ * @param {string} project
1486
+ * @param {string} location
1487
+ * @param {string} collection
1488
+ * @param {string} data_store
1489
+ * @param {string} serving_config
1490
+ * @returns {string} Resource name string.
1491
+ */
1492
+ projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
1493
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
1494
+ project: project,
1495
+ location: location,
1496
+ collection: collection,
1497
+ data_store: dataStore,
1498
+ serving_config: servingConfig,
1499
+ });
1500
+ }
1501
+ /**
1502
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1503
+ *
1504
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1505
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1506
+ * @returns {string} A string representing the project.
1507
+ */
1508
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1509
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
1510
+ }
1511
+ /**
1512
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1513
+ *
1514
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1515
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1516
+ * @returns {string} A string representing the location.
1517
+ */
1518
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1519
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
1520
+ }
1521
+ /**
1522
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1523
+ *
1524
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1525
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1526
+ * @returns {string} A string representing the collection.
1527
+ */
1528
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1529
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
1530
+ }
1531
+ /**
1532
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1533
+ *
1534
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1535
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1536
+ * @returns {string} A string representing the data_store.
1537
+ */
1538
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1539
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
1540
+ }
1541
+ /**
1542
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1543
+ *
1544
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1545
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1546
+ * @returns {string} A string representing the serving_config.
1547
+ */
1548
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1549
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1550
+ }
1289
1551
  /**
1290
1552
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1291
1553
  *
@@ -1481,6 +1743,75 @@ class DocumentServiceClient {
1481
1743
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1482
1744
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1483
1745
  }
1746
+ /**
1747
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1748
+ *
1749
+ * @param {string} project
1750
+ * @param {string} location
1751
+ * @param {string} collection
1752
+ * @param {string} engine
1753
+ * @param {string} serving_config
1754
+ * @returns {string} Resource name string.
1755
+ */
1756
+ projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
1757
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
1758
+ project: project,
1759
+ location: location,
1760
+ collection: collection,
1761
+ engine: engine,
1762
+ serving_config: servingConfig,
1763
+ });
1764
+ }
1765
+ /**
1766
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1767
+ *
1768
+ * @param {string} projectLocationCollectionEngineServingConfigName
1769
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1770
+ * @returns {string} A string representing the project.
1771
+ */
1772
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1773
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
1774
+ }
1775
+ /**
1776
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1777
+ *
1778
+ * @param {string} projectLocationCollectionEngineServingConfigName
1779
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1780
+ * @returns {string} A string representing the location.
1781
+ */
1782
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1783
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
1784
+ }
1785
+ /**
1786
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1787
+ *
1788
+ * @param {string} projectLocationCollectionEngineServingConfigName
1789
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1790
+ * @returns {string} A string representing the collection.
1791
+ */
1792
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1793
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
1794
+ }
1795
+ /**
1796
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1797
+ *
1798
+ * @param {string} projectLocationCollectionEngineServingConfigName
1799
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1800
+ * @returns {string} A string representing the engine.
1801
+ */
1802
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1803
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
1804
+ }
1805
+ /**
1806
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1807
+ *
1808
+ * @param {string} projectLocationCollectionEngineServingConfigName
1809
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1810
+ * @returns {string} A string representing the serving_config.
1811
+ */
1812
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1813
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1814
+ }
1484
1815
  /**
1485
1816
  * Return a fully-qualified projectLocationDataStore resource name string.
1486
1817
  *
@@ -1652,6 +1983,87 @@ class DocumentServiceClient {
1652
1983
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1653
1984
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1654
1985
  }
1986
+ /**
1987
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1988
+ *
1989
+ * @param {string} project
1990
+ * @param {string} location
1991
+ * @param {string} data_store
1992
+ * @param {string} branch
1993
+ * @param {string} document
1994
+ * @param {string} chunk
1995
+ * @returns {string} Resource name string.
1996
+ */
1997
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
1998
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
1999
+ project: project,
2000
+ location: location,
2001
+ data_store: dataStore,
2002
+ branch: branch,
2003
+ document: document,
2004
+ chunk: chunk,
2005
+ });
2006
+ }
2007
+ /**
2008
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
2009
+ *
2010
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2011
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2012
+ * @returns {string} A string representing the project.
2013
+ */
2014
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2015
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
2016
+ }
2017
+ /**
2018
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
2019
+ *
2020
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2021
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2022
+ * @returns {string} A string representing the location.
2023
+ */
2024
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2025
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
2026
+ }
2027
+ /**
2028
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
2029
+ *
2030
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2031
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2032
+ * @returns {string} A string representing the data_store.
2033
+ */
2034
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2035
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
2036
+ }
2037
+ /**
2038
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
2039
+ *
2040
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2041
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2042
+ * @returns {string} A string representing the branch.
2043
+ */
2044
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2045
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
2046
+ }
2047
+ /**
2048
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
2049
+ *
2050
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2051
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2052
+ * @returns {string} A string representing the document.
2053
+ */
2054
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2055
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
2056
+ }
2057
+ /**
2058
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
2059
+ *
2060
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2061
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2062
+ * @returns {string} A string representing the chunk.
2063
+ */
2064
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2065
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
2066
+ }
1655
2067
  /**
1656
2068
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1657
2069
  *
@@ -1709,6 +2121,51 @@ class DocumentServiceClient {
1709
2121
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1710
2122
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1711
2123
  }
2124
+ /**
2125
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2126
+ *
2127
+ * @param {string} project
2128
+ * @param {string} location
2129
+ * @param {string} data_store
2130
+ * @returns {string} Resource name string.
2131
+ */
2132
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
2133
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
2134
+ project: project,
2135
+ location: location,
2136
+ data_store: dataStore,
2137
+ });
2138
+ }
2139
+ /**
2140
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
2141
+ *
2142
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2143
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2144
+ * @returns {string} A string representing the project.
2145
+ */
2146
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2147
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
2148
+ }
2149
+ /**
2150
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
2151
+ *
2152
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2153
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2154
+ * @returns {string} A string representing the location.
2155
+ */
2156
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2157
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
2158
+ }
2159
+ /**
2160
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
2161
+ *
2162
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2163
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2164
+ * @returns {string} A string representing the data_store.
2165
+ */
2166
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2167
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
2168
+ }
1712
2169
  /**
1713
2170
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1714
2171
  *
@@ -1766,6 +2223,63 @@ class DocumentServiceClient {
1766
2223
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1767
2224
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1768
2225
  }
2226
+ /**
2227
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
2228
+ *
2229
+ * @param {string} project
2230
+ * @param {string} location
2231
+ * @param {string} data_store
2232
+ * @param {string} serving_config
2233
+ * @returns {string} Resource name string.
2234
+ */
2235
+ projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
2236
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
2237
+ project: project,
2238
+ location: location,
2239
+ data_store: dataStore,
2240
+ serving_config: servingConfig,
2241
+ });
2242
+ }
2243
+ /**
2244
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
2245
+ *
2246
+ * @param {string} projectLocationDataStoreServingConfigName
2247
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2248
+ * @returns {string} A string representing the project.
2249
+ */
2250
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2251
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
2252
+ }
2253
+ /**
2254
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
2255
+ *
2256
+ * @param {string} projectLocationDataStoreServingConfigName
2257
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2258
+ * @returns {string} A string representing the location.
2259
+ */
2260
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2261
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
2262
+ }
2263
+ /**
2264
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
2265
+ *
2266
+ * @param {string} projectLocationDataStoreServingConfigName
2267
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2268
+ * @returns {string} A string representing the data_store.
2269
+ */
2270
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2271
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
2272
+ }
2273
+ /**
2274
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
2275
+ *
2276
+ * @param {string} projectLocationDataStoreServingConfigName
2277
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2278
+ * @returns {string} A string representing the serving_config.
2279
+ */
2280
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2281
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2282
+ }
1769
2283
  /**
1770
2284
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1771
2285
  *