@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
@@ -157,7 +157,9 @@ class EngineServiceClient {
157
157
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
158
158
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
159
159
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
160
+ projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
160
161
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
162
+ projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
161
163
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
162
164
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
163
165
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
@@ -165,6 +167,7 @@ class EngineServiceClient {
165
167
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
166
168
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
167
169
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
170
+ projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
168
171
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
169
172
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
170
173
  projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
@@ -172,7 +175,9 @@ class EngineServiceClient {
172
175
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
173
176
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
174
177
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
178
+ projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
175
179
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
180
+ projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
176
181
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
177
182
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
178
183
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
@@ -198,6 +203,17 @@ class EngineServiceClient {
198
203
  if (opts.fallback) {
199
204
  lroOptions.protoJson = protoFilesRoot;
200
205
  lroOptions.httpRules = [
206
+ {
207
+ selector: 'google.longrunning.Operations.CancelOperation',
208
+ post: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
209
+ body: '*',
210
+ additional_bindings: [
211
+ {
212
+ post: '/v1alpha/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
213
+ body: '*',
214
+ },
215
+ ],
216
+ },
201
217
  {
202
218
  selector: 'google.longrunning.Operations.GetOperation',
203
219
  get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
@@ -239,6 +255,9 @@ class EngineServiceClient {
239
255
  get: '/v1alpha/{name=projects/*/locations/*/evaluations/*/operations/*}',
240
256
  },
241
257
  { get: '/v1alpha/{name=projects/*/locations/*/operations/*}' },
258
+ {
259
+ get: '/v1alpha/{name=projects/*/locations/*/sampleQuerySets/*/operations/*}',
260
+ },
242
261
  { get: '/v1alpha/{name=projects/*/operations/*}' },
243
262
  ],
244
263
  },
@@ -1301,6 +1320,75 @@ class EngineServiceClient {
1301
1320
  matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1302
1321
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1303
1322
  }
1323
+ /**
1324
+ * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1325
+ *
1326
+ * @param {string} project
1327
+ * @param {string} location
1328
+ * @param {string} collection
1329
+ * @param {string} data_store
1330
+ * @param {string} control
1331
+ * @returns {string} Resource name string.
1332
+ */
1333
+ projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
1334
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
1335
+ project: project,
1336
+ location: location,
1337
+ collection: collection,
1338
+ data_store: dataStore,
1339
+ control: control,
1340
+ });
1341
+ }
1342
+ /**
1343
+ * Parse the project from ProjectLocationCollectionDataStoreControl resource.
1344
+ *
1345
+ * @param {string} projectLocationCollectionDataStoreControlName
1346
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1347
+ * @returns {string} A string representing the project.
1348
+ */
1349
+ matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1350
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
1351
+ }
1352
+ /**
1353
+ * Parse the location from ProjectLocationCollectionDataStoreControl resource.
1354
+ *
1355
+ * @param {string} projectLocationCollectionDataStoreControlName
1356
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1357
+ * @returns {string} A string representing the location.
1358
+ */
1359
+ matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1360
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
1361
+ }
1362
+ /**
1363
+ * Parse the collection from ProjectLocationCollectionDataStoreControl resource.
1364
+ *
1365
+ * @param {string} projectLocationCollectionDataStoreControlName
1366
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1367
+ * @returns {string} A string representing the collection.
1368
+ */
1369
+ matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1370
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
1371
+ }
1372
+ /**
1373
+ * Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
1374
+ *
1375
+ * @param {string} projectLocationCollectionDataStoreControlName
1376
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1377
+ * @returns {string} A string representing the data_store.
1378
+ */
1379
+ matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1380
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
1381
+ }
1382
+ /**
1383
+ * Parse the control from ProjectLocationCollectionDataStoreControl resource.
1384
+ *
1385
+ * @param {string} projectLocationCollectionDataStoreControlName
1386
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1387
+ * @returns {string} A string representing the control.
1388
+ */
1389
+ matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1390
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
1391
+ }
1304
1392
  /**
1305
1393
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1306
1394
  *
@@ -1370,6 +1458,75 @@ class EngineServiceClient {
1370
1458
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1371
1459
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1372
1460
  }
1461
+ /**
1462
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
1463
+ *
1464
+ * @param {string} project
1465
+ * @param {string} location
1466
+ * @param {string} collection
1467
+ * @param {string} data_store
1468
+ * @param {string} custom_tuning_model
1469
+ * @returns {string} Resource name string.
1470
+ */
1471
+ projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
1472
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
1473
+ project: project,
1474
+ location: location,
1475
+ collection: collection,
1476
+ data_store: dataStore,
1477
+ custom_tuning_model: customTuningModel,
1478
+ });
1479
+ }
1480
+ /**
1481
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1482
+ *
1483
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1484
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1485
+ * @returns {string} A string representing the project.
1486
+ */
1487
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1488
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
1489
+ }
1490
+ /**
1491
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1492
+ *
1493
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1494
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1495
+ * @returns {string} A string representing the location.
1496
+ */
1497
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1498
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
1499
+ }
1500
+ /**
1501
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1502
+ *
1503
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1504
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1505
+ * @returns {string} A string representing the collection.
1506
+ */
1507
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1508
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
1509
+ }
1510
+ /**
1511
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1512
+ *
1513
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1514
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1515
+ * @returns {string} A string representing the data_store.
1516
+ */
1517
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1518
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
1519
+ }
1520
+ /**
1521
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1522
+ *
1523
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1524
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1525
+ * @returns {string} A string representing the custom_tuning_model.
1526
+ */
1527
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1528
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
1529
+ }
1373
1530
  /**
1374
1531
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1375
1532
  *
@@ -1841,6 +1998,75 @@ class EngineServiceClient {
1841
1998
  matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1842
1999
  return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1843
2000
  }
2001
+ /**
2002
+ * Return a fully-qualified projectLocationCollectionEngineControl resource name string.
2003
+ *
2004
+ * @param {string} project
2005
+ * @param {string} location
2006
+ * @param {string} collection
2007
+ * @param {string} engine
2008
+ * @param {string} control
2009
+ * @returns {string} Resource name string.
2010
+ */
2011
+ projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
2012
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
2013
+ project: project,
2014
+ location: location,
2015
+ collection: collection,
2016
+ engine: engine,
2017
+ control: control,
2018
+ });
2019
+ }
2020
+ /**
2021
+ * Parse the project from ProjectLocationCollectionEngineControl resource.
2022
+ *
2023
+ * @param {string} projectLocationCollectionEngineControlName
2024
+ * A fully-qualified path representing project_location_collection_engine_control resource.
2025
+ * @returns {string} A string representing the project.
2026
+ */
2027
+ matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
2028
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
2029
+ }
2030
+ /**
2031
+ * Parse the location from ProjectLocationCollectionEngineControl resource.
2032
+ *
2033
+ * @param {string} projectLocationCollectionEngineControlName
2034
+ * A fully-qualified path representing project_location_collection_engine_control resource.
2035
+ * @returns {string} A string representing the location.
2036
+ */
2037
+ matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
2038
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
2039
+ }
2040
+ /**
2041
+ * Parse the collection from ProjectLocationCollectionEngineControl resource.
2042
+ *
2043
+ * @param {string} projectLocationCollectionEngineControlName
2044
+ * A fully-qualified path representing project_location_collection_engine_control resource.
2045
+ * @returns {string} A string representing the collection.
2046
+ */
2047
+ matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
2048
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
2049
+ }
2050
+ /**
2051
+ * Parse the engine from ProjectLocationCollectionEngineControl resource.
2052
+ *
2053
+ * @param {string} projectLocationCollectionEngineControlName
2054
+ * A fully-qualified path representing project_location_collection_engine_control resource.
2055
+ * @returns {string} A string representing the engine.
2056
+ */
2057
+ matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
2058
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
2059
+ }
2060
+ /**
2061
+ * Parse the control from ProjectLocationCollectionEngineControl resource.
2062
+ *
2063
+ * @param {string} projectLocationCollectionEngineControlName
2064
+ * A fully-qualified path representing project_location_collection_engine_control resource.
2065
+ * @returns {string} A string representing the control.
2066
+ */
2067
+ matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
2068
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
2069
+ }
1844
2070
  /**
1845
2071
  * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1846
2072
  *
@@ -2324,6 +2550,63 @@ class EngineServiceClient {
2324
2550
  matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2325
2551
  return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
2326
2552
  }
2553
+ /**
2554
+ * Return a fully-qualified projectLocationDataStoreControl resource name string.
2555
+ *
2556
+ * @param {string} project
2557
+ * @param {string} location
2558
+ * @param {string} data_store
2559
+ * @param {string} control
2560
+ * @returns {string} Resource name string.
2561
+ */
2562
+ projectLocationDataStoreControlPath(project, location, dataStore, control) {
2563
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
2564
+ project: project,
2565
+ location: location,
2566
+ data_store: dataStore,
2567
+ control: control,
2568
+ });
2569
+ }
2570
+ /**
2571
+ * Parse the project from ProjectLocationDataStoreControl resource.
2572
+ *
2573
+ * @param {string} projectLocationDataStoreControlName
2574
+ * A fully-qualified path representing project_location_data_store_control resource.
2575
+ * @returns {string} A string representing the project.
2576
+ */
2577
+ matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2578
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
2579
+ }
2580
+ /**
2581
+ * Parse the location from ProjectLocationDataStoreControl resource.
2582
+ *
2583
+ * @param {string} projectLocationDataStoreControlName
2584
+ * A fully-qualified path representing project_location_data_store_control resource.
2585
+ * @returns {string} A string representing the location.
2586
+ */
2587
+ matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2588
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
2589
+ }
2590
+ /**
2591
+ * Parse the data_store from ProjectLocationDataStoreControl resource.
2592
+ *
2593
+ * @param {string} projectLocationDataStoreControlName
2594
+ * A fully-qualified path representing project_location_data_store_control resource.
2595
+ * @returns {string} A string representing the data_store.
2596
+ */
2597
+ matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2598
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
2599
+ }
2600
+ /**
2601
+ * Parse the control from ProjectLocationDataStoreControl resource.
2602
+ *
2603
+ * @param {string} projectLocationDataStoreControlName
2604
+ * A fully-qualified path representing project_location_data_store_control resource.
2605
+ * @returns {string} A string representing the control.
2606
+ */
2607
+ matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2608
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
2609
+ }
2327
2610
  /**
2328
2611
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
2329
2612
  *
@@ -2381,6 +2664,63 @@ class EngineServiceClient {
2381
2664
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
2382
2665
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
2383
2666
  }
2667
+ /**
2668
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
2669
+ *
2670
+ * @param {string} project
2671
+ * @param {string} location
2672
+ * @param {string} data_store
2673
+ * @param {string} custom_tuning_model
2674
+ * @returns {string} Resource name string.
2675
+ */
2676
+ projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
2677
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
2678
+ project: project,
2679
+ location: location,
2680
+ data_store: dataStore,
2681
+ custom_tuning_model: customTuningModel,
2682
+ });
2683
+ }
2684
+ /**
2685
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
2686
+ *
2687
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2688
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2689
+ * @returns {string} A string representing the project.
2690
+ */
2691
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2692
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
2693
+ }
2694
+ /**
2695
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
2696
+ *
2697
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2698
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2699
+ * @returns {string} A string representing the location.
2700
+ */
2701
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2702
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
2703
+ }
2704
+ /**
2705
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
2706
+ *
2707
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2708
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2709
+ * @returns {string} A string representing the data_store.
2710
+ */
2711
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2712
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
2713
+ }
2714
+ /**
2715
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
2716
+ *
2717
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2718
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2719
+ * @returns {string} A string representing the custom_tuning_model.
2720
+ */
2721
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2722
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
2723
+ }
2384
2724
  /**
2385
2725
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2386
2726
  *