@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
@@ -178,16 +178,16 @@ class EngineServiceClient {
178
178
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
179
179
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
180
180
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
181
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
181
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
182
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
183
183
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
184
184
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
185
185
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
186
186
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
187
187
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
188
188
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
189
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
189
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
190
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
191
191
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
192
192
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
193
193
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -197,8 +197,8 @@ class EngineServiceClient {
197
197
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
198
198
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
199
199
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
200
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
200
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
201
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
202
202
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
203
203
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
204
204
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -1835,154 +1835,154 @@ class EngineServiceClient {
1835
1835
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1836
1836
  }
1837
1837
  /**
1838
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1838
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1839
1839
  *
1840
1840
  * @param {string} project
1841
1841
  * @param {string} location
1842
1842
  * @param {string} collection
1843
1843
  * @param {string} data_store
1844
1844
  * @param {string} session
1845
+ * @param {string} answer
1845
1846
  * @returns {string} Resource name string.
1846
1847
  */
1847
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1848
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1848
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1849
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1849
1850
  project: project,
1850
1851
  location: location,
1851
1852
  collection: collection,
1852
1853
  data_store: dataStore,
1853
1854
  session: session,
1855
+ answer: answer,
1854
1856
  });
1855
1857
  }
1856
1858
  /**
1857
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1859
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1858
1860
  *
1859
- * @param {string} projectLocationCollectionDataStoreSessionName
1860
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1861
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1862
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1861
1863
  * @returns {string} A string representing the project.
1862
1864
  */
1863
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1864
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1865
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1866
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1865
1867
  }
1866
1868
  /**
1867
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1869
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1868
1870
  *
1869
- * @param {string} projectLocationCollectionDataStoreSessionName
1870
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1871
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1872
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1871
1873
  * @returns {string} A string representing the location.
1872
1874
  */
1873
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1874
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1875
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1876
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1875
1877
  }
1876
1878
  /**
1877
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1879
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1878
1880
  *
1879
- * @param {string} projectLocationCollectionDataStoreSessionName
1880
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1881
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1882
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1881
1883
  * @returns {string} A string representing the collection.
1882
1884
  */
1883
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1884
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1885
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1886
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1885
1887
  }
1886
1888
  /**
1887
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1889
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1888
1890
  *
1889
- * @param {string} projectLocationCollectionDataStoreSessionName
1890
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1891
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1892
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1891
1893
  * @returns {string} A string representing the data_store.
1892
1894
  */
1893
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1894
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1895
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1896
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1895
1897
  }
1896
1898
  /**
1897
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1899
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1898
1900
  *
1899
- * @param {string} projectLocationCollectionDataStoreSessionName
1900
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1901
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1902
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1901
1903
  * @returns {string} A string representing the session.
1902
1904
  */
1903
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1904
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1905
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1906
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1905
1907
  }
1906
1908
  /**
1907
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1909
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1910
+ *
1911
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1912
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1913
+ * @returns {string} A string representing the answer.
1914
+ */
1915
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1916
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1917
+ }
1918
+ /**
1919
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1908
1920
  *
1909
1921
  * @param {string} project
1910
1922
  * @param {string} location
1911
1923
  * @param {string} collection
1912
1924
  * @param {string} data_store
1913
1925
  * @param {string} session
1914
- * @param {string} answer
1915
1926
  * @returns {string} Resource name string.
1916
1927
  */
1917
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1918
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1928
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1929
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1919
1930
  project: project,
1920
1931
  location: location,
1921
1932
  collection: collection,
1922
1933
  data_store: dataStore,
1923
1934
  session: session,
1924
- answer: answer,
1925
1935
  });
1926
1936
  }
1927
1937
  /**
1928
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1938
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1929
1939
  *
1930
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1931
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1940
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1941
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1932
1942
  * @returns {string} A string representing the project.
1933
1943
  */
1934
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1935
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1944
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1945
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1936
1946
  }
1937
1947
  /**
1938
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1948
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1939
1949
  *
1940
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1941
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1950
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1951
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1942
1952
  * @returns {string} A string representing the location.
1943
1953
  */
1944
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1945
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1954
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1955
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1946
1956
  }
1947
1957
  /**
1948
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1958
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1949
1959
  *
1950
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1951
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1960
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1961
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1952
1962
  * @returns {string} A string representing the collection.
1953
1963
  */
1954
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1955
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1964
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1965
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1956
1966
  }
1957
1967
  /**
1958
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1968
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1959
1969
  *
1960
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1961
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1970
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1971
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1962
1972
  * @returns {string} A string representing the data_store.
1963
1973
  */
