@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 DataStoreServiceClient {
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 DataStoreServiceClient {
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/*}',
@@ -568,8 +595,8 @@ class DataStoreServiceClient {
568
595
  * must match the call that provided the page token. Otherwise, an
569
596
  * INVALID_ARGUMENT error is returned.
570
597
  * @param {string} request.filter
571
- * Filter by solution type. For example: filter =
572
- * 'solution_type:SOLUTION_TYPE_SEARCH'
598
+ * Filter by solution type .
599
+ * For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`
573
600
  * @param {object} [options]
574
601
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
575
602
  * @returns {Stream}
@@ -628,8 +655,8 @@ class DataStoreServiceClient {
628
655
  * must match the call that provided the page token. Otherwise, an
629
656
  * INVALID_ARGUMENT error is returned.
630
657
  * @param {string} request.filter
631
- * Filter by solution type. For example: filter =
632
- * 'solution_type:SOLUTION_TYPE_SEARCH'
658
+ * Filter by solution type .
659
+ * For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`
633
660
  * @param {object} [options]
634
661
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
635
662
  * @returns {Object}
@@ -948,6 +975,27 @@ class DataStoreServiceClient {
948
975
  matchEngineFromEngineName(engineName) {
949
976
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
950
977
  }
978
+ /**
979
+ * Return a fully-qualified project resource name string.
980
+ *
981
+ * @param {string} project
982
+ * @returns {string} Resource name string.
983
+ */
984
+ projectPath(project) {
985
+ return this.pathTemplates.projectPathTemplate.render({
986
+ project: project,
987
+ });
988
+ }
989
+ /**
990
+ * Parse the project from Project resource.
991
+ *
992
+ * @param {string} projectName
993
+ * A fully-qualified path representing Project resource.
994
+ * @returns {string} A string representing the project.
995
+ */
996
+ matchProjectFromProjectName(projectName) {
997
+ return this.pathTemplates.projectPathTemplate.match(projectName).project;
998
+ }
951
999
  /**
952
1000
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
953
1001
  *
@@ -1086,6 +1134,75 @@ class DataStoreServiceClient {
1086
1134
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1087
1135
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1088
1136
  }
1137
+ /**
1138
+ * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1139
+ *
1140
+ * @param {string} project
1141
+ * @param {string} location
1142
+ * @param {string} collection
1143
+ * @param {string} data_store
1144
+ * @param {string} control
1145
+ * @returns {string} Resource name string.
1146
+ */
1147
+ projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
1148
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
1149
+ project: project,
1150
+ location: location,
1151
+ collection: collection,
1152
+ data_store: dataStore,
1153
+ control: control,
1154
+ });
1155
+ }
1156
+ /**
1157
+ * Parse the project from ProjectLocationCollectionDataStoreControl resource.
1158
+ *
1159
+ * @param {string} projectLocationCollectionDataStoreControlName
1160
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1161
+ * @returns {string} A string representing the project.
1162
+ */
1163
+ matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1164
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
1165
+ }
1166
+ /**
1167
+ * Parse the location from ProjectLocationCollectionDataStoreControl resource.
1168
+ *
1169
+ * @param {string} projectLocationCollectionDataStoreControlName
1170
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1171
+ * @returns {string} A string representing the location.
1172
+ */
1173
+ matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1174
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
1175
+ }
1176
+ /**
1177
+ * Parse the collection from ProjectLocationCollectionDataStoreControl resource.
1178
+ *
1179
+ * @param {string} projectLocationCollectionDataStoreControlName
1180
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1181
+ * @returns {string} A string representing the collection.
1182
+ */
1183
+ matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1184
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
1185
+ }
1186
+ /**
1187
+ * Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
1188
+ *
1189
+ * @param {string} projectLocationCollectionDataStoreControlName
1190
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1191
+ * @returns {string} A string representing the data_store.
1192
+ */
1193
+ matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1194
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
1195
+ }
1196
+ /**
1197
+ * Parse the control from ProjectLocationCollectionDataStoreControl resource.
1198
+ *
1199
+ * @param {string} projectLocationCollectionDataStoreControlName
1200
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1201
+ * @returns {string} A string representing the control.
1202
+ */
1203
+ matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1204
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
1205
+ }
1089
1206
  /**
1090
1207
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1091
1208
  *
@@ -1155,6 +1272,63 @@ class DataStoreServiceClient {
1155
1272
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1156
1273
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1157
1274
  }
1275
+ /**
1276
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1277
+ *
1278
+ * @param {string} project
1279
+ * @param {string} location
1280
+ * @param {string} collection
1281
+ * @param {string} data_store
1282
+ * @returns {string} Resource name string.
1283
+ */
1284
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1285
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1286
+ project: project,
1287
+ location: location,
1288
+ collection: collection,
1289
+ data_store: dataStore,
1290
+ });
1291
+ }
1292
+ /**
1293
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1294
+ *
1295
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1296
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1297
+ * @returns {string} A string representing the project.
1298
+ */
1299
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1300
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1301
+ }
1302
+ /**
1303
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1304
+ *
1305
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1306
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1307
+ * @returns {string} A string representing the location.
1308
+ */
1309
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1310
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1311
+ }
1312
+ /**
1313
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1314
+ *
1315
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1316
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1317
+ * @returns {string} A string representing the collection.
1318
+ */
1319
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1320
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1321
+ }
1322
+ /**
1323
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1324
+ *
1325
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1326
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1327
+ * @returns {string} A string representing the data_store.
1328
+ */
1329
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1330
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1331
+ }
1158
1332
  /**
1159
1333
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1160
1334
  *
@@ -1224,6 +1398,156 @@ class DataStoreServiceClient {
1224
1398
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1225
1399
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1226
1400
  }
1401
+ /**
1402
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1403
+ *
1404
+ * @param {string} project
1405
+ * @param {string} location
1406
+ * @param {string} collection
1407
+ * @param {string} data_store
1408
+ * @param {string} session
1409
+ * @returns {string} Resource name string.
1410
+ */
1411
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1412
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1413
+ project: project,
1414
+ location: location,
1415
+ collection: collection,
1416
+ data_store: dataStore,
1417
+ session: session,
1418
+ });
1419
+ }
1420
+ /**
1421
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1422
+ *
1423
+ * @param {string} projectLocationCollectionDataStoreSessionName
1424
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1425
+ * @returns {string} A string representing the project.
1426
+ */
1427
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1428
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1429
+ }
1430
+ /**
1431
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1432
+ *
1433
+ * @param {string} projectLocationCollectionDataStoreSessionName
1434
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1435
+ * @returns {string} A string representing the location.
1436
+ */
1437
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1438
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1439
+ }
1440
+ /**
1441
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1442
+ *
1443
+ * @param {string} projectLocationCollectionDataStoreSessionName
1444
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1445
+ * @returns {string} A string representing the collection.
1446
+ */
1447
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1448
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1449
+ }
1450
+ /**
1451
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1452
+ *
1453
+ * @param {string} projectLocationCollectionDataStoreSessionName
1454
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1455
+ * @returns {string} A string representing the data_store.
1456
+ */
1457
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1458
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1459
+ }
1460
+ /**
1461
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1462
+ *
1463
+ * @param {string} projectLocationCollectionDataStoreSessionName
1464
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1465
+ * @returns {string} A string representing the session.
1466
+ */
1467
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1468
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1469
+ }
1470
+ /**
1471
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1472
+ *
1473
+ * @param {string} project
1474
+ * @param {string} location
1475
+ * @param {string} collection
1476
+ * @param {string} data_store
1477
+ * @param {string} session
1478
+ * @param {string} answer
1479
+ * @returns {string} Resource name string.
1480
+ */
1481
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1482
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1483
+ project: project,
1484
+ location: location,
1485
+ collection: collection,
1486
+ data_store: dataStore,
1487
+ session: session,
1488
+ answer: answer,
1489
+ });
1490
+ }
1491
+ /**
1492
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1493
+ *
1494
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1495
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1496
+ * @returns {string} A string representing the project.
1497
+ */
1498
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1499
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1500
+ }
1501
+ /**
1502
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1503
+ *
1504
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1505
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1506
+ * @returns {string} A string representing the location.
1507
+ */
1508
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1509
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1510
+ }
1511
+ /**
1512
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1513
+ *
1514
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1515
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1516
+ * @returns {string} A string representing the collection.
1517
+ */
1518
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1519
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1520
+ }
1521
+ /**
1522
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1523
+ *
1524
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1525
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1526
+ * @returns {string} A string representing the data_store.
1527
+ */
1528
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1529
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1530
+ }
1531
+ /**
1532
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1533
+ *
1534
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1535
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1536
+ * @returns {string} A string representing the session.
1537
+ */
1538
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1539
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1540
+ }
1541
+ /**
1542
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1543
+ *
1544
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1545
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1546
+ * @returns {string} A string representing the answer.
1547
+ */
1548
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1549
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1550
+ }
1227
1551
  /**
1228
1552
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1229
1553
  *
@@ -1350,6 +1674,75 @@ class DataStoreServiceClient {
1350
1674
  matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1351
1675
  return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1352
1676
  }
1677
+ /**
1678
+ * Return a fully-qualified projectLocationCollectionEngineControl resource name string.
1679
+ *
1680
+ * @param {string} project
1681
+ * @param {string} location
1682
+ * @param {string} collection
1683
+ * @param {string} engine
1684
+ * @param {string} control
1685
+ * @returns {string} Resource name string.
1686
+ */
1687
+ projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
1688
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
1689
+ project: project,
1690
+ location: location,
1691
+ collection: collection,
1692
+ engine: engine,
1693
+ control: control,
1694
+ });
1695
+ }
1696
+ /**
1697
+ * Parse the project from ProjectLocationCollectionEngineControl resource.
1698
+ *
1699
+ * @param {string} projectLocationCollectionEngineControlName
1700
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1701
+ * @returns {string} A string representing the project.
1702
+ */
1703
+ matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1704
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
1705
+ }
1706
+ /**
1707
+ * Parse the location from ProjectLocationCollectionEngineControl resource.
1708
+ *
1709
+ * @param {string} projectLocationCollectionEngineControlName
1710
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1711
+ * @returns {string} A string representing the location.
1712
+ */
1713
+ matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1714
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
1715
+ }
1716
+ /**
1717
+ * Parse the collection from ProjectLocationCollectionEngineControl resource.
1718
+ *
1719
+ * @param {string} projectLocationCollectionEngineControlName
1720
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1721
+ * @returns {string} A string representing the collection.
1722
+ */
1723
+ matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1724
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
1725
+ }
1726
+ /**
1727
+ * Parse the engine from ProjectLocationCollectionEngineControl resource.
1728
+ *
1729
+ * @param {string} projectLocationCollectionEngineControlName
1730
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1731
+ * @returns {string} A string representing the engine.
1732
+ */
1733
+ matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1734
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
1735
+ }
1736
+ /**
1737
+ * Parse the control from ProjectLocationCollectionEngineControl resource.
1738
+ *
1739
+ * @param {string} projectLocationCollectionEngineControlName
1740
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1741
+ * @returns {string} A string representing the control.
1742
+ */
1743
+ matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1744
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
1745
+ }
1353
1746
  /**
1354
1747
  * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1355
1748
  *
@@ -1419,6 +1812,156 @@ class DataStoreServiceClient {
1419
1812
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1420
1813
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1421
1814
  }
1815
+ /**
1816
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1817
+ *
1818
+ * @param {string} project
1819
+ * @param {string} location
1820
+ * @param {string} collection
1821
+ * @param {string} engine
1822
+ * @param {string} session
1823
+ * @returns {string} Resource name string.
1824
+ */
1825
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1826
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1827
+ project: project,
1828
+ location: location,
1829
+ collection: collection,
1830
+ engine: engine,
1831
+ session: session,
1832
+ });
1833
+ }
1834
+ /**
1835
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1836
+ *
1837
+ * @param {string} projectLocationCollectionEngineSessionName
1838
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1839
+ * @returns {string} A string representing the project.
1840
+ */
1841
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1842
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1843
+ }
1844
+ /**
1845
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1846
+ *
1847
+ * @param {string} projectLocationCollectionEngineSessionName
1848
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1849
+ * @returns {string} A string representing the location.
1850
+ */
1851
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1852
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1853
+ }
1854
+ /**
1855
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1856
+ *
1857
+ * @param {string} projectLocationCollectionEngineSessionName
1858
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1859
+ * @returns {string} A string representing the collection.
1860
+ */
1861
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1862
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1863
+ }
1864
+ /**
1865
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1866
+ *
1867
+ * @param {string} projectLocationCollectionEngineSessionName
1868
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1869
+ * @returns {string} A string representing the engine.
1870
+ */
1871
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1872
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1873
+ }
1874
+ /**
1875
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1876
+ *
1877
+ * @param {string} projectLocationCollectionEngineSessionName
1878
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1879
+ * @returns {string} A string representing the session.
1880
+ */
1881
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1882
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1883
+ }
1884
+ /**
1885
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1886
+ *
1887
+ * @param {string} project
1888
+ * @param {string} location
1889
+ * @param {string} collection
1890
+ * @param {string} engine
1891
+ * @param {string} session
1892
+ * @param {string} answer
1893
+ * @returns {string} Resource name string.
1894
+ */
1895
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1896
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1897
+ project: project,
1898
+ location: location,
1899
+ collection: collection,
1900
+ engine: engine,
1901
+ session: session,
1902
+ answer: answer,
1903
+ });
1904
+ }
1905
+ /**
1906
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1907
+ *
1908
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1909
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1910
+ * @returns {string} A string representing the project.
1911
+ */
1912
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1913
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1914
+ }
1915
+ /**
1916
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1917
+ *
1918
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1919
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1920
+ * @returns {string} A string representing the location.
1921
+ */
1922
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1923
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1924
+ }
1925
+ /**
1926
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1927
+ *
1928
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1929
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1930
+ * @returns {string} A string representing the collection.
1931
+ */
1932
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1933
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1934
+ }
1935
+ /**
1936
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1937
+ *
1938
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1939
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1940
+ * @returns {string} A string representing the engine.
1941
+ */
1942
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1943
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1944
+ }
1945
+ /**
1946
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1947
+ *
1948
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1949
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1950
+ * @returns {string} A string representing the session.
1951
+ */
1952
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1953
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1954
+ }
1955
+ /**
1956
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1957
+ *
1958
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1959
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1960
+ * @returns {string} A string representing the answer.
1961
+ */
1962
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1963
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1964
+ }
1422
1965
  /**
1423
1966
  * Return a fully-qualified projectLocationDataStore resource name string.
1424
1967
  *
@@ -1533,6 +2076,63 @@ class DataStoreServiceClient {
1533
2076
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1534
2077
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1535
2078
  }
2079
+ /**
2080
+ * Return a fully-qualified projectLocationDataStoreControl resource name string.
2081
+ *
2082
+ * @param {string} project
2083
+ * @param {string} location
2084
+ * @param {string} data_store
2085
+ * @param {string} control
2086
+ * @returns {string} Resource name string.
2087
+ */
2088
+ projectLocationDataStoreControlPath(project, location, dataStore, control) {
2089
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
2090
+ project: project,
2091
+ location: location,
2092
+ data_store: dataStore,
2093
+ control: control,
2094
+ });
2095
+ }
2096
+ /**
2097
+ * Parse the project from ProjectLocationDataStoreControl resource.
2098
+ *
2099
+ * @param {string} projectLocationDataStoreControlName
2100
+ * A fully-qualified path representing project_location_data_store_control resource.
2101
+ * @returns {string} A string representing the project.
2102
+ */
2103
+ matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2104
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
2105
+ }
2106
+ /**
2107
+ * Parse the location from ProjectLocationDataStoreControl resource.
2108
+ *
2109
+ * @param {string} projectLocationDataStoreControlName
2110
+ * A fully-qualified path representing project_location_data_store_control resource.
2111
+ * @returns {string} A string representing the location.
2112
+ */
2113
+ matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2114
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
2115
+ }
2116
+ /**
2117
+ * Parse the data_store from ProjectLocationDataStoreControl resource.
2118
+ *
2119
+ * @param {string} projectLocationDataStoreControlName
2120
+ * A fully-qualified path representing project_location_data_store_control resource.
2121
+ * @returns {string} A string representing the data_store.
2122
+ */
2123
+ matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2124
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
2125
+ }
2126
+ /**
2127
+ * Parse the control from ProjectLocationDataStoreControl resource.
2128
+ *
2129
+ * @param {string} projectLocationDataStoreControlName
2130
+ * A fully-qualified path representing project_location_data_store_control resource.
2131
+ * @returns {string} A string representing the control.
2132
+ */
2133
+ matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2134
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
2135
+ }
1536
2136
  /**
1537
2137
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1538
2138
  *
@@ -1590,6 +2190,51 @@ class DataStoreServiceClient {
1590
2190
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1591
2191
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1592
2192
  }
2193
+ /**
2194
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2195
+ *
2196
+ * @param {string} project
2197
+ * @param {string} location
2198
+ * @param {string} data_store
2199
+ * @returns {string} Resource name string.
2200
+ */
2201
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
2202
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
2203
+ project: project,
2204
+ location: location,
2205
+ data_store: dataStore,
2206
+ });
2207
+ }
2208
+ /**
2209
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
2210
+ *
2211
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2212
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2213
+ * @returns {string} A string representing the project.
2214
+ */
2215
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2216
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
2217
+ }
2218
+ /**
2219
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
2220
+ *
2221
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2222
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2223
+ * @returns {string} A string representing the location.
2224
+ */
2225
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2226
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
2227
+ }
2228
+ /**
2229
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
2230
+ *
2231
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2232
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2233
+ * @returns {string} A string representing the data_store.
2234
+ */
2235
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2236
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
2237
+ }
1593
2238
  /**
1594
2239
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1595
2240
  *
@@ -1647,6 +2292,132 @@ class DataStoreServiceClient {
1647
2292
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1648
2293
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1649
2294
  }
2295
+ /**
2296
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2297
+ *
2298
+ * @param {string} project
2299
+ * @param {string} location
2300
+ * @param {string} data_store
2301
+ * @param {string} session
2302
+ * @returns {string} Resource name string.
2303
+ */
2304
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2305
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2306
+ project: project,
2307
+ location: location,
2308
+ data_store: dataStore,
2309
+ session: session,
2310
+ });
2311
+ }
2312
+ /**
2313
+ * Parse the project from ProjectLocationDataStoreSession resource.
2314
+ *
2315
+ * @param {string} projectLocationDataStoreSessionName
2316
+ * A fully-qualified path representing project_location_data_store_session resource.
2317
+ * @returns {string} A string representing the project.
2318
+ */
2319
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2320
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2321
+ }
2322
+ /**
2323
+ * Parse the location from ProjectLocationDataStoreSession resource.
2324
+ *
2325
+ * @param {string} projectLocationDataStoreSessionName
2326
+ * A fully-qualified path representing project_location_data_store_session resource.
2327
+ * @returns {string} A string representing the location.
2328
+ */
2329
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2330
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2331
+ }
2332
+ /**
2333
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2334
+ *
2335
+ * @param {string} projectLocationDataStoreSessionName
2336
+ * A fully-qualified path representing project_location_data_store_session resource.
2337
+ * @returns {string} A string representing the data_store.
2338
+ */
2339
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2340
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2341
+ }
2342
+ /**
2343
+ * Parse the session from ProjectLocationDataStoreSession resource.
2344
+ *
2345
+ * @param {string} projectLocationDataStoreSessionName
2346
+ * A fully-qualified path representing project_location_data_store_session resource.
2347
+ * @returns {string} A string representing the session.
2348
+ */
2349
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2350
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2351
+ }
2352
+ /**
2353
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2354
+ *
2355
+ * @param {string} project
2356
+ * @param {string} location
2357
+ * @param {string} data_store
2358
+ * @param {string} session
2359
+ * @param {string} answer
2360
+ * @returns {string} Resource name string.
2361
+ */
2362
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2363
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2364
+ project: project,
2365
+ location: location,
2366
+ data_store: dataStore,
2367
+ session: session,
2368
+ answer: answer,
2369
+ });
2370
+ }
2371
+ /**
2372
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2373
+ *
2374
+ * @param {string} projectLocationDataStoreSessionAnswerName
2375
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2376
+ * @returns {string} A string representing the project.
2377
+ */
2378
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2379
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2380
+ }
2381
+ /**
2382
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2383
+ *
2384
+ * @param {string} projectLocationDataStoreSessionAnswerName
2385
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2386
+ * @returns {string} A string representing the location.
2387
+ */
2388
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2389
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2390
+ }
2391
+ /**
2392
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2393
+ *
2394
+ * @param {string} projectLocationDataStoreSessionAnswerName
2395
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2396
+ * @returns {string} A string representing the data_store.
2397
+ */
2398
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2399
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2400
+ }
2401
+ /**
2402
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2403
+ *
2404
+ * @param {string} projectLocationDataStoreSessionAnswerName
2405
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2406
+ * @returns {string} A string representing the session.
2407
+ */
2408
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2409
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2410
+ }
2411
+ /**
2412
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2413
+ *
2414
+ * @param {string} projectLocationDataStoreSessionAnswerName
2415
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2416
+ * @returns {string} A string representing the answer.
2417
+ */
2418
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2419
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2420
+ }
1650
2421
  /**
1651
2422
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1652
2423
  *