@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
@@ -163,6 +163,8 @@ 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}'),
168
170
  identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
@@ -179,16 +181,16 @@ class GroundedGenerationServiceClient {
179
181
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
180
182
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
181
183
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
182
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
183
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}'),
184
186
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
185
187
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
186
188
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
187
189
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
188
190
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
189
191
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
190
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
191
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}'),
192
194
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
193
195
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
194
196
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -198,8 +200,8 @@ class GroundedGenerationServiceClient {
198
200
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
199
201
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
200
202
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
201
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
202
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}'),
203
205
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
204
206
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
205
207
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -476,6 +478,156 @@ class GroundedGenerationServiceClient {
476
478
  // --------------------
477
479
  // -- Path templates --
478
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
+ }
479
631
  /**
480
632
  * Return a fully-qualified engine resource name string.
481
633
  *
@@ -1389,154 +1541,154 @@ class GroundedGenerationServiceClient {
1389
1541
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1390
1542
  }
1391
1543
  /**
1392
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1544
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1393
1545
  *
1394
1546
  * @param {string} project
1395
1547
  * @param {string} location
1396
1548
  * @param {string} collection
1397
1549
  * @param {string} data_store
1398
1550
  * @param {string} session
1551
+ * @param {string} answer
1399
1552
  * @returns {string} Resource name string.
1400
1553
  */
1401
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1402
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1554
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1555
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1403
1556
  project: project,
1404
1557
  location: location,
1405
1558
  collection: collection,
1406
1559
  data_store: dataStore,
1407
1560
  session: session,
1561
+ answer: answer,
1408
1562
  });
1409
1563
  }
1410
1564
  /**
1411
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1565
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1412
1566
  *
1413
- * @param {string} projectLocationCollectionDataStoreSessionName
1414
- * 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.
1415
1569
  * @returns {string} A string representing the project.
1416
1570
  */
1417
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1418
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1571
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1572
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1419
1573
  }
1420
1574
  /**
1421
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1575
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1422
1576
  *
1423
- * @param {string} projectLocationCollectionDataStoreSessionName
1424
- * 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.
1425
1579
  * @returns {string} A string representing the location.
1426
1580
  */
1427
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1428
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1581
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1582
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1429
1583
  }
1430
1584
  /**
1431
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1585
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1432
1586
  *
1433
- * @param {string} projectLocationCollectionDataStoreSessionName
1434
- * 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.
1435
1589
  * @returns {string} A string representing the collection.
1436
1590
  */
1437
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1438
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1591
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1592
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1439
1593
  }
1440
1594
  /**
1441
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1595
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1442
1596
  *
1443
- * @param {string} projectLocationCollectionDataStoreSessionName
1444
- * 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.
1445
1599
  * @returns {string} A string representing the data_store.
1446
1600
  */
1447
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1448
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1601
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1602
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1449
1603
  }
1450
1604
  /**
1451
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1605
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1452
1606
  *
1453
- * @param {string} projectLocationCollectionDataStoreSessionName
1454
- * 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.
1455
1609
  * @returns {string} A string representing the session.
1456
1610
  */
1457
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1458
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1611
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1612
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1459
1613
  }
1460
1614
  /**
1461
- * 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.
1462
1626
  *
1463
1627
  * @param {string} project
1464
1628
  * @param {string} location
1465
1629
  * @param {string} collection
1466
1630
  * @param {string} data_store
1467
1631
  * @param {string} session
1468
- * @param {string} answer
1469
1632
  * @returns {string} Resource name string.
1470
1633
  */
1471
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1472
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1634
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1635
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1473
1636
  project: project,
1474
1637
  location: location,
1475
1638
  collection: collection,
1476
1639
  data_store: dataStore,
1477
1640
  session: session,
1478
- answer: answer,
1479
1641
  });
1480
1642
  }
