@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,10 +163,15 @@ class GroundedGenerationServiceClient {
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}'),
167
169
  groundingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/groundingConfigs/{grounding_config}'),
170
+ identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
168
171
  locationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}'),
169
172
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
173
+ projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
174
+ projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
170
175
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
171
176
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
172
177
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -176,16 +181,16 @@ class GroundedGenerationServiceClient {
176
181
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
177
182
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
178
183
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
184
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
185
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
186
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
182
187
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
183
188
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
189
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
190
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
191
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
192
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
193
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
194
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
195
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
191
196
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -195,8 +200,8 @@ class GroundedGenerationServiceClient {
195
200
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
201
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
202
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
203
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
204
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
205
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
206
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
202
207
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -352,6 +357,12 @@ class GroundedGenerationServiceClient {
352
357
  ?.then(([response, options, rawResponse]) => {
353
358
  this._log.info('generateGroundedContent response %j', response);
354
359
  return [response, options, rawResponse];
360
+ }).catch((error) => {
361
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
362
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
363
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
364
+ }
365
+ throw error;
355
366
  });
356
367
  }
357
368
  checkGrounding(request, optionsOrCallback, callback) {
@@ -382,6 +393,12 @@ class GroundedGenerationServiceClient {
382
393
  ?.then(([response, options, rawResponse]) => {
383
394
  this._log.info('checkGrounding response %j', response);
384
395
  return [response, options, rawResponse];
396
+ }).catch((error) => {
397
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
398
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
399
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
400
+ }
401
+ throw error;
385
402
  });
386
403
  }
387
404
  /**
@@ -461,6 +478,156 @@ class GroundedGenerationServiceClient {
461
478
  // --------------------
462
479
  // -- Path templates --
463
480
  // --------------------
481
+ /**
482
+ * Return a fully-qualified assistAnswer resource name string.
483
+ *
484
+ * @param {string} project
485
+ * @param {string} location
486
+ * @param {string} collection
487
+ * @param {string} engine
488
+ * @param {string} session
489
+ * @param {string} assist_answer
490
+ * @returns {string} Resource name string.
491
+ */
492
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
493
+ return this.pathTemplates.assistAnswerPathTemplate.render({
494
+ project: project,
495
+ location: location,
496
+ collection: collection,
497
+ engine: engine,
498
+ session: session,
499
+ assist_answer: assistAnswer,
500
+ });
501
+ }
502
+ /**
503
+ * Parse the project from AssistAnswer resource.
504
+ *
505
+ * @param {string} assistAnswerName
506
+ * A fully-qualified path representing AssistAnswer resource.
507
+ * @returns {string} A string representing the project.
508
+ */
509
+ matchProjectFromAssistAnswerName(assistAnswerName) {
510
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
511
+ }
512
+ /**
513
+ * Parse the location from AssistAnswer resource.
514
+ *
515
+ * @param {string} assistAnswerName
516
+ * A fully-qualified path representing AssistAnswer resource.
517
+ * @returns {string} A string representing the location.
518
+ */
519
+ matchLocationFromAssistAnswerName(assistAnswerName) {
520
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
521
+ }
522
+ /**
523
+ * Parse the collection from AssistAnswer resource.
524
+ *
525
+ * @param {string} assistAnswerName
526
+ * A fully-qualified path representing AssistAnswer resource.
527
+ * @returns {string} A string representing the collection.
528
+ */
529
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
530
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
531
+ }
532
+ /**
533
+ * Parse the engine from AssistAnswer resource.
534
+ *
535
+ * @param {string} assistAnswerName
536
+ * A fully-qualified path representing AssistAnswer resource.
537
+ * @returns {string} A string representing the engine.
538
+ */
539
+ matchEngineFromAssistAnswerName(assistAnswerName) {
540
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
541
+ }
542
+ /**
543
+ * Parse the session from AssistAnswer resource.
544
+ *
545
+ * @param {string} assistAnswerName
546
+ * A fully-qualified path representing AssistAnswer resource.
547
+ * @returns {string} A string representing the session.
548
+ */
549
+ matchSessionFromAssistAnswerName(assistAnswerName) {
550
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
551
+ }
552
+ /**
553
+ * Parse the assist_answer from AssistAnswer resource.
554
+ *
555
+ * @param {string} assistAnswerName
556
+ * A fully-qualified path representing AssistAnswer resource.
557
+ * @returns {string} A string representing the assist_answer.
558
+ */
559
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
560
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
561
+ }
562
+ /**
563
+ * Return a fully-qualified assistant resource name string.
564
+ *
565
+ * @param {string} project
566
+ * @param {string} location
567
+ * @param {string} collection
568
+ * @param {string} engine
569
+ * @param {string} assistant
570
+ * @returns {string} Resource name string.
571
+ */
572
+ assistantPath(project, location, collection, engine, assistant) {
573
+ return this.pathTemplates.assistantPathTemplate.render({
574
+ project: project,
575
+ location: location,
576
+ collection: collection,
577
+ engine: engine,
578
+ assistant: assistant,
579
+ });
580
+ }
581
+ /**
582
+ * Parse the project from Assistant resource.
583
+ *
584
+ * @param {string} assistantName
585
+ * A fully-qualified path representing Assistant resource.
586
+ * @returns {string} A string representing the project.
587
+ */
588
+ matchProjectFromAssistantName(assistantName) {
589
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
590
+ }
591
+ /**
592
+ * Parse the location from Assistant resource.
593
+ *
594
+ * @param {string} assistantName
595
+ * A fully-qualified path representing Assistant resource.
596
+ * @returns {string} A string representing the location.
597
+ */
598
+ matchLocationFromAssistantName(assistantName) {
599
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
600
+ }
601
+ /**
602
+ * Parse the collection from Assistant resource.
603
+ *
604
+ * @param {string} assistantName
605
+ * A fully-qualified path representing Assistant resource.
606
+ * @returns {string} A string representing the collection.
607
+ */
608
+ matchCollectionFromAssistantName(assistantName) {
609
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
610
+ }
611
+ /**
612
+ * Parse the engine from Assistant resource.
613
+ *
614
+ * @param {string} assistantName
615
+ * A fully-qualified path representing Assistant resource.
616
+ * @returns {string} A string representing the engine.
617
+ */
618
+ matchEngineFromAssistantName(assistantName) {
619
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
620
+ }
621
+ /**
622
+ * Parse the assistant from Assistant resource.
623
+ *
624
+ * @param {string} assistantName
625
+ * A fully-qualified path representing Assistant resource.
626
+ * @returns {string} A string representing the assistant.
627
+ */
628
+ matchAssistantFromAssistantName(assistantName) {
629
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
630
+ }
464
631
  /**
465
632
  * Return a fully-qualified engine resource name string.
466
633
  *
@@ -563,6 +730,51 @@ class GroundedGenerationServiceClient {
563
730
  matchGroundingConfigFromGroundingConfigName(groundingConfigName) {
564
731
  return this.pathTemplates.groundingConfigPathTemplate.match(groundingConfigName).grounding_config;
565
732
  }
733
+ /**
734
+ * Return a fully-qualified identityMappingStore resource name string.
735
+ *
736
+ * @param {string} project
737
+ * @param {string} location
738
+ * @param {string} identity_mapping_store
739
+ * @returns {string} Resource name string.
740
+ */
741
+ identityMappingStorePath(project, location, identityMappingStore) {
742
+ return this.pathTemplates.identityMappingStorePathTemplate.render({
743
+ project: project,
744
+ location: location,
745
+ identity_mapping_store: identityMappingStore,
746
+ });
747
+ }
748
+ /**
749
+ * Parse the project from IdentityMappingStore resource.
750
+ *
751
+ * @param {string} identityMappingStoreName
752
+ * A fully-qualified path representing IdentityMappingStore resource.
753
+ * @returns {string} A string representing the project.
754
+ */
755
+ matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
756
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
757
+ }
758
+ /**
759
+ * Parse the location from IdentityMappingStore resource.
760
+ *
761
+ * @param {string} identityMappingStoreName
762
+ * A fully-qualified path representing IdentityMappingStore resource.
763
+ * @returns {string} A string representing the location.
764
+ */
765
+ matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
766
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
767
+ }
768
+ /**
769
+ * Parse the identity_mapping_store from IdentityMappingStore resource.
770
+ *
771
+ * @param {string} identityMappingStoreName
772
+ * A fully-qualified path representing IdentityMappingStore resource.
773
+ * @returns {string} A string representing the identity_mapping_store.
774
+ */
775
+ matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
776
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
777
+ }
566
778
  /**
567
779
  * Return a fully-qualified location resource name string.
568
780
  *
@@ -617,6 +829,84 @@ class GroundedGenerationServiceClient {
617
829
  matchProjectFromProjectName(projectName) {
618
830
  return this.pathTemplates.projectPathTemplate.match(projectName).project;
619
831
  }
832
+ /**
833
+ * Return a fully-qualified projectLocationCmekConfig resource name string.
834
+ *
835
+ * @param {string} project
836
+ * @param {string} location
837
+ * @returns {string} Resource name string.
838
+ */
839
+ projectLocationCmekConfigPath(project, location) {
840
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
841
+ project: project,
842
+ location: location,
843
+ });
844
+ }
845
+ /**
846
+ * Parse the project from ProjectLocationCmekConfig resource.
847
+ *
848
+ * @param {string} projectLocationCmekConfigName
849
+ * A fully-qualified path representing project_location_cmekConfig resource.
850
+ * @returns {string} A string representing the project.
851
+ */
852
+ matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
853
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
854
+ }
855
+ /**
856
+ * Parse the location from ProjectLocationCmekConfig resource.
857
+ *
858
+ * @param {string} projectLocationCmekConfigName
859
+ * A fully-qualified path representing project_location_cmekConfig resource.
860
+ * @returns {string} A string representing the location.
861
+ */
862
+ matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
863
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
864
+ }
865
+ /**
866
+ * Return a fully-qualified projectLocationCmekConfigs resource name string.
867
+ *
868
+ * @param {string} project
869
+ * @param {string} location
870
+ * @param {string} cmek_config
871
+ * @returns {string} Resource name string.
872
+ */
873
+ projectLocationCmekConfigsPath(project, location, cmekConfig) {
874
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
875
+ project: project,
876
+ location: location,
877
+ cmek_config: cmekConfig,
878
+ });
879
+ }
880
+ /**
881
+ * Parse the project from ProjectLocationCmekConfigs resource.
882
+ *
883
+ * @param {string} projectLocationCmekConfigsName
884
+ * A fully-qualified path representing project_location_cmekConfigs resource.
885
+ * @returns {string} A string representing the project.
886
+ */
887
+ matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
888
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
889
+ }
890
+ /**
891
+ * Parse the location from ProjectLocationCmekConfigs resource.
892
+ *
893
+ * @param {string} projectLocationCmekConfigsName
894
+ * A fully-qualified path representing project_location_cmekConfigs resource.
895
+ * @returns {string} A string representing the location.
896
+ */
897
+ matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
898
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
899
+ }
900
+ /**
901
+ * Parse the cmek_config from ProjectLocationCmekConfigs resource.
902
+ *
903
+ * @param {string} projectLocationCmekConfigsName
904
+ * A fully-qualified path representing project_location_cmekConfigs resource.
905
+ * @returns {string} A string representing the cmek_config.
906
+ */
907
+ matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
908
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
909
+ }
620
910
  /**
621
911
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
622
912
  *
@@ -1251,154 +1541,154 @@ class GroundedGenerationServiceClient {
1251
1541
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1252
1542
  }
1253
1543
  /**
1254
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1544
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1255
1545
  *
1256
1546
  * @param {string} project
1257
1547
  * @param {string} location
1258
1548
  * @param {string} collection
1259
1549
  * @param {string} data_store
1260
1550
  * @param {string} session
1551
+ * @param {string} answer
1261
1552
  * @returns {string} Resource name string.
1262
1553
  */
