@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
@@ -162,6 +162,8 @@ class SearchServiceClient {
162
162
  // identifiers to uniquely identify resources within the API.
163
163
  // Create useful helper objects for these.
164
164
  this.pathTemplates = {
165
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
166
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
165
167
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
166
168
  identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
167
169
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
@@ -177,16 +179,16 @@ class SearchServiceClient {
177
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
180
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
182
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
183
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
185
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
184
186
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
185
187
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
186
188
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
187
189
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
188
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
190
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
191
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
192
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
191
193
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
192
194
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
@@ -197,8 +199,8 @@ class SearchServiceClient {
197
199
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
198
200
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
199
201
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
200
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
202
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
203
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
202
204
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
203
205
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
204
206
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -549,22 +551,16 @@ class SearchServiceClient {
549
551
  * between /search API calls and /answer API calls.
550
552
  *
551
553
  * Example #1 (multi-turn /search API calls):
552
- * 1. Call /search API with the auto-session mode (see below).
553
- * 2. Call /search API with the session ID generated in the first call.
554
- * Here, the previous search query gets considered in query
555
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
556
- * and the current query is "How about 2023?", the current query will
557
- * be interpreted as "How did Alphabet do in 2023?".
554
+ * Call /search API with the session ID generated in the first call.
555
+ * Here, the previous search query gets considered in query
556
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
557
+ * and the current query is "How about 2023?", the current query will
558
+ * be interpreted as "How did Alphabet do in 2023?".
558
559
  *
559
560
  * Example #2 (coordination between /search API calls and /answer API calls):
560
- * 1. Call /search API with the auto-session mode (see below).
561
- * 2. Call /answer API with the session ID generated in the first call.
562
- * Here, the answer generation happens in the context of the search
563
- * results from the first search call.
564
- *
565
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
566
- * gets automatically created. Otherwise, users can use the create-session API
567
- * to create a session manually.
561
+ * Call /answer API with the session ID generated in the first call.
562
+ * Here, the answer generation happens in the context of the search
563
+ * results from the first search call.
568
564
  *
569
565
  * Multi-turn Search feature is currently at private GA stage. Please use
570
566
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -807,22 +803,16 @@ class SearchServiceClient {
807
803
  * between /search API calls and /answer API calls.
808
804
  *
809
805
  * Example #1 (multi-turn /search API calls):
810
- * 1. Call /search API with the auto-session mode (see below).
811
- * 2. Call /search API with the session ID generated in the first call.
812
- * Here, the previous search query gets considered in query
813
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
814
- * and the current query is "How about 2023?", the current query will
815
- * be interpreted as "How did Alphabet do in 2023?".
806
+ * Call /search API with the session ID generated in the first call.
807
+ * Here, the previous search query gets considered in query
808
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
809
+ * and the current query is "How about 2023?", the current query will
810
+ * be interpreted as "How did Alphabet do in 2023?".
816
811
  *
817
812
  * Example #2 (coordination between /search API calls and /answer API calls):
818
- * 1. Call /search API with the auto-session mode (see below).
819
- * 2. Call /answer API with the session ID generated in the first call.
820
- * Here, the answer generation happens in the context of the search
821
- * results from the first search call.
822
- *
823
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
824
- * gets automatically created. Otherwise, users can use the create-session API
825
- * to create a session manually.
813
+ * Call /answer API with the session ID generated in the first call.
814
+ * Here, the answer generation happens in the context of the search
815
+ * results from the first search call.
826
816
  *
827
817
  * Multi-turn Search feature is currently at private GA stage. Please use
828
818
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -1095,22 +1085,16 @@ class SearchServiceClient {
1095
1085
  * between /search API calls and /answer API calls.
1096
1086
  *
1097
1087
  * Example #1 (multi-turn /search API calls):
1098
- * 1. Call /search API with the auto-session mode (see below).
1099
- * 2. Call /search API with the session ID generated in the first call.
1100
- * Here, the previous search query gets considered in query
1101
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1102
- * and the current query is "How about 2023?", the current query will
1103
- * be interpreted as "How did Alphabet do in 2023?".
1088
+ * Call /search API with the session ID generated in the first call.
1089
+ * Here, the previous search query gets considered in query
1090
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1091
+ * and the current query is "How about 2023?", the current query will
1092
+ * be interpreted as "How did Alphabet do in 2023?".
1104
1093
  *
1105
1094
  * Example #2 (coordination between /search API calls and /answer API calls):
1106
- * 1. Call /search API with the auto-session mode (see below).
1107
- * 2. Call /answer API with the session ID generated in the first call.
1108
- * Here, the answer generation happens in the context of the search
1109
- * results from the first search call.
1110
- *
1111
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
1112
- * gets automatically created. Otherwise, users can use the create-session API
1113
- * to create a session manually.
1095
+ * Call /answer API with the session ID generated in the first call.
1096
+ * Here, the answer generation happens in the context of the search
1097
+ * results from the first search call.
1114
1098
  *
1115
1099
  * Multi-turn Search feature is currently at private GA stage. Please use
1116
1100
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -1353,22 +1337,16 @@ class SearchServiceClient {
1353
1337
  * between /search API calls and /answer API calls.
1354
1338
  *
1355
1339
  * Example #1 (multi-turn /search API calls):
1356
- * 1. Call /search API with the auto-session mode (see below).
1357
- * 2. Call /search API with the session ID generated in the first call.
1358
- * Here, the previous search query gets considered in query
1359
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1360
- * and the current query is "How about 2023?", the current query will
1361
- * be interpreted as "How did Alphabet do in 2023?".
1340
+ * Call /search API with the session ID generated in the first call.
1341
+ * Here, the previous search query gets considered in query
1342
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1343
+ * and the current query is "How about 2023?", the current query will
1344
+ * be interpreted as "How did Alphabet do in 2023?".
1362
1345
  *
1363
1346
  * Example #2 (coordination between /search API calls and /answer API calls):
1364
- * 1. Call /search API with the auto-session mode (see below).
1365
- * 2. Call /answer API with the session ID generated in the first call.
1366
- * Here, the answer generation happens in the context of the search
1367
- * results from the first search call.
1368
- *
1369
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
1370
- * gets automatically created. Otherwise, users can use the create-session API
1371
- * to create a session manually.
1347
+ * Call /answer API with the session ID generated in the first call.
1348
+ * Here, the answer generation happens in the context of the search
1349
+ * results from the first search call.
1372
1350
  *
1373
1351
  * Multi-turn Search feature is currently at private GA stage. Please use
1374
1352
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -1471,6 +1449,156 @@ class SearchServiceClient {
1471
1449
  // --------------------
1472
1450
  // -- Path templates --
1473
1451
  // --------------------
1452
+ /**
1453
+ * Return a fully-qualified assistAnswer resource name string.
1454
+ *
1455
+ * @param {string} project
1456
+ * @param {string} location
1457
+ * @param {string} collection
1458
+ * @param {string} engine
1459
+ * @param {string} session
1460
+ * @param {string} assist_answer
1461
+ * @returns {string} Resource name string.
1462
+ */
1463
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
1464
+ return this.pathTemplates.assistAnswerPathTemplate.render({
1465
+ project: project,
1466
+ location: location,
1467
+ collection: collection,
1468
+ engine: engine,
1469
+ session: session,
1470
+ assist_answer: assistAnswer,
1471
+ });
1472
+ }
1473
+ /**
1474
+ * Parse the project from AssistAnswer resource.
1475
+ *
1476
+ * @param {string} assistAnswerName
1477
+ * A fully-qualified path representing AssistAnswer resource.
1478
+ * @returns {string} A string representing the project.
1479
+ */
1480
+ matchProjectFromAssistAnswerName(assistAnswerName) {
1481
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
1482
+ }
1483
+ /**
1484
+ * Parse the location from AssistAnswer resource.
1485
+ *
1486
+ * @param {string} assistAnswerName
1487
+ * A fully-qualified path representing AssistAnswer resource.
1488
+ * @returns {string} A string representing the location.
1489
+ */
1490
+ matchLocationFromAssistAnswerName(assistAnswerName) {
1491
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
1492
+ }
1493
+ /**
1494
+ * Parse the collection from AssistAnswer resource.
1495
+ *
1496
+ * @param {string} assistAnswerName
1497
+ * A fully-qualified path representing AssistAnswer resource.
1498
+ * @returns {string} A string representing the collection.
1499
+ */
1500
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
1501
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
1502
+ }
1503
+ /**
1504
+ * Parse the engine from AssistAnswer resource.
1505
+ *
1506
+ * @param {string} assistAnswerName
1507
+ * A fully-qualified path representing AssistAnswer resource.
1508
+ * @returns {string} A string representing the engine.
1509
+ */
1510
+ matchEngineFromAssistAnswerName(assistAnswerName) {
1511
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
1512
+ }
1513
+ /**
1514
+ * Parse the session from AssistAnswer resource.
1515
+ *
1516
+ * @param {string} assistAnswerName
1517
+ * A fully-qualified path representing AssistAnswer resource.
1518
+ * @returns {string} A string representing the session.
1519
+ */
1520
+ matchSessionFromAssistAnswerName(assistAnswerName) {
1521
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
1522
+ }
1523
+ /**
1524
+ * Parse the assist_answer from AssistAnswer resource.
1525
+ *
1526
+ * @param {string} assistAnswerName
1527
+ * A fully-qualified path representing AssistAnswer resource.
1528
+ * @returns {string} A string representing the assist_answer.
1529
+ */
1530
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
1531
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
1532
+ }
1533
+ /**
1534
+ * Return a fully-qualified assistant resource name string.
1535
+ *
1536
+ * @param {string} project
1537
+ * @param {string} location
1538
+ * @param {string} collection
1539
+ * @param {string} engine
1540
+ * @param {string} assistant
1541
+ * @returns {string} Resource name string.
1542
+ */
1543
+ assistantPath(project, location, collection, engine, assistant) {
1544
+ return this.pathTemplates.assistantPathTemplate.render({
1545
+ project: project,
1546
+ location: location,
1547
+ collection: collection,
1548
+ engine: engine,
1549
+ assistant: assistant,
1550
+ });
1551
+ }
1552
+ /**
1553
+ * Parse the project from Assistant resource.
1554
+ *
1555
+ * @param {string} assistantName
1556
+ * A fully-qualified path representing Assistant resource.
1557
+ * @returns {string} A string representing the project.
1558
+ */
1559
+ matchProjectFromAssistantName(assistantName) {
1560
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
1561
+ }
1562
+ /**
1563
+ * Parse the location from Assistant resource.
1564
+ *
1565
+ * @param {string} assistantName
1566
+ * A fully-qualified path representing Assistant resource.
1567
+ * @returns {string} A string representing the location.
1568
+ */
1569
+ matchLocationFromAssistantName(assistantName) {
1570
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
1571
+ }
1572
+ /**
1573
+ * Parse the collection from Assistant resource.
1574
+ *
1575
+ * @param {string} assistantName
1576
+ * A fully-qualified path representing Assistant resource.
1577
+ * @returns {string} A string representing the collection.
1578
+ */
1579
+ matchCollectionFromAssistantName(assistantName) {
1580
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
1581
+ }
1582
+ /**
1583
+ * Parse the engine from Assistant resource.
1584
+ *
1585
+ * @param {string} assistantName
1586
+ * A fully-qualified path representing Assistant resource.
1587
+ * @returns {string} A string representing the engine.
1588
+ */
1589
+ matchEngineFromAssistantName(assistantName) {
1590
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
1591
+ }
1592
+ /**
1593
+ * Parse the assistant from Assistant resource.
1594
+ *
1595
+ * @param {string} assistantName
1596
+ * A fully-qualified path representing Assistant resource.
1597
+ * @returns {string} A string representing the assistant.
1598
+ */
1599
+ matchAssistantFromAssistantName(assistantName) {
1600
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
1601
+ }
1474
1602
  /**
1475
1603
  * Return a fully-qualified engine resource name string.
1476
1604
  *
@@ -2375,154 +2503,154 @@ class SearchServiceClient {
2375
2503
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
2376
2504
  }
2377
2505
  /**
2378
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
2506
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2379
2507
  *
2380
2508
  * @param {string} project
2381
2509
  * @param {string} location
2382
2510
  * @param {string} collection
2383
2511
  * @param {string} data_store
2384
2512
  * @param {string} session
2513
+ * @param {string} answer
2385
2514
  * @returns {string} Resource name string.
2386
2515
  */
2387
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
2388
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
2516
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2517
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2389
2518
  project: project,
2390
2519
  location: location,
2391
2520
  collection: collection,
2392
2521
  data_store: dataStore,
2393
2522
  session: session,
2523
+ answer: answer,
2394
2524
  });
2395
2525
  }
2396
2526
  /**
2397
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
2527
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2398
2528
  *
2399
- * @param {string} projectLocationCollectionDataStoreSessionName
2400
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2529
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2530
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2401
2531
  * @returns {string} A string representing the project.
2402
2532
  */
2403
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2404
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
2533
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2534
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2405
2535
  }
2406
2536
  /**
2407
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
2537
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2408
2538
  *
2409
- * @param {string} projectLocationCollectionDataStoreSessionName
2410
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2539
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2540
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2411
2541
  * @returns {string} A string representing the location.
2412
2542
  */
2413
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2414
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
2543
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2544
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2415
2545
  }
2416
2546
  /**
2417
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
2547
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2418
2548
  *
2419
- * @param {string} projectLocationCollectionDataStoreSessionName
2420
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2549
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2550
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2421
2551
  * @returns {string} A string representing the collection.
2422
2552
  */
2423
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2424
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
2553
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2554
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2425
2555
  }
