@google-cloud/discoveryengine 1.8.0 → 1.9.0

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 (199) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +33 -4
  3. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +337 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/common.proto +33 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/control.proto +214 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/control_service.proto +236 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +2 -2
  8. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +569 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +4 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +2 -2
  11. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +92 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -6
  13. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +4 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +149 -0
  15. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +58 -0
  16. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +4 -4
  17. package/build/protos/google/cloud/discoveryengine/v1/project.proto +103 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/project_service.proto +90 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +131 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +20 -19
  21. package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +5 -5
  22. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +23 -18
  23. package/build/protos/google/cloud/discoveryengine/v1/session.proto +97 -0
  24. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +3 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +28 -3
  26. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +18 -2
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +9 -0
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +7 -0
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +16 -0
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +217 -0
  31. package/build/protos/google/cloud/discoveryengine/v1alpha/control_service.proto +236 -0
  32. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +2 -2
  33. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +19 -3
  34. package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +87 -0
  35. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +2 -2
  36. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +1 -0
  37. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +12 -9
  38. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +4 -4
  39. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +30 -1
  40. package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +3 -0
  41. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +4 -4
  42. package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +1 -0
  43. package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +2 -0
  44. package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +19 -0
  45. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +20 -19
  46. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +37 -2
  47. package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +6 -6
  48. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +28 -31
  49. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +39 -0
  50. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +3 -0
  51. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +3 -0
  52. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +29 -3
  53. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +18 -2
  54. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +10 -1
  55. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +16 -0
  56. package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +216 -0
  57. package/build/protos/google/cloud/discoveryengine/v1beta/control_service.proto +236 -0
  58. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +2 -2
  59. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +19 -3
  60. package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +87 -0
  61. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +2 -2
  62. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +1 -0
  63. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +7 -8
  64. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +4 -4
  65. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +30 -1
  66. package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +3 -0
  67. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +4 -4
  68. package/build/protos/google/cloud/discoveryengine/v1beta/project.proto +103 -0
  69. package/build/protos/google/cloud/discoveryengine/v1beta/project_service.proto +90 -0
  70. package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +19 -0
  71. package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +20 -19
  72. package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +5 -5
  73. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +30 -24
  74. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +39 -0
  75. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +4 -1
  76. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +3 -0
  77. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +28 -3
  78. package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +18 -2
  79. package/build/protos/protos.d.ts +52350 -38733
  80. package/build/protos/protos.js +136479 -103212
  81. package/build/protos/protos.json +9460 -5916
  82. package/build/src/index.d.ts +13 -1
  83. package/build/src/index.js +13 -1
  84. package/build/src/v1/completion_service_client.d.ts +549 -0
  85. package/build/src/v1/completion_service_client.js +771 -0
  86. package/build/src/v1/control_service_client.d.ts +1623 -0
  87. package/build/src/v1/control_service_client.js +2218 -0
  88. package/build/src/v1/control_service_client_config.json +63 -0
  89. package/build/src/v1/conversational_search_service_client.d.ts +893 -0
  90. package/build/src/v1/conversational_search_service_client.js +1040 -14
  91. package/build/src/v1/conversational_search_service_client_config.json +35 -0
  92. package/build/src/v1/data_store_service_client.d.ts +555 -6
  93. package/build/src/v1/data_store_service_client.js +775 -4
  94. package/build/src/v1/document_service_client.d.ts +557 -8
  95. package/build/src/v1/document_service_client.js +773 -2
  96. package/build/src/v1/engine_service_client.d.ts +549 -0
  97. package/build/src/v1/engine_service_client.js +771 -0
  98. package/build/src/v1/grounded_generation_service_client.d.ts +1439 -0
  99. package/build/src/v1/grounded_generation_service_client.js +2036 -0
  100. package/build/src/v1/grounded_generation_service_client_config.json +43 -0
  101. package/build/src/v1/index.d.ts +4 -0
  102. package/build/src/v1/index.js +9 -1
  103. package/build/src/v1/project_service_client.d.ts +1533 -0
  104. package/build/src/v1/project_service_client.js +2255 -0
  105. package/build/src/v1/project_service_client_config.json +43 -0
  106. package/build/src/v1/rank_service_client.d.ts +1449 -0
  107. package/build/src/v1/rank_service_client.js +2037 -0
  108. package/build/src/v1/rank_service_client_config.json +43 -0
  109. package/build/src/v1/recommendation_service_client.d.ts +568 -18
  110. package/build/src/v1/recommendation_service_client.js +756 -0
  111. package/build/src/v1/schema_service_client.d.ts +558 -9
  112. package/build/src/v1/schema_service_client.js +775 -4
  113. package/build/src/v1/search_service_client.d.ts +579 -21
  114. package/build/src/v1/search_service_client.js +776 -14
  115. package/build/src/v1/site_search_engine_service_client.d.ts +549 -0
  116. package/build/src/v1/site_search_engine_service_client.js +771 -0
  117. package/build/src/v1/user_event_service_client.d.ts +562 -2
  118. package/build/src/v1/user_event_service_client.js +771 -0
  119. package/build/src/v1alpha/acl_config_service_client.d.ts +237 -0
  120. package/build/src/v1alpha/acl_config_service_client.js +326 -0
  121. package/build/src/v1alpha/chunk_service_client.d.ts +237 -0
  122. package/build/src/v1alpha/chunk_service_client.js +326 -0
  123. package/build/src/v1alpha/completion_service_client.d.ts +237 -0
  124. package/build/src/v1alpha/completion_service_client.js +340 -0
  125. package/build/src/v1alpha/control_service_client.d.ts +2013 -0
  126. package/build/src/v1alpha/control_service_client.js +2757 -0
  127. package/build/src/v1alpha/control_service_client_config.json +63 -0
  128. package/build/src/v1alpha/conversational_search_service_client.d.ts +239 -2
  129. package/build/src/v1alpha/conversational_search_service_client.js +326 -0
  130. package/build/src/v1alpha/data_store_service_client.d.ts +243 -6
  131. package/build/src/v1alpha/data_store_service_client.js +344 -4
  132. package/build/src/v1alpha/document_service_client.d.ts +246 -9
  133. package/build/src/v1alpha/document_service_client.js +342 -2
  134. package/build/src/v1alpha/engine_service_client.d.ts +237 -0
  135. package/build/src/v1alpha/engine_service_client.js +340 -0
  136. package/build/src/v1alpha/estimate_billing_service_client.d.ts +237 -0
  137. package/build/src/v1alpha/estimate_billing_service_client.js +340 -0
  138. package/build/src/v1alpha/grounded_generation_service_client.d.ts +256 -1
  139. package/build/src/v1alpha/grounded_generation_service_client.js +326 -0
  140. package/build/src/v1alpha/index.d.ts +1 -0
  141. package/build/src/v1alpha/index.js +3 -1
  142. package/build/src/v1alpha/project_service_client.d.ts +239 -0
  143. package/build/src/v1alpha/project_service_client.js +340 -0
  144. package/build/src/v1alpha/project_service_client_config.json +21 -6
  145. package/build/src/v1alpha/rank_service_client.d.ts +255 -0
  146. package/build/src/v1alpha/rank_service_client.js +326 -0
  147. package/build/src/v1alpha/recommendation_service_client.d.ts +256 -18
  148. package/build/src/v1alpha/recommendation_service_client.js +326 -0
  149. package/build/src/v1alpha/schema_service_client.d.ts +247 -10
  150. package/build/src/v1alpha/schema_service_client.js +344 -4
  151. package/build/src/v1alpha/search_service_client.d.ts +267 -21
  152. package/build/src/v1alpha/search_service_client.js +346 -14
  153. package/build/src/v1alpha/search_tuning_service_client.d.ts +265 -0
  154. package/build/src/v1alpha/search_tuning_service_client.js +365 -1
  155. package/build/src/v1alpha/search_tuning_service_client_config.json +4 -0
  156. package/build/src/v1alpha/serving_config_service_client.d.ts +237 -0
  157. package/build/src/v1alpha/serving_config_service_client.js +326 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +237 -0
  159. package/build/src/v1alpha/site_search_engine_service_client.js +340 -0
  160. package/build/src/v1alpha/user_event_service_client.d.ts +250 -2
  161. package/build/src/v1alpha/user_event_service_client.js +340 -0
  162. package/build/src/v1beta/completion_service_client.d.ts +252 -0
  163. package/build/src/v1beta/completion_service_client.js +359 -0
  164. package/build/src/v1beta/control_service_client.d.ts +1860 -0
  165. package/build/src/v1beta/control_service_client.js +2545 -0
  166. package/build/src/v1beta/control_service_client_config.json +63 -0
  167. package/build/src/v1beta/conversational_search_service_client.d.ts +254 -2
  168. package/build/src/v1beta/conversational_search_service_client.js +348 -0
  169. package/build/src/v1beta/data_store_service_client.d.ts +258 -6
  170. package/build/src/v1beta/data_store_service_client.js +363 -4
  171. package/build/src/v1beta/document_service_client.d.ts +261 -10
  172. package/build/src/v1beta/document_service_client.js +361 -2
  173. package/build/src/v1beta/engine_service_client.d.ts +252 -0
  174. package/build/src/v1beta/engine_service_client.js +359 -0
  175. package/build/src/v1beta/grounded_generation_service_client.d.ts +271 -1
  176. package/build/src/v1beta/grounded_generation_service_client.js +348 -0
  177. package/build/src/v1beta/index.d.ts +2 -0
  178. package/build/src/v1beta/index.js +5 -1
  179. package/build/src/v1beta/project_service_client.d.ts +1770 -0
  180. package/build/src/v1beta/project_service_client.js +2576 -0
  181. package/build/src/v1beta/project_service_client_config.json +43 -0
  182. package/build/src/v1beta/rank_service_client.d.ts +270 -0
  183. package/build/src/v1beta/rank_service_client.js +348 -0
  184. package/build/src/v1beta/recommendation_service_client.d.ts +271 -18
  185. package/build/src/v1beta/recommendation_service_client.js +348 -0
  186. package/build/src/v1beta/schema_service_client.d.ts +261 -9
  187. package/build/src/v1beta/schema_service_client.js +363 -4
  188. package/build/src/v1beta/search_service_client.d.ts +282 -21
  189. package/build/src/v1beta/search_service_client.js +368 -14
  190. package/build/src/v1beta/search_tuning_service_client.d.ts +280 -0
  191. package/build/src/v1beta/search_tuning_service_client.js +384 -1
  192. package/build/src/v1beta/search_tuning_service_client_config.json +4 -0
  193. package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
  194. package/build/src/v1beta/serving_config_service_client.js +326 -0
  195. package/build/src/v1beta/site_search_engine_service_client.d.ts +252 -0
  196. package/build/src/v1beta/site_search_engine_service_client.js +359 -0
  197. package/build/src/v1beta/user_event_service_client.d.ts +265 -2
  198. package/build/src/v1beta/user_event_service_client.js +359 -0
  199. package/package.json +2 -2
