@google-cloud/discoveryengine 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/README.md +17 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
  6. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
  7. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  8. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  16. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  17. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  18. package/build/protos/protos.d.ts +15057 -10636
  19. package/build/protos/protos.js +45523 -34174
  20. package/build/protos/protos.json +4835 -3203
  21. package/build/src/index.d.ts +7 -1
  22. package/build/src/index.js +6 -2
  23. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  24. package/build/src/v1/assistant_service_client.js +2957 -0
  25. package/build/src/v1/assistant_service_client_config.json +43 -0
  26. package/build/src/v1/assistant_service_proto_list.json +48 -0
  27. package/build/src/v1/cmek_config_service_client.d.ts +255 -144
  28. package/build/src/v1/cmek_config_service_client.js +348 -196
  29. package/build/src/v1/cmek_config_service_proto_list.json +4 -0
  30. package/build/src/v1/completion_service_client.d.ts +255 -144
  31. package/build/src/v1/completion_service_client.js +348 -196
  32. package/build/src/v1/completion_service_proto_list.json +4 -0
  33. package/build/src/v1/control_service_client.d.ts +255 -144
  34. package/build/src/v1/control_service_client.js +348 -196
  35. package/build/src/v1/control_service_proto_list.json +4 -0
  36. package/build/src/v1/conversational_search_service_client.d.ts +302 -155
  37. package/build/src/v1/conversational_search_service_client.js +380 -204
  38. package/build/src/v1/conversational_search_service_proto_list.json +4 -0
  39. package/build/src/v1/data_store_service_client.d.ts +255 -144
  40. package/build/src/v1/data_store_service_client.js +348 -196
  41. package/build/src/v1/data_store_service_proto_list.json +4 -0
  42. package/build/src/v1/document_service_client.d.ts +255 -144
  43. package/build/src/v1/document_service_client.js +348 -196
  44. package/build/src/v1/document_service_proto_list.json +4 -0
  45. package/build/src/v1/engine_service_client.d.ts +255 -144
  46. package/build/src/v1/engine_service_client.js +348 -196
  47. package/build/src/v1/engine_service_proto_list.json +4 -0
  48. package/build/src/v1/gapic_metadata.json +86 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
  50. package/build/src/v1/grounded_generation_service_client.js +348 -196
  51. package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
  53. package/build/src/v1/identity_mapping_store_service_client.js +348 -196
  54. package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
  55. package/build/src/v1/index.d.ts +2 -0
  56. package/build/src/v1/index.js +5 -1
  57. package/build/src/v1/project_service_client.d.ts +255 -144
  58. package/build/src/v1/project_service_client.js +348 -196
  59. package/build/src/v1/project_service_proto_list.json +4 -0
  60. package/build/src/v1/rank_service_client.d.ts +255 -144
  61. package/build/src/v1/rank_service_client.js +348 -196
  62. package/build/src/v1/rank_service_proto_list.json +4 -0
  63. package/build/src/v1/recommendation_service_client.d.ts +255 -144
  64. package/build/src/v1/recommendation_service_client.js +348 -196
  65. package/build/src/v1/recommendation_service_proto_list.json +4 -0
  66. package/build/src/v1/schema_service_client.d.ts +255 -144
  67. package/build/src/v1/schema_service_client.js +348 -196
  68. package/build/src/v1/schema_service_proto_list.json +4 -0
  69. package/build/src/v1/search_service_client.d.ts +303 -228
  70. package/build/src/v1/search_service_client.js +380 -252
  71. package/build/src/v1/search_service_proto_list.json +4 -0
  72. package/build/src/v1/search_tuning_service_client.d.ts +255 -144
  73. package/build/src/v1/search_tuning_service_client.js +348 -196
  74. package/build/src/v1/search_tuning_service_proto_list.json +4 -0
  75. package/build/src/v1/serving_config_service_client.d.ts +255 -144
  76. package/build/src/v1/serving_config_service_client.js +348 -196
  77. package/build/src/v1/serving_config_service_proto_list.json +4 -0
  78. package/build/src/v1/session_service_client.d.ts +2326 -0
  79. package/build/src/v1/session_service_client.js +3218 -0
  80. package/build/src/v1/session_service_client_config.json +63 -0
  81. package/build/src/v1/session_service_proto_list.json +48 -0
  82. package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
  83. package/build/src/v1/site_search_engine_service_client.js +348 -196
  84. package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
  85. package/build/src/v1/user_event_service_client.d.ts +255 -144
  86. package/build/src/v1/user_event_service_client.js +348 -196
  87. package/build/src/v1/user_event_service_proto_list.json +4 -0
  88. package/build/src/v1/user_license_service_client.d.ts +255 -144
  89. package/build/src/v1/user_license_service_client.js +348 -196
  90. package/build/src/v1/user_license_service_proto_list.json +4 -0
  91. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  92. package/build/src/v1alpha/acl_config_service_client.js +196 -196
  93. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  94. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  95. package/build/src/v1alpha/chunk_service_client.js +196 -196
  96. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  97. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  98. package/build/src/v1alpha/completion_service_client.js +196 -196
  99. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  100. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  101. package/build/src/v1alpha/control_service_client.js +196 -196
  102. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  103. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  104. package/build/src/v1alpha/conversational_search_service_client.js +244 -210
  105. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  106. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  107. package/build/src/v1alpha/data_store_service_client.js +196 -196
  108. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  109. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  110. package/build/src/v1alpha/document_service_client.js +196 -196
  111. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  112. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  113. package/build/src/v1alpha/engine_service_client.js +196 -196
  114. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  116. package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
  117. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  118. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  119. package/build/src/v1alpha/evaluation_service_client.js +196 -196
  120. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  121. package/build/src/v1alpha/gapic_metadata.json +82 -0
  122. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  123. package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
  124. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  125. package/build/src/v1alpha/index.d.ts +1 -0
  126. package/build/src/v1alpha/index.js +3 -1
  127. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  128. package/build/src/v1alpha/project_service_client.js +196 -196
  129. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  130. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  131. package/build/src/v1alpha/rank_service_client.js +196 -196
  132. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  133. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  134. package/build/src/v1alpha/recommendation_service_client.js +196 -196
  135. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  136. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  137. package/build/src/v1alpha/sample_query_service_client.js +196 -196
  138. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  139. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  140. package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
  141. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  142. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/schema_service_client.js +196 -196
  144. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  146. package/build/src/v1alpha/search_service_client.js +212 -224
  147. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  148. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  149. package/build/src/v1alpha/search_tuning_service_client.js +196 -196
  150. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  151. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  152. package/build/src/v1alpha/serving_config_service_client.js +196 -196
  153. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  154. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  155. package/build/src/v1alpha/session_service_client.js +3161 -0
  156. package/build/src/v1alpha/session_service_client_config.json +68 -0
  157. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  159. package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
  160. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  161. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  162. package/build/src/v1alpha/user_event_service_client.js +196 -196
  163. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  164. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  165. package/build/src/v1beta/completion_service_client.js +196 -196
  166. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  167. package/build/src/v1beta/control_service_client.d.ts +144 -144
  168. package/build/src/v1beta/control_service_client.js +196 -196
  169. package/build/src/v1beta/control_service_proto_list.json +1 -0
  170. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  171. package/build/src/v1beta/conversational_search_service_client.js +242 -208
  172. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  173. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  174. package/build/src/v1beta/data_store_service_client.js +196 -196
  175. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  176. package/build/src/v1beta/document_service_client.d.ts +144 -144
  177. package/build/src/v1beta/document_service_client.js +196 -196
  178. package/build/src/v1beta/document_service_proto_list.json +1 -0
  179. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  180. package/build/src/v1beta/engine_service_client.js +196 -196
  181. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  182. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  183. package/build/src/v1beta/evaluation_service_client.js +196 -196
  184. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  185. package/build/src/v1beta/gapic_metadata.json +68 -0
  186. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  187. package/build/src/v1beta/grounded_generation_service_client.js +196 -196
  188. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  189. package/build/src/v1beta/index.d.ts +1 -0
  190. package/build/src/v1beta/index.js +3 -1
  191. package/build/src/v1beta/project_service_client.d.ts +144 -144
  192. package/build/src/v1beta/project_service_client.js +196 -196
  193. package/build/src/v1beta/project_service_proto_list.json +1 -0
  194. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  195. package/build/src/v1beta/rank_service_client.js +196 -196
  196. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  197. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  198. package/build/src/v1beta/recommendation_service_client.js +196 -196
  199. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  200. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  201. package/build/src/v1beta/sample_query_service_client.js +196 -196
  202. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  203. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  204. package/build/src/v1beta/sample_query_set_service_client.js +196 -196
  205. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  206. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  207. package/build/src/v1beta/schema_service_client.js +196 -196
  208. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  209. package/build/src/v1beta/search_service_client.d.ts +192 -228
  210. package/build/src/v1beta/search_service_client.js +228 -252
  211. package/build/src/v1beta/search_service_proto_list.json +1 -0
  212. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  213. package/build/src/v1beta/search_tuning_service_client.js +196 -196
  214. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  215. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  216. package/build/src/v1beta/serving_config_service_client.js +196 -196
  217. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  218. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  219. package/build/src/v1beta/session_service_client.js +3136 -0
  220. package/build/src/v1beta/session_service_client_config.json +63 -0
  221. package/build/src/v1beta/session_service_proto_list.json +45 -0
  222. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  223. package/build/src/v1beta/site_search_engine_service_client.js +196 -196
  224. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  225. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  226. package/build/src/v1beta/user_event_service_client.js +196 -196
  227. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  228. package/package.json +1 -1
