@google-cloud/discoveryengine 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/README.md +17 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
  6. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
  7. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  8. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  16. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  17. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  18. package/build/protos/protos.d.ts +15057 -10636
  19. package/build/protos/protos.js +45523 -34174
  20. package/build/protos/protos.json +4835 -3203
  21. package/build/src/index.d.ts +7 -1
  22. package/build/src/index.js +6 -2
  23. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  24. package/build/src/v1/assistant_service_client.js +2957 -0
  25. package/build/src/v1/assistant_service_client_config.json +43 -0
  26. package/build/src/v1/assistant_service_proto_list.json +48 -0
  27. package/build/src/v1/cmek_config_service_client.d.ts +255 -144
  28. package/build/src/v1/cmek_config_service_client.js +348 -196
  29. package/build/src/v1/cmek_config_service_proto_list.json +4 -0
  30. package/build/src/v1/completion_service_client.d.ts +255 -144
  31. package/build/src/v1/completion_service_client.js +348 -196
  32. package/build/src/v1/completion_service_proto_list.json +4 -0
  33. package/build/src/v1/control_service_client.d.ts +255 -144
  34. package/build/src/v1/control_service_client.js +348 -196
  35. package/build/src/v1/control_service_proto_list.json +4 -0
  36. package/build/src/v1/conversational_search_service_client.d.ts +302 -155
  37. package/build/src/v1/conversational_search_service_client.js +380 -204
  38. package/build/src/v1/conversational_search_service_proto_list.json +4 -0
  39. package/build/src/v1/data_store_service_client.d.ts +255 -144
  40. package/build/src/v1/data_store_service_client.js +348 -196
  41. package/build/src/v1/data_store_service_proto_list.json +4 -0
  42. package/build/src/v1/document_service_client.d.ts +255 -144
  43. package/build/src/v1/document_service_client.js +348 -196
  44. package/build/src/v1/document_service_proto_list.json +4 -0
  45. package/build/src/v1/engine_service_client.d.ts +255 -144
  46. package/build/src/v1/engine_service_client.js +348 -196
  47. package/build/src/v1/engine_service_proto_list.json +4 -0
  48. package/build/src/v1/gapic_metadata.json +86 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
  50. package/build/src/v1/grounded_generation_service_client.js +348 -196
  51. package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
  53. package/build/src/v1/identity_mapping_store_service_client.js +348 -196
  54. package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
  55. package/build/src/v1/index.d.ts +2 -0
  56. package/build/src/v1/index.js +5 -1
  57. package/build/src/v1/project_service_client.d.ts +255 -144
  58. package/build/src/v1/project_service_client.js +348 -196
  59. package/build/src/v1/project_service_proto_list.json +4 -0
  60. package/build/src/v1/rank_service_client.d.ts +255 -144
  61. package/build/src/v1/rank_service_client.js +348 -196
  62. package/build/src/v1/rank_service_proto_list.json +4 -0
  63. package/build/src/v1/recommendation_service_client.d.ts +255 -144
  64. package/build/src/v1/recommendation_service_client.js +348 -196
  65. package/build/src/v1/recommendation_service_proto_list.json +4 -0
  66. package/build/src/v1/schema_service_client.d.ts +255 -144
  67. package/build/src/v1/schema_service_client.js +348 -196
  68. package/build/src/v1/schema_service_proto_list.json +4 -0
  69. package/build/src/v1/search_service_client.d.ts +303 -228
  70. package/build/src/v1/search_service_client.js +380 -252
  71. package/build/src/v1/search_service_proto_list.json +4 -0
  72. package/build/src/v1/search_tuning_service_client.d.ts +255 -144
  73. package/build/src/v1/search_tuning_service_client.js +348 -196
  74. package/build/src/v1/search_tuning_service_proto_list.json +4 -0
  75. package/build/src/v1/serving_config_service_client.d.ts +255 -144
  76. package/build/src/v1/serving_config_service_client.js +348 -196
  77. package/build/src/v1/serving_config_service_proto_list.json +4 -0
  78. package/build/src/v1/session_service_client.d.ts +2326 -0
  79. package/build/src/v1/session_service_client.js +3218 -0
  80. package/build/src/v1/session_service_client_config.json +63 -0
  81. package/build/src/v1/session_service_proto_list.json +48 -0
  82. package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
  83. package/build/src/v1/site_search_engine_service_client.js +348 -196
  84. package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
  85. package/build/src/v1/user_event_service_client.d.ts +255 -144
  86. package/build/src/v1/user_event_service_client.js +348 -196
  87. package/build/src/v1/user_event_service_proto_list.json +4 -0
  88. package/build/src/v1/user_license_service_client.d.ts +255 -144
  89. package/build/src/v1/user_license_service_client.js +348 -196
  90. package/build/src/v1/user_license_service_proto_list.json +4 -0
  91. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  92. package/build/src/v1alpha/acl_config_service_client.js +196 -196
  93. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  94. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  95. package/build/src/v1alpha/chunk_service_client.js +196 -196
  96. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  97. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  98. package/build/src/v1alpha/completion_service_client.js +196 -196
  99. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  100. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  101. package/build/src/v1alpha/control_service_client.js +196 -196
  102. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  103. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  104. package/build/src/v1alpha/conversational_search_service_client.js +244 -210
  105. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  106. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  107. package/build/src/v1alpha/data_store_service_client.js +196 -196
  108. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  109. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  110. package/build/src/v1alpha/document_service_client.js +196 -196
  111. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  112. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  113. package/build/src/v1alpha/engine_service_client.js +196 -196
  114. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  116. package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
  117. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  118. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  119. package/build/src/v1alpha/evaluation_service_client.js +196 -196
  120. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  121. package/build/src/v1alpha/gapic_metadata.json +82 -0
  122. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  123. package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
  124. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  125. package/build/src/v1alpha/index.d.ts +1 -0
  126. package/build/src/v1alpha/index.js +3 -1
  127. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  128. package/build/src/v1alpha/project_service_client.js +196 -196
  129. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  130. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  131. package/build/src/v1alpha/rank_service_client.js +196 -196
  132. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  133. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  134. package/build/src/v1alpha/recommendation_service_client.js +196 -196
  135. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  136. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  137. package/build/src/v1alpha/sample_query_service_client.js +196 -196
  138. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  139. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  140. package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
  141. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  142. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/schema_service_client.js +196 -196
  144. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  146. package/build/src/v1alpha/search_service_client.js +212 -224
  147. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  148. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  149. package/build/src/v1alpha/search_tuning_service_client.js +196 -196
  150. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  151. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  152. package/build/src/v1alpha/serving_config_service_client.js +196 -196
  153. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  154. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  155. package/build/src/v1alpha/session_service_client.js +3161 -0
  156. package/build/src/v1alpha/session_service_client_config.json +68 -0
  157. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  159. package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
  160. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  161. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  162. package/build/src/v1alpha/user_event_service_client.js +196 -196
  163. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  164. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  165. package/build/src/v1beta/completion_service_client.js +196 -196
  166. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  167. package/build/src/v1beta/control_service_client.d.ts +144 -144
  168. package/build/src/v1beta/control_service_client.js +196 -196
  169. package/build/src/v1beta/control_service_proto_list.json +1 -0
  170. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  171. package/build/src/v1beta/conversational_search_service_client.js +242 -208
  172. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  173. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  174. package/build/src/v1beta/data_store_service_client.js +196 -196
  175. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  176. package/build/src/v1beta/document_service_client.d.ts +144 -144
  177. package/build/src/v1beta/document_service_client.js +196 -196
  178. package/build/src/v1beta/document_service_proto_list.json +1 -0
  179. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  180. package/build/src/v1beta/engine_service_client.js +196 -196
  181. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  182. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  183. package/build/src/v1beta/evaluation_service_client.js +196 -196
  184. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  185. package/build/src/v1beta/gapic_metadata.json +68 -0
  186. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  187. package/build/src/v1beta/grounded_generation_service_client.js +196 -196
  188. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  189. package/build/src/v1beta/index.d.ts +1 -0
  190. package/build/src/v1beta/index.js +3 -1
  191. package/build/src/v1beta/project_service_client.d.ts +144 -144
  192. package/build/src/v1beta/project_service_client.js +196 -196
  193. package/build/src/v1beta/project_service_proto_list.json +1 -0
  194. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  195. package/build/src/v1beta/rank_service_client.js +196 -196
  196. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  197. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  198. package/build/src/v1beta/recommendation_service_client.js +196 -196
  199. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  200. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  201. package/build/src/v1beta/sample_query_service_client.js +196 -196
  202. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  203. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  204. package/build/src/v1beta/sample_query_set_service_client.js +196 -196
  205. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  206. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  207. package/build/src/v1beta/schema_service_client.js +196 -196
  208. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  209. package/build/src/v1beta/search_service_client.d.ts +192 -228
  210. package/build/src/v1beta/search_service_client.js +228 -252
  211. package/build/src/v1beta/search_service_proto_list.json +1 -0
  212. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  213. package/build/src/v1beta/search_tuning_service_client.js +196 -196
  214. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  215. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  216. package/build/src/v1beta/serving_config_service_client.js +196 -196
  217. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  218. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  219. package/build/src/v1beta/session_service_client.js +3136 -0
  220. package/build/src/v1beta/session_service_client_config.json +63 -0
  221. package/build/src/v1beta/session_service_proto_list.json +45 -0
  222. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  223. package/build/src/v1beta/site_search_engine_service_client.js +196 -196
  224. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  225. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  226. package/build/src/v1beta/user_event_service_client.js +196 -196
  227. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  228. package/package.json +1 -1
