@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 SearchServiceClient {
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
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
191
191
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
@@ -196,8 +196,8 @@ class SearchServiceClient {
196
196
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
197
197
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
198
198
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
199
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
199
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
200
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
201
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
202
202
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
203
203
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -590,22 +590,16 @@ class SearchServiceClient {
590
590
  * between /search API calls and /answer API calls.
591
591
  *
592
592
  * Example #1 (multi-turn /search API calls):
593
- * 1. Call /search API with the auto-session mode (see below).
594
- * 2. Call /search API with the session ID generated in the first call.
595
- * Here, the previous search query gets considered in query
596
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
597
- * and the current query is "How about 2023?", the current query will
598
- * be interpreted as "How did Alphabet do in 2023?".
593
+ * Call /search API with the session ID generated in the first call.
594
+ * Here, the previous search query gets considered in query
595
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
596
+ * and the current query is "How about 2023?", the current query will
597
+ * be interpreted as "How did Alphabet do in 2023?".
599
598
  *
600
599
  * Example #2 (coordination between /search API calls and /answer API calls):
601
- * 1. Call /search API with the auto-session mode (see below).
602
- * 2. Call /answer API with the session ID generated in the first call.
603
- * Here, the answer generation happens in the context of the search
604
- * results from the first search call.
605
- *
606
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
607
- * gets automatically created. Otherwise, users can use the create-session API
608
- * to create a session manually.
600
+ * Call /answer API with the session ID generated in the first call.
601
+ * Here, the answer generation happens in the context of the search
602
+ * results from the first search call.
609
603
  *
610
604
  * Multi-turn Search feature is currently at private GA stage. Please use
611
605
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -895,22 +889,16 @@ class SearchServiceClient {
895
889
  * between /search API calls and /answer API calls.
896
890
  *
897
891
  * Example #1 (multi-turn /search API calls):
898
- * 1. Call /search API with the auto-session mode (see below).
899
- * 2. Call /search API with the session ID generated in the first call.
900
- * Here, the previous search query gets considered in query
901
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
902
- * and the current query is "How about 2023?", the current query will
903
- * be interpreted as "How did Alphabet do in 2023?".
892
+ * Call /search API with the session ID generated in the first call.
893
+ * Here, the previous search query gets considered in query
894
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
895
+ * and the current query is "How about 2023?", the current query will
896
+ * be interpreted as "How did Alphabet do in 2023?".
904
897
  *
905
898
  * Example #2 (coordination between /search API calls and /answer API calls):
906
- * 1. Call /search API with the auto-session mode (see below).
907
- * 2. Call /answer API with the session ID generated in the first call.
908
- * Here, the answer generation happens in the context of the search
909
- * results from the first search call.
910
- *
911
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
912
- * gets automatically created. Otherwise, users can use the create-session API
913
- * to create a session manually.
899
+ * Call /answer API with the session ID generated in the first call.
900
+ * Here, the answer generation happens in the context of the search
901
+ * results from the first search call.
914
902
  *
915
903
  * Multi-turn Search feature is currently at private GA stage. Please use
916
904
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -1230,22 +1218,16 @@ class SearchServiceClient {
1230
1218
  * between /search API calls and /answer API calls.
1231
1219
  *
1232
1220
  * Example #1 (multi-turn /search API calls):
1233
- * 1. Call /search API with the auto-session mode (see below).
1234
- * 2. Call /search API with the session ID generated in the first call.
1235
- * Here, the previous search query gets considered in query
1236
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1237
- * and the current query is "How about 2023?", the current query will
1238
- * be interpreted as "How did Alphabet do in 2023?".
1221
+ * Call /search API with the session ID generated in the first call.
1222
+ * Here, the previous search query gets considered in query
1223
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1224
+ * and the current query is "How about 2023?", the current query will
1225
+ * be interpreted as "How did Alphabet do in 2023?".
1239
1226
  *
1240
1227
  * Example #2 (coordination between /search API calls and /answer API calls):
1241
- * 1. Call /search API with the auto-session mode (see below).
1242
- * 2. Call /answer API with the session ID generated in the first call.
1243
- * Here, the answer generation happens in the context of the search
1244
- * results from the first search call.
1245
- *
1246
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
1247
- * gets automatically created. Otherwise, users can use the create-session API
1248
- * to create a session manually.
1228
+ * Call /answer API with the session ID generated in the first call.
1229
+ * Here, the answer generation happens in the context of the search
1230
+ * results from the first search call.
1249
1231
  *
1250
1232
  * Multi-turn Search feature is currently at private GA stage. Please use
1251
1233
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -1535,22 +1517,16 @@ class SearchServiceClient {
1535
1517
  * between /search API calls and /answer API calls.
1536
1518
  *
1537
1519
  * Example #1 (multi-turn /search API calls):
1538
- * 1. Call /search API with the auto-session mode (see below).
1539
- * 2. Call /search API with the session ID generated in the first call.
1540
- * Here, the previous search query gets considered in query
1541
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1542
- * and the current query is "How about 2023?", the current query will
1543
- * be interpreted as "How did Alphabet do in 2023?".
1520
+ * Call /search API with the session ID generated in the first call.
1521
+ * Here, the previous search query gets considered in query
1522
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1523
+ * and the current query is "How about 2023?", the current query will
1524
+ * be interpreted as "How did Alphabet do in 2023?".
1544
1525
  *
1545
1526
  * Example #2 (coordination between /search API calls and /answer API calls):
1546
- * 1. Call /search API with the auto-session mode (see below).
1547
- * 2. Call /answer API with the session ID generated in the first call.
1548
- * Here, the answer generation happens in the context of the search
1549
- * results from the first search call.
1550
- *
1551
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
1552
- * gets automatically created. Otherwise, users can use the create-session API
1553
- * to create a session manually.
1527
+ * Call /answer API with the session ID generated in the first call.
1528
+ * Here, the answer generation happens in the context of the search
1529
+ * results from the first search call.
1554
1530
  *
1555
1531
  * Multi-turn Search feature is currently at private GA stage. Please use
1556
1532
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -2531,154 +2507,154 @@ class SearchServiceClient {
2531
2507
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
2532
2508
  }
2533
2509
  /**
2534
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
2510
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2535
2511
  *
2536
2512
  * @param {string} project
2537
2513
  * @param {string} location
2538
2514
  * @param {string} collection
2539
2515
  * @param {string} data_store
2540
2516
  * @param {string} session
2517
+ * @param {string} answer
2541
2518
  * @returns {string} Resource name string.
2542
2519
  */
2543
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
2544
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
2520
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2521
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2545
2522
  project: project,
2546
2523
  location: location,
2547
2524
  collection: collection,
2548
2525
  data_store: dataStore,
2549
2526
  session: session,
2527
+ answer: answer,
2550
2528
  });
2551
2529
  }
2552
2530
  /**
2553
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
2531
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2554
2532
  *
2555
- * @param {string} projectLocationCollectionDataStoreSessionName
2556
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2533
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2534
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2557
2535
  * @returns {string} A string representing the project.
2558
2536
  */
2559
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2560
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
2537
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2538
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2561
2539
  }
2562
2540
  /**
2563
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
2541
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2564
2542
  *
2565
- * @param {string} projectLocationCollectionDataStoreSessionName
2566
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2543
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2544
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2567
2545
  * @returns {string} A string representing the location.
2568
2546
  */
2569
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2570
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
2547
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2548
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2571
2549
  }
2572
2550
  /**
2573
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
2551
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2574
2552
  *
2575
- * @param {string} projectLocationCollectionDataStoreSessionName
2576
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2553
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2554
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2577
2555
  * @returns {string} A string representing the collection.
2578
2556
  */
2579
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2580
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
2557
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2558
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2581
2559
  }