1481
1643
  /**
1482
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1644
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1483
1645
  *
1484
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1485
- * 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.
1486
1648
  * @returns {string} A string representing the project.
1487
1649
  */
1488
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1489
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1650
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1651
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1490
1652
  }
1491
1653
  /**
1492
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1654
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1493
1655
  *
1494
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1495
- * 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.
1496
1658
  * @returns {string} A string representing the location.
1497
1659
  */
1498
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1499
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1660
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1661
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1500
1662
  }
1501
1663
  /**
1502
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1664
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1503
1665
  *
1504
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1505
- * 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.
1506
1668
  * @returns {string} A string representing the collection.
1507
1669
  */
1508
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1509
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1670
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1671
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1510
1672
  }
1511
1673
  /**
1512
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1674
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1513
1675
  *
1514
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1515
- * 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.
1516
1678
  * @returns {string} A string representing the data_store.
1517
1679
  */
1518
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1519
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1680
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1681
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1520
1682
  }
1521
1683
  /**
1522
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1684
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1523
1685
  *
1524
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1525
- * 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.
1526
1688
  * @returns {string} A string representing the session.
1527
1689
  */
1528
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1529
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1530
- }
1531
- /**
1532
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1533
- *
1534
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1535
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1536
- * @returns {string} A string representing the answer.
1537
- */
1538
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1539
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1690
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1691
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1540
1692
  }
1541
1693
  /**
1542
1694
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1941,154 +2093,154 @@ class GroundedGenerationServiceClient {
1941
2093
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1942
2094
  }
1943
2095
  /**
1944
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2096
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1945
2097
  *
1946
2098
  * @param {string} project
1947
2099
  * @param {string} location
1948
2100
  * @param {string} collection
1949
2101
  * @param {string} engine
1950
2102
  * @param {string} session
2103
+ * @param {string} answer
1951
2104
  * @returns {string} Resource name string.
1952
2105
  */
1953
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1954
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2106
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2107
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1955
2108
  project: project,
1956
2109
  location: location,
1957
2110
  collection: collection,
1958
2111
  engine: engine,
1959
2112
  session: session,
2113
+ answer: answer,
1960
2114
  });
1961
2115
  }
1962
2116
  /**
1963
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2117
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1964
2118
  *
1965
- * @param {string} projectLocationCollectionEngineSessionName
1966
- * 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.
1967
2121
  * @returns {string} A string representing the project.
1968
2122
  */
1969
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1970
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2123
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2124
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1971
2125
  }
1972
2126
  /**
1973
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2127
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1974
2128
  *
1975
- * @param {string} projectLocationCollectionEngineSessionName
1976
- * 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.
1977
2131
  * @returns {string} A string representing the location.
1978
2132
  */
1979
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1980
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2133
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2134
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1981
2135
  }
1982
2136
  /**
1983
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2137
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1984
2138
  *
1985
- * @param {string} projectLocationCollectionEngineSessionName
1986
- * 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.
1987
2141
  * @returns {string} A string representing the collection.
1988
2142
  */
1989
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1990
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2143
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2144
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1991
2145
  }
1992
2146
  /**
1993
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2147
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1994
2148
  *
1995
- * @param {string} projectLocationCollectionEngineSessionName
1996
- * 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.
1997
2151
  * @returns {string} A string representing the engine.
1998
2152
  */
1999
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2000
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2153
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2154
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2001
2155
  }
2002
2156
  /**
2003
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2157
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2004
2158
  *
2005
- * @param {string} projectLocationCollectionEngineSessionName
2006
- * 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.
2007
2161
  * @returns {string} A string representing the session.
2008
2162
  */
2009
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2010
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2163
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2164
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2011
2165
  }
2012
2166
  /**
2013
- * 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.
2014
2178
  *
2015
2179
  * @param {string} project
2016
2180
  * @param {string} location
2017
2181
  * @param {string} collection
2018
2182
  * @param {string} engine
2019
2183
  * @param {string} session
2020
- * @param {string} answer
2021
2184
  * @returns {string} Resource name string.
2022
2185
  */