@@ -177,16 +177,16 @@ class SampleQueryServiceClient {
177
177
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
178
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
179
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
180
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
180
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
181
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
182
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
184
184
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
185
185
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
186
186
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
187
187
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
188
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
188
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
189
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
190
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
191
191
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
192
192
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -196,8 +196,8 @@ class SampleQueryServiceClient {
196
196
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
197
197
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
198
198
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
199
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
199
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
200
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
201
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
202
202
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
203
203
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -1719,154 +1719,154 @@ class SampleQueryServiceClient {
1719
1719
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1720
1720
  }
1721
1721
  /**
1722
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1722
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1723
1723
  *
1724
1724
  * @param {string} project
1725
1725
  * @param {string} location
1726
1726
  * @param {string} collection
1727
1727
  * @param {string} data_store
1728
1728
  * @param {string} session
1729
+ * @param {string} answer
1729
1730
  * @returns {string} Resource name string.
1730
1731
  */
1731
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1732
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1732
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1733
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1733
1734
  project: project,
1734
1735
  location: location,
1735
1736
  collection: collection,
1736
1737
  data_store: dataStore,
1737
1738
  session: session,
1739
+ answer: answer,
1738
1740
  });
1739
1741
  }
1740
1742
  /**
1741
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1743
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1742
1744
  *
1743
- * @param {string} projectLocationCollectionDataStoreSessionName
1744
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1745
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1746
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1745
1747
  * @returns {string} A string representing the project.
1746
1748
  */
