@google-cloud/discoveryengine 2.2.0 → 2.4.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 (249) hide show
  1. package/README.md +30 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
  10. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
  11. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
  12. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
  15. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
  16. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
  21. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  22. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  23. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
  24. package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  32. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  33. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  34. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  35. package/build/protos/protos.d.ts +21218 -11675
  36. package/build/protos/protos.js +92642 -66407
  37. package/build/protos/protos.json +5854 -2801
  38. package/build/src/index.d.ts +16 -1
  39. package/build/src/index.js +12 -2
  40. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  41. package/build/src/v1/assistant_service_client.js +2957 -0
  42. package/build/src/v1/assistant_service_client_config.json +43 -0
  43. package/build/src/v1/assistant_service_proto_list.json +48 -0
  44. package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
  45. package/build/src/v1/cmek_config_service_client.js +3426 -0
  46. package/build/src/v1/cmek_config_service_client_config.json +42 -0
  47. package/build/src/v1/cmek_config_service_proto_list.json +48 -0
  48. package/build/src/v1/completion_service_client.d.ts +345 -144
  49. package/build/src/v1/completion_service_client.js +482 -198
  50. package/build/src/v1/completion_service_proto_list.json +10 -1
  51. package/build/src/v1/control_service_client.d.ts +345 -144
  52. package/build/src/v1/control_service_client.js +498 -196
  53. package/build/src/v1/control_service_proto_list.json +10 -1
  54. package/build/src/v1/conversational_search_service_client.d.ts +392 -155
  55. package/build/src/v1/conversational_search_service_client.js +572 -204
  56. package/build/src/v1/conversational_search_service_proto_list.json +10 -1
  57. package/build/src/v1/data_store_service_client.d.ts +351 -144
  58. package/build/src/v1/data_store_service_client.js +488 -198
  59. package/build/src/v1/data_store_service_proto_list.json +10 -1
  60. package/build/src/v1/document_service_client.d.ts +345 -144
  61. package/build/src/v1/document_service_client.js +506 -198
  62. package/build/src/v1/document_service_proto_list.json +10 -1
  63. package/build/src/v1/engine_service_client.d.ts +345 -144
  64. package/build/src/v1/engine_service_client.js +488 -198
  65. package/build/src/v1/engine_service_proto_list.json +10 -1
  66. package/build/src/v1/gapic_metadata.json +270 -0
  67. package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
  68. package/build/src/v1/grounded_generation_service_client.js +486 -196
  69. package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
  70. package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
  71. package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
  72. package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
  73. package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
  74. package/build/src/v1/index.d.ts +5 -0
  75. package/build/src/v1/index.js +11 -1
  76. package/build/src/v1/project_service_client.d.ts +345 -144
  77. package/build/src/v1/project_service_client.js +476 -198
  78. package/build/src/v1/project_service_proto_list.json +10 -1
  79. package/build/src/v1/rank_service_client.d.ts +345 -144
  80. package/build/src/v1/rank_service_client.js +480 -196
  81. package/build/src/v1/rank_service_proto_list.json +10 -1
  82. package/build/src/v1/recommendation_service_client.d.ts +345 -144
  83. package/build/src/v1/recommendation_service_client.js +480 -196
  84. package/build/src/v1/recommendation_service_proto_list.json +10 -1
  85. package/build/src/v1/schema_service_client.d.ts +345 -144
  86. package/build/src/v1/schema_service_client.js +482 -198
  87. package/build/src/v1/schema_service_proto_list.json +10 -1
  88. package/build/src/v1/search_service_client.d.ts +393 -228
  89. package/build/src/v1/search_service_client.js +506 -252
  90. package/build/src/v1/search_service_proto_list.json +10 -1
  91. package/build/src/v1/search_tuning_service_client.d.ts +345 -144
  92. package/build/src/v1/search_tuning_service_client.js +482 -198
  93. package/build/src/v1/search_tuning_service_proto_list.json +10 -1
  94. package/build/src/v1/serving_config_service_client.d.ts +345 -144
  95. package/build/src/v1/serving_config_service_client.js +480 -196
  96. package/build/src/v1/serving_config_service_proto_list.json +10 -1
  97. package/build/src/v1/session_service_client.d.ts +2326 -0
  98. package/build/src/v1/session_service_client.js +3218 -0
  99. package/build/src/v1/session_service_client_config.json +63 -0
  100. package/build/src/v1/session_service_proto_list.json +48 -0
  101. package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
  102. package/build/src/v1/site_search_engine_service_client.js +494 -198
  103. package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
  104. package/build/src/v1/user_event_service_client.d.ts +345 -144
  105. package/build/src/v1/user_event_service_client.js +488 -198
  106. package/build/src/v1/user_event_service_proto_list.json +10 -1
  107. package/build/src/v1/user_license_service_client.d.ts +2367 -0
  108. package/build/src/v1/user_license_service_client.js +3346 -0
  109. package/build/src/v1/user_license_service_client_config.json +34 -0
  110. package/build/src/v1/user_license_service_proto_list.json +48 -0
  111. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  112. package/build/src/v1alpha/acl_config_service_client.js +208 -196
  113. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  114. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  115. package/build/src/v1alpha/chunk_service_client.js +202 -196
  116. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  117. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  118. package/build/src/v1alpha/completion_service_client.js +203 -197
  119. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  120. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  121. package/build/src/v1alpha/control_service_client.js +220 -196
  122. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  123. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  124. package/build/src/v1alpha/conversational_search_service_client.js +310 -210
  125. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  126. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  127. package/build/src/v1alpha/data_store_service_client.js +221 -197
  128. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  129. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  130. package/build/src/v1alpha/document_service_client.js +233 -197
  131. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  132. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  133. package/build/src/v1alpha/engine_service_client.js +221 -197
  134. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  135. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  136. package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
  137. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  138. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  139. package/build/src/v1alpha/evaluation_service_client.js +203 -197
  140. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  141. package/build/src/v1alpha/gapic_metadata.json +82 -0
  142. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
  144. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/index.d.ts +1 -0
  146. package/build/src/v1alpha/index.js +3 -1
  147. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  148. package/build/src/v1alpha/project_service_client.js +209 -197
  149. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  150. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  151. package/build/src/v1alpha/rank_service_client.js +202 -196
  152. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  153. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  154. package/build/src/v1alpha/recommendation_service_client.js +202 -196
  155. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  156. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  157. package/build/src/v1alpha/sample_query_service_client.js +221 -197
  158. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  159. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  160. package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
  161. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  162. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  163. package/build/src/v1alpha/schema_service_client.js +203 -197
  164. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  165. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  166. package/build/src/v1alpha/search_service_client.js +212 -224
  167. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  168. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  169. package/build/src/v1alpha/search_tuning_service_client.js +203 -197
  170. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  171. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  172. package/build/src/v1alpha/serving_config_service_client.js +208 -196
  173. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  174. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  175. package/build/src/v1alpha/session_service_client.js +3161 -0
  176. package/build/src/v1alpha/session_service_client_config.json +68 -0
  177. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  178. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  179. package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
  180. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  181. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  182. package/build/src/v1alpha/user_event_service_client.js +209 -197
  183. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  184. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  185. package/build/src/v1beta/completion_service_client.js +209 -197
  186. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  187. package/build/src/v1beta/control_service_client.d.ts +144 -144
  188. package/build/src/v1beta/control_service_client.js +220 -196
  189. package/build/src/v1beta/control_service_proto_list.json +1 -0
  190. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  191. package/build/src/v1beta/conversational_search_service_client.js +308 -208
  192. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  193. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  194. package/build/src/v1beta/data_store_service_client.js +209 -197
  195. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  196. package/build/src/v1beta/document_service_client.d.ts +144 -144
  197. package/build/src/v1beta/document_service_client.js +227 -197
  198. package/build/src/v1beta/document_service_proto_list.json +1 -0
  199. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  200. package/build/src/v1beta/engine_service_client.js +221 -197
  201. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  202. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  203. package/build/src/v1beta/evaluation_service_client.js +203 -197
  204. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  205. package/build/src/v1beta/gapic_metadata.json +68 -0
  206. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  207. package/build/src/v1beta/grounded_generation_service_client.js +208 -196
  208. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  209. package/build/src/v1beta/index.d.ts +1 -0
  210. package/build/src/v1beta/index.js +3 -1
  211. package/build/src/v1beta/project_service_client.d.ts +144 -144
  212. package/build/src/v1beta/project_service_client.js +197 -197
  213. package/build/src/v1beta/project_service_proto_list.json +1 -0
  214. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  215. package/build/src/v1beta/rank_service_client.js +202 -196
  216. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  217. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  218. package/build/src/v1beta/recommendation_service_client.js +202 -196
  219. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  220. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  221. package/build/src/v1beta/sample_query_service_client.js +221 -197
  222. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  223. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  224. package/build/src/v1beta/sample_query_set_service_client.js +220 -196
  225. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  226. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  227. package/build/src/v1beta/schema_service_client.js +203 -197
  228. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  229. package/build/src/v1beta/search_service_client.d.ts +192 -228
  230. package/build/src/v1beta/search_service_client.js +228 -252
  231. package/build/src/v1beta/search_service_proto_list.json +1 -0
  232. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  233. package/build/src/v1beta/search_tuning_service_client.js +203 -197
  234. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  235. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  236. package/build/src/v1beta/serving_config_service_client.js +208 -196
  237. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  238. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  239. package/build/src/v1beta/session_service_client.js +3136 -0
  240. package/build/src/v1beta/session_service_client_config.json +63 -0
  241. package/build/src/v1beta/session_service_proto_list.json +45 -0
  242. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  243. package/build/src/v1beta/site_search_engine_service_client.js +215 -197
  244. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  245. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  246. package/build/src/v1beta/user_event_service_client.js +209 -197
  247. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  248. package/package.json +7 -7
  249. package/CHANGELOG.md +0 -274