1263
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1264
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1554
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1555
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1265
1556
  project: project,
1266
1557
  location: location,
1267
1558
  collection: collection,
1268
1559
  data_store: dataStore,
1269
1560
  session: session,
1561
+ answer: answer,
1270
1562
  });
1271
1563
  }
1272
1564
  /**
1273
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1565
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1274
1566
  *
1275
- * @param {string} projectLocationCollectionDataStoreSessionName
1276
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1567
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1568
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1277
1569
  * @returns {string} A string representing the project.
1278
1570
  */
1279
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1280
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1571
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1572
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1281
1573
  }
1282
1574
  /**
1283
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1575
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1284
1576
  *
1285
- * @param {string} projectLocationCollectionDataStoreSessionName
1286
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1577
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1578
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1287
1579
  * @returns {string} A string representing the location.
1288
1580
  */
1289
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1290
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1581
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1582
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1291
1583
  }
1292
1584
  /**
1293
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1585
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1294
1586
  *
1295
- * @param {string} projectLocationCollectionDataStoreSessionName
1296
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1587
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1588
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1297
1589
  * @returns {string} A string representing the collection.
1298
1590
  */
1299
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1300
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1591
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1592
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1301
1593
  }
1302
1594
  /**
1303
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1595
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1304
1596
  *
1305
- * @param {string} projectLocationCollectionDataStoreSessionName
1306
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1597
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1598
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1307
1599
  * @returns {string} A string representing the data_store.
1308
1600
  */