@@ -176,16 +176,16 @@ class SiteSearchEngineServiceClient {
176
176
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
177
177
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
178
178
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
179
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
180
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
181
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
182
182
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
184
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
185
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
186
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
187
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
188
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
189
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
190
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
191
191
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -195,8 +195,8 @@ class SiteSearchEngineServiceClient {
195
195
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
196
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
197
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
198
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
199
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
200
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
201
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
202
202
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -2256,154 +2256,154 @@ class SiteSearchEngineServiceClient {
2256
2256
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
2257
2257
  }
2258
2258
  /**
2259
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
2259
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2260
2260
  *
2261
2261
  * @param {string} project
2262
2262
  * @param {string} location
2263
2263
  * @param {string} collection
2264
2264
  * @param {string} data_store
2265
2265
  * @param {string} session
2266
+ * @param {string} answer
2266
2267
  * @returns {string} Resource name string.
2267
2268
  */
2268
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
2269
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
2269
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2270
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2270
2271
  project: project,
2271
2272
  location: location,
2272
2273
  collection: collection,
2273
2274
  data_store: dataStore,
2274
2275
  session: session,
2276
+ answer: answer,
2275
2277
  });
2276
2278
  }
2277
2279
  /**
2278
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
2280
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2279
2281
  *
2280
- * @param {string} projectLocationCollectionDataStoreSessionName
2281
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2282
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2283
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2282
2284
  * @returns {string} A string representing the project.
2283
2285
  */
