@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
@@ -163,8 +163,13 @@ class SearchTuningServiceClient {
163
163
  // identifiers to uniquely identify resources within the API.
164
164
  // Create useful helper objects for these.
165
165
  this.pathTemplates = {
166
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
167
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
166
168
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
169
+ identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
167
170
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
171
+ projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
172
+ projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
168
173
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
169
174
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
170
175
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -174,16 +179,16 @@ class SearchTuningServiceClient {
174
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
175
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
176
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
177
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
178
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}'),
179
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
180
185
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
181
186
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
182
187
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
183
188
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
184
189
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
185
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
186
190
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
191
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
192
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
188
193
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
189
194
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -193,13 +198,13 @@ class SearchTuningServiceClient {
193
198
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
194
199
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
195
200
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
196
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
197
201
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
202
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
203
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
199
204
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
200
205
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
201
206
  };
202
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
207
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
203
208
  // This API contains "long-running operations", which return a
204
209
  // an Operation object that allows for tracking of the operation,
205
210
  // rather than holding a request open.
@@ -209,7 +214,7 @@ class SearchTuningServiceClient {
209
214
  };
210
215
  if (opts.fallback) {
211
216
  lroOptions.protoJson = protoFilesRoot;
212
- lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
217
+ lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
213
218
  }, { selector: 'google.longrunning.Operations.GetOperation', get: '/v1/{name=projects/*/operations/*}', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/operations/*}', }, { get: '/v1/{name=projects/*/operations/*}', }],
214
219
  }, { selector: 'google.longrunning.Operations.ListOperations', get: '/v1/{name=projects/*}/operations', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*}/operations', }, { get: '/v1/{name=projects/*}/operations', }],
215
220
  }];
@@ -359,6 +364,12 @@ class SearchTuningServiceClient {
359
364
  ?.then(([response, options, rawResponse]) => {
360
365
  this._log.info('listCustomModels response %j', response);
361
366
  return [response, options, rawResponse];
367
+ }).catch((error) => {
368
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
369
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
370
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
371
+ }
372
+ throw error;
362
373
  });
363
374
  }
364
375
  trainCustomModel(request, optionsOrCallback, callback) {
@@ -647,6 +658,156 @@ class SearchTuningServiceClient {
647
658
  // --------------------
648
659
  // -- Path templates --
649
660
  // --------------------
661
+ /**
662
+ * Return a fully-qualified assistAnswer resource name string.
663
+ *
664
+ * @param {string} project
665
+ * @param {string} location
666
+ * @param {string} collection
667
+ * @param {string} engine
668
+ * @param {string} session
669
+ * @param {string} assist_answer
670
+ * @returns {string} Resource name string.
671
+ */
672
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
673
+ return this.pathTemplates.assistAnswerPathTemplate.render({
674
+ project: project,
675
+ location: location,
676
+ collection: collection,
677
+ engine: engine,
678
+ session: session,
679
+ assist_answer: assistAnswer,
680
+ });
681
+ }
682
+ /**
683
+ * Parse the project from AssistAnswer resource.
684
+ *
685
+ * @param {string} assistAnswerName
686
+ * A fully-qualified path representing AssistAnswer resource.
687
+ * @returns {string} A string representing the project.
688
+ */
689
+ matchProjectFromAssistAnswerName(assistAnswerName) {
690
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
691
+ }
692
+ /**
693
+ * Parse the location from AssistAnswer resource.
694
+ *
695
+ * @param {string} assistAnswerName
696
+ * A fully-qualified path representing AssistAnswer resource.
697
+ * @returns {string} A string representing the location.
698
+ */
699
+ matchLocationFromAssistAnswerName(assistAnswerName) {
700
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
701
+ }
702
+ /**
703
+ * Parse the collection from AssistAnswer resource.
704
+ *
705
+ * @param {string} assistAnswerName
706
+ * A fully-qualified path representing AssistAnswer resource.
707
+ * @returns {string} A string representing the collection.
708
+ */
709
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
710
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
711
+ }
712
+ /**
713
+ * Parse the engine from AssistAnswer resource.
714
+ *
715
+ * @param {string} assistAnswerName
716
+ * A fully-qualified path representing AssistAnswer resource.
717
+ * @returns {string} A string representing the engine.
718
+ */
719
+ matchEngineFromAssistAnswerName(assistAnswerName) {
720
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
721
+ }
722
+ /**
723
+ * Parse the session from AssistAnswer resource.
724
+ *
725
+ * @param {string} assistAnswerName
726
+ * A fully-qualified path representing AssistAnswer resource.
727
+ * @returns {string} A string representing the session.
728
+ */
729
+ matchSessionFromAssistAnswerName(assistAnswerName) {
730
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
731
+ }
732
+ /**
733
+ * Parse the assist_answer from AssistAnswer resource.
734
+ *
735
+ * @param {string} assistAnswerName
736
+ * A fully-qualified path representing AssistAnswer resource.
737
+ * @returns {string} A string representing the assist_answer.
738
+ */
739
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
740
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
741
+ }
742
+ /**
743
+ * Return a fully-qualified assistant resource name string.
744
+ *
745
+ * @param {string} project
746
+ * @param {string} location
747
+ * @param {string} collection
748
+ * @param {string} engine
749
+ * @param {string} assistant
750
+ * @returns {string} Resource name string.
751
+ */
752
+ assistantPath(project, location, collection, engine, assistant) {
753
+ return this.pathTemplates.assistantPathTemplate.render({
754
+ project: project,
755
+ location: location,
756
+ collection: collection,
757
+ engine: engine,
758
+ assistant: assistant,
759
+ });
760
+ }
761
+ /**
762
+ * Parse the project from Assistant resource.
763
+ *
764
+ * @param {string} assistantName
765
+ * A fully-qualified path representing Assistant resource.
766
+ * @returns {string} A string representing the project.
767
+ */
768
+ matchProjectFromAssistantName(assistantName) {
769
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
770
+ }
771
+ /**
772
+ * Parse the location from Assistant resource.
773
+ *
774
+ * @param {string} assistantName
775
+ * A fully-qualified path representing Assistant resource.
776
+ * @returns {string} A string representing the location.
777
+ */
778
+ matchLocationFromAssistantName(assistantName) {
779
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
780
+ }
781
+ /**
782
+ * Parse the collection from Assistant resource.
783
+ *
784
+ * @param {string} assistantName
785
+ * A fully-qualified path representing Assistant resource.
786
+ * @returns {string} A string representing the collection.
787
+ */
788
+ matchCollectionFromAssistantName(assistantName) {
789
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
790
+ }
791
+ /**
792
+ * Parse the engine from Assistant resource.
793
+ *
794
+ * @param {string} assistantName
795
+ * A fully-qualified path representing Assistant resource.
796
+ * @returns {string} A string representing the engine.
797
+ */
798
+ matchEngineFromAssistantName(assistantName) {
799
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
800
+ }
801
+ /**
802
+ * Parse the assistant from Assistant resource.
803
+ *
804
+ * @param {string} assistantName
805
+ * A fully-qualified path representing Assistant resource.
806
+ * @returns {string} A string representing the assistant.
807
+ */
808
+ matchAssistantFromAssistantName(assistantName) {
809
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
810
+ }
650
811
  /**
651
812
  * Return a fully-qualified engine resource name string.
652
813
  *
@@ -704,6 +865,51 @@ class SearchTuningServiceClient {
704
865
  matchEngineFromEngineName(engineName) {
705
866
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
706
867
  }
868
+ /**
869
+ * Return a fully-qualified identityMappingStore resource name string.
870
+ *
871
+ * @param {string} project
872
+ * @param {string} location
873
+ * @param {string} identity_mapping_store
874
+ * @returns {string} Resource name string.
875
+ */
876
+ identityMappingStorePath(project, location, identityMappingStore) {
877
+ return this.pathTemplates.identityMappingStorePathTemplate.render({
878
+ project: project,
879
+ location: location,
880
+ identity_mapping_store: identityMappingStore,
881
+ });
882
+ }
883
+ /**
884
+ * Parse the project from IdentityMappingStore resource.
885
+ *
886
+ * @param {string} identityMappingStoreName
887
+ * A fully-qualified path representing IdentityMappingStore resource.
888
+ * @returns {string} A string representing the project.
889
+ */
890
+ matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
891
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
892
+ }
893
+ /**
894
+ * Parse the location from IdentityMappingStore resource.
895
+ *
896
+ * @param {string} identityMappingStoreName
897
+ * A fully-qualified path representing IdentityMappingStore resource.
898
+ * @returns {string} A string representing the location.
899
+ */
900
+ matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
901
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
902
+ }
903
+ /**
904
+ * Parse the identity_mapping_store from IdentityMappingStore resource.
905
+ *
906
+ * @param {string} identityMappingStoreName
907
+ * A fully-qualified path representing IdentityMappingStore resource.
908
+ * @returns {string} A string representing the identity_mapping_store.
909
+ */
910
+ matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
911
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
912
+ }
707
913
  /**
708
914
  * Return a fully-qualified project resource name string.
709
915
  *
@@ -725,6 +931,84 @@ class SearchTuningServiceClient {
725
931
  matchProjectFromProjectName(projectName) {
726
932
  return this.pathTemplates.projectPathTemplate.match(projectName).project;
727
933
  }
934
+ /**
935
+ * Return a fully-qualified projectLocationCmekConfig resource name string.
936
+ *
937
+ * @param {string} project
938
+ * @param {string} location
939
+ * @returns {string} Resource name string.
940
+ */
941
+ projectLocationCmekConfigPath(project, location) {
942
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
943
+ project: project,
944
+ location: location,
945
+ });
946
+ }
947
+ /**
948
+ * Parse the project from ProjectLocationCmekConfig resource.
949
+ *
950
+ * @param {string} projectLocationCmekConfigName
951
+ * A fully-qualified path representing project_location_cmekConfig resource.
952
+ * @returns {string} A string representing the project.
953
+ */
954
+ matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
955
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
956
+ }
957
+ /**
958
+ * Parse the location from ProjectLocationCmekConfig resource.
959
+ *
960
+ * @param {string} projectLocationCmekConfigName
961
+ * A fully-qualified path representing project_location_cmekConfig resource.
962
+ * @returns {string} A string representing the location.
963
+ */
964
+ matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
965
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
966
+ }
967
+ /**
968
+ * Return a fully-qualified projectLocationCmekConfigs resource name string.
969
+ *
970
+ * @param {string} project
971
+ * @param {string} location
972
+ * @param {string} cmek_config
973
+ * @returns {string} Resource name string.
974
+ */
975
+ projectLocationCmekConfigsPath(project, location, cmekConfig) {
976
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
977
+ project: project,
978
+ location: location,
979
+ cmek_config: cmekConfig,
980
+ });
981
+ }
982
+ /**
983
+ * Parse the project from ProjectLocationCmekConfigs resource.
984
+ *
985
+ * @param {string} projectLocationCmekConfigsName
986
+ * A fully-qualified path representing project_location_cmekConfigs resource.
987
+ * @returns {string} A string representing the project.
988
+ */
989
+ matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
990
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
991
+ }
992
+ /**
993
+ * Parse the location from ProjectLocationCmekConfigs resource.
994
+ *
995
+ * @param {string} projectLocationCmekConfigsName
996
+ * A fully-qualified path representing project_location_cmekConfigs resource.
997
+ * @returns {string} A string representing the location.
998
+ */
999
+ matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1000
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
1001
+ }
1002
+ /**
1003
+ * Parse the cmek_config from ProjectLocationCmekConfigs resource.
1004
+ *
1005
+ * @param {string} projectLocationCmekConfigsName
1006
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1007
+ * @returns {string} A string representing the cmek_config.
1008
+ */
1009
+ matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1010
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
1011
+ }
728
1012
  /**
729
1013
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
730
1014
  *
@@ -1359,154 +1643,154 @@ class SearchTuningServiceClient {
1359
1643
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1360
1644
  }
1361
1645
  /**
1362
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1646
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1363
1647
  *
1364
1648
  * @param {string} project
1365
1649
  * @param {string} location
1366
1650
  * @param {string} collection
1367
1651
  * @param {string} data_store
1368
1652
  * @param {string} session
1653
+ * @param {string} answer
1369
1654
  * @returns {string} Resource name string.
1370
1655
  */
