@google-cloud/discoveryengine 1.7.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 (229) hide show
  1. package/CHANGELOG.md +16 -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 +34 -1
  5. package/build/protos/google/cloud/discoveryengine/v1/completion.proto +1 -1
  6. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +1 -1
  7. package/build/protos/google/cloud/discoveryengine/v1/control.proto +214 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/control_service.proto +236 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +3 -3
  10. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +570 -1
  11. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +5 -1
  12. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +3 -3
  13. package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
  14. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +92 -0
  15. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +7 -7
  16. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +5 -5
  17. package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +1 -1
  18. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +149 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +58 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +5 -5
  21. package/build/protos/google/cloud/discoveryengine/v1/project.proto +103 -0
  22. package/build/protos/google/cloud/discoveryengine/v1/project_service.proto +90 -0
  23. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +1 -1
  24. package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +131 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +21 -20
  26. package/build/protos/google/cloud/discoveryengine/v1/schema.proto +1 -1
  27. package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +6 -6
  28. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +24 -19
  29. package/build/protos/google/cloud/discoveryengine/v1/session.proto +97 -0
  30. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +4 -1
  31. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +1 -1
  32. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +29 -4
  33. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +19 -3
  34. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +1 -1
  35. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +1 -1
  36. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +10 -1
  37. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +8 -1
  38. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +1 -1
  39. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +17 -1
  40. package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +1 -1
  41. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +1 -1
  42. package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +217 -0
  43. package/build/protos/google/cloud/discoveryengine/v1alpha/control_service.proto +236 -0
  44. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -3
  45. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +20 -4
  46. package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +87 -0
  47. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +1 -1
  48. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +3 -3
  49. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
  50. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +2 -1
  51. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +13 -10
  52. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +5 -5
  53. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
  54. package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +1 -1
  55. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +31 -2
  56. package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +4 -1
  57. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +5 -5
  58. package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +2 -1
  59. package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +3 -1
  60. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +1 -1
  61. package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +20 -1
  62. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +21 -20
  63. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +38 -3
  64. package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +7 -7
  65. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +29 -32
  66. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +40 -1
  67. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +1 -1
  68. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +1 -1
  69. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +4 -1
  70. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +4 -1
  71. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +1 -1
  72. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +30 -4
  73. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +19 -3
  74. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +11 -2
  75. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +17 -1
  76. package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +1 -1
  77. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +1 -1
  78. package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +216 -0
  79. package/build/protos/google/cloud/discoveryengine/v1beta/control_service.proto +236 -0
  80. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -3
  81. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +20 -4
  82. package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +87 -0
  83. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +1 -1
  84. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +3 -3
  85. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
  86. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +2 -1
  87. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +8 -9
  88. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +5 -5
  89. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +1 -1
  90. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +31 -2
  91. package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +4 -1
  92. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +5 -5
  93. package/build/protos/google/cloud/discoveryengine/v1beta/project.proto +103 -0
  94. package/build/protos/google/cloud/discoveryengine/v1beta/project_service.proto +90 -0
  95. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +1 -1
  96. package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +20 -1
  97. package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +21 -20
  98. package/build/protos/google/cloud/discoveryengine/v1beta/schema.proto +1 -1
  99. package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +6 -6
  100. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +31 -25
  101. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +40 -1
  102. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +1 -1
  103. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +1 -1
  104. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +5 -2
  105. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +4 -1
  106. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +1 -1
  107. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +29 -4
  108. package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +19 -3
  109. package/build/protos/protos.d.ts +52350 -38733
  110. package/build/protos/protos.js +136479 -103212
  111. package/build/protos/protos.json +9460 -5916
  112. package/build/src/index.d.ts +13 -1
  113. package/build/src/index.js +13 -1
  114. package/build/src/v1/completion_service_client.d.ts +549 -0
  115. package/build/src/v1/completion_service_client.js +771 -0
  116. package/build/src/v1/control_service_client.d.ts +1623 -0
  117. package/build/src/v1/control_service_client.js +2218 -0
  118. package/build/src/v1/control_service_client_config.json +63 -0
  119. package/build/src/v1/conversational_search_service_client.d.ts +893 -0
  120. package/build/src/v1/conversational_search_service_client.js +1040 -14
  121. package/build/src/v1/conversational_search_service_client_config.json +35 -0
  122. package/build/src/v1/data_store_service_client.d.ts +555 -6
  123. package/build/src/v1/data_store_service_client.js +775 -4
  124. package/build/src/v1/document_service_client.d.ts +557 -8
  125. package/build/src/v1/document_service_client.js +773 -2
  126. package/build/src/v1/engine_service_client.d.ts +549 -0
  127. package/build/src/v1/engine_service_client.js +771 -0
  128. package/build/src/v1/grounded_generation_service_client.d.ts +1439 -0
  129. package/build/src/v1/grounded_generation_service_client.js +2036 -0
  130. package/build/src/v1/grounded_generation_service_client_config.json +43 -0
  131. package/build/src/v1/index.d.ts +4 -0
  132. package/build/src/v1/index.js +9 -1
  133. package/build/src/v1/project_service_client.d.ts +1533 -0
  134. package/build/src/v1/project_service_client.js +2255 -0
  135. package/build/src/v1/project_service_client_config.json +43 -0
  136. package/build/src/v1/rank_service_client.d.ts +1449 -0
  137. package/build/src/v1/rank_service_client.js +2037 -0
  138. package/build/src/v1/rank_service_client_config.json +43 -0
  139. package/build/src/v1/recommendation_service_client.d.ts +568 -18
  140. package/build/src/v1/recommendation_service_client.js +756 -0
  141. package/build/src/v1/schema_service_client.d.ts +558 -9
  142. package/build/src/v1/schema_service_client.js +775 -4
  143. package/build/src/v1/search_service_client.d.ts +579 -21
  144. package/build/src/v1/search_service_client.js +776 -14
  145. package/build/src/v1/site_search_engine_service_client.d.ts +549 -0
  146. package/build/src/v1/site_search_engine_service_client.js +771 -0
  147. package/build/src/v1/user_event_service_client.d.ts +562 -2
  148. package/build/src/v1/user_event_service_client.js +771 -0
  149. package/build/src/v1alpha/acl_config_service_client.d.ts +237 -0
  150. package/build/src/v1alpha/acl_config_service_client.js +326 -0
  151. package/build/src/v1alpha/chunk_service_client.d.ts +237 -0
  152. package/build/src/v1alpha/chunk_service_client.js +326 -0
  153. package/build/src/v1alpha/completion_service_client.d.ts +237 -0
  154. package/build/src/v1alpha/completion_service_client.js +340 -0
  155. package/build/src/v1alpha/control_service_client.d.ts +2013 -0
  156. package/build/src/v1alpha/control_service_client.js +2757 -0
  157. package/build/src/v1alpha/control_service_client_config.json +63 -0
  158. package/build/src/v1alpha/conversational_search_service_client.d.ts +239 -2
  159. package/build/src/v1alpha/conversational_search_service_client.js +326 -0
  160. package/build/src/v1alpha/data_store_service_client.d.ts +243 -6
  161. package/build/src/v1alpha/data_store_service_client.js +344 -4
  162. package/build/src/v1alpha/document_service_client.d.ts +246 -9
  163. package/build/src/v1alpha/document_service_client.js +342 -2
  164. package/build/src/v1alpha/engine_service_client.d.ts +237 -0
  165. package/build/src/v1alpha/engine_service_client.js +340 -0
  166. package/build/src/v1alpha/estimate_billing_service_client.d.ts +237 -0
  167. package/build/src/v1alpha/estimate_billing_service_client.js +340 -0
  168. package/build/src/v1alpha/grounded_generation_service_client.d.ts +256 -1
  169. package/build/src/v1alpha/grounded_generation_service_client.js +326 -0
  170. package/build/src/v1alpha/index.d.ts +1 -0
  171. package/build/src/v1alpha/index.js +3 -1
  172. package/build/src/v1alpha/project_service_client.d.ts +239 -0
  173. package/build/src/v1alpha/project_service_client.js +340 -0
  174. package/build/src/v1alpha/project_service_client_config.json +21 -6
  175. package/build/src/v1alpha/rank_service_client.d.ts +255 -0
  176. package/build/src/v1alpha/rank_service_client.js +326 -0
  177. package/build/src/v1alpha/recommendation_service_client.d.ts +256 -18
  178. package/build/src/v1alpha/recommendation_service_client.js +326 -0
  179. package/build/src/v1alpha/schema_service_client.d.ts +247 -10
  180. package/build/src/v1alpha/schema_service_client.js +344 -4
  181. package/build/src/v1alpha/search_service_client.d.ts +267 -21
  182. package/build/src/v1alpha/search_service_client.js +346 -14
  183. package/build/src/v1alpha/search_tuning_service_client.d.ts +265 -0
  184. package/build/src/v1alpha/search_tuning_service_client.js +365 -1
  185. package/build/src/v1alpha/search_tuning_service_client_config.json +4 -0
  186. package/build/src/v1alpha/serving_config_service_client.d.ts +237 -0
  187. package/build/src/v1alpha/serving_config_service_client.js +326 -0
  188. package/build/src/v1alpha/site_search_engine_service_client.d.ts +237 -0
  189. package/build/src/v1alpha/site_search_engine_service_client.js +340 -0
  190. package/build/src/v1alpha/user_event_service_client.d.ts +250 -2
  191. package/build/src/v1alpha/user_event_service_client.js +340 -0
  192. package/build/src/v1beta/completion_service_client.d.ts +252 -0
  193. package/build/src/v1beta/completion_service_client.js +359 -0
  194. package/build/src/v1beta/control_service_client.d.ts +1860 -0
  195. package/build/src/v1beta/control_service_client.js +2545 -0
  196. package/build/src/v1beta/control_service_client_config.json +63 -0
  197. package/build/src/v1beta/conversational_search_service_client.d.ts +254 -2
  198. package/build/src/v1beta/conversational_search_service_client.js +348 -0
  199. package/build/src/v1beta/data_store_service_client.d.ts +258 -6
  200. package/build/src/v1beta/data_store_service_client.js +363 -4
  201. package/build/src/v1beta/document_service_client.d.ts +261 -10
  202. package/build/src/v1beta/document_service_client.js +361 -2
  203. package/build/src/v1beta/engine_service_client.d.ts +252 -0
  204. package/build/src/v1beta/engine_service_client.js +359 -0
  205. package/build/src/v1beta/grounded_generation_service_client.d.ts +271 -1
  206. package/build/src/v1beta/grounded_generation_service_client.js +348 -0
  207. package/build/src/v1beta/index.d.ts +2 -0
  208. package/build/src/v1beta/index.js +5 -1
  209. package/build/src/v1beta/project_service_client.d.ts +1770 -0
  210. package/build/src/v1beta/project_service_client.js +2576 -0
  211. package/build/src/v1beta/project_service_client_config.json +43 -0
  212. package/build/src/v1beta/rank_service_client.d.ts +270 -0
  213. package/build/src/v1beta/rank_service_client.js +348 -0
  214. package/build/src/v1beta/recommendation_service_client.d.ts +271 -18
  215. package/build/src/v1beta/recommendation_service_client.js +348 -0
  216. package/build/src/v1beta/schema_service_client.d.ts +261 -9
  217. package/build/src/v1beta/schema_service_client.js +363 -4
  218. package/build/src/v1beta/search_service_client.d.ts +282 -21
  219. package/build/src/v1beta/search_service_client.js +368 -14
  220. package/build/src/v1beta/search_tuning_service_client.d.ts +280 -0
  221. package/build/src/v1beta/search_tuning_service_client.js +384 -1
  222. package/build/src/v1beta/search_tuning_service_client_config.json +4 -0
  223. package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
  224. package/build/src/v1beta/serving_config_service_client.js +326 -0
  225. package/build/src/v1beta/site_search_engine_service_client.d.ts +252 -0
  226. package/build/src/v1beta/site_search_engine_service_client.js +359 -0
  227. package/build/src/v1beta/user_event_service_client.d.ts +265 -2
  228. package/build/src/v1beta/user_event_service_client.js +359 -0
  229. package/package.json +2 -2
