@google-cloud/discoveryengine 2.3.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 (228) hide show
  1. package/README.md +17 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
  6. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
  7. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  8. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  16. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  17. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  18. package/build/protos/protos.d.ts +15057 -10636
  19. package/build/protos/protos.js +45523 -34174
  20. package/build/protos/protos.json +4835 -3203
  21. package/build/src/index.d.ts +7 -1
  22. package/build/src/index.js +6 -2
  23. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  24. package/build/src/v1/assistant_service_client.js +2957 -0
  25. package/build/src/v1/assistant_service_client_config.json +43 -0
  26. package/build/src/v1/assistant_service_proto_list.json +48 -0
  27. package/build/src/v1/cmek_config_service_client.d.ts +255 -144
  28. package/build/src/v1/cmek_config_service_client.js +348 -196
  29. package/build/src/v1/cmek_config_service_proto_list.json +4 -0
  30. package/build/src/v1/completion_service_client.d.ts +255 -144
  31. package/build/src/v1/completion_service_client.js +348 -196
  32. package/build/src/v1/completion_service_proto_list.json +4 -0
  33. package/build/src/v1/control_service_client.d.ts +255 -144
  34. package/build/src/v1/control_service_client.js +348 -196
  35. package/build/src/v1/control_service_proto_list.json +4 -0
  36. package/build/src/v1/conversational_search_service_client.d.ts +302 -155
  37. package/build/src/v1/conversational_search_service_client.js +380 -204
  38. package/build/src/v1/conversational_search_service_proto_list.json +4 -0
  39. package/build/src/v1/data_store_service_client.d.ts +255 -144
  40. package/build/src/v1/data_store_service_client.js +348 -196
  41. package/build/src/v1/data_store_service_proto_list.json +4 -0
  42. package/build/src/v1/document_service_client.d.ts +255 -144
  43. package/build/src/v1/document_service_client.js +348 -196
  44. package/build/src/v1/document_service_proto_list.json +4 -0
  45. package/build/src/v1/engine_service_client.d.ts +255 -144
  46. package/build/src/v1/engine_service_client.js +348 -196
  47. package/build/src/v1/engine_service_proto_list.json +4 -0
  48. package/build/src/v1/gapic_metadata.json +86 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
  50. package/build/src/v1/grounded_generation_service_client.js +348 -196
  51. package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
  53. package/build/src/v1/identity_mapping_store_service_client.js +348 -196
  54. package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
  55. package/build/src/v1/index.d.ts +2 -0
  56. package/build/src/v1/index.js +5 -1
  57. package/build/src/v1/project_service_client.d.ts +255 -144
  58. package/build/src/v1/project_service_client.js +348 -196
  59. package/build/src/v1/project_service_proto_list.json +4 -0
  60. package/build/src/v1/rank_service_client.d.ts +255 -144
  61. package/build/src/v1/rank_service_client.js +348 -196
  62. package/build/src/v1/rank_service_proto_list.json +4 -0
  63. package/build/src/v1/recommendation_service_client.d.ts +255 -144
  64. package/build/src/v1/recommendation_service_client.js +348 -196
  65. package/build/src/v1/recommendation_service_proto_list.json +4 -0
  66. package/build/src/v1/schema_service_client.d.ts +255 -144
  67. package/build/src/v1/schema_service_client.js +348 -196
  68. package/build/src/v1/schema_service_proto_list.json +4 -0
  69. package/build/src/v1/search_service_client.d.ts +303 -228
  70. package/build/src/v1/search_service_client.js +380 -252
  71. package/build/src/v1/search_service_proto_list.json +4 -0
  72. package/build/src/v1/search_tuning_service_client.d.ts +255 -144
  73. package/build/src/v1/search_tuning_service_client.js +348 -196
  74. package/build/src/v1/search_tuning_service_proto_list.json +4 -0
  75. package/build/src/v1/serving_config_service_client.d.ts +255 -144
  76. package/build/src/v1/serving_config_service_client.js +348 -196
  77. package/build/src/v1/serving_config_service_proto_list.json +4 -0
  78. package/build/src/v1/session_service_client.d.ts +2326 -0
  79. package/build/src/v1/session_service_client.js +3218 -0
  80. package/build/src/v1/session_service_client_config.json +63 -0
  81. package/build/src/v1/session_service_proto_list.json +48 -0
  82. package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
  83. package/build/src/v1/site_search_engine_service_client.js +348 -196
  84. package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
  85. package/build/src/v1/user_event_service_client.d.ts +255 -144
  86. package/build/src/v1/user_event_service_client.js +348 -196
  87. package/build/src/v1/user_event_service_proto_list.json +4 -0
  88. package/build/src/v1/user_license_service_client.d.ts +255 -144
  89. package/build/src/v1/user_license_service_client.js +348 -196
  90. package/build/src/v1/user_license_service_proto_list.json +4 -0
  91. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  92. package/build/src/v1alpha/acl_config_service_client.js +196 -196
  93. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  94. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  95. package/build/src/v1alpha/chunk_service_client.js +196 -196
  96. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  97. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  98. package/build/src/v1alpha/completion_service_client.js +196 -196
  99. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  100. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  101. package/build/src/v1alpha/control_service_client.js +196 -196
  102. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  103. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  104. package/build/src/v1alpha/conversational_search_service_client.js +244 -210
  105. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  106. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  107. package/build/src/v1alpha/data_store_service_client.js +196 -196
  108. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  109. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  110. package/build/src/v1alpha/document_service_client.js +196 -196
  111. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  112. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  113. package/build/src/v1alpha/engine_service_client.js +196 -196
  114. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  116. package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
  117. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  118. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  119. package/build/src/v1alpha/evaluation_service_client.js +196 -196
  120. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  121. package/build/src/v1alpha/gapic_metadata.json +82 -0
  122. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  123. package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
  124. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  125. package/build/src/v1alpha/index.d.ts +1 -0
  126. package/build/src/v1alpha/index.js +3 -1
  127. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  128. package/build/src/v1alpha/project_service_client.js +196 -196
  129. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  130. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  131. package/build/src/v1alpha/rank_service_client.js +196 -196
  132. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  133. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  134. package/build/src/v1alpha/recommendation_service_client.js +196 -196
  135. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  136. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  137. package/build/src/v1alpha/sample_query_service_client.js +196 -196
  138. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  139. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  140. package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
  141. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  142. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/schema_service_client.js +196 -196
  144. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  146. package/build/src/v1alpha/search_service_client.js +212 -224
  147. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  148. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  149. package/build/src/v1alpha/search_tuning_service_client.js +196 -196
  150. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  151. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  152. package/build/src/v1alpha/serving_config_service_client.js +196 -196
  153. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  154. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  155. package/build/src/v1alpha/session_service_client.js +3161 -0
  156. package/build/src/v1alpha/session_service_client_config.json +68 -0
  157. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  159. package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
  160. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  161. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  162. package/build/src/v1alpha/user_event_service_client.js +196 -196
  163. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  164. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  165. package/build/src/v1beta/completion_service_client.js +196 -196
  166. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  167. package/build/src/v1beta/control_service_client.d.ts +144 -144
  168. package/build/src/v1beta/control_service_client.js +196 -196
  169. package/build/src/v1beta/control_service_proto_list.json +1 -0
  170. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  171. package/build/src/v1beta/conversational_search_service_client.js +242 -208
  172. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  173. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  174. package/build/src/v1beta/data_store_service_client.js +196 -196
  175. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  176. package/build/src/v1beta/document_service_client.d.ts +144 -144
  177. package/build/src/v1beta/document_service_client.js +196 -196
  178. package/build/src/v1beta/document_service_proto_list.json +1 -0
  179. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  180. package/build/src/v1beta/engine_service_client.js +196 -196
  181. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  182. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  183. package/build/src/v1beta/evaluation_service_client.js +196 -196
  184. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  185. package/build/src/v1beta/gapic_metadata.json +68 -0
  186. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  187. package/build/src/v1beta/grounded_generation_service_client.js +196 -196
  188. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  189. package/build/src/v1beta/index.d.ts +1 -0
  190. package/build/src/v1beta/index.js +3 -1
  191. package/build/src/v1beta/project_service_client.d.ts +144 -144
  192. package/build/src/v1beta/project_service_client.js +196 -196
  193. package/build/src/v1beta/project_service_proto_list.json +1 -0
  194. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  195. package/build/src/v1beta/rank_service_client.js +196 -196
  196. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  197. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  198. package/build/src/v1beta/recommendation_service_client.js +196 -196
  199. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  200. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  201. package/build/src/v1beta/sample_query_service_client.js +196 -196
  202. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  203. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  204. package/build/src/v1beta/sample_query_set_service_client.js +196 -196
  205. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  206. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  207. package/build/src/v1beta/schema_service_client.js +196 -196
  208. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  209. package/build/src/v1beta/search_service_client.d.ts +192 -228
  210. package/build/src/v1beta/search_service_client.js +228 -252
  211. package/build/src/v1beta/search_service_proto_list.json +1 -0
  212. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  213. package/build/src/v1beta/search_tuning_service_client.js +196 -196
  214. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  215. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  216. package/build/src/v1beta/serving_config_service_client.js +196 -196
  217. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  218. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  219. package/build/src/v1beta/session_service_client.js +3136 -0
  220. package/build/src/v1beta/session_service_client_config.json +63 -0
  221. package/build/src/v1beta/session_service_proto_list.json +45 -0
  222. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  223. package/build/src/v1beta/site_search_engine_service_client.js +196 -196
  224. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  225. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  226. package/build/src/v1beta/user_event_service_client.js +196 -196
  227. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  228. package/package.json +1 -1