1371
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1372
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1656
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1657
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1373
1658
  project: project,
1374
1659
  location: location,
1375
1660
  collection: collection,
1376
1661
  data_store: dataStore,
1377
1662
  session: session,
1663
+ answer: answer,
1378
1664
  });
1379
1665
  }
1380
1666
  /**
1381
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1667
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1382
1668
  *
1383
- * @param {string} projectLocationCollectionDataStoreSessionName
1384
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1669
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1670
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1385
1671
  * @returns {string} A string representing the project.
1386
1672
  */
1387
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1388
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1673
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1674
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1389
1675
  }
1390
1676
  /**
1391
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1677
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1392
1678
  *
1393
- * @param {string} projectLocationCollectionDataStoreSessionName
1394
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1679
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1680
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1395
1681
  * @returns {string} A string representing the location.
1396
1682
  */
1397
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1398
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1683
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1684
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1399
1685
  }
1400
1686
  /**
1401
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1687
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1402
1688
  *
1403
- * @param {string} projectLocationCollectionDataStoreSessionName
1404
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1689
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1690
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1405
1691
  * @returns {string} A string representing the collection.
1406
1692
  */
1407
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1408
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1693
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1694
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1409
1695
  }
1410
1696
  /**
1411
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1697
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1412
1698
  *
1413
- * @param {string} projectLocationCollectionDataStoreSessionName
1414
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1699
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1700
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1415
1701
  * @returns {string} A string representing the data_store.
1416
1702
  */