2582
2560
  /**
2583
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
2561
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2584
2562
  *
2585
- * @param {string} projectLocationCollectionDataStoreSessionName
2586
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2563
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2564
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2587
2565
  * @returns {string} A string representing the data_store.
2588
2566
  */
2589
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2590
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
2567
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2568
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2591
2569
  }
2592
2570
  /**
2593
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
2571
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2594
2572
  *
2595
- * @param {string} projectLocationCollectionDataStoreSessionName
2596
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2573
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2574
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2597
2575
  * @returns {string} A string representing the session.
2598
2576
  */
2599
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2600
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
2577
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2578
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2601
2579
  }
2602
2580
  /**
2603
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2581
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2582
+ *
2583
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2584
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2585
+ * @returns {string} A string representing the answer.
2586
+ */
2587
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2588
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2589
+ }
2590
+ /**
2591
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
2604
2592
  *
2605
2593
  * @param {string} project
2606
2594
  * @param {string} location
2607
2595
  * @param {string} collection
2608
2596
  * @param {string} data_store
2609
2597
  * @param {string} session
2610
- * @param {string} answer
2611
2598
  * @returns {string} Resource name string.
2612
2599
  */
2613
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2614
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2600
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
2601
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
2615
2602
  project: project,
2616
2603
  location: location,
