@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
@@ -176,15 +176,15 @@ class GroundedGenerationServiceClient {
176
176
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
177
177
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
178
178
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
179
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
180
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
181
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
182
182
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
183
183
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
184
184
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
185
185
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
186
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
186
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
187
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
188
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
189
189
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
190
190
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -194,8 +194,8 @@ class GroundedGenerationServiceClient {
194
194
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
195
195
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
196
196
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
197
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
197
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
198
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
199
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
200
200
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
201
201
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -1240,154 +1240,154 @@ class GroundedGenerationServiceClient {
1240
1240
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1241
1241
  }
1242
1242
  /**
1243
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1243
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1244
1244
  *
1245
1245
  * @param {string} project
1246
1246
  * @param {string} location
1247
1247
  * @param {string} collection
1248
1248
  * @param {string} data_store
1249
1249
  * @param {string} session
1250
+ * @param {string} answer
1250
1251
  * @returns {string} Resource name string.
1251
1252
  */
1252
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1253
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1253
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1254
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1254
1255
  project: project,
1255
1256
  location: location,
1256
1257
  collection: collection,
1257
1258
  data_store: dataStore,
1258
1259
  session: session,
1260
+ answer: answer,
1259
1261
  });
1260
1262
  }
1261
1263
  /**
1262
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1264
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1263
1265
  *
1264
- * @param {string} projectLocationCollectionDataStoreSessionName
1265
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1266
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1267
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1266
1268
  * @returns {string} A string representing the project.
1267
1269
  */
1268
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1269
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1270
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1271
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1270
1272
  }
1271
1273
  /**
1272
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1274
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1273
1275
  *
1274
- * @param {string} projectLocationCollectionDataStoreSessionName
1275
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1276
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1277
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1276
1278
  * @returns {string} A string representing the location.
1277
1279
  */
1278
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1279
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1280
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1281
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1280
1282
  }
1281
1283
  /**
1282
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1284
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1283
1285
  *
1284
- * @param {string} projectLocationCollectionDataStoreSessionName
1285
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1286
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1287
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1286
1288
  * @returns {string} A string representing the collection.
1287
1289
  */
1288
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1289
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1290
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1291
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1290
1292
  }
1291
1293
  /**
1292
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1294
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1293
1295
  *
1294
- * @param {string} projectLocationCollectionDataStoreSessionName
1295
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1296
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1297
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1296
1298
  * @returns {string} A string representing the data_store.
1297
1299
  */
1298
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1299
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1300
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1301
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1300
1302
  }
1301
1303
  /**
1302
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1304
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1303
1305
  *
1304
- * @param {string} projectLocationCollectionDataStoreSessionName
1305
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1306
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1307
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1306
1308
  * @returns {string} A string representing the session.
1307
1309
  */
1308
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1309
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1310
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1311
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1310
1312
  }
1311
1313
  /**
1312
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1314
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1315
+ *
1316
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1317
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1318
+ * @returns {string} A string representing the answer.
1319
+ */
1320
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1321
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1322
+ }
1323
+ /**
1324
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1313
1325
  *
1314
1326
  * @param {string} project
1315
1327
  * @param {string} location
1316
1328
  * @param {string} collection
1317
1329
  * @param {string} data_store
1318
1330
  * @param {string} session
1319
- * @param {string} answer
1320
1331
  * @returns {string} Resource name string.
1321
1332
  */
1322
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1323
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1333
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1334
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1324
1335
  project: project,
1325
1336
  location: location,
1326
1337
  collection: collection,
1327
1338
  data_store: dataStore,
1328
1339
  session: session,
1329
- answer: answer,
1330
1340
  });
1331
1341
  }
1332
1342
  /**
1333
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1343
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1334
1344
  *
1335
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1336
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1345
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1346
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1337
1347
  * @returns {string} A string representing the project.
1338
1348
  */
1339
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1340
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1349
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1350
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1341
1351
  }
1342
1352
  /**
1343
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1353
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1344
1354
  *
1345
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1346
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1355
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1356
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1347
1357
  * @returns {string} A string representing the location.
1348
1358
  */
1349
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1350
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1359
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1360
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1351
1361
  }
1352
1362
  /**
1353
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1363
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1354
1364
  *
1355
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1356
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1365
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1366
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1357
1367
  * @returns {string} A string representing the collection.
1358
1368
  */
1359
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1360
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1369
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1370
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1361
1371
  }
1362
1372
  /**
1363
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1373
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1364
1374
  *
1365
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1366
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1375
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1376
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1367
1377
  * @returns {string} A string representing the data_store.
1368
1378
  */
1369
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1370
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1379
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1380
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1371
1381
  }
1372
1382
  /**
1373
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1383
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1374
1384
  *
1375
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1376
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1385
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1386
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1377
1387
  * @returns {string} A string representing the session.
1378
1388
  */
1379
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1380
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1381
- }
1382
- /**
1383
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1384
- *
1385
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1386
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1387
- * @returns {string} A string representing the answer.
1388
- */
1389
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1390
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1389
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1390
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1391
1391
  }