@@ -179,15 +179,15 @@ class ControlServiceClient {
179
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
180
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
181
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
182
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
183
182
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
183
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
184
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
185
185
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
186
186
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
187
187
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
188
188
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
189
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
189
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
190
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
191
191
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
192
192
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
193
193
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -197,8 +197,8 @@ class ControlServiceClient {
197
197
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
198
198
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
199
199
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
200
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
200
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
201
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
202
202
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
203
203
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
204
204
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -349,6 +349,12 @@ class ControlServiceClient {
349
349
  ?.then(([response, options, rawResponse]) => {
350
350
  this._log.info('createControl response %j', response);
351
351
  return [response, options, rawResponse];
352
+ }).catch((error) => {
353
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
354
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
355
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
356
+ }
357
+ throw error;
352
358
  });
353
359
  }
354
360
  deleteControl(request, optionsOrCallback, callback) {
@@ -379,6 +385,12 @@ class ControlServiceClient {
379
385
  ?.then(([response, options, rawResponse]) => {
380
386
  this._log.info('deleteControl response %j', response);
381
387
  return [response, options, rawResponse];
388
+ }).catch((error) => {
389
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
390
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
391
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
392
+ }
393
+ throw error;
382
394
  });
383
395
  }
384
396
  updateControl(request, optionsOrCallback, callback) {
@@ -409,6 +421,12 @@ class ControlServiceClient {
409
421
  ?.then(([response, options, rawResponse]) => {
410
422
  this._log.info('updateControl response %j', response);
411
423
  return [response, options, rawResponse];
424
+ }).catch((error) => {
425
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
426
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
427
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
428
+ }
429
+ throw error;
412
430
  });
413
431
  }
414
432
  getControl(request, optionsOrCallback, callback) {
@@ -439,6 +457,12 @@ class ControlServiceClient {
439
457
  ?.then(([response, options, rawResponse]) => {
440
458
  this._log.info('getControl response %j', response);
441
459
  return [response, options, rawResponse];
460
+ }).catch((error) => {
461
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
462
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
463
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
464
+ }
465
+ throw error;
442
466
  });
443
467
  }
444
468
  listControls(request, optionsOrCallback, callback) {
@@ -1448,154 +1472,154 @@ class ControlServiceClient {
1448
1472
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1449
1473
  }
1450
1474
  /**
1451
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1475
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1452
1476
  *
1453
1477
  * @param {string} project
1454
1478
  * @param {string} location
1455
1479
  * @param {string} collection
1456
1480
  * @param {string} data_store
1457
1481
  * @param {string} session
1482
+ * @param {string} answer
1458
1483
  * @returns {string} Resource name string.
1459
1484
  */
1460
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1461
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1485
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1486
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1462
1487
  project: project,
1463
1488
  location: location,
1464
1489
  collection: collection,
1465
1490
  data_store: dataStore,
1466
1491
  session: session,
1492
+ answer: answer,
1467
1493
  });