2284
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2285
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
2286
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2287
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2286
2288
  }
2287
2289
  /**
2288
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
2290
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2289
2291
  *
2290
- * @param {string} projectLocationCollectionDataStoreSessionName
2291
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2292
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2293
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2292
2294
  * @returns {string} A string representing the location.
2293
2295
  */
2294
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2295
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
2296
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2297
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2296
2298
  }
2297
2299
  /**
2298
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
2300
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2299
2301
  *
2300
- * @param {string} projectLocationCollectionDataStoreSessionName
2301
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2302
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2303
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2302
2304
  * @returns {string} A string representing the collection.
2303
2305
  */
2304
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2305
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
2306
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2307
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2306
2308
  }
2307
2309
  /**
2308
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
2310
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2309
2311
  *
2310
- * @param {string} projectLocationCollectionDataStoreSessionName
2311
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2312
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2313
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2312
2314
  * @returns {string} A string representing the data_store.
2313
2315
  */
2314
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2315
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
2316
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2317
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2316
2318
  }
2317
2319
  /**
2318
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
2320
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2319
2321
  *
2320
- * @param {string} projectLocationCollectionDataStoreSessionName
2321
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2322
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2323
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2322
2324
  * @returns {string} A string representing the session.
2323
2325
  */
2324
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2325
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
2326
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2327
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2326
2328
  }