1417
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1418
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1703
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1704
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1419
1705
  }
1420
1706
  /**
1421
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1707
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1422
1708
  *
1423
- * @param {string} projectLocationCollectionDataStoreSessionName
1424
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1709
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1710
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1425
1711
  * @returns {string} A string representing the session.
1426
1712
  */
1427
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1428
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1713
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1714
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1429
1715
  }
1430
1716
  /**
1431
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1717
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1718
+ *
1719
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1720
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1721
+ * @returns {string} A string representing the answer.
1722
+ */
1723
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1724
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1725
+ }
1726
+ /**
1727
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1432
1728
  *
1433
1729
  * @param {string} project
1434
1730
  * @param {string} location
1435
1731
  * @param {string} collection
1436
1732
  * @param {string} data_store
1437
1733
  * @param {string} session
1438
- * @param {string} answer
1439
1734
  * @returns {string} Resource name string.
1440
1735
  */
1441
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1442
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1736
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1737
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1443
1738
  project: project,
1444
1739
  location: location,
1445
1740
  collection: collection,
1446
1741
  data_store: dataStore,
1447
1742
  session: session,
1448
- answer: answer,
1449
1743
  });
1450
1744
  }
1451
1745
  /**
1452
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1746
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1453
1747
  *
1454
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1455
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1748
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1749
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1456
1750
  * @returns {string} A string representing the project.
1457
1751
  */