@@ -177,16 +177,16 @@ class GroundedGenerationServiceClient {
177
177
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
178
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
179
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
180
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
180
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
181
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
182
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
184
184
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
185
185
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
186
186
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
187
187
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
188
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
188
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
189
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
190
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
191
191
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
192
192
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -196,8 +196,8 @@ class GroundedGenerationServiceClient {
196
196
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
197
197
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
198
198
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
199
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
199
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
200
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
201
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
202
202
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
203
203
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -1311,154 +1311,154 @@ class GroundedGenerationServiceClient {
1311
1311
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1312
1312
  }
1313
1313
  /**
1314
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1314
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1315
1315
  *
1316
1316
  * @param {string} project
1317
1317
  * @param {string} location
1318
1318
  * @param {string} collection
1319
1319
  * @param {string} data_store
1320
1320
  * @param {string} session
1321
+ * @param {string} answer
1321
1322
  * @returns {string} Resource name string.
1322
1323
  */
1323
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1324
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1324
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1325
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1325
1326
  project: project,
1326
1327
  location: location,
1327
1328
  collection: collection,
1328
1329
  data_store: dataStore,
1329
1330
  session: session,
1331
+ answer: answer,
1330
1332
  });
1331
1333
  }
1332
1334
  /**
1333
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1335
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1334
1336
  *
1335
- * @param {string} projectLocationCollectionDataStoreSessionName
1336
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1337
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1338
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1337
1339
  * @returns {string} A string representing the project.
1338
1340
  */