2327
2329
  /**
2328
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2330
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2331
+ *
2332
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2333
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2334
+ * @returns {string} A string representing the answer.
2335
+ */
2336
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2337
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2338
+ }
2339
+ /**
2340
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
2329
2341
  *
2330
2342
  * @param {string} project
2331
2343
  * @param {string} location
2332
2344
  * @param {string} collection
2333
2345
  * @param {string} data_store
2334
2346
  * @param {string} session
2335
- * @param {string} answer
2336
2347
  * @returns {string} Resource name string.
2337
2348
  */
2338
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2339
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2349
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
2350
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
2340
2351
  project: project,
2341
2352
  location: location,
2342
2353
  collection: collection,
2343
2354
  data_store: dataStore,
2344
2355
  session: session,
2345
- answer: answer,
2346
2356
  });
2347
2357
  }
2348
2358
  /**
2349
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2359
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
2350
2360
  *
2351
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2352
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2361
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2362
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2353
2363
  * @returns {string} A string representing the project.
2354
2364
  */
2355
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2356
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2365
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2366
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
2357
2367
  }
2358
2368
  /**
2359
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2369
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
2360
2370
  *
2361
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2362
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2371
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2372
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2363
2373
  * @returns {string} A string representing the location.
2364
2374
  */
2365
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2366
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2375
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2376
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
2367
2377
  }
2368
2378
  /**
2369
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2379
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
2370
2380
  *
2371
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2372
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2381
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2382
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2373
2383
  * @returns {string} A string representing the collection.
2374
2384
  */
2375
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2376
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2385
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2386
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
2377
2387
  }
2378
2388
  /**
2379
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2389
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
2380
2390
  *
2381
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2382
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2391
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2392
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2383
2393
  * @returns {string} A string representing the data_store.
2384
2394
  */
2385
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2386
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2395
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2396
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
2387
2397
  }
2388
2398
  /**
2389
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2399
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
2390
2400
  *
2391
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2392
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2401
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2402
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2393
2403
  * @returns {string} A string representing the session.
2394
2404
  */
2395
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2396
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2397
- }
2398
- /**
2399
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2400
- *
2401
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2402
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2403
- * @returns {string} A string representing the answer.
2404
- */
2405
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2406
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2405
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2406
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
2407
2407
  }
2408
2408
  /**
2409
2409
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2808,154 +2808,154 @@ class SiteSearchEngineServiceClient {
2808
2808
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2809
2809
  }
2810
2810
  /**
2811
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2811
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2812
2812
  *
2813
2813
  * @param {string} project
2814
2814
  * @param {string} location
2815
2815
  * @param {string} collection
2816
2816
  * @param {string} engine
2817
2817
  * @param {string} session
2818
+ * @param {string} answer
2818
2819
  * @returns {string} Resource name string.
2819
2820
  */
2820
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2821
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2821
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2822
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2822
2823
  project: project,
2823
2824
  location: location,
2824
2825
  collection: collection,
2825
2826
  engine: engine,
2826
2827
  session: session,
2828
+ answer: answer,
2827
2829
  });
2828
2830
  }