1458
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1459
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1752
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1753
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1460
1754
  }
1461
1755
  /**
1462
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1756
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1463
1757
  *
1464
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1465
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1758
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1759
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1466
1760
  * @returns {string} A string representing the location.
1467
1761
  */
1468
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1469
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1762
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1763
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1470
1764
  }
1471
1765
  /**
1472
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1766
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1473
1767
  *
1474
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1475
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1768
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1769
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1476
1770
  * @returns {string} A string representing the collection.
1477
1771
  */
1478
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1479
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1772
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1773
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1480
1774
  }
1481
1775
  /**
1482
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1776
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1483
1777
  *
1484
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1485
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1778
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1779
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1486
1780
  * @returns {string} A string representing the data_store.
1487
1781
  */
1488
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1489
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1782
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1783
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1490
1784
  }
1491
1785
  /**
1492
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1786
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1493
1787
  *
1494
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1495
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1788
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1789
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1496
1790
  * @returns {string} A string representing the session.
1497
1791
  */
1498
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1499
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1500
- }
1501
- /**
1502
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1503
- *
1504
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1505
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1506
- * @returns {string} A string representing the answer.
1507
- */
1508
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1509
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1792
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1793
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1510
1794
  }
1511
1795
  /**
1512
1796
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1911,154 +2195,154 @@ class SearchTuningServiceClient {
1911
2195
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1912
2196
  }
1913
2197
  /**
1914
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2198
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1915
2199
  *
1916
2200
  * @param {string} project
1917
2201
  * @param {string} location
1918
2202
  * @param {string} collection
1919
2203
  * @param {string} engine
1920
2204
  * @param {string} session
2205
+ * @param {string} answer
1921
2206
  * @returns {string} Resource name string.
1922
2207
  */