1392
1392
  /**
1393
1393
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1723,154 +1723,154 @@ class GroundedGenerationServiceClient {
1723
1723
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1724
1724
  }
1725
1725
  /**
1726
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1726
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1727
1727
  *
1728
1728
  * @param {string} project
1729
1729
  * @param {string} location
1730
1730
  * @param {string} collection
1731
1731
  * @param {string} engine
1732
1732
  * @param {string} session
1733
+ * @param {string} answer
1733
1734
  * @returns {string} Resource name string.
1734
1735
  */
1735
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1736
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1736
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1737
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1737
1738
  project: project,
1738
1739
  location: location,
1739
1740
  collection: collection,
1740
1741
  engine: engine,
1741
1742
  session: session,
1743
+ answer: answer,
1742
1744
  });
1743
1745
  }
1744
1746
  /**
1745
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1747
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1746
1748
  *
1747
- * @param {string} projectLocationCollectionEngineSessionName
1748
- * A fully-qualified path representing project_location_collection_engine_session resource.
1749
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1750
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1749
1751
  * @returns {string} A string representing the project.
1750
1752
  */
1751
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1752
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1753
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1754
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1753
1755
  }
1754
1756
  /**
1755
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1757
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1756
1758
  *
1757
- * @param {string} projectLocationCollectionEngineSessionName
1758
- * A fully-qualified path representing project_location_collection_engine_session resource.
1759
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1760
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1759
1761
  * @returns {string} A string representing the location.
1760
1762
  */
1761
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1762
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1763
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1764
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1763
1765
  }
1764
1766
  /**
1765
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1767
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1766
1768
  *
1767
- * @param {string} projectLocationCollectionEngineSessionName
1768
- * A fully-qualified path representing project_location_collection_engine_session resource.
1769
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1770
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1769
1771
  * @returns {string} A string representing the collection.
1770
1772
  */
1771
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1772
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1773
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1774
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1773
1775
  }
1774
1776
  /**
1775
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
1777
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1776
1778
  *
1777
- * @param {string} projectLocationCollectionEngineSessionName
1778
- * A fully-qualified path representing project_location_collection_engine_session resource.
1779
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1780
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1779
1781
  * @returns {string} A string representing the engine.
1780
1782
  */
1781
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1782
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1783
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1784
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1783
1785
  }
1784
1786
  /**
1785
- * Parse the session from ProjectLocationCollectionEngineSession resource.
1787
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1786
1788
  *
1787
- * @param {string} projectLocationCollectionEngineSessionName
1788
- * A fully-qualified path representing project_location_collection_engine_session resource.
1789
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1790
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1789
1791
  * @returns {string} A string representing the session.
1790
1792
  */
1791
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1792
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1793
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1794
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1793
1795
  }
1794
1796
  /**
1795
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1797
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1798
+ *
1799
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1800
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1801
+ * @returns {string} A string representing the answer.
1802
+ */
1803
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1804
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1805
+ }
1806
+ /**
1807
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1796
1808
  *
1797
1809
  * @param {string} project
1798
1810
  * @param {string} location
1799
1811
  * @param {string} collection
1800
1812
  * @param {string} engine
1801
1813
  * @param {string} session
1802
- * @param {string} answer
1803
1814
  * @returns {string} Resource name string.
1804
1815
  */
1805
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1806
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1816
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
1817
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1807
1818
  project: project,
1808
1819
  location: location,
1809
1820
  collection: collection,
1810
1821
  engine: engine,
1811
1822
  session: session,
1812
- answer: answer,
1813
1823
  });
1814
1824
  }
1815
1825
  /**
1816
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1826
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1817
1827
  *
1818
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1819
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1828
+ * @param {string} projectLocationCollectionEngineSessionsName
1829
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1820
1830
  * @returns {string} A string representing the project.
1821
1831
  */
1822
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1823
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1832
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1833
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1824
1834
  }
1825
1835
  /**
1826
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1836
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1827
1837
  *
1828
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1829
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1838
+ * @param {string} projectLocationCollectionEngineSessionsName
1839
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1830
1840
  * @returns {string} A string representing the location.
1831
1841
  */
1832
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1833
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1842
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1843
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1834
1844
  }
1835
1845
  /**
1836
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1846
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1837
1847
  *
1838
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1839
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1848
+ * @param {string} projectLocationCollectionEngineSessionsName
1849
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1840
1850
  * @returns {string} A string representing the collection.
1841
1851
  */
1842
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1843
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1852
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1853
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
1844
1854
  }
1845
1855
  /**
1846
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1856
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
1847
1857
  *
1848
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1849
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1858
+ * @param {string} projectLocationCollectionEngineSessionsName
1859
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1850
1860
  * @returns {string} A string representing the engine.
1851
1861
  */
1852
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1853
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1862
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1863
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
1854
1864
  }