1747
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1748
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1749
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1750
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1749
1751
  }
1750
1752
  /**
1751
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1753
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1752
1754
  *
1753
- * @param {string} projectLocationCollectionDataStoreSessionName
1754
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1755
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1756
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1755
1757
  * @returns {string} A string representing the location.
1756
1758
  */
1757
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1758
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1759
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1760
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1759
1761
  }
1760
1762
  /**
1761
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1763
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1762
1764
  *
1763
- * @param {string} projectLocationCollectionDataStoreSessionName
1764
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1765
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1766
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1765
1767
  * @returns {string} A string representing the collection.
1766
1768
  */
1767
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1768
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1769
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1770
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1769
1771
  }
1770
1772
  /**
1771
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1773
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1772
1774
  *
1773
- * @param {string} projectLocationCollectionDataStoreSessionName
1774
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1775
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1776
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1775
1777
  * @returns {string} A string representing the data_store.
1776
1778
  */
1777
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1778
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1779
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1780
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1779
1781
  }
1780
1782
  /**
1781
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1783
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1782
1784
  *
1783
- * @param {string} projectLocationCollectionDataStoreSessionName
1784
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1785
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1786
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1785
1787
  * @returns {string} A string representing the session.
1786
1788
  */
1787
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1788
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1789
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1790
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1789
1791
  }