2426
2556
  /**
2427
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
2557
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2428
2558
  *
2429
- * @param {string} projectLocationCollectionDataStoreSessionName
2430
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2559
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2560
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2431
2561
  * @returns {string} A string representing the data_store.
2432
2562
  */
2433
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2434
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
2563
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2564
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2435
2565
  }
2436
2566
  /**
2437
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
2567
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2438
2568
  *
2439
- * @param {string} projectLocationCollectionDataStoreSessionName
2440
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2569
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2570
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2441
2571
  * @returns {string} A string representing the session.
2442
2572
  */
2443
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2444
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
2573
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2574
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2445
2575
  }
2446
2576
  /**
2447
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2577
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2578
+ *
2579
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2580
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2581
+ * @returns {string} A string representing the answer.
2582
+ */
2583
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2584
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2585
+ }
2586
+ /**
2587
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
2448
2588
  *
2449
2589
  * @param {string} project
2450
2590
  * @param {string} location
2451
2591
  * @param {string} collection
2452
2592
  * @param {string} data_store
2453
2593
  * @param {string} session
2454
- * @param {string} answer
2455
2594
  * @returns {string} Resource name string.
2456
2595
  */
2457
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2458
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2596
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
2597
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
2459
2598
  project: project,
2460
2599
  location: location,