1309
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1310
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1601
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1602
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1311
1603
  }
1312
1604
  /**
1313
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1605
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1314
1606
  *
1315
- * @param {string} projectLocationCollectionDataStoreSessionName
1316
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1607
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1608
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1317
1609
  * @returns {string} A string representing the session.
1318
1610
  */
1319
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1320
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1611
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1612
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1321
1613
  }
1322
1614
  /**
1323
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1615
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1616
+ *
1617
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1618
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1619
+ * @returns {string} A string representing the answer.
1620
+ */
1621
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1622
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1623
+ }
1624
+ /**
1625
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1324
1626
  *
1325
1627
  * @param {string} project
1326
1628
  * @param {string} location
1327
1629
  * @param {string} collection
1328
1630
  * @param {string} data_store
1329
1631
  * @param {string} session
1330
- * @param {string} answer
1331
1632
  * @returns {string} Resource name string.
1332
1633
  */
1333
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1334
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1634
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1635
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1335
1636
  project: project,
1336
1637
  location: location,
1337
1638
  collection: collection,
1338
1639
  data_store: dataStore,
1339
1640
  session: session,
1340
- answer: answer,
1341
1641
  });
1342
1642
  }
1343
1643
  /**
1344
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1644
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1345
1645
  *
1346
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1347
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1646
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1647
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1348
1648
  * @returns {string} A string representing the project.
1349
1649
  */