2617
2604
  collection: collection,
2618
2605
  data_store: dataStore,
2619
2606
  session: session,
2620
- answer: answer,
2621
2607
  });
2622
2608
  }
2623
2609
  /**
2624
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2610
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
2625
2611
  *
2626
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2627
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2612
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2613
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2628
2614
  * @returns {string} A string representing the project.
2629
2615
  */
2630
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2631
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2616
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2617
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
2632
2618
  }
2633
2619
  /**
2634
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2620
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
2635
2621
  *
2636
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2637
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2622
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2623
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2638
2624
  * @returns {string} A string representing the location.
2639
2625
  */
2640
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2641
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2626
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2627
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
2642
2628
  }
2643
2629
  /**
2644
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2630
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
2645
2631
  *
2646
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2647
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2632
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2633
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2648
2634
  * @returns {string} A string representing the collection.
2649
2635
  */
2650
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2651
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2636
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2637
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
2652
2638
  }
2653
2639
  /**
2654
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2640
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
2655
2641
  *
2656
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2657
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2642
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2643
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2658
2644
  * @returns {string} A string representing the data_store.
2659
2645
  */
2660
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2661
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2646
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2647
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
2662
2648
  }
2663
2649
  /**
2664
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2650
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
2665
2651
  *
2666
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2667
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2652
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2653
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2668
2654
  * @returns {string} A string representing the session.
2669
2655
  */
2670
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2671
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2672
- }
2673
- /**
2674
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2675
- *
2676
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2677
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2678
- * @returns {string} A string representing the answer.
2679
- */
2680
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2681
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2656
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2657
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
2682
2658
  }
2683
2659
  /**
2684
2660
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -3083,154 +3059,154 @@ class SearchServiceClient {
3083
3059
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
3084
3060
  }
3085
3061
  /**
3086
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
3062
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
3087
3063
  *
3088
3064
  * @param {string} project
3089
3065
  * @param {string} location
3090
3066
  * @param {string} collection
3091
3067
  * @param {string} engine
3092
3068
  * @param {string} session
3069
+ * @param {string} answer
3093
3070
  * @returns {string} Resource name string.
3094
3071
  */
3095
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
3096
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
3072
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
3073
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
3097
3074
  project: project,
3098
3075
  location: location,
3099
3076
  collection: collection,
3100
3077
  engine: engine,
3101
3078
  session: session,
3079
+ answer: answer,
3102
3080
  });
3103
3081
  }
3104
3082
  /**
3105
- * Parse the project from ProjectLocationCollectionEngineSession resource.
3083
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
3106
3084
  *
3107
- * @param {string} projectLocationCollectionEngineSessionName
3108
- * A fully-qualified path representing project_location_collection_engine_session resource.
3085
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3086
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3109
3087
  * @returns {string} A string representing the project.
3110
3088
  */