2023
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2024
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2186
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2187
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2025
2188
  project: project,
2026
2189
  location: location,
2027
2190
  collection: collection,
2028
2191
  engine: engine,
2029
2192
  session: session,
2030
- answer: answer,
2031
2193
  });
2032
2194
  }
2033
2195
  /**
2034
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2196
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2035
2197
  *
2036
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2037
- * 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.
2038
2200
  * @returns {string} A string representing the project.
2039
2201
  */
2040
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2041
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2202
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2203
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2042
2204
  }
2043
2205
  /**
2044
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2206
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2045
2207
  *
2046
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2047
- * 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.
2048
2210
  * @returns {string} A string representing the location.
2049
2211
  */
2050
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2051
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2212
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2213
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2052
2214
  }
2053
2215
  /**
2054
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2216
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2055
2217
  *
2056
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2057
- * 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.
2058
2220
  * @returns {string} A string representing the collection.
2059
2221
  */
2060
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2061
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2222
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2223
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2062
2224
  }
2063
2225
  /**
2064
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2226
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2065
2227
  *
2066
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2067
- * 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.
2068
2230
  * @returns {string} A string representing the engine.
2069
2231
  */
2070
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2071
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2232
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2233
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2072
2234
  }
2073
2235
  /**
2074
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2236
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2075
2237
  *
2076
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2077
- * 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.
2078
2240
  * @returns {string} A string representing the session.
2079
2241
  */
2080
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2081
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2082
- }
2083
- /**
2084
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2085
- *
2086
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2087
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2088
- * @returns {string} A string representing the answer.
2089
- */
2090
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2091
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2242
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2243
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2092
2244
  }
2093
2245
  /**
2094
2246
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2615,63 +2767,6 @@ class GroundedGenerationServiceClient {
2615
2767
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2616
2768
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2617
2769
  }
2618
- /**
2619
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2620
- *
2621
- * @param {string} project
2622
- * @param {string} location
2623
- * @param {string} data_store
2624
- * @param {string} session
2625
- * @returns {string} Resource name string.
2626
- */
2627
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2628
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2629
- project: project,
2630
- location: location,
2631
- data_store: dataStore,
2632
- session: session,
2633
- });
2634
- }
2635
- /**
2636
- * Parse the project from ProjectLocationDataStoreSession resource.
2637
- *
2638
- * @param {string} projectLocationDataStoreSessionName
2639
- * A fully-qualified path representing project_location_data_store_session resource.
2640
- * @returns {string} A string representing the project.
2641
- */
2642
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2643
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2644
- }
2645
- /**
2646
- * Parse the location from ProjectLocationDataStoreSession resource.
2647
- *
2648
- * @param {string} projectLocationDataStoreSessionName
2649
- * A fully-qualified path representing project_location_data_store_session resource.
2650
- * @returns {string} A string representing the location.
2651
- */
2652
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2653
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2654
- }
2655
- /**
2656
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2657
- *
2658
- * @param {string} projectLocationDataStoreSessionName
2659
- * A fully-qualified path representing project_location_data_store_session resource.
2660
- * @returns {string} A string representing the data_store.
2661
- */
2662
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2663
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2664
- }
2665
- /**
2666
- * Parse the session from ProjectLocationDataStoreSession resource.
2667
- *
2668
- * @param {string} projectLocationDataStoreSessionName
2669
- * A fully-qualified path representing project_location_data_store_session resource.
2670
- * @returns {string} A string representing the session.
2671
- */
2672
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2673
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2674
- }
2675
2770
  /**
2676
2771
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2677
2772
  *
@@ -2741,6 +2836,63 @@ class GroundedGenerationServiceClient {
2741
2836
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2742
2837
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2743
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
+ }
2744
2896
  /**
2745
2897
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2746
2898
  *