1468
1494
  }
1469
1495
  /**
1470
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1496
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1471
1497
  *
1472
- * @param {string} projectLocationCollectionDataStoreSessionName
1473
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1498
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1499
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1474
1500
  * @returns {string} A string representing the project.
1475
1501
  */
1476
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1477
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1502
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1503
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1478
1504
  }
1479
1505
  /**
1480
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1506
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1481
1507
  *
1482
- * @param {string} projectLocationCollectionDataStoreSessionName
1483
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1508
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1509
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1484
1510
  * @returns {string} A string representing the location.
1485
1511
  */
1486
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1487
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1512
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1513
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1488
1514
  }
1489
1515
  /**
1490
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1516
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1491
1517
  *
1492
- * @param {string} projectLocationCollectionDataStoreSessionName
1493
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1518
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1519
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1494
1520
  * @returns {string} A string representing the collection.
1495
1521
  */
1496
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1497
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1522
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1523
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1498
1524
  }
1499
1525
  /**
1500
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1526
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1501
1527
  *
1502
- * @param {string} projectLocationCollectionDataStoreSessionName
1503
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1528
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1529
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1504
1530
  * @returns {string} A string representing the data_store.
1505
1531
  */
1506
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1507
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1532
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1533
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1508
1534
  }
1509
1535
  /**
1510
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1536
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1511
1537
  *
1512
- * @param {string} projectLocationCollectionDataStoreSessionName
1513
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1538
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1539
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1514
1540
  * @returns {string} A string representing the session.
1515
1541
  */
