@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
@@ -146,18 +146,26 @@ class SchemaServiceClient {
146
146
  // identifiers to uniquely identify resources within the API.
147
147
  // Create useful helper objects for these.
148
148
  this.pathTemplates = {
149
+ aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
149
150
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
150
151
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
151
152
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
153
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
152
154
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
155
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
153
156
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
157
+ projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
154
158
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
155
159
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
156
160
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
161
+ projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
157
162
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
158
163
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
164
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
159
165
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
166
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
160
167
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
168
+ projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
161
169
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
162
170
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
163
171
  };
@@ -840,6 +848,41 @@ class SchemaServiceClient {
840
848
  // --------------------
841
849
  // -- Path templates --
842
850
  // --------------------
851
+ /**
852
+ * Return a fully-qualified aclConfig resource name string.
853
+ *
854
+ * @param {string} project
855
+ * @param {string} location
856
+ * @returns {string} Resource name string.
857
+ */
858
+ aclConfigPath(project, location) {
859
+ return this.pathTemplates.aclConfigPathTemplate.render({
860
+ project: project,
861
+ location: location,
862
+ });
863
+ }
864
+ /**
865
+ * Parse the project from AclConfig resource.
866
+ *
867
+ * @param {string} aclConfigName
868
+ * A fully-qualified path representing AclConfig resource.
869
+ * @returns {string} A string representing the project.
870
+ */
871
+ matchProjectFromAclConfigName(aclConfigName) {
872
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
873
+ .project;
874
+ }
875
+ /**
876
+ * Parse the location from AclConfig resource.
877
+ *
878
+ * @param {string} aclConfigName
879
+ * A fully-qualified path representing AclConfig resource.
880
+ * @returns {string} A string representing the location.
881
+ */
882
+ matchLocationFromAclConfigName(aclConfigName) {
883
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
884
+ .location;
885
+ }
843
886
  /**
844
887
  * Return a fully-qualified engine resource name string.
845
888
  *
@@ -1035,6 +1078,99 @@ class SchemaServiceClient {
1035
1078
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1036
1079
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1037
1080
  }
1081
+ /**
1082
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1083
+ *
1084
+ * @param {string} project
1085
+ * @param {string} location
1086
+ * @param {string} collection
1087
+ * @param {string} data_store
1088
+ * @param {string} branch
1089
+ * @param {string} document
1090
+ * @param {string} chunk
1091
+ * @returns {string} Resource name string.
1092
+ */
1093
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
1094
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
1095
+ project: project,
1096
+ location: location,
1097
+ collection: collection,
1098
+ data_store: dataStore,
1099
+ branch: branch,
1100
+ document: document,
1101
+ chunk: chunk,
1102
+ });
1103
+ }
1104
+ /**
1105
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1106
+ *
1107
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1108
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1109
+ * @returns {string} A string representing the project.
1110
+ */
1111
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1112
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
1113
+ }
1114
+ /**
1115
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1116
+ *
1117
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1118
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1119
+ * @returns {string} A string representing the location.
1120
+ */
1121
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1122
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
1123
+ }
1124
+ /**
1125
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1126
+ *
1127
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1128
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1129
+ * @returns {string} A string representing the collection.
1130
+ */
1131
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1132
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
1133
+ }
1134
+ /**
1135
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1136
+ *
1137
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1138
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1139
+ * @returns {string} A string representing the data_store.
1140
+ */
1141
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1142
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
1143
+ }
1144
+ /**
1145
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1146
+ *
1147
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1148
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1149
+ * @returns {string} A string representing the branch.
1150
+ */
1151
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1152
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1153
+ }
1154
+ /**
1155
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1156
+ *
1157
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1158
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1159
+ * @returns {string} A string representing the document.
1160
+ */
1161
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1162
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1163
+ }
1164
+ /**
1165
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1166
+ *
1167
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1168
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1169
+ * @returns {string} A string representing the chunk.
1170
+ */
1171
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1172
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1173
+ }
1038
1174
  /**
1039
1175
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1040
1176
  *
@@ -1104,6 +1240,63 @@ class SchemaServiceClient {
1104
1240
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1105
1241
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1106
1242
  }
1243
+ /**
1244
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1245
+ *
1246
+ * @param {string} project
1247
+ * @param {string} location
1248
+ * @param {string} collection
1249
+ * @param {string} data_store
1250
+ * @returns {string} Resource name string.
1251
+ */
1252
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1253
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1254
+ project: project,
1255
+ location: location,
1256
+ collection: collection,
1257
+ data_store: dataStore,
1258
+ });
1259
+ }
1260
+ /**
1261
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1262
+ *
1263
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1264
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1265
+ * @returns {string} A string representing the project.
1266
+ */
1267
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1268
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1269
+ }
1270
+ /**
1271
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1272
+ *
1273
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1274
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1275
+ * @returns {string} A string representing the location.
1276
+ */
1277
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1278
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1279
+ }
1280
+ /**
1281
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1282
+ *
1283
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1284
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1285
+ * @returns {string} A string representing the collection.
1286
+ */
1287
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1288
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1289
+ }
1290
+ /**
1291
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1292
+ *
1293
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1294
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1295
+ * @returns {string} A string representing the data_store.
1296
+ */
1297
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1298
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1299
+ }
1107
1300
  /**
1108
1301
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1109
1302
  *
@@ -1173,6 +1366,75 @@ class SchemaServiceClient {
1173
1366
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1174
1367
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1175
1368
  }
1369
+ /**
1370
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
1371
+ *
1372
+ * @param {string} project
1373
+ * @param {string} location
1374
+ * @param {string} collection
1375
+ * @param {string} data_store
1376
+ * @param {string} serving_config
1377
+ * @returns {string} Resource name string.
1378
+ */
1379
+ projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
1380
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
1381
+ project: project,
1382
+ location: location,
1383
+ collection: collection,
1384
+ data_store: dataStore,
1385
+ serving_config: servingConfig,
1386
+ });
1387
+ }
1388
+ /**
1389
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1390
+ *
1391
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1392
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1393
+ * @returns {string} A string representing the project.
1394
+ */
1395
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1396
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
1397
+ }
1398
+ /**
1399
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1400
+ *
1401
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1402
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1403
+ * @returns {string} A string representing the location.
1404
+ */
1405
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1406
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
1407
+ }
1408
+ /**
1409
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1410
+ *
1411
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1412
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1413
+ * @returns {string} A string representing the collection.
1414
+ */
1415
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1416
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
1417
+ }
1418
+ /**
1419
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1420
+ *
1421
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1422
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1423
+ * @returns {string} A string representing the data_store.
1424
+ */
1425
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1426
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
1427
+ }
1428
+ /**
1429
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1430
+ *
1431
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1432
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1433
+ * @returns {string} A string representing the serving_config.
1434
+ */
1435
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1436
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1437
+ }
1176
1438
  /**
1177
1439
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1178
1440
  *
@@ -1368,6 +1630,75 @@ class SchemaServiceClient {
1368
1630
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1369
1631
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1370
1632
  }
1633
+ /**
1634
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1635
+ *
1636
+ * @param {string} project
1637
+ * @param {string} location
1638
+ * @param {string} collection
1639
+ * @param {string} engine
1640
+ * @param {string} serving_config
1641
+ * @returns {string} Resource name string.
1642
+ */
1643
+ projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
1644
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
1645
+ project: project,
1646
+ location: location,
1647
+ collection: collection,
1648
+ engine: engine,
1649
+ serving_config: servingConfig,
1650
+ });
1651
+ }
1652
+ /**
1653
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1654
+ *
1655
+ * @param {string} projectLocationCollectionEngineServingConfigName
1656
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1657
+ * @returns {string} A string representing the project.
1658
+ */
1659
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1660
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
1661
+ }
1662
+ /**
1663
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1664
+ *
1665
+ * @param {string} projectLocationCollectionEngineServingConfigName
1666
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1667
+ * @returns {string} A string representing the location.
1668
+ */
1669
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1670
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
1671
+ }
1672
+ /**
1673
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1674
+ *
1675
+ * @param {string} projectLocationCollectionEngineServingConfigName
1676
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1677
+ * @returns {string} A string representing the collection.
1678
+ */
1679
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1680
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
1681
+ }
1682
+ /**
1683
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1684
+ *
1685
+ * @param {string} projectLocationCollectionEngineServingConfigName
1686
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1687
+ * @returns {string} A string representing the engine.
1688
+ */
1689
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1690
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
1691
+ }
1692
+ /**
1693
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1694
+ *
1695
+ * @param {string} projectLocationCollectionEngineServingConfigName
1696
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1697
+ * @returns {string} A string representing the serving_config.
1698
+ */
1699
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1700
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1701
+ }
1371
1702
  /**
1372
1703
  * Return a fully-qualified projectLocationDataStore resource name string.
1373
1704
  *
@@ -1482,6 +1813,87 @@ class SchemaServiceClient {
1482
1813
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1483
1814
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1484
1815
  }
1816
+ /**
1817
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1818
+ *
1819
+ * @param {string} project
1820
+ * @param {string} location
1821
+ * @param {string} data_store
1822
+ * @param {string} branch
1823
+ * @param {string} document
1824
+ * @param {string} chunk
1825
+ * @returns {string} Resource name string.
1826
+ */
1827
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
1828
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
1829
+ project: project,
1830
+ location: location,
1831
+ data_store: dataStore,
1832
+ branch: branch,
1833
+ document: document,
1834
+ chunk: chunk,
1835
+ });
1836
+ }
1837
+ /**
1838
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1839
+ *
1840
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1841
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1842
+ * @returns {string} A string representing the project.
1843
+ */
1844
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1845
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
1846
+ }
1847
+ /**
1848
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1849
+ *
1850
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1851
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1852
+ * @returns {string} A string representing the location.
1853
+ */
1854
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1855
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
1856
+ }
1857
+ /**
1858
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1859
+ *
1860
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1861
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1862
+ * @returns {string} A string representing the data_store.
1863
+ */
1864
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1865
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
1866
+ }
1867
+ /**
1868
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1869
+ *
1870
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1871
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1872
+ * @returns {string} A string representing the branch.
1873
+ */
1874
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1875
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
1876
+ }
1877
+ /**
1878
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1879
+ *
1880
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1881
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1882
+ * @returns {string} A string representing the document.
1883
+ */
1884
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1885
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
1886
+ }
1887
+ /**
1888
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1889
+ *
1890
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1891
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1892
+ * @returns {string} A string representing the chunk.
1893
+ */
1894
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1895
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
1896
+ }
1485
1897
  /**
1486
1898
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1487
1899
  *
@@ -1539,6 +1951,51 @@ class SchemaServiceClient {
1539
1951
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1540
1952
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1541
1953
  }
1954
+ /**
1955
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1956
+ *
1957
+ * @param {string} project
1958
+ * @param {string} location
1959
+ * @param {string} data_store
1960
+ * @returns {string} Resource name string.
1961
+ */
1962
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
1963
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
1964
+ project: project,
1965
+ location: location,
1966
+ data_store: dataStore,
1967
+ });
1968
+ }
1969
+ /**
1970
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1971
+ *
1972
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1973
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1974
+ * @returns {string} A string representing the project.
1975
+ */
1976
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1977
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
1978
+ }
1979
+ /**
1980
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1981
+ *
1982
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1983
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1984
+ * @returns {string} A string representing the location.
1985
+ */
1986
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1987
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
1988
+ }
1989
+ /**
1990
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1991
+ *
1992
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1993
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1994
+ * @returns {string} A string representing the data_store.
1995
+ */
1996
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1997
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
1998
+ }
1542
1999
  /**
1543
2000
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1544
2001
  *
@@ -1596,6 +2053,63 @@ class SchemaServiceClient {
1596
2053
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1597
2054
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1598
2055
  }
2056
+ /**
2057
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
2058
+ *
2059
+ * @param {string} project
2060
+ * @param {string} location
2061
+ * @param {string} data_store
2062
+ * @param {string} serving_config
2063
+ * @returns {string} Resource name string.
2064
+ */
2065
+ projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
2066
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
2067
+ project: project,
2068
+ location: location,
2069
+ data_store: dataStore,
2070
+ serving_config: servingConfig,
2071
+ });
2072
+ }
2073
+ /**
2074
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
2075
+ *
2076
+ * @param {string} projectLocationDataStoreServingConfigName
2077
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2078
+ * @returns {string} A string representing the project.
2079
+ */
2080
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2081
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
2082
+ }
2083
+ /**
2084
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
2085
+ *
2086
+ * @param {string} projectLocationDataStoreServingConfigName
2087
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2088
+ * @returns {string} A string representing the location.
2089
+ */
2090
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2091
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
2092
+ }
2093
+ /**
2094
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
2095
+ *
2096
+ * @param {string} projectLocationDataStoreServingConfigName
2097
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2098
+ * @returns {string} A string representing the data_store.
2099
+ */
2100
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2101
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
2102
+ }
2103
+ /**
2104
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
2105
+ *
2106
+ * @param {string} projectLocationDataStoreServingConfigName
2107
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2108
+ * @returns {string} A string representing the serving_config.
2109
+ */
2110
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2111
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2112
+ }
1599
2113
  /**
1600
2114
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1601
2115
  *