3111
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
3112
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
3089
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3090
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
3113
3091
  }
3114
3092
  /**
3115
- * Parse the location from ProjectLocationCollectionEngineSession resource.
3093
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
3116
3094
  *
3117
- * @param {string} projectLocationCollectionEngineSessionName
3118
- * A fully-qualified path representing project_location_collection_engine_session resource.
3095
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3096
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3119
3097
  * @returns {string} A string representing the location.
3120
3098
  */
3121
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
3122
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
3099
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3100
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
3123
3101
  }
3124
3102
  /**
3125
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
3103
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
3126
3104
  *
3127
- * @param {string} projectLocationCollectionEngineSessionName
3128
- * A fully-qualified path representing project_location_collection_engine_session resource.
3105
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3106
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3129
3107
  * @returns {string} A string representing the collection.
3130
3108
  */
3131
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
3132
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
3109
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3110
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
3133
3111
  }
3134
3112
  /**
3135
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
3113
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
3136
3114
  *
3137
- * @param {string} projectLocationCollectionEngineSessionName
3138
- * A fully-qualified path representing project_location_collection_engine_session resource.
3115
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3116
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3139
3117
  * @returns {string} A string representing the engine.
3140
3118
  */
3141
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
3142
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
3119
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3120
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
3143
3121
  }
3144
3122
  /**
3145
- * Parse the session from ProjectLocationCollectionEngineSession resource.
3123
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
3146
3124
  *
3147
- * @param {string} projectLocationCollectionEngineSessionName
3148
- * A fully-qualified path representing project_location_collection_engine_session resource.
3125
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3126
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3149
3127
  * @returns {string} A string representing the session.
3150
3128
  */
3151
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
3152
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
3129
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3130
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
3153
3131
  }
3154
3132
  /**
3155
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
3133
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
3134
+ *
3135
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3136
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3137
+ * @returns {string} A string representing the answer.
3138
+ */
3139
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3140
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
3141
+ }
3142
+ /**
3143
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
3156
3144
  *
3157
3145
  * @param {string} project
3158
3146
  * @param {string} location
3159
3147
  * @param {string} collection
3160
3148
  * @param {string} engine
3161
3149
  * @param {string} session
3162
- * @param {string} answer
3163
3150
  * @returns {string} Resource name string.
3164
3151
  */
3165
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
3166
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
3152
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
3153
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
3167
3154
  project: project,
3168
3155
  location: location,
3169
3156
  collection: collection,
3170
3157
  engine: engine,
3171
3158
  session: session,
3172
- answer: answer,
3173
3159
  });
3174
3160
  }
3175
3161
  /**
3176
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
3162
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
3177
3163
  *
3178
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3179
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3164
+ * @param {string} projectLocationCollectionEngineSessionsName
3165
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3180
3166
  * @returns {string} A string representing the project.
3181
3167
  */
3182
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3183
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
3168
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3169
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
3184
3170
  }
3185
3171
  /**
3186
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
3172
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
3187
3173
  *
3188
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3189
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3174
+ * @param {string} projectLocationCollectionEngineSessionsName
3175
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3190
3176
  * @returns {string} A string representing the location.
3191
3177
  */
3192
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3193
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
3178
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3179
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
3194
3180
  }
3195
3181
  /**
3196
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
3182
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
3197
3183
  *
3198
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3199
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3184
+ * @param {string} projectLocationCollectionEngineSessionsName
3185
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3200
3186
  * @returns {string} A string representing the collection.
3201
3187
  */
3202
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3203
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
3188
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3189
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
3204
3190
  }
3205
3191
  /**
3206
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
3192
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
3207
3193
  *
3208
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3209
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3194
+ * @param {string} projectLocationCollectionEngineSessionsName
3195
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3210
3196
  * @returns {string} A string representing the engine.
3211
3197
  */
3212
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3213
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
3198
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3199
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
3214
3200
  }