1516
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1517
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1542
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1543
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1518
1544
  }
1519
1545
  /**
1520
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1546
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1547
+ *
1548
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1549
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1550
+ * @returns {string} A string representing the answer.
1551
+ */
1552
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1553
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1554
+ }
1555
+ /**
1556
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1521
1557
  *
1522
1558
  * @param {string} project
1523
1559
  * @param {string} location
1524
1560
  * @param {string} collection
1525
1561
  * @param {string} data_store
1526
1562
  * @param {string} session
1527
- * @param {string} answer
1528
1563
  * @returns {string} Resource name string.
1529
1564
  */
1530
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1531
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1565
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1566
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1532
1567
  project: project,
1533
1568
  location: location,
1534
1569
  collection: collection,
1535
1570
  data_store: dataStore,
1536
1571
  session: session,
1537
- answer: answer,
1538
1572
  });
1539
1573
  }
1540
1574
  /**
1541
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1575
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1542
1576
  *
1543
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1544
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1577
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1578
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1545
1579
  * @returns {string} A string representing the project.
1546
1580
  */
1547
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1548
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1581
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1582
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1549
1583
  }
1550
1584
  /**
1551
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1585
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1552
1586
  *
1553
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1554
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1587
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1588
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1555
1589
  * @returns {string} A string representing the location.
1556
1590
  */
1557
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1558
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1591
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1592
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1559
1593
  }
1560
1594
  /**
1561
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1595
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1562
1596
  *
1563
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1564
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1597
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1598
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1565
1599
  * @returns {string} A string representing the collection.
1566
1600
  */
1567
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1568
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1601
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1602
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1569
1603
  }
1570
1604
  /**
1571
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1605
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1572
1606
  *
1573
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1574
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1607
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1608
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1575
1609
  * @returns {string} A string representing the data_store.
1576
1610
  */
1577
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1578
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1611
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1612
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1579
1613
  }
1580
1614
  /**
1581
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1615
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1582
1616
  *
1583
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1584
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1617
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1618
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1585
1619
  * @returns {string} A string representing the session.
1586
1620
  */
1587
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1588
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1589
- }
1590
- /**
1591
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1592
- *
1593
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1594
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1595
- * @returns {string} A string representing the answer.
1596
- */
1597
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1598
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1621
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1622
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1599
1623
  }