1923
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1924
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2208
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2209
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1925
2210
  project: project,
1926
2211
  location: location,
1927
2212
  collection: collection,
1928
2213
  engine: engine,
1929
2214
  session: session,
2215
+ answer: answer,
1930
2216
  });
1931
2217
  }
1932
2218
  /**
1933
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2219
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1934
2220
  *
1935
- * @param {string} projectLocationCollectionEngineSessionName
1936
- * A fully-qualified path representing project_location_collection_engine_session resource.
2221
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2222
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1937
2223
  * @returns {string} A string representing the project.
1938
2224
  */
1939
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1940
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2225
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2226
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1941
2227
  }
1942
2228
  /**
1943
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2229
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1944
2230
  *
1945
- * @param {string} projectLocationCollectionEngineSessionName
1946
- * A fully-qualified path representing project_location_collection_engine_session resource.
2231
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2232
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1947
2233
  * @returns {string} A string representing the location.
1948
2234
  */
1949
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1950
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2235
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2236
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1951
2237
  }
1952
2238
  /**
1953
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2239
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1954
2240
  *
1955
- * @param {string} projectLocationCollectionEngineSessionName
1956
- * A fully-qualified path representing project_location_collection_engine_session resource.
2241
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2242
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1957
2243
  * @returns {string} A string representing the collection.
1958
2244
  */
1959
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1960
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2245
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2246
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1961
2247
  }
1962
2248
  /**
1963
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2249
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1964
2250
  *
1965
- * @param {string} projectLocationCollectionEngineSessionName
1966
- * A fully-qualified path representing project_location_collection_engine_session resource.
2251
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2252
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1967
2253
  * @returns {string} A string representing the engine.
1968
2254
  */
1969
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1970
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2255
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2256
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1971
2257
  }
1972
2258
  /**
1973
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2259
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1974
2260
  *
1975
- * @param {string} projectLocationCollectionEngineSessionName
1976
- * A fully-qualified path representing project_location_collection_engine_session resource.
2261
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2262
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1977
2263
  * @returns {string} A string representing the session.
1978
2264
  */
1979
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1980
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2265
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2266
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1981
2267
  }
1982
2268
  /**
1983
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2269
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2270
+ *
2271
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2272
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2273
+ * @returns {string} A string representing the answer.
2274
+ */
2275
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2276
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2277
+ }
2278
+ /**
2279
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1984
2280
  *
1985
2281
  * @param {string} project
1986
2282
  * @param {string} location
1987
2283
  * @param {string} collection
1988
2284
  * @param {string} engine
1989
2285
  * @param {string} session
1990
- * @param {string} answer
1991
2286
  * @returns {string} Resource name string.
1992
2287
  */
1993
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1994
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2288
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2289
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1995
2290
  project: project,
1996
2291
  location: location,
1997
2292
  collection: collection,
1998
2293
  engine: engine,
1999
2294
  session: session,
2000
- answer: answer,
2001
2295
  });
2002
2296
  }
2003
2297
  /**
2004
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2298
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2005
2299
  *
2006
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2007
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2300
+ * @param {string} projectLocationCollectionEngineSessionsName
2301
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2008
2302
  * @returns {string} A string representing the project.
2009
2303
  */
2010
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2011
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2304
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2305
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2012
2306
  }
2013
2307
  /**
2014
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2308
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2015
2309
  *
2016
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2017
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2310
+ * @param {string} projectLocationCollectionEngineSessionsName
2311
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2018
2312
  * @returns {string} A string representing the location.
2019
2313
  */
2020
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2021
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2314
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2315
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2022
2316
  }