1855
1865
  /**
1856
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1866
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
1857
1867
  *
1858
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1859
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1868
+ * @param {string} projectLocationCollectionEngineSessionsName
1869
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1860
1870
  * @returns {string} A string representing the session.
1861
1871
  */
1862
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1863
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1864
- }
1865
- /**
1866
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1867
- *
1868
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1869
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1870
- * @returns {string} A string representing the answer.
1871
- */
1872
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1873
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1872
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1873
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
1874
1874
  }
1875
1875
  /**
1876
1876
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2397,63 +2397,6 @@ class GroundedGenerationServiceClient {
2397
2397
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2398
2398
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2399
2399
  }
2400
- /**
2401
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2402
- *
2403
- * @param {string} project
2404
- * @param {string} location
2405
- * @param {string} data_store
2406
- * @param {string} session
2407
- * @returns {string} Resource name string.
2408
- */
2409
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2410
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2411
- project: project,
2412
- location: location,
2413
- data_store: dataStore,
2414
- session: session,
2415
- });
2416
- }
2417
- /**
2418
- * Parse the project from ProjectLocationDataStoreSession resource.
2419
- *
2420
- * @param {string} projectLocationDataStoreSessionName
2421
- * A fully-qualified path representing project_location_data_store_session resource.
2422
- * @returns {string} A string representing the project.
2423
- */
2424
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2425
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2426
- }
2427
- /**
2428
- * Parse the location from ProjectLocationDataStoreSession resource.
2429
- *
2430
- * @param {string} projectLocationDataStoreSessionName
2431
- * A fully-qualified path representing project_location_data_store_session resource.
2432
- * @returns {string} A string representing the location.
2433
- */
2434
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2435
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2436
- }
2437
- /**
2438
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2439
- *
2440
- * @param {string} projectLocationDataStoreSessionName
2441
- * A fully-qualified path representing project_location_data_store_session resource.
2442
- * @returns {string} A string representing the data_store.
2443
- */
2444
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2445
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2446
- }
2447
- /**
2448
- * Parse the session from ProjectLocationDataStoreSession resource.
2449
- *
2450
- * @param {string} projectLocationDataStoreSessionName
2451
- * A fully-qualified path representing project_location_data_store_session resource.
2452
- * @returns {string} A string representing the session.
2453
- */
2454
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2455
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2456
- }
2457
2400
  /**
2458
2401
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2459
2402
  *
@@ -2523,6 +2466,63 @@ class GroundedGenerationServiceClient {
2523
2466
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2524
2467
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2525
2468
  }
2469
+ /**
2470
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2471
+ *
2472
+ * @param {string} project
2473
+ * @param {string} location
2474
+ * @param {string} data_store
2475
+ * @param {string} session
2476
+ * @returns {string} Resource name string.
2477
+ */
2478
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2479
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2480
+ project: project,
2481
+ location: location,
2482
+ data_store: dataStore,
2483
+ session: session,
2484
+ });
2485
+ }
2486
+ /**
2487
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2488
+ *
2489
+ * @param {string} projectLocationDataStoreSessionsName
2490
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2491
+ * @returns {string} A string representing the project.
2492
+ */
2493
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2494
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2495
+ }
2496
+ /**
2497
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2498
+ *
2499
+ * @param {string} projectLocationDataStoreSessionsName
2500
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2501
+ * @returns {string} A string representing the location.
2502
+ */
2503
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2504
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2505
+ }
2506
+ /**
2507
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2508
+ *
2509
+ * @param {string} projectLocationDataStoreSessionsName
2510
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2511
+ * @returns {string} A string representing the data_store.
2512
+ */
2513
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2514
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2515
+ }
2516
+ /**
2517
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2518
+ *
2519
+ * @param {string} projectLocationDataStoreSessionsName
2520
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2521
+ * @returns {string} A string representing the session.
2522
+ */
2523
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2524
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2525
+ }
2526
2526
  /**
2527
2527
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2528
2528
  *
@@ -41,6 +41,7 @@
41
41
  "../../protos/google/cloud/discoveryengine/v1alpha/serving_config.proto",
42
42
  "../../protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto",
43
43
  "../../protos/google/cloud/discoveryengine/v1alpha/session.proto",
44
+ "../../protos/google/cloud/discoveryengine/v1alpha/session_service.proto",
44
45
  "../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto",
45
46
  "../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto",
46
47
  "../../protos/google/cloud/discoveryengine/v1alpha/user_event.proto",
@@ -18,5 +18,6 @@ export { SchemaServiceClient } from './schema_service_client';
18
18
  export { SearchServiceClient } from './search_service_client';
19
19
  export { SearchTuningServiceClient } from './search_tuning_service_client';
20
20
  export { ServingConfigServiceClient } from './serving_config_service_client';
21
+ export { SessionServiceClient } from './session_service_client';
21
22
  export { SiteSearchEngineServiceClient } from './site_search_engine_service_client';
22
23
  export { UserEventServiceClient } from './user_event_service_client';