@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
@@ -152,17 +152,29 @@ class EngineServiceClient {
152
152
  this.pathTemplates = {
153
153
  collectionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}'),
154
154
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
155
+ projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
155
156
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
156
157
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
158
+ projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
157
159
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
160
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
158
161
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
162
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
163
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
159
164
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
160
165
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
166
+ projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
161
167
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
168
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
169
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
162
170
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
163
171
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
172
+ projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
164
173
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
174
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
165
175
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
176
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
177
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
166
178
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
167
179
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
168
180
  };
@@ -183,6 +195,21 @@ class EngineServiceClient {
183
195
  if (opts.fallback) {
184
196
  lroOptions.protoJson = protoFilesRoot;
185
197
  lroOptions.httpRules = [
198
+ {
199
+ selector: 'google.longrunning.Operations.CancelOperation',
200
+ post: '/v1/{name=projects/*/operations/*}:cancel',
201
+ body: '*',
202
+ additional_bindings: [
203
+ {
204
+ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
205
+ body: '*',
206
+ },
207
+ {
208
+ post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
209
+ body: '*',
210
+ },
211
+ ],
212
+ },
186
213
  {
187
214
  selector: 'google.longrunning.Operations.GetOperation',
188
215
  get: '/v1/{name=projects/*/operations/*}',
@@ -911,6 +938,27 @@ class EngineServiceClient {
911
938
  matchEngineFromEngineName(engineName) {
912
939
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
913
940
  }
941
+ /**
942
+ * Return a fully-qualified project resource name string.
943
+ *
944
+ * @param {string} project
945
+ * @returns {string} Resource name string.
946
+ */
947
+ projectPath(project) {
948
+ return this.pathTemplates.projectPathTemplate.render({
949
+ project: project,
950
+ });
951
+ }
952
+ /**
953
+ * Parse the project from Project resource.
954
+ *
955
+ * @param {string} projectName
956
+ * A fully-qualified path representing Project resource.
957
+ * @returns {string} A string representing the project.
958
+ */
959
+ matchProjectFromProjectName(projectName) {
960
+ return this.pathTemplates.projectPathTemplate.match(projectName).project;
961
+ }
914
962
  /**
915
963
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
916
964
  *
@@ -1049,6 +1097,75 @@ class EngineServiceClient {
1049
1097
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1050
1098
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1051
1099
  }
1100
+ /**
1101
+ * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1102
+ *
1103
+ * @param {string} project
1104
+ * @param {string} location
1105
+ * @param {string} collection
1106
+ * @param {string} data_store
1107
+ * @param {string} control
1108
+ * @returns {string} Resource name string.
1109
+ */
1110
+ projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
1111
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
1112
+ project: project,
1113
+ location: location,
1114
+ collection: collection,
1115
+ data_store: dataStore,
1116
+ control: control,
1117
+ });
1118
+ }
1119
+ /**
1120
+ * Parse the project from ProjectLocationCollectionDataStoreControl resource.
1121
+ *
1122
+ * @param {string} projectLocationCollectionDataStoreControlName
1123
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1124
+ * @returns {string} A string representing the project.
1125
+ */
1126
+ matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1127
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
1128
+ }
1129
+ /**
1130
+ * Parse the location from ProjectLocationCollectionDataStoreControl resource.
1131
+ *
1132
+ * @param {string} projectLocationCollectionDataStoreControlName
1133
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1134
+ * @returns {string} A string representing the location.
1135
+ */
1136
+ matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1137
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
1138
+ }
1139
+ /**
1140
+ * Parse the collection from ProjectLocationCollectionDataStoreControl resource.
1141
+ *
1142
+ * @param {string} projectLocationCollectionDataStoreControlName
1143
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1144
+ * @returns {string} A string representing the collection.
1145
+ */
1146
+ matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1147
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
1148
+ }
1149
+ /**
1150
+ * Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
1151
+ *
1152
+ * @param {string} projectLocationCollectionDataStoreControlName
1153
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1154
+ * @returns {string} A string representing the data_store.
1155
+ */
1156
+ matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1157
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
1158
+ }
1159
+ /**
1160
+ * Parse the control from ProjectLocationCollectionDataStoreControl resource.
1161
+ *
1162
+ * @param {string} projectLocationCollectionDataStoreControlName
1163
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1164
+ * @returns {string} A string representing the control.
1165
+ */
1166
+ matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1167
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
1168
+ }
1052
1169
  /**
1053
1170
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1054
1171
  *
@@ -1118,6 +1235,63 @@ class EngineServiceClient {
1118
1235
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1119
1236
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1120
1237
  }
1238
+ /**
1239
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1240
+ *
1241
+ * @param {string} project
1242
+ * @param {string} location
1243
+ * @param {string} collection
1244
+ * @param {string} data_store
1245
+ * @returns {string} Resource name string.
1246
+ */
1247
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1248
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1249
+ project: project,
1250
+ location: location,
1251
+ collection: collection,
1252
+ data_store: dataStore,
1253
+ });
1254
+ }
1255
+ /**
1256
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1257
+ *
1258
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1259
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1260
+ * @returns {string} A string representing the project.
1261
+ */
1262
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1263
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1264
+ }
1265
+ /**
1266
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1267
+ *
1268
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1269
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1270
+ * @returns {string} A string representing the location.
1271
+ */
1272
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1273
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1274
+ }
1275
+ /**
1276
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1277
+ *
1278
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1279
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1280
+ * @returns {string} A string representing the collection.
1281
+ */
1282
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1283
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1284
+ }
1285
+ /**
1286
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1287
+ *
1288
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1289
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1290
+ * @returns {string} A string representing the data_store.
1291
+ */
1292
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1293
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1294
+ }
1121
1295
  /**
1122
1296
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1123
1297
  *
@@ -1187,6 +1361,156 @@ class EngineServiceClient {
1187
1361
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1188
1362
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1189
1363
  }
1364
+ /**
1365
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1366
+ *
1367
+ * @param {string} project
1368
+ * @param {string} location
1369
+ * @param {string} collection
1370
+ * @param {string} data_store
1371
+ * @param {string} session
1372
+ * @returns {string} Resource name string.
1373
+ */
1374
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1375
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1376
+ project: project,
1377
+ location: location,
1378
+ collection: collection,
1379
+ data_store: dataStore,
1380
+ session: session,
1381
+ });
1382
+ }
1383
+ /**
1384
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1385
+ *
1386
+ * @param {string} projectLocationCollectionDataStoreSessionName
1387
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1388
+ * @returns {string} A string representing the project.
1389
+ */
1390
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1391
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1392
+ }
1393
+ /**
1394
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1395
+ *
1396
+ * @param {string} projectLocationCollectionDataStoreSessionName
1397
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1398
+ * @returns {string} A string representing the location.
1399
+ */
1400
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1401
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1402
+ }
1403
+ /**
1404
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1405
+ *
1406
+ * @param {string} projectLocationCollectionDataStoreSessionName
1407
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1408
+ * @returns {string} A string representing the collection.
1409
+ */
1410
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1411
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1412
+ }
1413
+ /**
1414
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1415
+ *
1416
+ * @param {string} projectLocationCollectionDataStoreSessionName
1417
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1418
+ * @returns {string} A string representing the data_store.
1419
+ */
1420
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1421
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1422
+ }
1423
+ /**
1424
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1425
+ *
1426
+ * @param {string} projectLocationCollectionDataStoreSessionName
1427
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1428
+ * @returns {string} A string representing the session.
1429
+ */
1430
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1431
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1432
+ }
1433
+ /**
1434
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1435
+ *
1436
+ * @param {string} project
1437
+ * @param {string} location
1438
+ * @param {string} collection
1439
+ * @param {string} data_store
1440
+ * @param {string} session
1441
+ * @param {string} answer
1442
+ * @returns {string} Resource name string.
1443
+ */
1444
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1445
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1446
+ project: project,
1447
+ location: location,
1448
+ collection: collection,
1449
+ data_store: dataStore,
1450
+ session: session,
1451
+ answer: answer,
1452
+ });
1453
+ }
1454
+ /**
1455
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1456
+ *
1457
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1458
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1459
+ * @returns {string} A string representing the project.
1460
+ */
1461
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1462
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1463
+ }
1464
+ /**
1465
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1466
+ *
1467
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1468
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1469
+ * @returns {string} A string representing the location.
1470
+ */
1471
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1472
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1473
+ }
1474
+ /**
1475
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1476
+ *
1477
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1478
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1479
+ * @returns {string} A string representing the collection.
1480
+ */
1481
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1482
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1483
+ }
1484
+ /**
1485
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1486
+ *
1487
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1488
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1489
+ * @returns {string} A string representing the data_store.
1490
+ */
1491
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1492
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1493
+ }
1494
+ /**
1495
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1496
+ *
1497
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1498
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1499
+ * @returns {string} A string representing the session.
1500
+ */
1501
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1502
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1503
+ }
1504
+ /**
1505
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1506
+ *
1507
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1508
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1509
+ * @returns {string} A string representing the answer.
1510
+ */
1511
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1512
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1513
+ }
1190
1514
  /**
1191
1515
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1192
1516
  *
@@ -1313,6 +1637,75 @@ class EngineServiceClient {
1313
1637
  matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1314
1638
  return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1315
1639
  }
1640
+ /**
1641
+ * Return a fully-qualified projectLocationCollectionEngineControl resource name string.
1642
+ *
1643
+ * @param {string} project
1644
+ * @param {string} location
1645
+ * @param {string} collection
1646
+ * @param {string} engine
1647
+ * @param {string} control
1648
+ * @returns {string} Resource name string.
1649
+ */
1650
+ projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
1651
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
1652
+ project: project,
1653
+ location: location,
1654
+ collection: collection,
1655
+ engine: engine,
1656
+ control: control,
1657
+ });
1658
+ }
1659
+ /**
1660
+ * Parse the project from ProjectLocationCollectionEngineControl resource.
1661
+ *
1662
+ * @param {string} projectLocationCollectionEngineControlName
1663
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1664
+ * @returns {string} A string representing the project.
1665
+ */
1666
+ matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1667
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
1668
+ }
1669
+ /**
1670
+ * Parse the location from ProjectLocationCollectionEngineControl resource.
1671
+ *
1672
+ * @param {string} projectLocationCollectionEngineControlName
1673
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1674
+ * @returns {string} A string representing the location.
1675
+ */
1676
+ matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1677
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
1678
+ }
1679
+ /**
1680
+ * Parse the collection from ProjectLocationCollectionEngineControl resource.
1681
+ *
1682
+ * @param {string} projectLocationCollectionEngineControlName
1683
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1684
+ * @returns {string} A string representing the collection.
1685
+ */
1686
+ matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1687
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
1688
+ }
1689
+ /**
1690
+ * Parse the engine from ProjectLocationCollectionEngineControl resource.
1691
+ *
1692
+ * @param {string} projectLocationCollectionEngineControlName
1693
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1694
+ * @returns {string} A string representing the engine.
1695
+ */
1696
+ matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1697
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
1698
+ }
1699
+ /**
1700
+ * Parse the control from ProjectLocationCollectionEngineControl resource.
1701
+ *
1702
+ * @param {string} projectLocationCollectionEngineControlName
1703
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1704
+ * @returns {string} A string representing the control.
1705
+ */
1706
+ matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1707
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
1708
+ }
1316
1709
  /**
1317
1710
  * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1318
1711
  *
@@ -1382,6 +1775,156 @@ class EngineServiceClient {
1382
1775
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1383
1776
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1384
1777
  }
1778
+ /**
1779
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1780
+ *
1781
+ * @param {string} project
1782
+ * @param {string} location
1783
+ * @param {string} collection
1784
+ * @param {string} engine
1785
+ * @param {string} session
1786
+ * @returns {string} Resource name string.
1787
+ */
1788
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1789
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1790
+ project: project,
1791
+ location: location,
1792
+ collection: collection,
1793
+ engine: engine,
1794
+ session: session,
1795
+ });
1796
+ }
1797
+ /**
1798
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1799
+ *
1800
+ * @param {string} projectLocationCollectionEngineSessionName
1801
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1802
+ * @returns {string} A string representing the project.
1803
+ */
1804
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1805
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1806
+ }
1807
+ /**
1808
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1809
+ *
1810
+ * @param {string} projectLocationCollectionEngineSessionName
1811
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1812
+ * @returns {string} A string representing the location.
1813
+ */
1814
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1815
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1816
+ }
1817
+ /**
1818
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1819
+ *
1820
+ * @param {string} projectLocationCollectionEngineSessionName
1821
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1822
+ * @returns {string} A string representing the collection.
1823
+ */
1824
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1825
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1826
+ }
1827
+ /**
1828
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1829
+ *
1830
+ * @param {string} projectLocationCollectionEngineSessionName
1831
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1832
+ * @returns {string} A string representing the engine.
1833
+ */
1834
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1835
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1836
+ }
1837
+ /**
1838
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1839
+ *
1840
+ * @param {string} projectLocationCollectionEngineSessionName
1841
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1842
+ * @returns {string} A string representing the session.
1843
+ */
1844
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1845
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1846
+ }
1847
+ /**
1848
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1849
+ *
1850
+ * @param {string} project
1851
+ * @param {string} location
1852
+ * @param {string} collection
1853
+ * @param {string} engine
1854
+ * @param {string} session
1855
+ * @param {string} answer
1856
+ * @returns {string} Resource name string.
1857
+ */
1858
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1859
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1860
+ project: project,
1861
+ location: location,
1862
+ collection: collection,
1863
+ engine: engine,
1864
+ session: session,
1865
+ answer: answer,
1866
+ });
1867
+ }
1868
+ /**
1869
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1870
+ *
1871
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1872
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1873
+ * @returns {string} A string representing the project.
1874
+ */
1875
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1876
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1877
+ }
1878
+ /**
1879
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1880
+ *
1881
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1882
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1883
+ * @returns {string} A string representing the location.
1884
+ */
1885
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1886
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1887
+ }
1888
+ /**
1889
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1890
+ *
1891
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1892
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1893
+ * @returns {string} A string representing the collection.
1894
+ */
1895
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1896
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1897
+ }
1898
+ /**
1899
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1900
+ *
1901
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1902
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1903
+ * @returns {string} A string representing the engine.
1904
+ */
1905
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1906
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1907
+ }
1908
+ /**
1909
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1910
+ *
1911
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1912
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1913
+ * @returns {string} A string representing the session.
1914
+ */
1915
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1916
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1917
+ }
1918
+ /**
1919
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1920
+ *
1921
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1922
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1923
+ * @returns {string} A string representing the answer.
1924
+ */
1925
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1926
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1927
+ }
1385
1928
  /**
1386
1929
  * Return a fully-qualified projectLocationDataStore resource name string.
1387
1930
  *
@@ -1496,6 +2039,63 @@ class EngineServiceClient {
1496
2039
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1497
2040
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1498
2041
  }
2042
+ /**
2043
+ * Return a fully-qualified projectLocationDataStoreControl resource name string.
2044
+ *
2045
+ * @param {string} project
2046
+ * @param {string} location
2047
+ * @param {string} data_store
2048
+ * @param {string} control
2049
+ * @returns {string} Resource name string.
2050
+ */
2051
+ projectLocationDataStoreControlPath(project, location, dataStore, control) {
2052
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
2053
+ project: project,
2054
+ location: location,
2055
+ data_store: dataStore,
2056
+ control: control,
2057
+ });
2058
+ }
2059
+ /**
2060
+ * Parse the project from ProjectLocationDataStoreControl resource.
2061
+ *
2062
+ * @param {string} projectLocationDataStoreControlName
2063
+ * A fully-qualified path representing project_location_data_store_control resource.
2064
+ * @returns {string} A string representing the project.
2065
+ */
2066
+ matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2067
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
2068
+ }
2069
+ /**
2070
+ * Parse the location from ProjectLocationDataStoreControl resource.
2071
+ *
2072
+ * @param {string} projectLocationDataStoreControlName
2073
+ * A fully-qualified path representing project_location_data_store_control resource.
2074
+ * @returns {string} A string representing the location.
2075
+ */
2076
+ matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2077
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
2078
+ }
2079
+ /**
2080
+ * Parse the data_store from ProjectLocationDataStoreControl resource.
2081
+ *
2082
+ * @param {string} projectLocationDataStoreControlName
2083
+ * A fully-qualified path representing project_location_data_store_control resource.
2084
+ * @returns {string} A string representing the data_store.
2085
+ */
2086
+ matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2087
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
2088
+ }
2089
+ /**
2090
+ * Parse the control from ProjectLocationDataStoreControl resource.
2091
+ *
2092
+ * @param {string} projectLocationDataStoreControlName
2093
+ * A fully-qualified path representing project_location_data_store_control resource.
2094
+ * @returns {string} A string representing the control.
2095
+ */
2096
+ matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2097
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
2098
+ }
1499
2099
  /**
1500
2100
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1501
2101
  *
@@ -1553,6 +2153,51 @@ class EngineServiceClient {
1553
2153
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1554
2154
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1555
2155
  }
2156
+ /**
2157
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2158
+ *
2159
+ * @param {string} project
2160
+ * @param {string} location
2161
+ * @param {string} data_store
2162
+ * @returns {string} Resource name string.
2163
+ */
2164
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
2165
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
2166
+ project: project,
2167
+ location: location,
2168
+ data_store: dataStore,
2169
+ });
2170
+ }
2171
+ /**
2172
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
2173
+ *
2174
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2175
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2176
+ * @returns {string} A string representing the project.
2177
+ */
2178
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2179
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
2180
+ }
2181
+ /**
2182
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
2183
+ *
2184
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2185
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2186
+ * @returns {string} A string representing the location.
2187
+ */
2188
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2189
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
2190
+ }
2191
+ /**
2192
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
2193
+ *
2194
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2195
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2196
+ * @returns {string} A string representing the data_store.
2197
+ */
2198
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2199
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
2200
+ }
1556
2201
  /**
1557
2202
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1558
2203
  *
@@ -1610,6 +2255,132 @@ class EngineServiceClient {
1610
2255
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1611
2256
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1612
2257
  }
2258
+ /**
2259
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2260
+ *
2261
+ * @param {string} project
2262
+ * @param {string} location
2263
+ * @param {string} data_store
2264
+ * @param {string} session
2265
+ * @returns {string} Resource name string.
2266
+ */
2267
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2268
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2269
+ project: project,
2270
+ location: location,
2271
+ data_store: dataStore,
2272
+ session: session,
2273
+ });
2274
+ }
2275
+ /**
2276
+ * Parse the project from ProjectLocationDataStoreSession resource.
2277
+ *
2278
+ * @param {string} projectLocationDataStoreSessionName
2279
+ * A fully-qualified path representing project_location_data_store_session resource.
2280
+ * @returns {string} A string representing the project.
2281
+ */
2282
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2283
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2284
+ }
2285
+ /**
2286
+ * Parse the location from ProjectLocationDataStoreSession resource.
2287
+ *
2288
+ * @param {string} projectLocationDataStoreSessionName
2289
+ * A fully-qualified path representing project_location_data_store_session resource.
2290
+ * @returns {string} A string representing the location.
2291
+ */
2292
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2293
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2294
+ }
2295
+ /**
2296
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2297
+ *
2298
+ * @param {string} projectLocationDataStoreSessionName
2299
+ * A fully-qualified path representing project_location_data_store_session resource.
2300
+ * @returns {string} A string representing the data_store.
2301
+ */
2302
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2303
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2304
+ }
2305
+ /**
2306
+ * Parse the session from ProjectLocationDataStoreSession resource.
2307
+ *
2308
+ * @param {string} projectLocationDataStoreSessionName
2309
+ * A fully-qualified path representing project_location_data_store_session resource.
2310
+ * @returns {string} A string representing the session.
2311
+ */
2312
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2313
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2314
+ }
2315
+ /**
2316
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2317
+ *
2318
+ * @param {string} project
2319
+ * @param {string} location
2320
+ * @param {string} data_store
2321
+ * @param {string} session
2322
+ * @param {string} answer
2323
+ * @returns {string} Resource name string.
2324
+ */
2325
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2326
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2327
+ project: project,
2328
+ location: location,
2329
+ data_store: dataStore,
2330
+ session: session,
2331
+ answer: answer,
2332
+ });
2333
+ }
2334
+ /**
2335
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2336
+ *
2337
+ * @param {string} projectLocationDataStoreSessionAnswerName
2338
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2339
+ * @returns {string} A string representing the project.
2340
+ */
2341
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2342
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2343
+ }
2344
+ /**
2345
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2346
+ *
2347
+ * @param {string} projectLocationDataStoreSessionAnswerName
2348
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2349
+ * @returns {string} A string representing the location.
2350
+ */
2351
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2352
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2353
+ }
2354
+ /**
2355
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2356
+ *
2357
+ * @param {string} projectLocationDataStoreSessionAnswerName
2358
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2359
+ * @returns {string} A string representing the data_store.
2360
+ */
2361
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2362
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2363
+ }
2364
+ /**
2365
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2366
+ *
2367
+ * @param {string} projectLocationDataStoreSessionAnswerName
2368
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2369
+ * @returns {string} A string representing the session.
2370
+ */
2371
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2372
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2373
+ }
2374
+ /**
2375
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2376
+ *
2377
+ * @param {string} projectLocationDataStoreSessionAnswerName
2378
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2379
+ * @returns {string} A string representing the answer.
2380
+ */
2381
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2382
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2383
+ }
1613
2384
  /**
1614
2385
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1615
2386
  *