1964
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1965
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1974
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1975
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1966
1976
  }
1967
1977
  /**
1968
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1978
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1969
1979
  *
1970
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1971
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1980
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1981
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1972
1982
  * @returns {string} A string representing the session.
1973
1983
  */
1974
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1975
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1976
- }
1977
- /**
1978
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1979
- *
1980
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1981
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1982
- * @returns {string} A string representing the answer.
1983
- */
1984
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1985
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1984
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1985
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1986
1986
  }
1987
1987
  /**
1988
1988
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2387,154 +2387,154 @@ class EngineServiceClient {
2387
2387
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2388
2388
  }
2389
2389
  /**
2390
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2390
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2391
2391
  *
2392
2392
  * @param {string} project
2393
2393
  * @param {string} location
2394
2394
  * @param {string} collection
2395
2395
  * @param {string} engine
2396
2396
  * @param {string} session
2397
+ * @param {string} answer
2397
2398
  * @returns {string} Resource name string.
2398
2399
  */
2399
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2400
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2400
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2401
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2401
2402
  project: project,
2402
2403
  location: location,
2403
2404
  collection: collection,
2404
2405
  engine: engine,
2405
2406
  session: session,
2407
+ answer: answer,
2406
2408
  });
2407
2409
  }
2408
2410
  /**
2409
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2411
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2410
2412
  *
2411
- * @param {string} projectLocationCollectionEngineSessionName
2412
- * A fully-qualified path representing project_location_collection_engine_session resource.
2413
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2414
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2413
2415
  * @returns {string} A string representing the project.
2414
2416
  */
2415
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2416
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2417
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2418
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2417
2419
  }
2418
2420
  /**
2419
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2421
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2420
2422
  *
2421
- * @param {string} projectLocationCollectionEngineSessionName
2422
- * A fully-qualified path representing project_location_collection_engine_session resource.
2423
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2424
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2423
2425
  * @returns {string} A string representing the location.
2424
2426
  */
2425
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2426
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2427
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2428
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2427
2429
  }
2428
2430
  /**
2429
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2431
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2430
2432
  *
2431
- * @param {string} projectLocationCollectionEngineSessionName
2432
- * A fully-qualified path representing project_location_collection_engine_session resource.
2433
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2434
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2433
2435
  * @returns {string} A string representing the collection.
2434
2436
  */
2435
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2436
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2437
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2438
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2437
2439
  }
2438
2440
  /**
2439
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2441
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2440
2442
  *
2441
- * @param {string} projectLocationCollectionEngineSessionName
2442
- * A fully-qualified path representing project_location_collection_engine_session resource.
2443
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2444
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2443
2445
  * @returns {string} A string representing the engine.
2444
2446
  */
2445
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2446
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2447
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2448
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2447
2449
  }
2448
2450
  /**
2449
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2451
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2450
2452
  *
2451
- * @param {string} projectLocationCollectionEngineSessionName
2452
- * A fully-qualified path representing project_location_collection_engine_session resource.
2453
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2454
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2453
2455
  * @returns {string} A string representing the session.
2454
2456
  */
2455
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2456
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2457
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2458
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2457
2459
  }
2458
2460
  /**
2459
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2461
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2462
+ *
2463
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2464
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2465
+ * @returns {string} A string representing the answer.
2466
+ */
2467
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2468
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2469
+ }
2470
+ /**
2471
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2460
2472
  *
2461
2473
  * @param {string} project
2462
2474
  * @param {string} location
2463
2475
  * @param {string} collection
2464
2476
  * @param {string} engine
2465
2477
  * @param {string} session
2466
- * @param {string} answer
2467
2478
  * @returns {string} Resource name string.
2468
2479
  */
2469
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2470
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2480
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2481
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2471
2482
  project: project,
2472
2483
  location: location,
2473
2484
  collection: collection,
2474
2485
  engine: engine,
2475
2486
  session: session,
2476
- answer: answer,
2477
2487
  });
2478
2488
  }
2479
2489
  /**
2480
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2490
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2481
2491
  *
2482
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2483
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2492
+ * @param {string} projectLocationCollectionEngineSessionsName
2493
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2484
2494
  * @returns {string} A string representing the project.
2485
2495
  */
2486
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2487
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2496
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2497
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2488
2498
  }
2489
2499
  /**
2490
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2500
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2491
2501
  *
2492
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2493
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2502
+ * @param {string} projectLocationCollectionEngineSessionsName
2503
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2494
2504
  * @returns {string} A string representing the location.
2495
2505
  */
2496
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2497
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2506
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2507
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2498
2508
  }