1790
1792
  /**
1791
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1793
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1794
+ *
1795
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1796
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1797
+ * @returns {string} A string representing the answer.
1798
+ */
1799
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1800
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1801
+ }
1802
+ /**
1803
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1792
1804
  *
1793
1805
  * @param {string} project
1794
1806
  * @param {string} location
1795
1807
  * @param {string} collection
1796
1808
  * @param {string} data_store
1797
1809
  * @param {string} session
1798
- * @param {string} answer
1799
1810
  * @returns {string} Resource name string.
1800
1811
  */
1801
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1802
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1812
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1813
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1803
1814
  project: project,
1804
1815
  location: location,
1805
1816
  collection: collection,
1806
1817
  data_store: dataStore,
1807
1818
  session: session,
1808
- answer: answer,
1809
1819
  });
1810
1820
  }
1811
1821
  /**
1812
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1822
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1813
1823
  *
1814
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1815
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1824
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1825
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1816
1826
  * @returns {string} A string representing the project.
1817
1827
  */
1818
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1819
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1828
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1829
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1820
1830
  }
1821
1831
  /**
1822
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1832
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1823
1833
  *
1824
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1825
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1834
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1835
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1826
1836
  * @returns {string} A string representing the location.
1827
1837
  */
1828
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1829
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1838
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1839
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1830
1840
  }
1831
1841
  /**
1832
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1842
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1833
1843
  *
1834
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1835
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1844
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1845
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1836
1846
  * @returns {string} A string representing the collection.
1837
1847
  */
1838
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1839
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1848
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1849
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1840
1850
  }
1841
1851
  /**
1842
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1852
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1843
1853
  *
1844
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1845
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1854
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1855
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1846
1856
  * @returns {string} A string representing the data_store.
1847
1857
  */
1848
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1849
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1858
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1859
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1850
1860
  }
1851
1861
  /**
1852
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1862
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1853
1863
  *
1854
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1855
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1864
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1865
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1856
1866
  * @returns {string} A string representing the session.
1857
1867
  */
1858
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1859
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1860
- }
1861
- /**
1862
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1863
- *
1864
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1865
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1866
- * @returns {string} A string representing the answer.
1867
- */
1868
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1869
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1868
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1869
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1870
1870
  }
1871
1871
  /**
1872
1872
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2271,154 +2271,154 @@ class SampleQueryServiceClient {
2271
2271
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2272
2272
  }
2273
2273
  /**
2274
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2274
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2275
2275
  *
2276
2276
  * @param {string} project
2277
2277
  * @param {string} location
2278
2278
  * @param {string} collection
2279
2279
  * @param {string} engine
2280
2280
  * @param {string} session
2281
+ * @param {string} answer
2281
2282
  * @returns {string} Resource name string.
2282
2283
  */
2283
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2284
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2284
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2285
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2285
2286
  project: project,
2286
2287
  location: location,
2287
2288
  collection: collection,
2288
2289
  engine: engine,
2289
2290
  session: session,
2291
+ answer: answer,
2290
2292
  });
2291
2293
  }
2292
2294
  /**
2293
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2295
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2294
2296
  *
2295
- * @param {string} projectLocationCollectionEngineSessionName
2296
- * A fully-qualified path representing project_location_collection_engine_session resource.
2297
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2298
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2297
2299
  * @returns {string} A string representing the project.
2298
2300
  */
2299
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2300
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2301
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2302
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2301
2303
  }