1339
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1340
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1341
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1342
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1341
1343
  }
1342
1344
  /**
1343
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1345
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1344
1346
  *
1345
- * @param {string} projectLocationCollectionDataStoreSessionName
1346
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1347
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1348
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1347
1349
  * @returns {string} A string representing the location.
1348
1350
  */
1349
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1350
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1351
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1352
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1351
1353
  }
1352
1354
  /**
1353
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1355
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1354
1356
  *
1355
- * @param {string} projectLocationCollectionDataStoreSessionName
1356
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1357
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1358
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1357
1359
  * @returns {string} A string representing the collection.
1358
1360
  */
1359
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1360
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1361
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1362
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1361
1363
  }
1362
1364
  /**
1363
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1365
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1364
1366
  *
1365
- * @param {string} projectLocationCollectionDataStoreSessionName
1366
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1367
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1368
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1367
1369
  * @returns {string} A string representing the data_store.
1368
1370
  */
1369
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1370
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1371
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1372
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1371
1373
  }
1372
1374
  /**
1373
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1375
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1374
1376
  *
1375
- * @param {string} projectLocationCollectionDataStoreSessionName
1376
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1377
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1378
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1377
1379
  * @returns {string} A string representing the session.
1378
1380
  */
1379
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1380
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1381
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1382
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1381
1383
  }
