@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
@@ -151,20 +151,32 @@ class RecommendationServiceClient {
151
151
  // Create useful helper objects for these.
152
152
  this.pathTemplates = {
153
153
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
154
+ projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
154
155
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
155
156
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
157
+ projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
156
158
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
159
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
157
160
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
158
161
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
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}'),
162
168
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
169
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
170
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
163
171
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
164
172
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
173
+ projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
165
174
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
175
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
166
176
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
167
177
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
178
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
179
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
168
180
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
169
181
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
170
182
  };
@@ -415,6 +427,27 @@ class RecommendationServiceClient {
415
427
  matchEngineFromEngineName(engineName) {
416
428
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
417
429
  }
430
+ /**
431
+ * Return a fully-qualified project resource name string.
432
+ *
433
+ * @param {string} project
434
+ * @returns {string} Resource name string.
435
+ */
436
+ projectPath(project) {
437
+ return this.pathTemplates.projectPathTemplate.render({
438
+ project: project,
439
+ });
440
+ }
441
+ /**
442
+ * Parse the project from Project resource.
443
+ *
444
+ * @param {string} projectName
445
+ * A fully-qualified path representing Project resource.
446
+ * @returns {string} A string representing the project.
447
+ */
448
+ matchProjectFromProjectName(projectName) {
449
+ return this.pathTemplates.projectPathTemplate.match(projectName).project;
450
+ }
418
451
  /**
419
452
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
420
453
  *
@@ -553,6 +586,75 @@ class RecommendationServiceClient {
553
586
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
554
587
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
555
588
  }
589
+ /**
590
+ * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
591
+ *
592
+ * @param {string} project
593
+ * @param {string} location
594
+ * @param {string} collection
595
+ * @param {string} data_store
596
+ * @param {string} control
597
+ * @returns {string} Resource name string.
598
+ */
599
+ projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
600
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
601
+ project: project,
602
+ location: location,
603
+ collection: collection,
604
+ data_store: dataStore,
605
+ control: control,
606
+ });
607
+ }
608
+ /**
609
+ * Parse the project from ProjectLocationCollectionDataStoreControl resource.
610
+ *
611
+ * @param {string} projectLocationCollectionDataStoreControlName
612
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
613
+ * @returns {string} A string representing the project.
614
+ */
615
+ matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
616
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
617
+ }
618
+ /**
619
+ * Parse the location from ProjectLocationCollectionDataStoreControl resource.
620
+ *
621
+ * @param {string} projectLocationCollectionDataStoreControlName
622
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
623
+ * @returns {string} A string representing the location.
624
+ */
625
+ matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
626
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
627
+ }
628
+ /**
629
+ * Parse the collection from ProjectLocationCollectionDataStoreControl resource.
630
+ *
631
+ * @param {string} projectLocationCollectionDataStoreControlName
632
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
633
+ * @returns {string} A string representing the collection.
634
+ */
635
+ matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
636
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
637
+ }
638
+ /**
639
+ * Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
640
+ *
641
+ * @param {string} projectLocationCollectionDataStoreControlName
642
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
643
+ * @returns {string} A string representing the data_store.
644
+ */
645
+ matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
646
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
647
+ }
648
+ /**
649
+ * Parse the control from ProjectLocationCollectionDataStoreControl resource.
650
+ *
651
+ * @param {string} projectLocationCollectionDataStoreControlName
652
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
653
+ * @returns {string} A string representing the control.
654
+ */
655
+ matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
656
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
657
+ }
556
658
  /**
557
659
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
558
660
  *
@@ -622,6 +724,63 @@ class RecommendationServiceClient {
622
724
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
623
725
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
624
726
  }
727
+ /**
728
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
729
+ *
730
+ * @param {string} project
731
+ * @param {string} location
732
+ * @param {string} collection
733
+ * @param {string} data_store
734
+ * @returns {string} Resource name string.
735
+ */
736
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
737
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
738
+ project: project,
739
+ location: location,
740
+ collection: collection,
741
+ data_store: dataStore,
742
+ });
743
+ }
744
+ /**
745
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
746
+ *
747
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
748
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
749
+ * @returns {string} A string representing the project.
750
+ */
751
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
752
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
753
+ }
754
+ /**
755
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
756
+ *
757
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
758
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
759
+ * @returns {string} A string representing the location.
760
+ */
761
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
762
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
763
+ }
764
+ /**
765
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
766
+ *
767
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
768
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
769
+ * @returns {string} A string representing the collection.
770
+ */
771
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
772
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
773
+ }
774
+ /**
775
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
776
+ *
777
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
778
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
779
+ * @returns {string} A string representing the data_store.
780
+ */
781
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
782
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
783
+ }
625
784
  /**
626
785
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
627
786
  *
@@ -760,6 +919,156 @@ class RecommendationServiceClient {
760
919
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
761
920
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
762
921
  }
922
+ /**
923
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
924
+ *
925
+ * @param {string} project
926
+ * @param {string} location
927
+ * @param {string} collection
928
+ * @param {string} data_store
929
+ * @param {string} session
930
+ * @returns {string} Resource name string.
931
+ */
932
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
933
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
934
+ project: project,
935
+ location: location,
936
+ collection: collection,
937
+ data_store: dataStore,
938
+ session: session,
939
+ });
940
+ }
941
+ /**
942
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
943
+ *
944
+ * @param {string} projectLocationCollectionDataStoreSessionName
945
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
946
+ * @returns {string} A string representing the project.
947
+ */
948
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
949
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
950
+ }
951
+ /**
952
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
953
+ *
954
+ * @param {string} projectLocationCollectionDataStoreSessionName
955
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
956
+ * @returns {string} A string representing the location.
957
+ */
958
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
959
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
960
+ }
961
+ /**
962
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
963
+ *
964
+ * @param {string} projectLocationCollectionDataStoreSessionName
965
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
966
+ * @returns {string} A string representing the collection.
967
+ */
968
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
969
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
970
+ }
971
+ /**
972
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
973
+ *
974
+ * @param {string} projectLocationCollectionDataStoreSessionName
975
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
976
+ * @returns {string} A string representing the data_store.
977
+ */
978
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
979
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
980
+ }
981
+ /**
982
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
983
+ *
984
+ * @param {string} projectLocationCollectionDataStoreSessionName
985
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
986
+ * @returns {string} A string representing the session.
987
+ */
988
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
989
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
990
+ }
991
+ /**
992
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
993
+ *
994
+ * @param {string} project
995
+ * @param {string} location
996
+ * @param {string} collection
997
+ * @param {string} data_store
998
+ * @param {string} session
999
+ * @param {string} answer
1000
+ * @returns {string} Resource name string.
1001
+ */
1002
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1003
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1004
+ project: project,
1005
+ location: location,
1006
+ collection: collection,
1007
+ data_store: dataStore,
1008
+ session: session,
1009
+ answer: answer,
1010
+ });
1011
+ }
1012
+ /**
1013
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1014
+ *
1015
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1016
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1017
+ * @returns {string} A string representing the project.
1018
+ */
1019
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1020
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1021
+ }
1022
+ /**
1023
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1024
+ *
1025
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1026
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1027
+ * @returns {string} A string representing the location.
1028
+ */
1029
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1030
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1031
+ }
1032
+ /**
1033
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1034
+ *
1035
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1036
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1037
+ * @returns {string} A string representing the collection.
1038
+ */
1039
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1040
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1041
+ }
1042
+ /**
1043
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1044
+ *
1045
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1046
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1047
+ * @returns {string} A string representing the data_store.
1048
+ */
1049
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1050
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1051
+ }
1052
+ /**
1053
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1054
+ *
1055
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1056
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1057
+ * @returns {string} A string representing the session.
1058
+ */
1059
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1060
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1061
+ }
1062
+ /**
1063
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1064
+ *
1065
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1066
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1067
+ * @returns {string} A string representing the answer.
1068
+ */
1069
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1070
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1071
+ }
763
1072
  /**
764
1073
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
765
1074
  *
@@ -886,6 +1195,75 @@ class RecommendationServiceClient {
886
1195
  matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
887
1196
  return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
888
1197
  }
1198
+ /**
1199
+ * Return a fully-qualified projectLocationCollectionEngineControl resource name string.
1200
+ *
1201
+ * @param {string} project
1202
+ * @param {string} location
1203
+ * @param {string} collection
1204
+ * @param {string} engine
1205
+ * @param {string} control
1206
+ * @returns {string} Resource name string.
1207
+ */
1208
+ projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
1209
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
1210
+ project: project,
1211
+ location: location,
1212
+ collection: collection,
1213
+ engine: engine,
1214
+ control: control,
1215
+ });
1216
+ }
1217
+ /**
1218
+ * Parse the project from ProjectLocationCollectionEngineControl resource.
1219
+ *
1220
+ * @param {string} projectLocationCollectionEngineControlName
1221
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1222
+ * @returns {string} A string representing the project.
1223
+ */
1224
+ matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1225
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
1226
+ }
1227
+ /**
1228
+ * Parse the location from ProjectLocationCollectionEngineControl resource.
1229
+ *
1230
+ * @param {string} projectLocationCollectionEngineControlName
1231
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1232
+ * @returns {string} A string representing the location.
1233
+ */
1234
+ matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1235
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
1236
+ }
1237
+ /**
1238
+ * Parse the collection from ProjectLocationCollectionEngineControl resource.
1239
+ *
1240
+ * @param {string} projectLocationCollectionEngineControlName
1241
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1242
+ * @returns {string} A string representing the collection.
1243
+ */
1244
+ matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1245
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
1246
+ }
1247
+ /**
1248
+ * Parse the engine from ProjectLocationCollectionEngineControl resource.
1249
+ *
1250
+ * @param {string} projectLocationCollectionEngineControlName
1251
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1252
+ * @returns {string} A string representing the engine.
1253
+ */
1254
+ matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1255
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
1256
+ }
1257
+ /**
1258
+ * Parse the control from ProjectLocationCollectionEngineControl resource.
1259
+ *
1260
+ * @param {string} projectLocationCollectionEngineControlName
1261
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1262
+ * @returns {string} A string representing the control.
1263
+ */
1264
+ matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1265
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
1266
+ }
889
1267
  /**
890
1268
  * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
891
1269
  *
@@ -1024,6 +1402,156 @@ class RecommendationServiceClient {
1024
1402
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1025
1403
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1026
1404
  }
1405
+ /**
1406
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1407
+ *
1408
+ * @param {string} project
1409
+ * @param {string} location
1410
+ * @param {string} collection
1411
+ * @param {string} engine
1412
+ * @param {string} session
1413
+ * @returns {string} Resource name string.
1414
+ */
1415
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1416
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1417
+ project: project,
1418
+ location: location,
1419
+ collection: collection,
1420
+ engine: engine,
1421
+ session: session,
1422
+ });
1423
+ }
1424
+ /**
1425
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1426
+ *
1427
+ * @param {string} projectLocationCollectionEngineSessionName
1428
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1429
+ * @returns {string} A string representing the project.
1430
+ */
1431
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1432
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1433
+ }
1434
+ /**
1435
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1436
+ *
1437
+ * @param {string} projectLocationCollectionEngineSessionName
1438
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1439
+ * @returns {string} A string representing the location.
1440
+ */
1441
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1442
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1443
+ }
1444
+ /**
1445
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1446
+ *
1447
+ * @param {string} projectLocationCollectionEngineSessionName
1448
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1449
+ * @returns {string} A string representing the collection.
1450
+ */
1451
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1452
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1453
+ }
1454
+ /**
1455
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1456
+ *
1457
+ * @param {string} projectLocationCollectionEngineSessionName
1458
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1459
+ * @returns {string} A string representing the engine.
1460
+ */
1461
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1462
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1463
+ }
1464
+ /**
1465
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1466
+ *
1467
+ * @param {string} projectLocationCollectionEngineSessionName
1468
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1469
+ * @returns {string} A string representing the session.
1470
+ */
1471
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1472
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1473
+ }
1474
+ /**
1475
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1476
+ *
1477
+ * @param {string} project
1478
+ * @param {string} location
1479
+ * @param {string} collection
1480
+ * @param {string} engine
1481
+ * @param {string} session
1482
+ * @param {string} answer
1483
+ * @returns {string} Resource name string.
1484
+ */
1485
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1486
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1487
+ project: project,
1488
+ location: location,
1489
+ collection: collection,
1490
+ engine: engine,
1491
+ session: session,
1492
+ answer: answer,
1493
+ });
1494
+ }
1495
+ /**
1496
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1497
+ *
1498
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1499
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1500
+ * @returns {string} A string representing the project.
1501
+ */
1502
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1503
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1504
+ }
1505
+ /**
1506
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1507
+ *
1508
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1509
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1510
+ * @returns {string} A string representing the location.
1511
+ */
1512
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1513
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1514
+ }
1515
+ /**
1516
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1517
+ *
1518
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1519
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1520
+ * @returns {string} A string representing the collection.
1521
+ */
1522
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1523
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1524
+ }
1525
+ /**
1526
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1527
+ *
1528
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1529
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1530
+ * @returns {string} A string representing the engine.
1531
+ */
1532
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1533
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1534
+ }
1535
+ /**
1536
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1537
+ *
1538
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1539
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1540
+ * @returns {string} A string representing the session.
1541
+ */
1542
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1543
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1544
+ }
1545
+ /**
1546
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1547
+ *
1548
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1549
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1550
+ * @returns {string} A string representing the answer.
1551
+ */
1552
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1553
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1554
+ }
1027
1555
  /**
1028
1556
  * Return a fully-qualified projectLocationDataStore resource name string.
1029
1557
  *
@@ -1138,6 +1666,63 @@ class RecommendationServiceClient {
1138
1666
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1139
1667
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1140
1668
  }
1669
+ /**
1670
+ * Return a fully-qualified projectLocationDataStoreControl resource name string.
1671
+ *
1672
+ * @param {string} project
1673
+ * @param {string} location
1674
+ * @param {string} data_store
1675
+ * @param {string} control
1676
+ * @returns {string} Resource name string.
1677
+ */
1678
+ projectLocationDataStoreControlPath(project, location, dataStore, control) {
1679
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
1680
+ project: project,
1681
+ location: location,
1682
+ data_store: dataStore,
1683
+ control: control,
1684
+ });
1685
+ }
1686
+ /**
1687
+ * Parse the project from ProjectLocationDataStoreControl resource.
1688
+ *
1689
+ * @param {string} projectLocationDataStoreControlName
1690
+ * A fully-qualified path representing project_location_data_store_control resource.
1691
+ * @returns {string} A string representing the project.
1692
+ */
1693
+ matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
1694
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
1695
+ }
1696
+ /**
1697
+ * Parse the location from ProjectLocationDataStoreControl resource.
1698
+ *
1699
+ * @param {string} projectLocationDataStoreControlName
1700
+ * A fully-qualified path representing project_location_data_store_control resource.
1701
+ * @returns {string} A string representing the location.
1702
+ */
1703
+ matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
1704
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
1705
+ }
1706
+ /**
1707
+ * Parse the data_store from ProjectLocationDataStoreControl resource.
1708
+ *
1709
+ * @param {string} projectLocationDataStoreControlName
1710
+ * A fully-qualified path representing project_location_data_store_control resource.
1711
+ * @returns {string} A string representing the data_store.
1712
+ */
1713
+ matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
1714
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
1715
+ }
1716
+ /**
1717
+ * Parse the control from ProjectLocationDataStoreControl resource.
1718
+ *
1719
+ * @param {string} projectLocationDataStoreControlName
1720
+ * A fully-qualified path representing project_location_data_store_control resource.
1721
+ * @returns {string} A string representing the control.
1722
+ */
1723
+ matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
1724
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
1725
+ }
1141
1726
  /**
1142
1727
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1143
1728
  *
@@ -1195,6 +1780,51 @@ class RecommendationServiceClient {
1195
1780
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1196
1781
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1197
1782
  }
1783
+ /**
1784
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1785
+ *
1786
+ * @param {string} project
1787
+ * @param {string} location
1788
+ * @param {string} data_store
1789
+ * @returns {string} Resource name string.
1790
+ */
1791
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
1792
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
1793
+ project: project,
1794
+ location: location,
1795
+ data_store: dataStore,
1796
+ });
1797
+ }
1798
+ /**
1799
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1800
+ *
1801
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1802
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1803
+ * @returns {string} A string representing the project.
1804
+ */
1805
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1806
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
1807
+ }
1808
+ /**
1809
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1810
+ *
1811
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1812
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1813
+ * @returns {string} A string representing the location.
1814
+ */
1815
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1816
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
1817
+ }
1818
+ /**
1819
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1820
+ *
1821
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1822
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1823
+ * @returns {string} A string representing the data_store.
1824
+ */
1825
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1826
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
1827
+ }
1198
1828
  /**
1199
1829
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1200
1830
  *
@@ -1309,6 +1939,132 @@ class RecommendationServiceClient {
1309
1939
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1310
1940
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1311
1941
  }
1942
+ /**
1943
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
1944
+ *
1945
+ * @param {string} project
1946
+ * @param {string} location
1947
+ * @param {string} data_store
1948
+ * @param {string} session
1949
+ * @returns {string} Resource name string.
1950
+ */
1951
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
1952
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
1953
+ project: project,
1954
+ location: location,
1955
+ data_store: dataStore,
1956
+ session: session,
1957
+ });
1958
+ }
1959
+ /**
1960
+ * Parse the project from ProjectLocationDataStoreSession resource.
1961
+ *
1962
+ * @param {string} projectLocationDataStoreSessionName
1963
+ * A fully-qualified path representing project_location_data_store_session resource.
1964
+ * @returns {string} A string representing the project.
1965
+ */
1966
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
1967
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
1968
+ }
1969
+ /**
1970
+ * Parse the location from ProjectLocationDataStoreSession resource.
1971
+ *
1972
+ * @param {string} projectLocationDataStoreSessionName
1973
+ * A fully-qualified path representing project_location_data_store_session resource.
1974
+ * @returns {string} A string representing the location.
1975
+ */
1976
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
1977
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
1978
+ }
1979
+ /**
1980
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
1981
+ *
1982
+ * @param {string} projectLocationDataStoreSessionName
1983
+ * A fully-qualified path representing project_location_data_store_session resource.
1984
+ * @returns {string} A string representing the data_store.
1985
+ */
1986
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
1987
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
1988
+ }
1989
+ /**
1990
+ * Parse the session from ProjectLocationDataStoreSession resource.
1991
+ *
1992
+ * @param {string} projectLocationDataStoreSessionName
1993
+ * A fully-qualified path representing project_location_data_store_session resource.
1994
+ * @returns {string} A string representing the session.
1995
+ */
1996
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
1997
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
1998
+ }
1999
+ /**
2000
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2001
+ *
2002
+ * @param {string} project
2003
+ * @param {string} location
2004
+ * @param {string} data_store
2005
+ * @param {string} session
2006
+ * @param {string} answer
2007
+ * @returns {string} Resource name string.
2008
+ */
2009
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2010
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2011
+ project: project,
2012
+ location: location,
2013
+ data_store: dataStore,
2014
+ session: session,
2015
+ answer: answer,
2016
+ });
2017
+ }
2018
+ /**
2019
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2020
+ *
2021
+ * @param {string} projectLocationDataStoreSessionAnswerName
2022
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2023
+ * @returns {string} A string representing the project.
2024
+ */
2025
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2026
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2027
+ }
2028
+ /**
2029
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2030
+ *
2031
+ * @param {string} projectLocationDataStoreSessionAnswerName
2032
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2033
+ * @returns {string} A string representing the location.
2034
+ */
2035
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2036
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2037
+ }
2038
+ /**
2039
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2040
+ *
2041
+ * @param {string} projectLocationDataStoreSessionAnswerName
2042
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2043
+ * @returns {string} A string representing the data_store.
2044
+ */
2045
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2046
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2047
+ }
2048
+ /**
2049
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2050
+ *
2051
+ * @param {string} projectLocationDataStoreSessionAnswerName
2052
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2053
+ * @returns {string} A string representing the session.
2054
+ */
2055
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2056
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2057
+ }
2058
+ /**
2059
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2060
+ *
2061
+ * @param {string} projectLocationDataStoreSessionAnswerName
2062
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2063
+ * @returns {string} A string representing the answer.
2064
+ */
2065
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2066
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2067
+ }
1312
2068
  /**
1313
2069
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1314
2070
  *