3215
3201
  /**
3216
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
3202
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
3217
3203
  *
3218
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3219
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3204
+ * @param {string} projectLocationCollectionEngineSessionsName
3205
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3220
3206
  * @returns {string} A string representing the session.
3221
3207
  */
3222
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3223
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
3224
- }
3225
- /**
3226
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
3227
- *
3228
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3229
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3230
- * @returns {string} A string representing the answer.
3231
- */
3232
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3233
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
3208
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3209
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
3234
3210
  }
3235
3211
  /**
3236
3212
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3814,63 +3790,6 @@ class SearchServiceClient {
3814
3790
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3815
3791
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3816
3792
  }
3817
- /**
3818
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3819
- *
3820
- * @param {string} project
3821
- * @param {string} location
3822
- * @param {string} data_store
3823
- * @param {string} session
3824
- * @returns {string} Resource name string.
3825
- */
3826
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3827
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3828
- project: project,
3829
- location: location,
3830
- data_store: dataStore,
3831
- session: session,
3832
- });
3833
- }
3834
- /**
3835
- * Parse the project from ProjectLocationDataStoreSession resource.
3836
- *
3837
- * @param {string} projectLocationDataStoreSessionName
3838
- * A fully-qualified path representing project_location_data_store_session resource.
3839
- * @returns {string} A string representing the project.
3840
- */
3841
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3842
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3843
- }
3844
- /**
3845
- * Parse the location from ProjectLocationDataStoreSession resource.
3846
- *
3847
- * @param {string} projectLocationDataStoreSessionName
3848
- * A fully-qualified path representing project_location_data_store_session resource.
3849
- * @returns {string} A string representing the location.
3850
- */
3851
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3852
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3853
- }
3854
- /**
3855
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3856
- *
3857
- * @param {string} projectLocationDataStoreSessionName
3858
- * A fully-qualified path representing project_location_data_store_session resource.
3859
- * @returns {string} A string representing the data_store.
3860
- */
3861
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3862
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3863
- }
3864
- /**
3865
- * Parse the session from ProjectLocationDataStoreSession resource.
3866
- *
3867
- * @param {string} projectLocationDataStoreSessionName
3868
- * A fully-qualified path representing project_location_data_store_session resource.
3869
- * @returns {string} A string representing the session.
3870
- */
3871
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3872
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3873
- }
3874
3793
  /**
3875
3794
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3876
3795
  *
@@ -3940,6 +3859,63 @@ class SearchServiceClient {
3940
3859
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3941
3860
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3942
3861
  }
3862
+ /**
3863
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3864
+ *
3865
+ * @param {string} project
3866
+ * @param {string} location
3867
+ * @param {string} data_store
3868
+ * @param {string} session
3869
+ * @returns {string} Resource name string.
3870
+ */
3871
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3872
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3873
+ project: project,
3874
+ location: location,
3875
+ data_store: dataStore,
3876
+ session: session,
3877
+ });
3878
+ }
3879
+ /**
3880
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3881
+ *
3882
+ * @param {string} projectLocationDataStoreSessionsName
3883
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3884
+ * @returns {string} A string representing the project.
3885
+ */
3886
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3887
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3888
+ }
3889
+ /**
3890
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3891
+ *
3892
+ * @param {string} projectLocationDataStoreSessionsName
3893
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3894
+ * @returns {string} A string representing the location.
3895
+ */
3896
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3897
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3898
+ }
3899
+ /**
3900
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3901
+ *
3902
+ * @param {string} projectLocationDataStoreSessionsName
3903
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3904
+ * @returns {string} A string representing the data_store.
3905
+ */
3906
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3907
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3908
+ }
3909
+ /**
3910
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3911
+ *
3912
+ * @param {string} projectLocationDataStoreSessionsName
3913
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3914
+ * @returns {string} A string representing the session.
3915
+ */
3916
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3917
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3918
+ }
3943
3919
  /**
3944
3920
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3945
3921
  *