2829
2831
  /**
2830
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2832
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2831
2833
  *
2832
- * @param {string} projectLocationCollectionEngineSessionName
2833
- * A fully-qualified path representing project_location_collection_engine_session resource.
2834
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2835
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2834
2836
  * @returns {string} A string representing the project.
2835
2837
  */
2836
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2837
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2838
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2839
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2838
2840
  }
2839
2841
  /**
2840
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2842
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2841
2843
  *
2842
- * @param {string} projectLocationCollectionEngineSessionName
2843
- * A fully-qualified path representing project_location_collection_engine_session resource.
2844
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2845
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2844
2846
  * @returns {string} A string representing the location.
2845
2847
  */
2846
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2847
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2848
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2849
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2848
2850
  }
2849
2851
  /**
2850
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2852
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2851
2853
  *
2852
- * @param {string} projectLocationCollectionEngineSessionName
2853
- * A fully-qualified path representing project_location_collection_engine_session resource.
2854
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2855
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2854
2856
  * @returns {string} A string representing the collection.
2855
2857
  */
2856
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2857
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2858
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2859
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2858
2860
  }
2859
2861
  /**
2860
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2862
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2861
2863
  *
2862
- * @param {string} projectLocationCollectionEngineSessionName
2863
- * A fully-qualified path representing project_location_collection_engine_session resource.
2864
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2865
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2864
2866
  * @returns {string} A string representing the engine.
2865
2867
  */
2866
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2867
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2868
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2869
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2868
2870
  }
2869
2871
  /**
2870
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2872
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2871
2873
  *
2872
- * @param {string} projectLocationCollectionEngineSessionName
2873
- * A fully-qualified path representing project_location_collection_engine_session resource.
2874
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2875
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2874
2876
  * @returns {string} A string representing the session.
2875
2877
  */
2876
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2877
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2878
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2879
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2878
2880
  }
2879
2881
  /**
2880
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2882
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2883
+ *
2884
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2885
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2886
+ * @returns {string} A string representing the answer.
2887
+ */
2888
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2889
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2890
+ }
2891
+ /**
2892
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2881
2893
  *
2882
2894
  * @param {string} project
2883
2895
  * @param {string} location
2884
2896
  * @param {string} collection
2885
2897
  * @param {string} engine
2886
2898
  * @param {string} session
2887
- * @param {string} answer
2888
2899
  * @returns {string} Resource name string.
2889
2900
  */
2890
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2891
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2901
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2902
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2892
2903
  project: project,
2893
2904
  location: location,
2894
2905
  collection: collection,
2895
2906
  engine: engine,
2896
2907
  session: session,
2897
- answer: answer,
2898
2908
  });
2899
2909
  }
2900
2910
  /**
2901
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2911
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2902
2912
  *
2903
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2904
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2913
+ * @param {string} projectLocationCollectionEngineSessionsName
2914
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2905
2915
  * @returns {string} A string representing the project.
2906
2916
  */
2907
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2908
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2917
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2918
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2909
2919
  }
2910
2920
  /**
2911
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2921
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2912
2922
  *
2913
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2914
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2923
+ * @param {string} projectLocationCollectionEngineSessionsName
2924
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2915
2925
  * @returns {string} A string representing the location.
2916
2926
  */
2917
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2918
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2927
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2928
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2919
2929
  }
2920
2930
  /**
2921
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2931
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2922
2932
  *
2923
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2924
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2933
+ * @param {string} projectLocationCollectionEngineSessionsName
2934
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2925
2935
  * @returns {string} A string representing the collection.
2926
2936
  */
2927
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2928
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2937
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2938
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2929
2939
  }
2930
2940
  /**
2931
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2941
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2932
2942
  *
2933
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2934
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2943
+ * @param {string} projectLocationCollectionEngineSessionsName
2944
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2935
2945
  * @returns {string} A string representing the engine.
2936
2946
  */
2937
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2938
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2947
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2948
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2939
2949
  }