2302
2304
  /**
2303
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2305
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2304
2306
  *
2305
- * @param {string} projectLocationCollectionEngineSessionName
2306
- * A fully-qualified path representing project_location_collection_engine_session resource.
2307
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2308
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2307
2309
  * @returns {string} A string representing the location.
2308
2310
  */
2309
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2310
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2311
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2312
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2311
2313
  }
2312
2314
  /**
2313
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2315
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2314
2316
  *
2315
- * @param {string} projectLocationCollectionEngineSessionName
2316
- * A fully-qualified path representing project_location_collection_engine_session resource.
2317
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2318
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2317
2319
  * @returns {string} A string representing the collection.
2318
2320
  */
2319
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2320
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2321
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2322
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2321
2323
  }
2322
2324
  /**
2323
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2325
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2324
2326
  *
2325
- * @param {string} projectLocationCollectionEngineSessionName
2326
- * A fully-qualified path representing project_location_collection_engine_session resource.
2327
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2328
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2327
2329
  * @returns {string} A string representing the engine.
2328
2330
  */
2329
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2330
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2331
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2332
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2331
2333
  }
2332
2334
  /**
2333
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2335
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2334
2336
  *
2335
- * @param {string} projectLocationCollectionEngineSessionName
2336
- * A fully-qualified path representing project_location_collection_engine_session resource.
2337
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2338
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2337
2339
  * @returns {string} A string representing the session.
2338
2340
  */
2339
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2340
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2341
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2342
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2341
2343
  }
2342
2344
  /**
2343
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2345
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2346
+ *
2347
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2348
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2349
+ * @returns {string} A string representing the answer.
2350
+ */
2351
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2352
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2353
+ }
2354
+ /**
2355
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2344
2356
  *
2345
2357
  * @param {string} project
2346
2358
  * @param {string} location
2347
2359
  * @param {string} collection
2348
2360
  * @param {string} engine
2349
2361
  * @param {string} session
2350
- * @param {string} answer
2351
2362
  * @returns {string} Resource name string.
2352
2363
  */
2353
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2354
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2364
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2365
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2355
2366
  project: project,
2356
2367
  location: location,
2357
2368
  collection: collection,
2358
2369
  engine: engine,
2359
2370
  session: session,
2360
- answer: answer,
2361
2371
  });
2362
2372
  }
2363
2373
  /**
2364
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2374
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2365
2375
  *
2366
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2367
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2376
+ * @param {string} projectLocationCollectionEngineSessionsName
2377
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2368
2378
  * @returns {string} A string representing the project.
2369
2379
  */
2370
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2371
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2380
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2381
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2372
2382
  }
2373
2383
  /**
2374
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2384
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2375
2385
  *
2376
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2377
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2386
+ * @param {string} projectLocationCollectionEngineSessionsName
2387
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2378
2388
  * @returns {string} A string representing the location.
2379
2389
  */
2380
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2381
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2390
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2391
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2382
2392
  }
2383
2393
  /**
2384
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2394
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2385
2395
  *
2386
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2387
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2396
+ * @param {string} projectLocationCollectionEngineSessionsName
2397
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2388
2398
  * @returns {string} A string representing the collection.
2389
2399
  */
2390
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2391
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2400
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2401
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2392
2402
  }
2393
2403
  /**
2394
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2404
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2395
2405
  *
2396
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2397
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2406
+ * @param {string} projectLocationCollectionEngineSessionsName
2407
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2398
2408
  * @returns {string} A string representing the engine.
2399
2409
  */
2400
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2401
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2410
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2411
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2402
2412
  }
2403
2413
  /**
2404
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2414
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2405
2415
  *
2406
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2407
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2416
+ * @param {string} projectLocationCollectionEngineSessionsName
2417
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2408
2418
  * @returns {string} A string representing the session.
2409
2419
  */
2410
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2411
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2412
- }
2413
- /**
2414
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2415
- *
2416
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2417
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2418
- * @returns {string} A string representing the answer.
2419
- */
2420
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2421
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2420
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2421
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2422
2422
  }