@@ -151,17 +151,29 @@ class SiteSearchEngineServiceClient {
151
151
  // Create useful helper objects for these.
152
152
  this.pathTemplates = {
153
153
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
154
+ projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
154
155
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
155
156
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
157
+ projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
156
158
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
159
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
157
160
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
161
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
162
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
158
163
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
159
164
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
165
+ projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
160
166
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
167
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
168
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
161
169
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
162
170
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
171
+ projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
163
172
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
173
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
164
174
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
175
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
176
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
165
177
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
166
178
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
167
179
  };
@@ -183,6 +195,21 @@ class SiteSearchEngineServiceClient {
183
195
  if (opts.fallback) {
184
196
  lroOptions.protoJson = protoFilesRoot;
185
197
  lroOptions.httpRules = [
198
+ {
199
+ selector: 'google.longrunning.Operations.CancelOperation',
200
+ post: '/v1/{name=projects/*/operations/*}:cancel',
201
+ body: '*',
202
+ additional_bindings: [
203
+ {
204
+ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
205
+ body: '*',
206
+ },
207
+ {
208
+ post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
209
+ body: '*',
210
+ },
211
+ ],
212
+ },
186
213
  {
187
214
  selector: 'google.longrunning.Operations.GetOperation',
188
215
  get: '/v1/{name=projects/*/operations/*}',
@@ -1255,6 +1282,27 @@ class SiteSearchEngineServiceClient {
1255
1282
  matchEngineFromEngineName(engineName) {
1256
1283
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
1257
1284
  }
1285
+ /**
1286
+ * Return a fully-qualified project resource name string.
1287
+ *
1288
+ * @param {string} project
1289
+ * @returns {string} Resource name string.
1290
+ */
1291
+ projectPath(project) {
1292
+ return this.pathTemplates.projectPathTemplate.render({
1293
+ project: project,
1294
+ });
1295
+ }
1296
+ /**
1297
+ * Parse the project from Project resource.
1298
+ *
1299
+ * @param {string} projectName
1300
+ * A fully-qualified path representing Project resource.
1301
+ * @returns {string} A string representing the project.
1302
+ */
1303
+ matchProjectFromProjectName(projectName) {
1304
+ return this.pathTemplates.projectPathTemplate.match(projectName).project;
1305
+ }
1258
1306
  /**
1259
1307
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
1260
1308
  *
@@ -1393,6 +1441,75 @@ class SiteSearchEngineServiceClient {
1393
1441
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1394
1442
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1395
1443
  }
1444
+ /**
1445
+ * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1446
+ *
1447
+ * @param {string} project
1448
+ * @param {string} location
1449
+ * @param {string} collection
1450
+ * @param {string} data_store
1451
+ * @param {string} control
1452
+ * @returns {string} Resource name string.
1453
+ */
1454
+ projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
1455
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
1456
+ project: project,
1457
+ location: location,
1458
+ collection: collection,
1459
+ data_store: dataStore,
1460
+ control: control,
1461
+ });
1462
+ }
1463
+ /**
1464
+ * Parse the project from ProjectLocationCollectionDataStoreControl resource.
1465
+ *
1466
+ * @param {string} projectLocationCollectionDataStoreControlName
1467
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1468
+ * @returns {string} A string representing the project.
1469
+ */
1470
+ matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1471
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
1472
+ }
1473
+ /**
1474
+ * Parse the location from ProjectLocationCollectionDataStoreControl resource.
1475
+ *
1476
+ * @param {string} projectLocationCollectionDataStoreControlName
1477
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1478
+ * @returns {string} A string representing the location.
1479
+ */
1480
+ matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1481
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
1482
+ }
1483
+ /**
1484
+ * Parse the collection from ProjectLocationCollectionDataStoreControl resource.
1485
+ *
1486
+ * @param {string} projectLocationCollectionDataStoreControlName
1487
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1488
+ * @returns {string} A string representing the collection.
1489
+ */
1490
+ matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1491
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
1492
+ }
1493
+ /**
1494
+ * Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
1495
+ *
1496
+ * @param {string} projectLocationCollectionDataStoreControlName
1497
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1498
+ * @returns {string} A string representing the data_store.
1499
+ */
1500
+ matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1501
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
1502
+ }
1503
+ /**
1504
+ * Parse the control from ProjectLocationCollectionDataStoreControl resource.
1505
+ *
1506
+ * @param {string} projectLocationCollectionDataStoreControlName
1507
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1508
+ * @returns {string} A string representing the control.
1509
+ */
1510
+ matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1511
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
1512
+ }
1396
1513
  /**
1397
1514
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1398
1515
  *
@@ -1462,6 +1579,63 @@ class SiteSearchEngineServiceClient {
1462
1579
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1463
1580
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1464
1581
  }
1582
+ /**
1583
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1584
+ *
1585
+ * @param {string} project
1586
+ * @param {string} location
1587
+ * @param {string} collection
1588
+ * @param {string} data_store
1589
+ * @returns {string} Resource name string.
1590
+ */
1591
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1592
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1593
+ project: project,
1594
+ location: location,
1595
+ collection: collection,
1596
+ data_store: dataStore,
1597
+ });
1598
+ }
1599
+ /**
1600
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1601
+ *
1602
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1603
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1604
+ * @returns {string} A string representing the project.
1605
+ */
1606
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1607
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1608
+ }
1609
+ /**
1610
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1611
+ *
1612
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1613
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1614
+ * @returns {string} A string representing the location.
1615
+ */
1616
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1617
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1618
+ }
1619
+ /**
1620
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1621
+ *
1622
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1623
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1624
+ * @returns {string} A string representing the collection.
1625
+ */
1626
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1627
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1628
+ }
1629
+ /**
1630
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1631
+ *
1632
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1633
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1634
+ * @returns {string} A string representing the data_store.
1635
+ */
1636
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1637
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1638
+ }
1465
1639
  /**
1466
1640
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1467
1641
  *
@@ -1531,6 +1705,156 @@ class SiteSearchEngineServiceClient {
1531
1705
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1532
1706
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1533
1707
  }
1708
+ /**
1709
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1710
+ *
1711
+ * @param {string} project
1712
+ * @param {string} location
1713
+ * @param {string} collection
1714
+ * @param {string} data_store
1715
+ * @param {string} session
1716
+ * @returns {string} Resource name string.
1717
+ */
1718
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1719
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1720
+ project: project,
1721
+ location: location,
1722
+ collection: collection,
1723
+ data_store: dataStore,
1724
+ session: session,
1725
+ });
1726
+ }
1727
+ /**
1728
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1729
+ *
1730
+ * @param {string} projectLocationCollectionDataStoreSessionName
1731
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1732
+ * @returns {string} A string representing the project.
1733
+ */
1734
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1735
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1736
+ }
1737
+ /**
1738
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1739
+ *
1740
+ * @param {string} projectLocationCollectionDataStoreSessionName
1741
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1742
+ * @returns {string} A string representing the location.
1743
+ */
1744
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1745
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1746
+ }
1747
+ /**
1748
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1749
+ *
1750
+ * @param {string} projectLocationCollectionDataStoreSessionName
1751
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1752
+ * @returns {string} A string representing the collection.
1753
+ */
1754
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1755
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1756
+ }
1757
+ /**
1758
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1759
+ *
1760
+ * @param {string} projectLocationCollectionDataStoreSessionName
1761
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1762
+ * @returns {string} A string representing the data_store.
1763
+ */
1764
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1765
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1766
+ }
1767
+ /**
1768
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1769
+ *
1770
+ * @param {string} projectLocationCollectionDataStoreSessionName
1771
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1772
+ * @returns {string} A string representing the session.
1773
+ */
1774
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1775
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1776
+ }
1777
+ /**
1778
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1779
+ *
1780
+ * @param {string} project
1781
+ * @param {string} location
1782
+ * @param {string} collection
1783
+ * @param {string} data_store
1784
+ * @param {string} session
1785
+ * @param {string} answer
1786
+ * @returns {string} Resource name string.
1787
+ */
1788
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1789
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1790
+ project: project,
1791
+ location: location,
1792
+ collection: collection,
1793
+ data_store: dataStore,
1794
+ session: session,
1795
+ answer: answer,
1796
+ });
1797
+ }
1798
+ /**
1799
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1800
+ *
1801
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1802
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1803
+ * @returns {string} A string representing the project.
1804
+ */
1805
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1806
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1807
+ }
1808
+ /**
1809
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1810
+ *
1811
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1812
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1813
+ * @returns {string} A string representing the location.
1814
+ */
1815
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1816
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1817
+ }
1818
+ /**
1819
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1820
+ *
1821
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1822
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1823
+ * @returns {string} A string representing the collection.
1824
+ */
1825
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1826
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1827
+ }
1828
+ /**
1829
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1830
+ *
1831
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1832
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1833
+ * @returns {string} A string representing the data_store.
1834
+ */
1835
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1836
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1837
+ }
1838
+ /**
1839
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1840
+ *
1841
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1842
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1843
+ * @returns {string} A string representing the session.
1844
+ */
1845
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1846
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1847
+ }
1848
+ /**
1849
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1850
+ *
1851
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1852
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1853
+ * @returns {string} A string representing the answer.
1854
+ */
1855
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1856
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1857
+ }
1534
1858
  /**
1535
1859
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1536
1860
  *
@@ -1657,6 +1981,75 @@ class SiteSearchEngineServiceClient {
1657
1981
  matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1658
1982
  return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1659
1983
  }
1984
+ /**
1985
+ * Return a fully-qualified projectLocationCollectionEngineControl resource name string.
1986
+ *
1987
+ * @param {string} project
1988
+ * @param {string} location
1989
+ * @param {string} collection
1990
+ * @param {string} engine
1991
+ * @param {string} control
1992
+ * @returns {string} Resource name string.
1993
+ */
1994
+ projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
1995
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
1996
+ project: project,
1997
+ location: location,
1998
+ collection: collection,
1999
+ engine: engine,
2000
+ control: control,
2001
+ });
2002
+ }
2003
+ /**
2004
+ * Parse the project from ProjectLocationCollectionEngineControl resource.
2005
+ *
2006
+ * @param {string} projectLocationCollectionEngineControlName
2007
+ * A fully-qualified path representing project_location_collection_engine_control resource.
2008
+ * @returns {string} A string representing the project.
2009
+ */
2010
+ matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
2011
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
2012
+ }
2013
+ /**
2014
+ * Parse the location from ProjectLocationCollectionEngineControl resource.
2015
+ *
2016
+ * @param {string} projectLocationCollectionEngineControlName
2017
+ * A fully-qualified path representing project_location_collection_engine_control resource.
2018
+ * @returns {string} A string representing the location.
2019
+ */
2020
+ matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
2021
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
2022
+ }
2023
+ /**
2024
+ * Parse the collection from ProjectLocationCollectionEngineControl resource.
2025
+ *
2026
+ * @param {string} projectLocationCollectionEngineControlName
2027
+ * A fully-qualified path representing project_location_collection_engine_control resource.
2028
+ * @returns {string} A string representing the collection.
2029
+ */
2030
+ matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
2031
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
2032
+ }
2033
+ /**
2034
+ * Parse the engine from ProjectLocationCollectionEngineControl resource.
2035
+ *
2036
+ * @param {string} projectLocationCollectionEngineControlName
2037
+ * A fully-qualified path representing project_location_collection_engine_control resource.
2038
+ * @returns {string} A string representing the engine.
2039
+ */
2040
+ matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
2041
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
2042
+ }
2043
+ /**
2044
+ * Parse the control from ProjectLocationCollectionEngineControl resource.
2045
+ *
2046
+ * @param {string} projectLocationCollectionEngineControlName
2047
+ * A fully-qualified path representing project_location_collection_engine_control resource.
2048
+ * @returns {string} A string representing the control.
2049
+ */
2050
+ matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
2051
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
2052
+ }
1660
2053
  /**
1661
2054
  * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1662
2055
  *
@@ -1726,6 +2119,156 @@ class SiteSearchEngineServiceClient {
1726
2119
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1727
2120
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1728
2121
  }
2122
+ /**
2123
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2124
+ *
2125
+ * @param {string} project
2126
+ * @param {string} location
2127
+ * @param {string} collection
2128
+ * @param {string} engine
2129
+ * @param {string} session
2130
+ * @returns {string} Resource name string.
2131
+ */
2132
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2133
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2134
+ project: project,
2135
+ location: location,
2136
+ collection: collection,
2137
+ engine: engine,
2138
+ session: session,
2139
+ });
2140
+ }
2141
+ /**
2142
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
2143
+ *
2144
+ * @param {string} projectLocationCollectionEngineSessionName
2145
+ * A fully-qualified path representing project_location_collection_engine_session resource.
2146
+ * @returns {string} A string representing the project.
2147
+ */
2148
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2149
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2150
+ }
2151
+ /**
2152
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
2153
+ *
2154
+ * @param {string} projectLocationCollectionEngineSessionName
2155
+ * A fully-qualified path representing project_location_collection_engine_session resource.
2156
+ * @returns {string} A string representing the location.
2157
+ */
2158
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2159
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2160
+ }
2161
+ /**
2162
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
2163
+ *
2164
+ * @param {string} projectLocationCollectionEngineSessionName
2165
+ * A fully-qualified path representing project_location_collection_engine_session resource.
2166
+ * @returns {string} A string representing the collection.
2167
+ */
2168
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2169
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2170
+ }
2171
+ /**
2172
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
2173
+ *
2174
+ * @param {string} projectLocationCollectionEngineSessionName
2175
+ * A fully-qualified path representing project_location_collection_engine_session resource.
2176
+ * @returns {string} A string representing the engine.
2177
+ */
2178
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2179
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2180
+ }
2181
+ /**
2182
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
2183
+ *
2184
+ * @param {string} projectLocationCollectionEngineSessionName
2185
+ * A fully-qualified path representing project_location_collection_engine_session resource.
2186
+ * @returns {string} A string representing the session.
2187
+ */
2188
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2189
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2190
+ }
2191
+ /**
2192
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2193
+ *
2194
+ * @param {string} project
2195
+ * @param {string} location
2196
+ * @param {string} collection
2197
+ * @param {string} engine
2198
+ * @param {string} session
2199
+ * @param {string} answer
2200
+ * @returns {string} Resource name string.
2201
+ */
2202
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2203
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2204
+ project: project,
2205
+ location: location,
2206
+ collection: collection,
2207
+ engine: engine,
2208
+ session: session,
2209
+ answer: answer,
2210
+ });
2211
+ }
2212
+ /**
2213
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2214
+ *
2215
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2216
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2217
+ * @returns {string} A string representing the project.
2218
+ */
2219
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2220
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2221
+ }
2222
+ /**
2223
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2224
+ *
2225
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2226
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2227
+ * @returns {string} A string representing the location.
2228
+ */
2229
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2230
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2231
+ }
2232
+ /**
2233
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2234
+ *
2235
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2236
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2237
+ * @returns {string} A string representing the collection.
2238
+ */
2239
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2240
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2241
+ }
2242
+ /**
2243
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2244
+ *
2245
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2246
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2247
+ * @returns {string} A string representing the engine.
2248
+ */
2249
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2250
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2251
+ }
2252
+ /**
2253
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2254
+ *
2255
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2256
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2257
+ * @returns {string} A string representing the session.
2258
+ */
2259
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2260
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2261
+ }
2262
+ /**
2263
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2264
+ *
2265
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2266
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2267
+ * @returns {string} A string representing the answer.
2268
+ */
2269
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2270
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2271
+ }
1729
2272
  /**
1730
2273
  * Return a fully-qualified projectLocationDataStore resource name string.
1731
2274
  *
@@ -1840,6 +2383,63 @@ class SiteSearchEngineServiceClient {
1840
2383
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1841
2384
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1842
2385
  }
2386
+ /**
2387
+ * Return a fully-qualified projectLocationDataStoreControl resource name string.
2388
+ *
2389
+ * @param {string} project
2390
+ * @param {string} location
2391
+ * @param {string} data_store
2392
+ * @param {string} control
2393
+ * @returns {string} Resource name string.
2394
+ */
2395
+ projectLocationDataStoreControlPath(project, location, dataStore, control) {
2396
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
2397
+ project: project,
2398
+ location: location,
2399
+ data_store: dataStore,
2400
+ control: control,
2401
+ });
2402
+ }
2403
+ /**
2404
+ * Parse the project from ProjectLocationDataStoreControl resource.
2405
+ *
2406
+ * @param {string} projectLocationDataStoreControlName
2407
+ * A fully-qualified path representing project_location_data_store_control resource.
2408
+ * @returns {string} A string representing the project.
2409
+ */
2410
+ matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2411
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
2412
+ }
2413
+ /**
2414
+ * Parse the location from ProjectLocationDataStoreControl resource.
2415
+ *
2416
+ * @param {string} projectLocationDataStoreControlName
2417
+ * A fully-qualified path representing project_location_data_store_control resource.
2418
+ * @returns {string} A string representing the location.
2419
+ */
2420
+ matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2421
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
2422
+ }
2423
+ /**
2424
+ * Parse the data_store from ProjectLocationDataStoreControl resource.
2425
+ *
2426
+ * @param {string} projectLocationDataStoreControlName
2427
+ * A fully-qualified path representing project_location_data_store_control resource.
2428
+ * @returns {string} A string representing the data_store.
2429
+ */
2430
+ matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2431
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
2432
+ }
2433
+ /**
2434
+ * Parse the control from ProjectLocationDataStoreControl resource.
2435
+ *
2436
+ * @param {string} projectLocationDataStoreControlName
2437
+ * A fully-qualified path representing project_location_data_store_control resource.
2438
+ * @returns {string} A string representing the control.
2439
+ */
2440
+ matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2441
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
2442
+ }
1843
2443
  /**
1844
2444
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1845
2445
  *
@@ -1897,6 +2497,51 @@ class SiteSearchEngineServiceClient {
1897
2497
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1898
2498
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1899
2499
  }
2500
+ /**
2501
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2502
+ *
2503
+ * @param {string} project
2504
+ * @param {string} location
2505
+ * @param {string} data_store
2506
+ * @returns {string} Resource name string.
2507
+ */
2508
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
2509
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
2510
+ project: project,
2511
+ location: location,
2512
+ data_store: dataStore,
2513
+ });
2514
+ }
2515
+ /**
2516
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
2517
+ *
2518
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2519
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2520
+ * @returns {string} A string representing the project.
2521
+ */
2522
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2523
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
2524
+ }
2525
+ /**
2526
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
2527
+ *
2528
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2529
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2530
+ * @returns {string} A string representing the location.
2531
+ */
2532
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2533
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
2534
+ }
2535
+ /**
2536
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
2537
+ *
2538
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2539
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2540
+ * @returns {string} A string representing the data_store.
2541
+ */
2542
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2543
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
2544
+ }
1900
2545
  /**
1901
2546
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1902
2547
  *
@@ -1954,6 +2599,132 @@ class SiteSearchEngineServiceClient {
1954
2599
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1955
2600
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1956
2601
  }
2602
+ /**
2603
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2604
+ *
2605
+ * @param {string} project
2606
+ * @param {string} location
2607
+ * @param {string} data_store
2608
+ * @param {string} session
2609
+ * @returns {string} Resource name string.
2610
+ */
2611
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2612
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2613
+ project: project,
2614
+ location: location,
2615
+ data_store: dataStore,
2616
+ session: session,
2617
+ });
2618
+ }
2619
+ /**
2620
+ * Parse the project from ProjectLocationDataStoreSession resource.
2621
+ *
2622
+ * @param {string} projectLocationDataStoreSessionName
2623
+ * A fully-qualified path representing project_location_data_store_session resource.
2624
+ * @returns {string} A string representing the project.
2625
+ */
2626
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2627
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2628
+ }
2629
+ /**
2630
+ * Parse the location from ProjectLocationDataStoreSession resource.
2631
+ *
2632
+ * @param {string} projectLocationDataStoreSessionName
2633
+ * A fully-qualified path representing project_location_data_store_session resource.
2634
+ * @returns {string} A string representing the location.
2635
+ */
2636
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2637
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2638
+ }
2639
+ /**
2640
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2641
+ *
2642
+ * @param {string} projectLocationDataStoreSessionName
2643
+ * A fully-qualified path representing project_location_data_store_session resource.
2644
+ * @returns {string} A string representing the data_store.
2645
+ */
2646
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2647
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2648
+ }
2649
+ /**
2650
+ * Parse the session from ProjectLocationDataStoreSession resource.
2651
+ *
2652
+ * @param {string} projectLocationDataStoreSessionName
2653
+ * A fully-qualified path representing project_location_data_store_session resource.
2654
+ * @returns {string} A string representing the session.
2655
+ */
2656
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2657
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2658
+ }
2659
+ /**
2660
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2661
+ *
2662
+ * @param {string} project
2663
+ * @param {string} location
2664
+ * @param {string} data_store
2665
+ * @param {string} session
2666
+ * @param {string} answer
2667
+ * @returns {string} Resource name string.
2668
+ */
2669
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2670
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2671
+ project: project,
2672
+ location: location,
2673
+ data_store: dataStore,
2674
+ session: session,
2675
+ answer: answer,
2676
+ });
2677
+ }
2678
+ /**
2679
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2680
+ *
2681
+ * @param {string} projectLocationDataStoreSessionAnswerName
2682
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2683
+ * @returns {string} A string representing the project.
2684
+ */
2685
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2686
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2687
+ }
2688
+ /**
2689
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2690
+ *
2691
+ * @param {string} projectLocationDataStoreSessionAnswerName
2692
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2693
+ * @returns {string} A string representing the location.
2694
+ */
2695
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2696
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2697
+ }
2698
+ /**
2699
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2700
+ *
2701
+ * @param {string} projectLocationDataStoreSessionAnswerName
2702
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2703
+ * @returns {string} A string representing the data_store.
2704
+ */
2705
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2706
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2707
+ }
2708
+ /**
2709
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2710
+ *
2711
+ * @param {string} projectLocationDataStoreSessionAnswerName
2712
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2713
+ * @returns {string} A string representing the session.
2714
+ */
2715
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2716
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2717
+ }
2718
+ /**
2719
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2720
+ *
2721
+ * @param {string} projectLocationDataStoreSessionAnswerName
2722
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2723
+ * @returns {string} A string representing the answer.
2724
+ */
2725
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2726
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2727
+ }
1957
2728
  /**
1958
2729
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1959
2730
  *