2461
2600
  collection: collection,
2462
2601
  data_store: dataStore,
2463
2602
  session: session,
2464
- answer: answer,
2465
2603
  });
2466
2604
  }
2467
2605
  /**
2468
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2606
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
2469
2607
  *
2470
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2471
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2608
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2609
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2472
2610
  * @returns {string} A string representing the project.
2473
2611
  */
2474
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2475
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2612
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2613
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
2476
2614
  }
2477
2615
  /**
2478
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2616
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
2479
2617
  *
2480
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2481
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2618
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2619
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2482
2620
  * @returns {string} A string representing the location.
2483
2621
  */
2484
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2485
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2622
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2623
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
2486
2624
  }
2487
2625
  /**
2488
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2626
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
2489
2627
  *
2490
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2491
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2628
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2629
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2492
2630
  * @returns {string} A string representing the collection.
2493
2631
  */
2494
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2495
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2632
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2633
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
2496
2634
  }
2497
2635
  /**
2498
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2636
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
2499
2637
  *
2500
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2501
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2638
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2639
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2502
2640
  * @returns {string} A string representing the data_store.
2503
2641
  */
2504
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2505
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2642
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2643
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
2506
2644
  }
2507
2645
  /**
2508
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2646
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
2509
2647
  *
2510
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2511
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2648
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2649
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2512
2650
  * @returns {string} A string representing the session.
2513
2651
  */