2023
2317
  /**
2024
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2318
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2025
2319
  *
2026
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2027
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2320
+ * @param {string} projectLocationCollectionEngineSessionsName
2321
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2028
2322
  * @returns {string} A string representing the collection.
2029
2323
  */
2030
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2031
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2324
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2325
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2032
2326
  }
2033
2327
  /**
2034
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2328
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2035
2329
  *
2036
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2037
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2330
+ * @param {string} projectLocationCollectionEngineSessionsName
2331
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2038
2332
  * @returns {string} A string representing the engine.
2039
2333
  */
2040
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2041
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2334
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2335
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2042
2336
  }
2043
2337
  /**
2044
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2338
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2045
2339
  *
2046
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2047
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2340
+ * @param {string} projectLocationCollectionEngineSessionsName
2341
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2048
2342
  * @returns {string} A string representing the session.
2049
2343
  */
2050
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2051
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2052
- }
2053
- /**
2054
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2055
- *
2056
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2057
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2058
- * @returns {string} A string representing the answer.
2059
- */
2060
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2061
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2344
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2345
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2062
2346
  }
2063
2347
  /**
2064
2348
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2585,63 +2869,6 @@ class SearchTuningServiceClient {
2585
2869
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2586
2870
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2587
2871
  }
2588
- /**
2589
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2590
- *
2591
- * @param {string} project
2592
- * @param {string} location
2593
- * @param {string} data_store
2594
- * @param {string} session
2595
- * @returns {string} Resource name string.
2596
- */
2597
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2598
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2599
- project: project,
2600
- location: location,
2601
- data_store: dataStore,
2602
- session: session,
2603
- });
2604
- }
2605
- /**
2606
- * Parse the project from ProjectLocationDataStoreSession resource.
2607
- *
2608
- * @param {string} projectLocationDataStoreSessionName
2609
- * A fully-qualified path representing project_location_data_store_session resource.
2610
- * @returns {string} A string representing the project.
2611
- */
2612
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2613
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2614
- }
2615
- /**
2616
- * Parse the location from ProjectLocationDataStoreSession resource.
2617
- *
2618
- * @param {string} projectLocationDataStoreSessionName
2619
- * A fully-qualified path representing project_location_data_store_session resource.
2620
- * @returns {string} A string representing the location.
2621
- */
2622
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2623
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2624
- }
2625
- /**
2626
- * Parse the data_store 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 data_store.
2631
- */
2632
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2633
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2634
- }
2635
- /**
2636
- * Parse the session 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 session.
2641
- */
2642
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2643
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2644
- }
2645
2872
  /**
2646
2873
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2647
2874
  *
@@ -2711,6 +2938,63 @@ class SearchTuningServiceClient {
2711
2938
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2712
2939
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2713
2940
  }
2941
+ /**
2942
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2943
+ *
2944
+ * @param {string} project
2945
+ * @param {string} location
2946
+ * @param {string} data_store
2947
+ * @param {string} session
2948
+ * @returns {string} Resource name string.
2949
+ */
2950
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2951
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2952
+ project: project,
2953
+ location: location,
2954
+ data_store: dataStore,
2955
+ session: session,
2956
+ });
2957
+ }
2958
+ /**
2959
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2960
+ *
2961
+ * @param {string} projectLocationDataStoreSessionsName
2962
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2963
+ * @returns {string} A string representing the project.
2964
+ */
2965
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2966
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2967
+ }
2968
+ /**
2969
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2970
+ *
2971
+ * @param {string} projectLocationDataStoreSessionsName
2972
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2973
+ * @returns {string} A string representing the location.
2974
+ */
2975
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2976
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2977
+ }
2978
+ /**
2979
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2980
+ *
2981
+ * @param {string} projectLocationDataStoreSessionsName
2982
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2983
+ * @returns {string} A string representing the data_store.
2984
+ */
2985
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2986
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2987
+ }
2988
+ /**
2989
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2990
+ *
2991
+ * @param {string} projectLocationDataStoreSessionsName
2992
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2993
+ * @returns {string} A string representing the session.
2994
+ */
2995
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2996
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2997
+ }
2714
2998
  /**
2715
2999
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2716
3000
  *