2499
2509
  /**
2500
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2510
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2501
2511
  *
2502
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2503
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2512
+ * @param {string} projectLocationCollectionEngineSessionsName
2513
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2504
2514
  * @returns {string} A string representing the collection.
2505
2515
  */
2506
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2507
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2516
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2517
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2508
2518
  }
2509
2519
  /**
2510
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2520
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2511
2521
  *
2512
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2513
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2522
+ * @param {string} projectLocationCollectionEngineSessionsName
2523
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2514
2524
  * @returns {string} A string representing the engine.
2515
2525
  */
2516
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2517
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2526
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2527
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2518
2528
  }
2519
2529
  /**
2520
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2530
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2521
2531
  *
2522
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2523
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2532
+ * @param {string} projectLocationCollectionEngineSessionsName
2533
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2524
2534
  * @returns {string} A string representing the session.
2525
2535
  */
2526
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2527
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2528
- }
2529
- /**
2530
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2531
- *
2532
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2533
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2534
- * @returns {string} A string representing the answer.
2535
- */
2536
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2537
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2536
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2537
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2538
2538
  }
2539
2539
  /**
2540
2540
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3061,63 +3061,6 @@ class EngineServiceClient {
3061
3061
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3062
3062
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3063
3063
  }
3064
- /**
3065
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3066
- *
3067
- * @param {string} project
3068
- * @param {string} location
3069
- * @param {string} data_store
3070
- * @param {string} session
3071
- * @returns {string} Resource name string.
3072
- */
3073
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3074
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3075
- project: project,
3076
- location: location,
3077
- data_store: dataStore,
3078
- session: session,
3079
- });
3080
- }
3081
- /**
3082
- * Parse the project from ProjectLocationDataStoreSession resource.
3083
- *
3084
- * @param {string} projectLocationDataStoreSessionName
3085
- * A fully-qualified path representing project_location_data_store_session resource.
3086
- * @returns {string} A string representing the project.
3087
- */
3088
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3089
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3090
- }
3091
- /**
3092
- * Parse the location from ProjectLocationDataStoreSession resource.
3093
- *
3094
- * @param {string} projectLocationDataStoreSessionName
3095
- * A fully-qualified path representing project_location_data_store_session resource.
3096
- * @returns {string} A string representing the location.
3097
- */
3098
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3099
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3100
- }
3101
- /**
3102
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3103
- *
3104
- * @param {string} projectLocationDataStoreSessionName
3105
- * A fully-qualified path representing project_location_data_store_session resource.
3106
- * @returns {string} A string representing the data_store.
3107
- */
3108
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3109
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3110
- }
3111
- /**
3112
- * Parse the session from ProjectLocationDataStoreSession resource.
3113
- *
3114
- * @param {string} projectLocationDataStoreSessionName
3115
- * A fully-qualified path representing project_location_data_store_session resource.
3116
- * @returns {string} A string representing the session.
3117
- */
3118
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3119
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3120
- }
3121
3064
  /**
3122
3065
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3123
3066
  *
@@ -3187,6 +3130,63 @@ class EngineServiceClient {
3187
3130
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3188
3131
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3189
3132
  }
3133
+ /**
3134
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3135
+ *
3136
+ * @param {string} project
3137
+ * @param {string} location
3138
+ * @param {string} data_store
3139
+ * @param {string} session
3140
+ * @returns {string} Resource name string.
3141
+ */
3142
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3143
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3144
+ project: project,
3145
+ location: location,
3146
+ data_store: dataStore,
3147
+ session: session,
3148
+ });
3149
+ }
3150
+ /**
3151
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3152
+ *
3153
+ * @param {string} projectLocationDataStoreSessionsName
3154
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3155
+ * @returns {string} A string representing the project.
3156
+ */
3157
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3158
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3159
+ }
3160
+ /**
3161
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3162
+ *
3163
+ * @param {string} projectLocationDataStoreSessionsName
3164
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3165
+ * @returns {string} A string representing the location.
3166
+ */
3167
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3168
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3169
+ }
3170
+ /**
3171
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3172
+ *
3173
+ * @param {string} projectLocationDataStoreSessionsName
3174
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3175
+ * @returns {string} A string representing the data_store.
3176
+ */
3177
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3178
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3179
+ }
3180
+ /**
3181
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3182
+ *
3183
+ * @param {string} projectLocationDataStoreSessionsName
3184
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3185
+ * @returns {string} A string representing the session.
3186
+ */
3187
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3188
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3189
+ }
3190
3190
  /**
3191
3191
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3192
3192
  *
@@ -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",