@@ -150,17 +150,29 @@ class UserEventServiceClient {
150
150
  // Create useful helper objects for these.
151
151
  this.pathTemplates = {
152
152
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
153
+ projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
153
154
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
154
155
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
156
+ projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
155
157
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
158
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
156
159
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
160
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
161
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
157
162
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
158
163
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
164
+ projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
159
165
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
166
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
167
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
160
168
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
161
169
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
170
+ projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
162
171
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
172
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
163
173
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
174
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
175
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
164
176
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
165
177
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
166
178
  };
@@ -175,6 +187,21 @@ class UserEventServiceClient {
175
187
  if (opts.fallback) {
176
188
  lroOptions.protoJson = protoFilesRoot;
177
189
  lroOptions.httpRules = [
190
+ {
191
+ selector: 'google.longrunning.Operations.CancelOperation',
192
+ post: '/v1/{name=projects/*/operations/*}:cancel',
193
+ body: '*',
194
+ additional_bindings: [
195
+ {
196
+ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
197
+ body: '*',
198
+ },
199
+ {
200
+ post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
201
+ body: '*',
202
+ },
203
+ ],
204
+ },
178
205
  {
179
206
  selector: 'google.longrunning.Operations.GetOperation',
180
207
  get: '/v1/{name=projects/*/operations/*}',
@@ -707,6 +734,27 @@ class UserEventServiceClient {
707
734
  matchEngineFromEngineName(engineName) {
708
735
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
709
736
  }
737
+ /**
738
+ * Return a fully-qualified project resource name string.
739
+ *
740
+ * @param {string} project
741
+ * @returns {string} Resource name string.
742
+ */
743
+ projectPath(project) {
744
+ return this.pathTemplates.projectPathTemplate.render({
745
+ project: project,
746
+ });
747
+ }
748
+ /**
749
+ * Parse the project from Project resource.
750
+ *
751
+ * @param {string} projectName
752
+ * A fully-qualified path representing Project resource.
753
+ * @returns {string} A string representing the project.
754
+ */
755
+ matchProjectFromProjectName(projectName) {
756
+ return this.pathTemplates.projectPathTemplate.match(projectName).project;
757
+ }
710
758
  /**
711
759
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
712
760
  *
@@ -845,6 +893,75 @@ class UserEventServiceClient {
845
893
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
846
894
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
847
895
  }
896
+ /**
897
+ * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
898
+ *
899
+ * @param {string} project
900
+ * @param {string} location
901
+ * @param {string} collection
902
+ * @param {string} data_store
903
+ * @param {string} control
904
+ * @returns {string} Resource name string.
905
+ */
906
+ projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
907
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
908
+ project: project,
909
+ location: location,
910
+ collection: collection,
911
+ data_store: dataStore,
912
+ control: control,
913
+ });
914
+ }
915
+ /**
916
+ * Parse the project from ProjectLocationCollectionDataStoreControl resource.
917
+ *
918
+ * @param {string} projectLocationCollectionDataStoreControlName
919
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
920
+ * @returns {string} A string representing the project.
921
+ */
922
+ matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
923
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
924
+ }
925
+ /**
926
+ * Parse the location from ProjectLocationCollectionDataStoreControl resource.
927
+ *
928
+ * @param {string} projectLocationCollectionDataStoreControlName
929
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
930
+ * @returns {string} A string representing the location.
931
+ */
932
+ matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
933
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
934
+ }
935
+ /**
936
+ * Parse the collection from ProjectLocationCollectionDataStoreControl resource.
937
+ *
938
+ * @param {string} projectLocationCollectionDataStoreControlName
939
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
940
+ * @returns {string} A string representing the collection.
941
+ */
942
+ matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
943
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
944
+ }
945
+ /**
946
+ * Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
947
+ *
948
+ * @param {string} projectLocationCollectionDataStoreControlName
949
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
950
+ * @returns {string} A string representing the data_store.
951
+ */
952
+ matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
953
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
954
+ }
955
+ /**
956
+ * Parse the control from ProjectLocationCollectionDataStoreControl resource.
957
+ *
958
+ * @param {string} projectLocationCollectionDataStoreControlName
959
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
960
+ * @returns {string} A string representing the control.
961
+ */
962
+ matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
963
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
964
+ }
848
965
  /**
849
966
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
850
967
  *
@@ -914,6 +1031,63 @@ class UserEventServiceClient {
914
1031
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
915
1032
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
916
1033
  }
1034
+ /**
1035
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1036
+ *
1037
+ * @param {string} project
1038
+ * @param {string} location
1039
+ * @param {string} collection
1040
+ * @param {string} data_store
1041
+ * @returns {string} Resource name string.
1042
+ */
1043
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1044
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1045
+ project: project,
1046
+ location: location,
1047
+ collection: collection,
1048
+ data_store: dataStore,
1049
+ });
1050
+ }
1051
+ /**
1052
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1053
+ *
1054
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1055
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1056
+ * @returns {string} A string representing the project.
1057
+ */
1058
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1059
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1060
+ }
1061
+ /**
1062
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1063
+ *
1064
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1065
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1066
+ * @returns {string} A string representing the location.
1067
+ */
1068
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1069
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1070
+ }
1071
+ /**
1072
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1073
+ *
1074
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1075
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1076
+ * @returns {string} A string representing the collection.
1077
+ */
1078
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1079
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1080
+ }
1081
+ /**
1082
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1083
+ *
1084
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1085
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1086
+ * @returns {string} A string representing the data_store.
1087
+ */
1088
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1089
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1090
+ }
917
1091
  /**
918
1092
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
919
1093
  *
@@ -983,6 +1157,156 @@ class UserEventServiceClient {
983
1157
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
984
1158
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
985
1159
  }
1160
+ /**
1161
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1162
+ *
1163
+ * @param {string} project
1164
+ * @param {string} location
1165
+ * @param {string} collection
1166
+ * @param {string} data_store
1167
+ * @param {string} session
1168
+ * @returns {string} Resource name string.
1169
+ */
1170
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1171
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1172
+ project: project,
1173
+ location: location,
1174
+ collection: collection,
1175
+ data_store: dataStore,
1176
+ session: session,
1177
+ });
1178
+ }
1179
+ /**
1180
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1181
+ *
1182
+ * @param {string} projectLocationCollectionDataStoreSessionName
1183
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1184
+ * @returns {string} A string representing the project.
1185
+ */
1186
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1187
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1188
+ }
1189
+ /**
1190
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1191
+ *
1192
+ * @param {string} projectLocationCollectionDataStoreSessionName
1193
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1194
+ * @returns {string} A string representing the location.
1195
+ */
1196
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1197
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1198
+ }
1199
+ /**
1200
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1201
+ *
1202
+ * @param {string} projectLocationCollectionDataStoreSessionName
1203
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1204
+ * @returns {string} A string representing the collection.
1205
+ */
1206
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1207
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1208
+ }
1209
+ /**
1210
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1211
+ *
1212
+ * @param {string} projectLocationCollectionDataStoreSessionName
1213
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1214
+ * @returns {string} A string representing the data_store.
1215
+ */
1216
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1217
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1218
+ }
1219
+ /**
1220
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1221
+ *
1222
+ * @param {string} projectLocationCollectionDataStoreSessionName
1223
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1224
+ * @returns {string} A string representing the session.
1225
+ */
1226
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1227
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1228
+ }
1229
+ /**
1230
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1231
+ *
1232
+ * @param {string} project
1233
+ * @param {string} location
1234
+ * @param {string} collection
1235
+ * @param {string} data_store
1236
+ * @param {string} session
1237
+ * @param {string} answer
1238
+ * @returns {string} Resource name string.
1239
+ */
1240
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1241
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1242
+ project: project,
1243
+ location: location,
1244
+ collection: collection,
1245
+ data_store: dataStore,
1246
+ session: session,
1247
+ answer: answer,
1248
+ });
1249
+ }
1250
+ /**
1251
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1252
+ *
1253
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1254
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1255
+ * @returns {string} A string representing the project.
1256
+ */
1257
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1258
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1259
+ }
1260
+ /**
1261
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1262
+ *
1263
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1264
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1265
+ * @returns {string} A string representing the location.
1266
+ */
1267
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1268
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1269
+ }
1270
+ /**
1271
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1272
+ *
1273
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1274
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1275
+ * @returns {string} A string representing the collection.
1276
+ */
1277
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1278
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1279
+ }
1280
+ /**
1281
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1282
+ *
1283
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1284
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1285
+ * @returns {string} A string representing the data_store.
1286
+ */
1287
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1288
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1289
+ }
1290
+ /**
1291
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1292
+ *
1293
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1294
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1295
+ * @returns {string} A string representing the session.
1296
+ */
1297
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1298
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1299
+ }
1300
+ /**
1301
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1302
+ *
1303
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1304
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1305
+ * @returns {string} A string representing the answer.
1306
+ */
1307
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1308
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1309
+ }
986
1310
  /**
987
1311
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
988
1312
  *
@@ -1109,6 +1433,75 @@ class UserEventServiceClient {
1109
1433
  matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1110
1434
  return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1111
1435
  }
1436
+ /**
1437
+ * Return a fully-qualified projectLocationCollectionEngineControl resource name string.
1438
+ *
1439
+ * @param {string} project
1440
+ * @param {string} location
1441
+ * @param {string} collection
1442
+ * @param {string} engine
1443
+ * @param {string} control
1444
+ * @returns {string} Resource name string.
1445
+ */
1446
+ projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
1447
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
1448
+ project: project,
1449
+ location: location,
1450
+ collection: collection,
1451
+ engine: engine,
1452
+ control: control,
1453
+ });
1454
+ }
1455
+ /**
1456
+ * Parse the project from ProjectLocationCollectionEngineControl resource.
1457
+ *
1458
+ * @param {string} projectLocationCollectionEngineControlName
1459
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1460
+ * @returns {string} A string representing the project.
1461
+ */
1462
+ matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1463
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
1464
+ }
1465
+ /**
1466
+ * Parse the location from ProjectLocationCollectionEngineControl resource.
1467
+ *
1468
+ * @param {string} projectLocationCollectionEngineControlName
1469
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1470
+ * @returns {string} A string representing the location.
1471
+ */
1472
+ matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1473
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
1474
+ }
1475
+ /**
1476
+ * Parse the collection from ProjectLocationCollectionEngineControl resource.
1477
+ *
1478
+ * @param {string} projectLocationCollectionEngineControlName
1479
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1480
+ * @returns {string} A string representing the collection.
1481
+ */
1482
+ matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1483
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
1484
+ }
1485
+ /**
1486
+ * Parse the engine from ProjectLocationCollectionEngineControl resource.
1487
+ *
1488
+ * @param {string} projectLocationCollectionEngineControlName
1489
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1490
+ * @returns {string} A string representing the engine.
1491
+ */
1492
+ matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1493
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
1494
+ }
1495
+ /**
1496
+ * Parse the control from ProjectLocationCollectionEngineControl resource.
1497
+ *
1498
+ * @param {string} projectLocationCollectionEngineControlName
1499
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1500
+ * @returns {string} A string representing the control.
1501
+ */
1502
+ matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1503
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
1504
+ }
1112
1505
  /**
1113
1506
  * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1114
1507
  *
@@ -1178,6 +1571,156 @@ class UserEventServiceClient {
1178
1571
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1179
1572
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1180
1573
  }
1574
+ /**
1575
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1576
+ *
1577
+ * @param {string} project
1578
+ * @param {string} location
1579
+ * @param {string} collection
1580
+ * @param {string} engine
1581
+ * @param {string} session
1582
+ * @returns {string} Resource name string.
1583
+ */
1584
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1585
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1586
+ project: project,
1587
+ location: location,
1588
+ collection: collection,
1589
+ engine: engine,
1590
+ session: session,
1591
+ });
1592
+ }
1593
+ /**
1594
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1595
+ *
1596
+ * @param {string} projectLocationCollectionEngineSessionName
1597
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1598
+ * @returns {string} A string representing the project.
1599
+ */
1600
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1601
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1602
+ }
1603
+ /**
1604
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1605
+ *
1606
+ * @param {string} projectLocationCollectionEngineSessionName
1607
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1608
+ * @returns {string} A string representing the location.
1609
+ */
1610
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1611
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1612
+ }
1613
+ /**
1614
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1615
+ *
1616
+ * @param {string} projectLocationCollectionEngineSessionName
1617
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1618
+ * @returns {string} A string representing the collection.
1619
+ */
1620
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1621
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1622
+ }
1623
+ /**
1624
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1625
+ *
1626
+ * @param {string} projectLocationCollectionEngineSessionName
1627
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1628
+ * @returns {string} A string representing the engine.
1629
+ */
1630
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1631
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1632
+ }
1633
+ /**
1634
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1635
+ *
1636
+ * @param {string} projectLocationCollectionEngineSessionName
1637
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1638
+ * @returns {string} A string representing the session.
1639
+ */
1640
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1641
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1642
+ }
1643
+ /**
1644
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1645
+ *
1646
+ * @param {string} project
1647
+ * @param {string} location
1648
+ * @param {string} collection
1649
+ * @param {string} engine
1650
+ * @param {string} session
1651
+ * @param {string} answer
1652
+ * @returns {string} Resource name string.
1653
+ */
1654
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1655
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1656
+ project: project,
1657
+ location: location,
1658
+ collection: collection,
1659
+ engine: engine,
1660
+ session: session,
1661
+ answer: answer,
1662
+ });
1663
+ }
1664
+ /**
1665
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1666
+ *
1667
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1668
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1669
+ * @returns {string} A string representing the project.
1670
+ */
1671
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1672
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1673
+ }
1674
+ /**
1675
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1676
+ *
1677
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1678
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1679
+ * @returns {string} A string representing the location.
1680
+ */
1681
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1682
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1683
+ }
1684
+ /**
1685
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1686
+ *
1687
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1688
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1689
+ * @returns {string} A string representing the collection.
1690
+ */
1691
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1692
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1693
+ }
1694
+ /**
1695
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1696
+ *
1697
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1698
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1699
+ * @returns {string} A string representing the engine.
1700
+ */
1701
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1702
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1703
+ }
1704
+ /**
1705
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1706
+ *
1707
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1708
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1709
+ * @returns {string} A string representing the session.
1710
+ */
1711
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1712
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1713
+ }
1714
+ /**
1715
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1716
+ *
1717
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1718
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1719
+ * @returns {string} A string representing the answer.
1720
+ */
1721
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1722
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1723
+ }
1181
1724
  /**
1182
1725
  * Return a fully-qualified projectLocationDataStore resource name string.
1183
1726
  *
@@ -1292,6 +1835,63 @@ class UserEventServiceClient {
1292
1835
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1293
1836
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1294
1837
  }
1838
+ /**
1839
+ * Return a fully-qualified projectLocationDataStoreControl resource name string.
1840
+ *
1841
+ * @param {string} project
1842
+ * @param {string} location
1843
+ * @param {string} data_store
1844
+ * @param {string} control
1845
+ * @returns {string} Resource name string.
1846
+ */
1847
+ projectLocationDataStoreControlPath(project, location, dataStore, control) {
1848
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
1849
+ project: project,
1850
+ location: location,
1851
+ data_store: dataStore,
1852
+ control: control,
1853
+ });
1854
+ }
1855
+ /**
1856
+ * Parse the project from ProjectLocationDataStoreControl resource.
1857
+ *
1858
+ * @param {string} projectLocationDataStoreControlName
1859
+ * A fully-qualified path representing project_location_data_store_control resource.
1860
+ * @returns {string} A string representing the project.
1861
+ */
1862
+ matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
1863
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
1864
+ }
1865
+ /**
1866
+ * Parse the location from ProjectLocationDataStoreControl resource.
1867
+ *
1868
+ * @param {string} projectLocationDataStoreControlName
1869
+ * A fully-qualified path representing project_location_data_store_control resource.
1870
+ * @returns {string} A string representing the location.
1871
+ */
1872
+ matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
1873
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
1874
+ }
1875
+ /**
1876
+ * Parse the data_store from ProjectLocationDataStoreControl resource.
1877
+ *
1878
+ * @param {string} projectLocationDataStoreControlName
1879
+ * A fully-qualified path representing project_location_data_store_control resource.
1880
+ * @returns {string} A string representing the data_store.
1881
+ */
1882
+ matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
1883
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
1884
+ }
1885
+ /**
1886
+ * Parse the control from ProjectLocationDataStoreControl resource.
1887
+ *
1888
+ * @param {string} projectLocationDataStoreControlName
1889
+ * A fully-qualified path representing project_location_data_store_control resource.
1890
+ * @returns {string} A string representing the control.
1891
+ */
1892
+ matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
1893
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
1894
+ }
1295
1895
  /**
1296
1896
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1297
1897
  *
@@ -1349,6 +1949,51 @@ class UserEventServiceClient {
1349
1949
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1350
1950
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1351
1951
  }
1952
+ /**
1953
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1954
+ *
1955
+ * @param {string} project
1956
+ * @param {string} location
1957
+ * @param {string} data_store
1958
+ * @returns {string} Resource name string.
1959
+ */
1960
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
1961
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
1962
+ project: project,
1963
+ location: location,
1964
+ data_store: dataStore,
1965
+ });
1966
+ }
1967
+ /**
1968
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1969
+ *
1970
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1971
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1972
+ * @returns {string} A string representing the project.
1973
+ */
1974
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1975
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
1976
+ }
1977
+ /**
1978
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1979
+ *
1980
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1981
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1982
+ * @returns {string} A string representing the location.
1983
+ */
1984
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1985
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
1986
+ }
1987
+ /**
1988
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1989
+ *
1990
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1991
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1992
+ * @returns {string} A string representing the data_store.
1993
+ */
1994
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1995
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
1996
+ }
1352
1997
  /**
1353
1998
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1354
1999
  *
@@ -1406,6 +2051,132 @@ class UserEventServiceClient {
1406
2051
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1407
2052
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1408
2053
  }
2054
+ /**
2055
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2056
+ *
2057
+ * @param {string} project
2058
+ * @param {string} location
2059
+ * @param {string} data_store
2060
+ * @param {string} session
2061
+ * @returns {string} Resource name string.
2062
+ */
2063
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2064
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2065
+ project: project,
2066
+ location: location,
2067
+ data_store: dataStore,
2068
+ session: session,
2069
+ });
2070
+ }
2071
+ /**
2072
+ * Parse the project from ProjectLocationDataStoreSession resource.
2073
+ *
2074
+ * @param {string} projectLocationDataStoreSessionName
2075
+ * A fully-qualified path representing project_location_data_store_session resource.
2076
+ * @returns {string} A string representing the project.
2077
+ */
2078
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2079
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2080
+ }
2081
+ /**
2082
+ * Parse the location from ProjectLocationDataStoreSession resource.
2083
+ *
2084
+ * @param {string} projectLocationDataStoreSessionName
2085
+ * A fully-qualified path representing project_location_data_store_session resource.
2086
+ * @returns {string} A string representing the location.
2087
+ */
2088
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2089
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2090
+ }
2091
+ /**
2092
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2093
+ *
2094
+ * @param {string} projectLocationDataStoreSessionName
2095
+ * A fully-qualified path representing project_location_data_store_session resource.
2096
+ * @returns {string} A string representing the data_store.
2097
+ */
2098
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2099
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2100
+ }
2101
+ /**
2102
+ * Parse the session from ProjectLocationDataStoreSession resource.
2103
+ *
2104
+ * @param {string} projectLocationDataStoreSessionName
2105
+ * A fully-qualified path representing project_location_data_store_session resource.
2106
+ * @returns {string} A string representing the session.
2107
+ */
2108
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2109
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2110
+ }
2111
+ /**
2112
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2113
+ *
2114
+ * @param {string} project
2115
+ * @param {string} location
2116
+ * @param {string} data_store
2117
+ * @param {string} session
2118
+ * @param {string} answer
2119
+ * @returns {string} Resource name string.
2120
+ */
2121
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2122
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2123
+ project: project,
2124
+ location: location,
2125
+ data_store: dataStore,
2126
+ session: session,
2127
+ answer: answer,
2128
+ });
2129
+ }
2130
+ /**
2131
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2132
+ *
2133
+ * @param {string} projectLocationDataStoreSessionAnswerName
2134
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2135
+ * @returns {string} A string representing the project.
2136
+ */
2137
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2138
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2139
+ }
2140
+ /**
2141
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2142
+ *
2143
+ * @param {string} projectLocationDataStoreSessionAnswerName
2144
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2145
+ * @returns {string} A string representing the location.
2146
+ */
2147
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2148
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2149
+ }
2150
+ /**
2151
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2152
+ *
2153
+ * @param {string} projectLocationDataStoreSessionAnswerName
2154
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2155
+ * @returns {string} A string representing the data_store.
2156
+ */
2157
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2158
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2159
+ }
2160
+ /**
2161
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2162
+ *
2163
+ * @param {string} projectLocationDataStoreSessionAnswerName
2164
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2165
+ * @returns {string} A string representing the session.
2166
+ */
2167
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2168
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2169
+ }
2170
+ /**
2171
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2172
+ *
2173
+ * @param {string} projectLocationDataStoreSessionAnswerName
2174
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2175
+ * @returns {string} A string representing the answer.
2176
+ */
2177
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2178
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2179
+ }
1409
2180
  /**
1410
2181
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1411
2182
  *