2514
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2515
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2516
- }
2517
- /**
2518
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2519
- *
2520
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2521
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2522
- * @returns {string} A string representing the answer.
2523
- */
2524
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2525
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2652
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2653
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
2526
2654
  }
2527
2655
  /**
2528
2656
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2927,154 +3055,154 @@ class SearchServiceClient {
2927
3055
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2928
3056
  }
2929
3057
  /**
2930
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
3058
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2931
3059
  *
2932
3060
  * @param {string} project
2933
3061
  * @param {string} location
2934
3062
  * @param {string} collection
2935
3063
  * @param {string} engine
2936
3064
  * @param {string} session
3065
+ * @param {string} answer
2937
3066
  * @returns {string} Resource name string.
2938
3067
  */
2939
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2940
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
3068
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
3069
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2941
3070
  project: project,
2942
3071
  location: location,
2943
3072
  collection: collection,
2944
3073
  engine: engine,
2945
3074
  session: session,
3075
+ answer: answer,
2946
3076
  });
2947
3077
  }
2948
3078
  /**
2949
- * Parse the project from ProjectLocationCollectionEngineSession resource.
3079
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2950
3080
  *
2951
- * @param {string} projectLocationCollectionEngineSessionName
2952
- * A fully-qualified path representing project_location_collection_engine_session resource.
3081
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3082
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2953
3083
  * @returns {string} A string representing the project.
2954
3084
  */