2423
2423
  /**
2424
2424
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2945,63 +2945,6 @@ class SampleQueryServiceClient {
2945
2945
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2946
2946
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2947
2947
  }
2948
- /**
2949
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2950
- *
2951
- * @param {string} project
2952
- * @param {string} location
2953
- * @param {string} data_store
2954
- * @param {string} session
2955
- * @returns {string} Resource name string.
2956
- */
2957
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2958
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2959
- project: project,
2960
- location: location,
2961
- data_store: dataStore,
2962
- session: session,
2963
- });
2964
- }
2965
- /**
2966
- * Parse the project from ProjectLocationDataStoreSession resource.
2967
- *
2968
- * @param {string} projectLocationDataStoreSessionName
2969
- * A fully-qualified path representing project_location_data_store_session resource.
2970
- * @returns {string} A string representing the project.
2971
- */
2972
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2973
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2974
- }
2975
- /**
2976
- * Parse the location from ProjectLocationDataStoreSession resource.
2977
- *
2978
- * @param {string} projectLocationDataStoreSessionName
2979
- * A fully-qualified path representing project_location_data_store_session resource.
2980
- * @returns {string} A string representing the location.
2981
- */
2982
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2983
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2984
- }
2985
- /**
2986
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2987
- *
2988
- * @param {string} projectLocationDataStoreSessionName
2989
- * A fully-qualified path representing project_location_data_store_session resource.
2990
- * @returns {string} A string representing the data_store.
2991
- */
2992
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2993
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2994
- }
2995
- /**
2996
- * Parse the session from ProjectLocationDataStoreSession resource.
2997
- *
2998
- * @param {string} projectLocationDataStoreSessionName
2999
- * A fully-qualified path representing project_location_data_store_session resource.
3000
- * @returns {string} A string representing the session.
3001
- */
3002
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3003
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3004
- }
3005
2948
  /**
3006
2949
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3007
2950
  *
@@ -3071,6 +3014,63 @@ class SampleQueryServiceClient {
3071
3014
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3072
3015
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3073
3016
  }
3017
+ /**
3018
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3019
+ *
3020
+ * @param {string} project
3021
+ * @param {string} location
3022
+ * @param {string} data_store
3023
+ * @param {string} session
3024
+ * @returns {string} Resource name string.
3025
+ */
3026
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3027
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3028
+ project: project,
3029
+ location: location,
3030
+ data_store: dataStore,
3031
+ session: session,
3032
+ });
3033
+ }
3034
+ /**
3035
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3036
+ *
3037
+ * @param {string} projectLocationDataStoreSessionsName
3038
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3039
+ * @returns {string} A string representing the project.
3040
+ */
3041
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3042
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3043
+ }
3044
+ /**
3045
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3046
+ *
3047
+ * @param {string} projectLocationDataStoreSessionsName
3048
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3049
+ * @returns {string} A string representing the location.
3050
+ */
3051
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3052
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3053
+ }
3054
+ /**
3055
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3056
+ *
3057
+ * @param {string} projectLocationDataStoreSessionsName
3058
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3059
+ * @returns {string} A string representing the data_store.
3060
+ */
3061
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3062
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3063
+ }
3064
+ /**
3065
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3066
+ *
3067
+ * @param {string} projectLocationDataStoreSessionsName
3068
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3069
+ * @returns {string} A string representing the session.
3070
+ */
3071
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3072
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3073
+ }
3074
3074
  /**
3075
3075
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3076
3076
  *
@@ -37,6 +37,7 @@
37
37
  "../../protos/google/cloud/discoveryengine/v1beta/serving_config.proto",
38
38
  "../../protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto",
39
39
  "../../protos/google/cloud/discoveryengine/v1beta/session.proto",
40
+ "../../protos/google/cloud/discoveryengine/v1beta/session_service.proto",
40
41
  "../../protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto",
41
42
  "../../protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto",
42
43
  "../../protos/google/cloud/discoveryengine/v1beta/user_event.proto",