1350
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1351
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1650
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1651
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1352
1652
  }
1353
1653
  /**
1354
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1654
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1355
1655
  *
1356
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1357
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1656
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1657
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1358
1658
  * @returns {string} A string representing the location.
1359
1659
  */
1360
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1361
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1660
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1661
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1362
1662
  }
1363
1663
  /**
1364
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1664
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1365
1665
  *
1366
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1367
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1666
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1667
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1368
1668
  * @returns {string} A string representing the collection.
1369
1669
  */
1370
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1371
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1670
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1671
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1372
1672
  }
1373
1673
  /**
1374
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1674
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1375
1675
  *
1376
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1377
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1676
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1677
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1378
1678
  * @returns {string} A string representing the data_store.
1379
1679
  */
1380
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1381
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1680
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1681
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1382
1682
  }
1383
1683
  /**
1384
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1684
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1385
1685
  *
1386
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1387
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1686
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1687
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1388
1688
  * @returns {string} A string representing the session.
1389
1689
  */
1390
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1391
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1392
- }
1393
- /**
1394
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1395
- *
1396
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1397
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1398
- * @returns {string} A string representing the answer.
1399
- */
1400
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1401
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1690
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1691
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1402
1692
  }
1403
1693
  /**
1404
1694
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1803,154 +2093,154 @@ class GroundedGenerationServiceClient {
1803
2093
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1804
2094
  }
1805
2095
  /**
1806
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2096
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1807
2097
  *
1808
2098
  * @param {string} project
1809
2099
  * @param {string} location
1810
2100
  * @param {string} collection
1811
2101
  * @param {string} engine
1812
2102
  * @param {string} session
2103
+ * @param {string} answer
1813
2104
  * @returns {string} Resource name string.
1814
2105
  */