2955
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2956
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
3085
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3086
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2957
3087
  }
2958
3088
  /**
2959
- * Parse the location from ProjectLocationCollectionEngineSession resource.
3089
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2960
3090
  *
2961
- * @param {string} projectLocationCollectionEngineSessionName
2962
- * A fully-qualified path representing project_location_collection_engine_session resource.
3091
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3092
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2963
3093
  * @returns {string} A string representing the location.
2964
3094
  */
2965
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2966
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
3095
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3096
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2967
3097
  }
2968
3098
  /**
2969
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
3099
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2970
3100
  *
2971
- * @param {string} projectLocationCollectionEngineSessionName
2972
- * A fully-qualified path representing project_location_collection_engine_session resource.
3101
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3102
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2973
3103
  * @returns {string} A string representing the collection.
2974
3104
  */
2975
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2976
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
3105
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3106
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2977
3107
  }
2978
3108
  /**
2979
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
3109
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2980
3110
  *
2981
- * @param {string} projectLocationCollectionEngineSessionName
2982
- * A fully-qualified path representing project_location_collection_engine_session resource.
3111
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3112
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2983
3113
  * @returns {string} A string representing the engine.
2984
3114
  */
2985
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2986
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
3115
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3116
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2987
3117
  }
2988
3118
  /**
2989
- * Parse the session from ProjectLocationCollectionEngineSession resource.
3119
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2990
3120
  *
2991
- * @param {string} projectLocationCollectionEngineSessionName
2992
- * A fully-qualified path representing project_location_collection_engine_session resource.
3121
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3122
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2993
3123
  * @returns {string} A string representing the session.
2994
3124
  */
2995
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2996
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
3125
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3126
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2997
3127
  }
2998
3128
  /**
2999
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
3129
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
3130
+ *
3131
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3132
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3133
+ * @returns {string} A string representing the answer.
3134
+ */
3135
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3136
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
3137
+ }
3138
+ /**
3139
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
3000
3140
  *
3001
3141
  * @param {string} project
3002
3142
  * @param {string} location
3003
3143
  * @param {string} collection
3004
3144
  * @param {string} engine
3005
3145
  * @param {string} session
3006
- * @param {string} answer
3007
3146
  * @returns {string} Resource name string.
3008
3147
  */
3009
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
3010
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
3148
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
3149
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
3011
3150
  project: project,
3012
3151
  location: location,
3013
3152
  collection: collection,
3014
3153
  engine: engine,
3015
3154
  session: session,
3016
- answer: answer,
3017
3155
  });
3018
3156
  }
3019
3157
  /**
3020
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
3158
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
3021
3159
  *
3022
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3023
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3160
+ * @param {string} projectLocationCollectionEngineSessionsName
3161
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3024
3162
  * @returns {string} A string representing the project.
3025
3163
  */
3026
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3027
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
3164
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3165
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
3028
3166
  }
3029
3167
  /**
3030
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
3168
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
3031
3169
  *
3032
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3033
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3170
+ * @param {string} projectLocationCollectionEngineSessionsName
3171
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3034
3172
  * @returns {string} A string representing the location.
3035
3173
  */
3036
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3037
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
3174
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3175
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
3038
3176
  }
3039
3177
  /**
3040
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
3178
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
3041
3179
  *
3042
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3043
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3180
+ * @param {string} projectLocationCollectionEngineSessionsName
3181
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3044
3182
  * @returns {string} A string representing the collection.
3045
3183
  */