1382
1384
  /**
1383
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1385
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1386
+ *
1387
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1388
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1389
+ * @returns {string} A string representing the answer.
1390
+ */
1391
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1392
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1393
+ }
1394
+ /**
1395
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1384
1396
  *
1385
1397
  * @param {string} project
1386
1398
  * @param {string} location
1387
1399
  * @param {string} collection
1388
1400
  * @param {string} data_store
1389
1401
  * @param {string} session
1390
- * @param {string} answer
1391
1402
  * @returns {string} Resource name string.
1392
1403
  */
1393
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1394
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1404
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1405
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1395
1406
  project: project,
1396
1407
  location: location,
1397
1408
  collection: collection,
1398
1409
  data_store: dataStore,
1399
1410
  session: session,
1400
- answer: answer,
1401
1411
  });
1402
1412
  }
1403
1413
  /**
1404
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1414
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1405
1415
  *
1406
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1407
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1416
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1417
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1408
1418
  * @returns {string} A string representing the project.
1409
1419
  */
1410
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1411
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1420
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1421
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1412
1422
  }
1413
1423
  /**
1414
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1424
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1415
1425
  *
1416
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1417
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1426
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1427
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1418
1428
  * @returns {string} A string representing the location.
1419
1429
  */
1420
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1421
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1430
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1431
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1422
1432
  }
1423
1433
  /**
1424
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1434
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1425
1435
  *
1426
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1427
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1436
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1437
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1428
1438
  * @returns {string} A string representing the collection.
1429
1439
  */
1430
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1431
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1440
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1441
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1432
1442
  }
1433
1443
  /**
1434
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1444
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1435
1445
  *
1436
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1437
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1446
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1447
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1438
1448
  * @returns {string} A string representing the data_store.
1439
1449
  */
1440
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1441
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1450
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1451
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1442
1452
  }
1443
1453
  /**
1444
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1454
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1445
1455
  *
1446
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1447
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1456
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1457
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1448
1458
  * @returns {string} A string representing the session.
1449
1459
  */
1450
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1451
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1452
- }
1453
- /**
1454
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1455
- *
1456
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1457
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1458
- * @returns {string} A string representing the answer.
1459
- */
1460
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1461
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1460
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1461
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1462
1462
  }
1463
1463
  /**
1464
1464
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1863,154 +1863,154 @@ class GroundedGenerationServiceClient {
1863
1863
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1864
1864
  }
1865
1865
  /**
1866
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1866
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1867
1867
  *
1868
1868
  * @param {string} project
1869
1869
  * @param {string} location
1870
1870
  * @param {string} collection
1871
1871
  * @param {string} engine
1872
1872
  * @param {string} session
1873
+ * @param {string} answer
1873
1874
  * @returns {string} Resource name string.
1874
1875
  */
1875
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1876
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1876
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1877
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1877
1878
  project: project,
1878
1879
  location: location,
1879
1880
  collection: collection,
1880
1881
  engine: engine,
1881
1882
  session: session,
1883
+ answer: answer,
1882
1884
  });
1883
1885
  }
1884
1886
  /**
1885
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1887
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1886
1888
  *
1887
- * @param {string} projectLocationCollectionEngineSessionName
1888
- * A fully-qualified path representing project_location_collection_engine_session resource.
1889
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1890
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1889
1891
  * @returns {string} A string representing the project.
1890
1892
  */
1891
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1892
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1893
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1894
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1893
1895
  }
1894
1896
  /**
1895
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1897
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1896
1898
  *
1897
- * @param {string} projectLocationCollectionEngineSessionName
1898
- * A fully-qualified path representing project_location_collection_engine_session resource.
1899
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1900
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1899
1901
  * @returns {string} A string representing the location.
1900
1902
  */
1901
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1902
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1903
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1904
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1903
1905
  }