2940
2950
  /**
2941
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2951
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2942
2952
  *
2943
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2944
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2953
+ * @param {string} projectLocationCollectionEngineSessionsName
2954
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2945
2955
  * @returns {string} A string representing the session.
2946
2956
  */
2947
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2948
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2949
- }
2950
- /**
2951
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2952
- *
2953
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2954
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2955
- * @returns {string} A string representing the answer.
2956
- */
2957
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2958
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2957
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2958
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2959
2959
  }
2960
2960
  /**
2961
2961
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3482,63 +3482,6 @@ class SiteSearchEngineServiceClient {
3482
3482
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3483
3483
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3484
3484
  }
3485
- /**
3486
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3487
- *
3488
- * @param {string} project
3489
- * @param {string} location
3490
- * @param {string} data_store
3491
- * @param {string} session
3492
- * @returns {string} Resource name string.
3493
- */
3494
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3495
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3496
- project: project,
3497
- location: location,
3498
- data_store: dataStore,
3499
- session: session,
3500
- });
3501
- }
3502
- /**
3503
- * Parse the project from ProjectLocationDataStoreSession resource.
3504
- *
3505
- * @param {string} projectLocationDataStoreSessionName
3506
- * A fully-qualified path representing project_location_data_store_session resource.
3507
- * @returns {string} A string representing the project.
3508
- */
3509
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3510
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3511
- }
3512
- /**
3513
- * Parse the location from ProjectLocationDataStoreSession resource.
3514
- *
3515
- * @param {string} projectLocationDataStoreSessionName
3516
- * A fully-qualified path representing project_location_data_store_session resource.
3517
- * @returns {string} A string representing the location.
3518
- */
3519
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3520
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3521
- }
3522
- /**
3523
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3524
- *
3525
- * @param {string} projectLocationDataStoreSessionName
3526
- * A fully-qualified path representing project_location_data_store_session resource.
3527
- * @returns {string} A string representing the data_store.
3528
- */
3529
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3530
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3531
- }
3532
- /**
3533
- * Parse the session from ProjectLocationDataStoreSession resource.
3534
- *
3535
- * @param {string} projectLocationDataStoreSessionName
3536
- * A fully-qualified path representing project_location_data_store_session resource.
3537
- * @returns {string} A string representing the session.
3538
- */
3539
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3540
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3541
- }
3542
3485
  /**
3543
3486
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3544
3487
  *
@@ -3608,6 +3551,63 @@ class SiteSearchEngineServiceClient {
3608
3551
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3609
3552
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3610
3553
  }
3554
+ /**
3555
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3556
+ *
3557
+ * @param {string} project
3558
+ * @param {string} location
3559
+ * @param {string} data_store
3560
+ * @param {string} session
3561
+ * @returns {string} Resource name string.
3562
+ */
3563
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3564
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3565
+ project: project,
3566
+ location: location,
3567
+ data_store: dataStore,
3568
+ session: session,
3569
+ });
3570
+ }
3571
+ /**
3572
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3573
+ *
3574
+ * @param {string} projectLocationDataStoreSessionsName
3575
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3576
+ * @returns {string} A string representing the project.
3577
+ */
3578
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3579
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3580
+ }
3581
+ /**
3582
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3583
+ *
3584
+ * @param {string} projectLocationDataStoreSessionsName
3585
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3586
+ * @returns {string} A string representing the location.
3587
+ */
3588
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3589
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3590
+ }
3591
+ /**
3592
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3593
+ *
3594
+ * @param {string} projectLocationDataStoreSessionsName
3595
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3596
+ * @returns {string} A string representing the data_store.
3597
+ */
3598
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3599
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3600
+ }
3601
+ /**
3602
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3603
+ *
3604
+ * @param {string} projectLocationDataStoreSessionsName
3605
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3606
+ * @returns {string} A string representing the session.
3607
+ */
3608
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3609
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3610
+ }
3611
3611
  /**
3612
3612
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3613
3613
  *
@@ -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",