1600
1624
  /**
1601
1625
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1931,154 +1955,154 @@ class ControlServiceClient {
1931
1955
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1932
1956
  }
1933
1957
  /**
1934
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1958
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1935
1959
  *
1936
1960
  * @param {string} project
1937
1961
  * @param {string} location
1938
1962
  * @param {string} collection
1939
1963
  * @param {string} engine
1940
1964
  * @param {string} session
1965
+ * @param {string} answer
1941
1966
  * @returns {string} Resource name string.
1942
1967
  */
1943
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1944
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1968
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1969
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1945
1970
  project: project,
1946
1971
  location: location,
1947
1972
  collection: collection,
1948
1973
  engine: engine,
1949
1974
  session: session,
1975
+ answer: answer,
1950
1976
  });
1951
1977
  }
1952
1978
  /**
1953
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1979
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1954
1980
  *
1955
- * @param {string} projectLocationCollectionEngineSessionName
1956
- * A fully-qualified path representing project_location_collection_engine_session resource.
1981
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1982
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1957
1983
  * @returns {string} A string representing the project.
1958
1984
  */
1959
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1960
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1985
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1986
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1961
1987
  }
1962
1988
  /**
1963
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1989
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1964
1990
  *
1965
- * @param {string} projectLocationCollectionEngineSessionName
1966
- * A fully-qualified path representing project_location_collection_engine_session resource.
1991
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1992
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1967
1993
  * @returns {string} A string representing the location.
1968
1994
  */
1969
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1970
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1995
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1996
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1971
1997
  }
1972
1998
  /**
1973
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1999
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1974
2000
  *
1975
- * @param {string} projectLocationCollectionEngineSessionName
1976
- * A fully-qualified path representing project_location_collection_engine_session resource.
2001
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2002
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1977
2003
  * @returns {string} A string representing the collection.
1978
2004
  */
1979
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1980
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2005
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2006
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1981
2007
  }
1982
2008
  /**
1983
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2009
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1984
2010
  *
1985
- * @param {string} projectLocationCollectionEngineSessionName
1986
- * A fully-qualified path representing project_location_collection_engine_session resource.
2011
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2012
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1987
2013
  * @returns {string} A string representing the engine.
1988
2014
  */
1989
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1990
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2015
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2016
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1991
2017
  }
1992
2018
  /**
1993
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2019
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1994
2020
  *
1995
- * @param {string} projectLocationCollectionEngineSessionName
1996
- * A fully-qualified path representing project_location_collection_engine_session resource.
2021
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2022
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1997
2023
  * @returns {string} A string representing the session.
1998
2024
  */
1999
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2000
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2025
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2026
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2001
2027
  }
2002
2028
  /**
2003
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2029
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2030
+ *
2031
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2032
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2033
+ * @returns {string} A string representing the answer.
2034
+ */
2035
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2036
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2037
+ }
2038
+ /**
2039
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2004
2040
  *
2005
2041
  * @param {string} project
2006
2042
  * @param {string} location
2007
2043
  * @param {string} collection
2008
2044
  * @param {string} engine
2009
2045
  * @param {string} session
2010
- * @param {string} answer
2011
2046
  * @returns {string} Resource name string.
2012
2047
  */
2013
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2014
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2048
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2049
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2015
2050
  project: project,
2016
2051
  location: location,
2017
2052
  collection: collection,
2018
2053
  engine: engine,
2019
2054
  session: session,
2020
- answer: answer,
2021
2055
  });
2022
2056
  }
2023
2057
  /**
2024
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2058
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2025
2059
  *
2026
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2027
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2060
+ * @param {string} projectLocationCollectionEngineSessionsName
2061
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2028
2062
  * @returns {string} A string representing the project.
2029
2063
  */
2030
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2031
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2064
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2065
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2032
2066
  }
2033
2067
  /**
2034
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2068
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2035
2069
  *
2036
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2037
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2070
+ * @param {string} projectLocationCollectionEngineSessionsName
2071
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2038
2072
  * @returns {string} A string representing the location.
2039
2073
  */
2040
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2041
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2074
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2075
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2042
2076
  }
2043
2077
  /**
2044
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2078
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2045
2079
  *
2046
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2047
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2080
+ * @param {string} projectLocationCollectionEngineSessionsName
2081
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2048
2082
  * @returns {string} A string representing the collection.
2049
2083
  */
2050
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2051
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2084
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2085
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2052
2086
  }