1815
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1816
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2106
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2107
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1817
2108
  project: project,
1818
2109
  location: location,
1819
2110
  collection: collection,
1820
2111
  engine: engine,
1821
2112
  session: session,
2113
+ answer: answer,
1822
2114
  });
1823
2115
  }
1824
2116
  /**
1825
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2117
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1826
2118
  *
1827
- * @param {string} projectLocationCollectionEngineSessionName
1828
- * A fully-qualified path representing project_location_collection_engine_session resource.
2119
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2120
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1829
2121
  * @returns {string} A string representing the project.
1830
2122
  */
1831
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1832
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2123
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2124
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1833
2125
  }
1834
2126
  /**
1835
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2127
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1836
2128
  *
1837
- * @param {string} projectLocationCollectionEngineSessionName
1838
- * A fully-qualified path representing project_location_collection_engine_session resource.
2129
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2130
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1839
2131
  * @returns {string} A string representing the location.
1840
2132
  */
1841
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1842
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2133
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2134
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1843
2135
  }
1844
2136
  /**
1845
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2137
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1846
2138
  *
1847
- * @param {string} projectLocationCollectionEngineSessionName
1848
- * A fully-qualified path representing project_location_collection_engine_session resource.
2139
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2140
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1849
2141
  * @returns {string} A string representing the collection.
1850
2142
  */
1851
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1852
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2143
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2144
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1853
2145
  }
1854
2146
  /**
1855
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2147
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1856
2148
  *
1857
- * @param {string} projectLocationCollectionEngineSessionName
1858
- * A fully-qualified path representing project_location_collection_engine_session resource.
2149
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2150
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1859
2151
  * @returns {string} A string representing the engine.
1860
2152
  */
1861
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1862
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2153
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2154
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1863
2155
  }
1864
2156
  /**
1865
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2157
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1866
2158
  *
1867
- * @param {string} projectLocationCollectionEngineSessionName
1868
- * A fully-qualified path representing project_location_collection_engine_session resource.
2159
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2160
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1869
2161
  * @returns {string} A string representing the session.
1870
2162
  */
1871
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1872
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2163
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2164
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1873
2165
  }
1874
2166
  /**
1875
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2167
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2168
+ *
2169
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2170
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2171
+ * @returns {string} A string representing the answer.
2172
+ */
2173
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2174
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2175
+ }
2176
+ /**
2177
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1876
2178
  *
1877
2179
  * @param {string} project
1878
2180
  * @param {string} location
1879
2181
  * @param {string} collection
1880
2182
  * @param {string} engine
1881
2183
  * @param {string} session
1882
- * @param {string} answer
1883
2184
  * @returns {string} Resource name string.
1884
2185
  */
1885
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1886
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2186
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2187
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1887
2188
  project: project,
1888
2189
  location: location,
1889
2190
  collection: collection,
1890
2191
  engine: engine,
1891
2192
  session: session,
1892
- answer: answer,
1893
2193
  });
1894
2194
  }
1895
2195
  /**
1896
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2196
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1897
2197
  *
1898
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1899
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2198
+ * @param {string} projectLocationCollectionEngineSessionsName
2199
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1900
2200
  * @returns {string} A string representing the project.
1901
2201
  */
1902
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1903
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2202
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2203
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1904
2204
  }
1905
2205
  /**
1906
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2206
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1907
2207
  *
1908
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1909
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2208
+ * @param {string} projectLocationCollectionEngineSessionsName
2209
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1910
2210
  * @returns {string} A string representing the location.
1911
2211
  */
1912
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1913
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2212
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2213
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1914
2214
  }
1915
2215
  /**
1916
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2216
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1917
2217
  *
1918
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1919
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2218
+ * @param {string} projectLocationCollectionEngineSessionsName
2219
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1920
2220
  * @returns {string} A string representing the collection.
1921
2221
  */
1922
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1923
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2222
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2223
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
1924
2224
  }