1904
1906
  /**
1905
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1907
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1906
1908
  *
1907
- * @param {string} projectLocationCollectionEngineSessionName
1908
- * A fully-qualified path representing project_location_collection_engine_session resource.
1909
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1910
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1909
1911
  * @returns {string} A string representing the collection.
1910
1912
  */
1911
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1912
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1913
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1914
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1913
1915
  }
1914
1916
  /**
1915
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
1917
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1916
1918
  *
1917
- * @param {string} projectLocationCollectionEngineSessionName
1918
- * A fully-qualified path representing project_location_collection_engine_session resource.
1919
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1920
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1919
1921
  * @returns {string} A string representing the engine.
1920
1922
  */
1921
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1922
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1923
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1924
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1923
1925
  }
1924
1926
  /**
1925
- * Parse the session from ProjectLocationCollectionEngineSession resource.
1927
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1926
1928
  *
1927
- * @param {string} projectLocationCollectionEngineSessionName
1928
- * A fully-qualified path representing project_location_collection_engine_session resource.
1929
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1930
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1929
1931
  * @returns {string} A string representing the session.
1930
1932
  */
1931
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1932
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1933
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1934
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1933
1935
  }
1934
1936
  /**
1935
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1937
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1938
+ *
1939
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1940
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1941
+ * @returns {string} A string representing the answer.
1942
+ */
1943
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1944
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1945
+ }
1946
+ /**
1947
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1936
1948
  *
1937
1949
  * @param {string} project
1938
1950
  * @param {string} location
1939
1951
  * @param {string} collection
1940
1952
  * @param {string} engine
1941
1953
  * @param {string} session
1942
- * @param {string} answer
1943
1954
  * @returns {string} Resource name string.
1944
1955
  */
1945
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1946
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1956
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
1957
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1947
1958
  project: project,
1948
1959
  location: location,
1949
1960
  collection: collection,
1950
1961
  engine: engine,
1951
1962
  session: session,
1952
- answer: answer,
1953
1963
  });
1954
1964
  }
1955
1965
  /**
1956
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1966
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1957
1967
  *
1958
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1959
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1968
+ * @param {string} projectLocationCollectionEngineSessionsName
1969
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1960
1970
  * @returns {string} A string representing the project.
1961
1971
  */
1962
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1963
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1972
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1973
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1964
1974
  }
1965
1975
  /**
1966
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1976
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1967
1977
  *
1968
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1969
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1978
+ * @param {string} projectLocationCollectionEngineSessionsName
1979
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1970
1980
  * @returns {string} A string representing the location.
1971
1981
  */
1972
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1973
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1982
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1983
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1974
1984
  }
1975
1985
  /**
1976
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1986
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1977
1987
  *
1978
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1979
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1988
+ * @param {string} projectLocationCollectionEngineSessionsName
1989
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1980
1990
  * @returns {string} A string representing the collection.
1981
1991
  */
1982
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1983
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1992
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1993
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
1984
1994
  }
1985
1995
  /**
1986
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1996
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
1987
1997
  *
1988
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1989
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1998
+ * @param {string} projectLocationCollectionEngineSessionsName
1999
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1990
2000
  * @returns {string} A string representing the engine.
1991
2001
  */
1992
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1993
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2002
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2003
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
1994
2004
  }
1995
2005
  /**
1996
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2006
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
1997
2007
  *
1998
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1999
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2008
+ * @param {string} projectLocationCollectionEngineSessionsName
2009
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2000
2010
  * @returns {string} A string representing the session.
2001
2011
  */
2002
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2003
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2004
- }
2005
- /**
2006
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2007
- *
2008
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2009
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2010
- * @returns {string} A string representing the answer.
2011
- */
2012
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2013
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2012
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2013
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2014
2014
  }