2053
2087
  /**
2054
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2088
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2055
2089
  *
2056
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2057
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2090
+ * @param {string} projectLocationCollectionEngineSessionsName
2091
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2058
2092
  * @returns {string} A string representing the engine.
2059
2093
  */
2060
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2061
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2094
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2095
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2062
2096
  }
2063
2097
  /**
2064
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2098
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2065
2099
  *
2066
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2067
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2100
+ * @param {string} projectLocationCollectionEngineSessionsName
2101
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2068
2102
  * @returns {string} A string representing the session.
2069
2103
  */
2070
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2071
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2072
- }
2073
- /**
2074
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2075
- *
2076
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2077
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2078
- * @returns {string} A string representing the answer.
2079
- */
2080
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2081
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2104
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2105
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2082
2106
  }
2083
2107
  /**
2084
2108
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2605,63 +2629,6 @@ class ControlServiceClient {
2605
2629
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2606
2630
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2607
2631
  }
2608
- /**
2609
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2610
- *
2611
- * @param {string} project
2612
- * @param {string} location
2613
- * @param {string} data_store
2614
- * @param {string} session
2615
- * @returns {string} Resource name string.
2616
- */
2617
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2618
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2619
- project: project,
2620
- location: location,
2621
- data_store: dataStore,
2622
- session: session,
2623
- });
2624
- }
2625
- /**
2626
- * Parse the project from ProjectLocationDataStoreSession resource.
2627
- *
2628
- * @param {string} projectLocationDataStoreSessionName
2629
- * A fully-qualified path representing project_location_data_store_session resource.
2630
- * @returns {string} A string representing the project.
2631
- */
2632
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2633
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2634
- }
2635
- /**
2636
- * Parse the location from ProjectLocationDataStoreSession resource.
2637
- *
2638
- * @param {string} projectLocationDataStoreSessionName
2639
- * A fully-qualified path representing project_location_data_store_session resource.
2640
- * @returns {string} A string representing the location.
2641
- */
2642
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2643
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2644
- }
2645
- /**
2646
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2647
- *
2648
- * @param {string} projectLocationDataStoreSessionName
2649
- * A fully-qualified path representing project_location_data_store_session resource.
2650
- * @returns {string} A string representing the data_store.
2651
- */
2652
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2653
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2654
- }
2655
- /**
2656
- * Parse the session from ProjectLocationDataStoreSession resource.
2657
- *
2658
- * @param {string} projectLocationDataStoreSessionName
2659
- * A fully-qualified path representing project_location_data_store_session resource.
2660
- * @returns {string} A string representing the session.
2661
- */
2662
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2663
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2664
- }
2665
2632
  /**
2666
2633
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2667
2634
  *
@@ -2731,6 +2698,63 @@ class ControlServiceClient {
2731
2698
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2732
2699
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2733
2700
  }
2701
+ /**
2702
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2703
+ *
2704
+ * @param {string} project
2705
+ * @param {string} location
2706
+ * @param {string} data_store
2707
+ * @param {string} session
2708
+ * @returns {string} Resource name string.
2709
+ */
2710
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2711
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2712
+ project: project,
2713
+ location: location,
2714
+ data_store: dataStore,
2715
+ session: session,
2716
+ });
2717
+ }
2718
+ /**
2719
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2720
+ *
2721
+ * @param {string} projectLocationDataStoreSessionsName
2722
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2723
+ * @returns {string} A string representing the project.
2724
+ */
2725
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2726
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2727
+ }
2728
+ /**
2729
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2730
+ *
2731
+ * @param {string} projectLocationDataStoreSessionsName
2732
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2733
+ * @returns {string} A string representing the location.
2734
+ */
2735
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2736
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2737
+ }
2738
+ /**
2739
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2740
+ *
2741
+ * @param {string} projectLocationDataStoreSessionsName
2742
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2743
+ * @returns {string} A string representing the data_store.
2744
+ */
2745
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2746
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2747
+ }
2748
+ /**
2749
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2750
+ *
2751
+ * @param {string} projectLocationDataStoreSessionsName
2752
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2753
+ * @returns {string} A string representing the session.
2754
+ */
2755
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2756
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2757
+ }
2734
2758
  /**
2735
2759
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2736
2760
  *