1925
2225
  /**
1926
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2226
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
1927
2227
  *
1928
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1929
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2228
+ * @param {string} projectLocationCollectionEngineSessionsName
2229
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1930
2230
  * @returns {string} A string representing the engine.
1931
2231
  */
1932
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1933
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2232
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2233
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
1934
2234
  }
1935
2235
  /**
1936
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2236
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
1937
2237
  *
1938
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1939
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2238
+ * @param {string} projectLocationCollectionEngineSessionsName
2239
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1940
2240
  * @returns {string} A string representing the session.
1941
2241
  */
1942
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1943
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1944
- }
1945
- /**
1946
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1947
- *
1948
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1949
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1950
- * @returns {string} A string representing the answer.
1951
- */
1952
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1953
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2242
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2243
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
1954
2244
  }
1955
2245
  /**
1956
2246
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2477,63 +2767,6 @@ class GroundedGenerationServiceClient {
2477
2767
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2478
2768
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2479
2769
  }
2480
- /**
2481
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2482
- *
2483
- * @param {string} project
2484
- * @param {string} location
2485
- * @param {string} data_store
2486
- * @param {string} session
2487
- * @returns {string} Resource name string.
2488
- */
2489
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2490
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2491
- project: project,
2492
- location: location,
2493
- data_store: dataStore,
2494
- session: session,
2495
- });
2496
- }
2497
- /**
2498
- * Parse the project from ProjectLocationDataStoreSession resource.
2499
- *
2500
- * @param {string} projectLocationDataStoreSessionName
2501
- * A fully-qualified path representing project_location_data_store_session resource.
2502
- * @returns {string} A string representing the project.
2503
- */
2504
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2505
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2506
- }
2507
- /**
2508
- * Parse the location from ProjectLocationDataStoreSession resource.
2509
- *
2510
- * @param {string} projectLocationDataStoreSessionName
2511
- * A fully-qualified path representing project_location_data_store_session resource.
2512
- * @returns {string} A string representing the location.
2513
- */
2514
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2515
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2516
- }
2517
- /**
2518
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2519
- *
2520
- * @param {string} projectLocationDataStoreSessionName
2521
- * A fully-qualified path representing project_location_data_store_session resource.
2522
- * @returns {string} A string representing the data_store.
2523
- */
2524
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2525
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2526
- }
2527
- /**
2528
- * Parse the session from ProjectLocationDataStoreSession resource.
2529
- *
2530
- * @param {string} projectLocationDataStoreSessionName
2531
- * A fully-qualified path representing project_location_data_store_session resource.
2532
- * @returns {string} A string representing the session.
2533
- */
2534
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2535
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2536
- }
2537
2770
  /**
2538
2771
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2539
2772
  *
@@ -2603,6 +2836,63 @@ class GroundedGenerationServiceClient {
2603
2836
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2604
2837
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2605
2838
  }
2839
+ /**
2840
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2841
+ *
2842
+ * @param {string} project
2843
+ * @param {string} location
2844
+ * @param {string} data_store
2845
+ * @param {string} session
2846
+ * @returns {string} Resource name string.
2847
+ */
2848
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2849
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2850
+ project: project,
2851
+ location: location,
2852
+ data_store: dataStore,
2853
+ session: session,
2854
+ });
2855
+ }
2856
+ /**
2857
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2858
+ *
2859
+ * @param {string} projectLocationDataStoreSessionsName
2860
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2861
+ * @returns {string} A string representing the project.
2862
+ */
2863
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2864
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2865
+ }
2866
+ /**
2867
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2868
+ *
2869
+ * @param {string} projectLocationDataStoreSessionsName
2870
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2871
+ * @returns {string} A string representing the location.
2872
+ */
2873
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2874
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2875
+ }
2876
+ /**
2877
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2878
+ *
2879
+ * @param {string} projectLocationDataStoreSessionsName
2880
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2881
+ * @returns {string} A string representing the data_store.
2882
+ */
2883
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2884
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2885
+ }
2886
+ /**
2887
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2888
+ *
2889
+ * @param {string} projectLocationDataStoreSessionsName
2890
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2891
+ * @returns {string} A string representing the session.
2892
+ */
2893
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2894
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2895
+ }
2606
2896
  /**
2607
2897
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2608
2898
  *