3046
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3047
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
3184
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3185
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
3048
3186
  }
3049
3187
  /**
3050
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
3188
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
3051
3189
  *
3052
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3053
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3190
+ * @param {string} projectLocationCollectionEngineSessionsName
3191
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3054
3192
  * @returns {string} A string representing the engine.
3055
3193
  */
3056
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3057
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
3194
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3195
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
3058
3196
  }
3059
3197
  /**
3060
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
3198
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
3061
3199
  *
3062
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3063
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3200
+ * @param {string} projectLocationCollectionEngineSessionsName
3201
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3064
3202
  * @returns {string} A string representing the session.
3065
3203
  */
3066
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3067
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
3068
- }
3069
- /**
3070
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
3071
- *
3072
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3073
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3074
- * @returns {string} A string representing the answer.
3075
- */
3076
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3077
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
3204
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3205
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
3078
3206
  }
3079
3207
  /**
3080
3208
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3658,63 +3786,6 @@ class SearchServiceClient {
3658
3786
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3659
3787
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3660
3788
  }
3661
- /**
3662
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3663
- *
3664
- * @param {string} project
3665
- * @param {string} location
3666
- * @param {string} data_store
3667
- * @param {string} session
3668
- * @returns {string} Resource name string.
3669
- */
3670
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3671
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3672
- project: project,
3673
- location: location,
3674
- data_store: dataStore,
3675
- session: session,
3676
- });
3677
- }
3678
- /**
3679
- * Parse the project from ProjectLocationDataStoreSession resource.
3680
- *
3681
- * @param {string} projectLocationDataStoreSessionName
3682
- * A fully-qualified path representing project_location_data_store_session resource.
3683
- * @returns {string} A string representing the project.
3684
- */
3685
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3686
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3687
- }
3688
- /**
3689
- * Parse the location from ProjectLocationDataStoreSession resource.
3690
- *
3691
- * @param {string} projectLocationDataStoreSessionName
3692
- * A fully-qualified path representing project_location_data_store_session resource.
3693
- * @returns {string} A string representing the location.
3694
- */
3695
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3696
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3697
- }
3698
- /**
3699
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3700
- *
3701
- * @param {string} projectLocationDataStoreSessionName
3702
- * A fully-qualified path representing project_location_data_store_session resource.
3703
- * @returns {string} A string representing the data_store.
3704
- */
3705
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3706
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3707
- }
3708
- /**
3709
- * Parse the session from ProjectLocationDataStoreSession resource.
3710
- *
3711
- * @param {string} projectLocationDataStoreSessionName
3712
- * A fully-qualified path representing project_location_data_store_session resource.
3713
- * @returns {string} A string representing the session.
3714
- */
3715
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3716
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3717
- }
3718
3789
  /**
3719
3790
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3720
3791
  *
@@ -3784,6 +3855,63 @@ class SearchServiceClient {
3784
3855
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3785
3856
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3786
3857
  }
3858
+ /**
3859
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3860
+ *
3861
+ * @param {string} project
3862
+ * @param {string} location
3863
+ * @param {string} data_store
3864
+ * @param {string} session
3865
+ * @returns {string} Resource name string.
3866
+ */
3867
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3868
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3869
+ project: project,
3870
+ location: location,
3871
+ data_store: dataStore,
3872
+ session: session,
3873
+ });
3874
+ }
3875
+ /**
3876
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3877
+ *
3878
+ * @param {string} projectLocationDataStoreSessionsName
3879
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3880
+ * @returns {string} A string representing the project.
3881
+ */
3882
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3883
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3884
+ }
3885
+ /**
3886
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3887
+ *
3888
+ * @param {string} projectLocationDataStoreSessionsName
3889
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3890
+ * @returns {string} A string representing the location.
3891
+ */
3892
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3893
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3894
+ }
3895
+ /**
3896
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3897
+ *
3898
+ * @param {string} projectLocationDataStoreSessionsName
3899
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3900
+ * @returns {string} A string representing the data_store.
3901
+ */
3902
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3903
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3904
+ }
3905
+ /**
3906
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3907
+ *
3908
+ * @param {string} projectLocationDataStoreSessionsName
3909
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3910
+ * @returns {string} A string representing the session.
3911
+ */
3912
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3913
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3914
+ }
3787
3915
  /**
3788
3916
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3789
3917
  *