@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 CompletionServiceClient {
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 CompletionServiceClient {
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/*}',
@@ -727,6 +754,27 @@ class CompletionServiceClient {
727
754
  matchEngineFromEngineName(engineName) {
728
755
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
729
756
  }
757
+ /**
758
+ * Return a fully-qualified project resource name string.
759
+ *
760
+ * @param {string} project
761
+ * @returns {string} Resource name string.
762
+ */
763
+ projectPath(project) {
764
+ return this.pathTemplates.projectPathTemplate.render({
765
+ project: project,
766
+ });
767
+ }
768
+ /**
769
+ * Parse the project from Project resource.
770
+ *
771
+ * @param {string} projectName
772
+ * A fully-qualified path representing Project resource.
773
+ * @returns {string} A string representing the project.
774
+ */
775
+ matchProjectFromProjectName(projectName) {
776
+ return this.pathTemplates.projectPathTemplate.match(projectName).project;
777
+ }
730
778
  /**
731
779
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
732
780
  *
@@ -865,6 +913,75 @@ class CompletionServiceClient {
865
913
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
866
914
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
867
915
  }
916
+ /**
917
+ * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
918
+ *
919
+ * @param {string} project
920
+ * @param {string} location
921
+ * @param {string} collection
922
+ * @param {string} data_store
923
+ * @param {string} control
924
+ * @returns {string} Resource name string.
925
+ */
926
+ projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
927
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
928
+ project: project,
929
+ location: location,
930
+ collection: collection,
931
+ data_store: dataStore,
932
+ control: control,
933
+ });
934
+ }
935
+ /**
936
+ * Parse the project 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 project.
941
+ */
942
+ matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
943
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
944
+ }
945
+ /**
946
+ * Parse the location 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 location.
951
+ */
952
+ matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
953
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
954
+ }
955
+ /**
956
+ * Parse the collection 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 collection.
961
+ */
962
+ matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
963
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
964
+ }
965
+ /**
966
+ * Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
967
+ *
968
+ * @param {string} projectLocationCollectionDataStoreControlName
969
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
970
+ * @returns {string} A string representing the data_store.
971
+ */
972
+ matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
973
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
974
+ }
975
+ /**
976
+ * Parse the control from ProjectLocationCollectionDataStoreControl resource.
977
+ *
978
+ * @param {string} projectLocationCollectionDataStoreControlName
979
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
980
+ * @returns {string} A string representing the control.
981
+ */
982
+ matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
983
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
984
+ }
868
985
  /**
869
986
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
870
987
  *
@@ -934,6 +1051,63 @@ class CompletionServiceClient {
934
1051
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
935
1052
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
936
1053
  }
1054
+ /**
1055
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1056
+ *
1057
+ * @param {string} project
1058
+ * @param {string} location
1059
+ * @param {string} collection
1060
+ * @param {string} data_store
1061
+ * @returns {string} Resource name string.
1062
+ */
1063
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1064
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1065
+ project: project,
1066
+ location: location,
1067
+ collection: collection,
1068
+ data_store: dataStore,
1069
+ });
1070
+ }
1071
+ /**
1072
+ * Parse the project 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 project.
1077
+ */
1078
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1079
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1080
+ }
1081
+ /**
1082
+ * Parse the location 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 location.
1087
+ */
1088
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1089
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1090
+ }
1091
+ /**
1092
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1093
+ *
1094
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1095
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1096
+ * @returns {string} A string representing the collection.
1097
+ */
1098
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1099
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1100
+ }
1101
+ /**
1102
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1103
+ *
1104
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1105
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1106
+ * @returns {string} A string representing the data_store.
1107
+ */
1108
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1109
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1110
+ }
937
1111
  /**
938
1112
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
939
1113
  *
@@ -1003,6 +1177,156 @@ class CompletionServiceClient {
1003
1177
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1004
1178
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1005
1179
  }
1180
+ /**
1181
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1182
+ *
1183
+ * @param {string} project
1184
+ * @param {string} location
1185
+ * @param {string} collection
1186
+ * @param {string} data_store
1187
+ * @param {string} session
1188
+ * @returns {string} Resource name string.
1189
+ */
1190
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1191
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1192
+ project: project,
1193
+ location: location,
1194
+ collection: collection,
1195
+ data_store: dataStore,
1196
+ session: session,
1197
+ });
1198
+ }
1199
+ /**
1200
+ * Parse the project 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 project.
1205
+ */
1206
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1207
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1208
+ }
1209
+ /**
1210
+ * Parse the location 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 location.
1215
+ */
1216
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1217
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1218
+ }
1219
+ /**
1220
+ * Parse the collection 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 collection.
1225
+ */
1226
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1227
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1228
+ }
1229
+ /**
1230
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1231
+ *
1232
+ * @param {string} projectLocationCollectionDataStoreSessionName
1233
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1234
+ * @returns {string} A string representing the data_store.
1235
+ */
1236
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1237
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1238
+ }
1239
+ /**
1240
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1241
+ *
1242
+ * @param {string} projectLocationCollectionDataStoreSessionName
1243
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1244
+ * @returns {string} A string representing the session.
1245
+ */
1246
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1247
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1248
+ }
1249
+ /**
1250
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1251
+ *
1252
+ * @param {string} project
1253
+ * @param {string} location
1254
+ * @param {string} collection
1255
+ * @param {string} data_store
1256
+ * @param {string} session
1257
+ * @param {string} answer
1258
+ * @returns {string} Resource name string.
1259
+ */
1260
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1261
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1262
+ project: project,
1263
+ location: location,
1264
+ collection: collection,
1265
+ data_store: dataStore,
1266
+ session: session,
1267
+ answer: answer,
1268
+ });
1269
+ }
1270
+ /**
1271
+ * Parse the project 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 project.
1276
+ */
1277
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1278
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1279
+ }
1280
+ /**
1281
+ * Parse the location 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 location.
1286
+ */
1287
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1288
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1289
+ }
1290
+ /**
1291
+ * Parse the collection 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 collection.
1296
+ */
1297
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1298
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1299
+ }
1300
+ /**
1301
+ * Parse the data_store 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 data_store.
1306
+ */
1307
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1308
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1309
+ }
1310
+ /**
1311
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1312
+ *
1313
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1314
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1315
+ * @returns {string} A string representing the session.
1316
+ */
1317
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1318
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1319
+ }
1320
+ /**
1321
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1322
+ *
1323
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1324
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1325
+ * @returns {string} A string representing the answer.
1326
+ */
1327
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1328
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1329
+ }
1006
1330
  /**
1007
1331
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1008
1332
  *
@@ -1129,6 +1453,75 @@ class CompletionServiceClient {
1129
1453
  matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1130
1454
  return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1131
1455
  }
1456
+ /**
1457
+ * Return a fully-qualified projectLocationCollectionEngineControl resource name string.
1458
+ *
1459
+ * @param {string} project
1460
+ * @param {string} location
1461
+ * @param {string} collection
1462
+ * @param {string} engine
1463
+ * @param {string} control
1464
+ * @returns {string} Resource name string.
1465
+ */
1466
+ projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
1467
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
1468
+ project: project,
1469
+ location: location,
1470
+ collection: collection,
1471
+ engine: engine,
1472
+ control: control,
1473
+ });
1474
+ }
1475
+ /**
1476
+ * Parse the project 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 project.
1481
+ */
1482
+ matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1483
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
1484
+ }
1485
+ /**
1486
+ * Parse the location 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 location.
1491
+ */
1492
+ matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1493
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
1494
+ }
1495
+ /**
1496
+ * Parse the collection 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 collection.
1501
+ */
1502
+ matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1503
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
1504
+ }
1505
+ /**
1506
+ * Parse the engine from ProjectLocationCollectionEngineControl resource.
1507
+ *
1508
+ * @param {string} projectLocationCollectionEngineControlName
1509
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1510
+ * @returns {string} A string representing the engine.
1511
+ */
1512
+ matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1513
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
1514
+ }
1515
+ /**
1516
+ * Parse the control from ProjectLocationCollectionEngineControl resource.
1517
+ *
1518
+ * @param {string} projectLocationCollectionEngineControlName
1519
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1520
+ * @returns {string} A string representing the control.
1521
+ */
1522
+ matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1523
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
1524
+ }
1132
1525
  /**
1133
1526
  * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1134
1527
  *
@@ -1198,6 +1591,156 @@ class CompletionServiceClient {
1198
1591
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1199
1592
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1200
1593
  }
1594
+ /**
1595
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1596
+ *
1597
+ * @param {string} project
1598
+ * @param {string} location
1599
+ * @param {string} collection
1600
+ * @param {string} engine
1601
+ * @param {string} session
1602
+ * @returns {string} Resource name string.
1603
+ */
1604
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1605
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1606
+ project: project,
1607
+ location: location,
1608
+ collection: collection,
1609
+ engine: engine,
1610
+ session: session,
1611
+ });
1612
+ }
1613
+ /**
1614
+ * Parse the project 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 project.
1619
+ */
1620
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1621
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1622
+ }
1623
+ /**
1624
+ * Parse the location 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 location.
1629
+ */
1630
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1631
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1632
+ }
1633
+ /**
1634
+ * Parse the collection 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 collection.
1639
+ */
1640
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1641
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1642
+ }
1643
+ /**
1644
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1645
+ *
1646
+ * @param {string} projectLocationCollectionEngineSessionName
1647
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1648
+ * @returns {string} A string representing the engine.
1649
+ */
1650
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1651
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1652
+ }
1653
+ /**
1654
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1655
+ *
1656
+ * @param {string} projectLocationCollectionEngineSessionName
1657
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1658
+ * @returns {string} A string representing the session.
1659
+ */
1660
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1661
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1662
+ }
1663
+ /**
1664
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1665
+ *
1666
+ * @param {string} project
1667
+ * @param {string} location
1668
+ * @param {string} collection
1669
+ * @param {string} engine
1670
+ * @param {string} session
1671
+ * @param {string} answer
1672
+ * @returns {string} Resource name string.
1673
+ */
1674
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1675
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1676
+ project: project,
1677
+ location: location,
1678
+ collection: collection,
1679
+ engine: engine,
1680
+ session: session,
1681
+ answer: answer,
1682
+ });
1683
+ }
1684
+ /**
1685
+ * Parse the project 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 project.
1690
+ */
1691
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1692
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1693
+ }
1694
+ /**
1695
+ * Parse the location 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 location.
1700
+ */
1701
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1702
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1703
+ }
1704
+ /**
1705
+ * Parse the collection 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 collection.
1710
+ */
1711
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1712
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1713
+ }
1714
+ /**
1715
+ * Parse the engine 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 engine.
1720
+ */
1721
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1722
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1723
+ }
1724
+ /**
1725
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1726
+ *
1727
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1728
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1729
+ * @returns {string} A string representing the session.
1730
+ */
1731
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1732
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1733
+ }
1734
+ /**
1735
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1736
+ *
1737
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1738
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1739
+ * @returns {string} A string representing the answer.
1740
+ */
1741
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1742
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1743
+ }
1201
1744
  /**
1202
1745
  * Return a fully-qualified projectLocationDataStore resource name string.
1203
1746
  *
@@ -1312,6 +1855,63 @@ class CompletionServiceClient {
1312
1855
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1313
1856
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1314
1857
  }
1858
+ /**
1859
+ * Return a fully-qualified projectLocationDataStoreControl resource name string.
1860
+ *
1861
+ * @param {string} project
1862
+ * @param {string} location
1863
+ * @param {string} data_store
1864
+ * @param {string} control
1865
+ * @returns {string} Resource name string.
1866
+ */
1867
+ projectLocationDataStoreControlPath(project, location, dataStore, control) {
1868
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
1869
+ project: project,
1870
+ location: location,
1871
+ data_store: dataStore,
1872
+ control: control,
1873
+ });
1874
+ }
1875
+ /**
1876
+ * Parse the project 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 project.
1881
+ */
1882
+ matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
1883
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
1884
+ }
1885
+ /**
1886
+ * Parse the location 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 location.
1891
+ */
1892
+ matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
1893
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
1894
+ }
1895
+ /**
1896
+ * Parse the data_store from ProjectLocationDataStoreControl resource.
1897
+ *
1898
+ * @param {string} projectLocationDataStoreControlName
1899
+ * A fully-qualified path representing project_location_data_store_control resource.
1900
+ * @returns {string} A string representing the data_store.
1901
+ */
1902
+ matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
1903
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
1904
+ }
1905
+ /**
1906
+ * Parse the control from ProjectLocationDataStoreControl resource.
1907
+ *
1908
+ * @param {string} projectLocationDataStoreControlName
1909
+ * A fully-qualified path representing project_location_data_store_control resource.
1910
+ * @returns {string} A string representing the control.
1911
+ */
1912
+ matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
1913
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
1914
+ }
1315
1915
  /**
1316
1916
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1317
1917
  *
@@ -1369,6 +1969,51 @@ class CompletionServiceClient {
1369
1969
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1370
1970
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1371
1971
  }
1972
+ /**
1973
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1974
+ *
1975
+ * @param {string} project
1976
+ * @param {string} location
1977
+ * @param {string} data_store
1978
+ * @returns {string} Resource name string.
1979
+ */
1980
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
1981
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
1982
+ project: project,
1983
+ location: location,
1984
+ data_store: dataStore,
1985
+ });
1986
+ }
1987
+ /**
1988
+ * Parse the project 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 project.
1993
+ */
1994
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1995
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
1996
+ }
1997
+ /**
1998
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1999
+ *
2000
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2001
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2002
+ * @returns {string} A string representing the location.
2003
+ */
2004
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2005
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
2006
+ }
2007
+ /**
2008
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
2009
+ *
2010
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2011
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2012
+ * @returns {string} A string representing the data_store.
2013
+ */
2014
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2015
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
2016
+ }
1372
2017
  /**
1373
2018
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1374
2019
  *
@@ -1426,6 +2071,132 @@ class CompletionServiceClient {
1426
2071
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1427
2072
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1428
2073
  }
2074
+ /**
2075
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2076
+ *
2077
+ * @param {string} project
2078
+ * @param {string} location
2079
+ * @param {string} data_store
2080
+ * @param {string} session
2081
+ * @returns {string} Resource name string.
2082
+ */
2083
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2084
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2085
+ project: project,
2086
+ location: location,
2087
+ data_store: dataStore,
2088
+ session: session,
2089
+ });
2090
+ }
2091
+ /**
2092
+ * Parse the project 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 project.
2097
+ */
2098
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2099
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2100
+ }
2101
+ /**
2102
+ * Parse the location 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 location.
2107
+ */
2108
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2109
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2110
+ }
2111
+ /**
2112
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2113
+ *
2114
+ * @param {string} projectLocationDataStoreSessionName
2115
+ * A fully-qualified path representing project_location_data_store_session resource.
2116
+ * @returns {string} A string representing the data_store.
2117
+ */
2118
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2119
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2120
+ }
2121
+ /**
2122
+ * Parse the session from ProjectLocationDataStoreSession resource.
2123
+ *
2124
+ * @param {string} projectLocationDataStoreSessionName
2125
+ * A fully-qualified path representing project_location_data_store_session resource.
2126
+ * @returns {string} A string representing the session.
2127
+ */
2128
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2129
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2130
+ }
2131
+ /**
2132
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2133
+ *
2134
+ * @param {string} project
2135
+ * @param {string} location
2136
+ * @param {string} data_store
2137
+ * @param {string} session
2138
+ * @param {string} answer
2139
+ * @returns {string} Resource name string.
2140
+ */
2141
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2142
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2143
+ project: project,
2144
+ location: location,
2145
+ data_store: dataStore,
2146
+ session: session,
2147
+ answer: answer,
2148
+ });
2149
+ }
2150
+ /**
2151
+ * Parse the project 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 project.
2156
+ */
2157
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2158
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2159
+ }
2160
+ /**
2161
+ * Parse the location 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 location.
2166
+ */
2167
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2168
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2169
+ }
2170
+ /**
2171
+ * Parse the data_store 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 data_store.
2176
+ */
2177
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2178
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2179
+ }
2180
+ /**
2181
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2182
+ *
2183
+ * @param {string} projectLocationDataStoreSessionAnswerName
2184
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2185
+ * @returns {string} A string representing the session.
2186
+ */
2187
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2188
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2189
+ }
2190
+ /**
2191
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2192
+ *
2193
+ * @param {string} projectLocationDataStoreSessionAnswerName
2194
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2195
+ * @returns {string} A string representing the answer.
2196
+ */
2197
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2198
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2199
+ }
1429
2200
  /**
1430
2201
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1431
2202
  *