2015
2015
  /**
2016
2016
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2537,63 +2537,6 @@ class GroundedGenerationServiceClient {
2537
2537
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2538
2538
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2539
2539
  }
2540
- /**
2541
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2542
- *
2543
- * @param {string} project
2544
- * @param {string} location
2545
- * @param {string} data_store
2546
- * @param {string} session
2547
- * @returns {string} Resource name string.
2548
- */
2549
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2550
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2551
- project: project,
2552
- location: location,
2553
- data_store: dataStore,
2554
- session: session,
2555
- });
2556
- }
2557
- /**
2558
- * Parse the project from ProjectLocationDataStoreSession resource.
2559
- *
2560
- * @param {string} projectLocationDataStoreSessionName
2561
- * A fully-qualified path representing project_location_data_store_session resource.
2562
- * @returns {string} A string representing the project.
2563
- */
2564
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2565
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2566
- }
2567
- /**
2568
- * Parse the location from ProjectLocationDataStoreSession resource.
2569
- *
2570
- * @param {string} projectLocationDataStoreSessionName
2571
- * A fully-qualified path representing project_location_data_store_session resource.
2572
- * @returns {string} A string representing the location.
2573
- */
2574
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2575
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2576
- }
2577
- /**
2578
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2579
- *
2580
- * @param {string} projectLocationDataStoreSessionName
2581
- * A fully-qualified path representing project_location_data_store_session resource.
2582
- * @returns {string} A string representing the data_store.
2583
- */
2584
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2585
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2586
- }
2587
- /**
2588
- * Parse the session from ProjectLocationDataStoreSession resource.
2589
- *
2590
- * @param {string} projectLocationDataStoreSessionName
2591
- * A fully-qualified path representing project_location_data_store_session resource.
2592
- * @returns {string} A string representing the session.
2593
- */
2594
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2595
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2596
- }
2597
2540
  /**
2598
2541
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2599
2542
  *
@@ -2663,6 +2606,63 @@ class GroundedGenerationServiceClient {
2663
2606
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2664
2607
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2665
2608
  }
2609
+ /**
2610
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2611
+ *
2612
+ * @param {string} project
2613
+ * @param {string} location
2614
+ * @param {string} data_store
2615
+ * @param {string} session
2616
+ * @returns {string} Resource name string.
2617
+ */
2618
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2619
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2620
+ project: project,
2621
+ location: location,
2622
+ data_store: dataStore,
2623
+ session: session,
2624
+ });
2625
+ }
2626
+ /**
2627
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2628
+ *
2629
+ * @param {string} projectLocationDataStoreSessionsName
2630
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2631
+ * @returns {string} A string representing the project.
2632
+ */
2633
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2634
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2635
+ }
2636
+ /**
2637
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2638
+ *
2639
+ * @param {string} projectLocationDataStoreSessionsName
2640
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2641
+ * @returns {string} A string representing the location.
2642
+ */
2643
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2644
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2645
+ }
2646
+ /**
2647
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2648
+ *
2649
+ * @param {string} projectLocationDataStoreSessionsName
2650
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2651
+ * @returns {string} A string representing the data_store.
2652
+ */
2653
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2654
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2655
+ }
2656
+ /**
2657
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2658
+ *
2659
+ * @param {string} projectLocationDataStoreSessionsName
2660
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2661
+ * @returns {string} A string representing the session.
2662
+ */
2663
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2664
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2665
+ }
2666
2666
  /**
2667
2667
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2668
2668
  *
@@ -37,6 +37,7 @@
37
37
  "../../protos/google/cloud/discoveryengine/v1beta/serving_config.proto",
38
38
  "../../protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto",
39
39
  "../../protos/google/cloud/discoveryengine/v1beta/session.proto",
40
+ "../../protos/google/cloud/discoveryengine/v1beta/session_service.proto",
40
41
  "../../protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto",
41
42
  "../../protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto",
42
43
  "../../protos/google/cloud/discoveryengine/v1beta/user_event.proto",
@@ -15,5 +15,6 @@ export { SchemaServiceClient } from './schema_service_client';
15
15
  export { SearchServiceClient } from './search_service_client';
16
16
  export { SearchTuningServiceClient } from './search_tuning_service_client';
17
17
  export { ServingConfigServiceClient } from './serving_config_service_client';
18
+ export { SessionServiceClient } from './session_service_client';
18
19
  export { SiteSearchEngineServiceClient } from './site_search_engine_service_client';
19
20
  export { UserEventServiceClient } from './user_event_service_client';