@google-cloud/discoveryengine 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/README.md +17 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
  6. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
  7. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  8. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  16. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  17. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  18. package/build/protos/protos.d.ts +15057 -10636
  19. package/build/protos/protos.js +45523 -34174
  20. package/build/protos/protos.json +4835 -3203
  21. package/build/src/index.d.ts +7 -1
  22. package/build/src/index.js +6 -2
  23. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  24. package/build/src/v1/assistant_service_client.js +2957 -0
  25. package/build/src/v1/assistant_service_client_config.json +43 -0
  26. package/build/src/v1/assistant_service_proto_list.json +48 -0
  27. package/build/src/v1/cmek_config_service_client.d.ts +255 -144
  28. package/build/src/v1/cmek_config_service_client.js +348 -196
  29. package/build/src/v1/cmek_config_service_proto_list.json +4 -0
  30. package/build/src/v1/completion_service_client.d.ts +255 -144
  31. package/build/src/v1/completion_service_client.js +348 -196
  32. package/build/src/v1/completion_service_proto_list.json +4 -0
  33. package/build/src/v1/control_service_client.d.ts +255 -144
  34. package/build/src/v1/control_service_client.js +348 -196
  35. package/build/src/v1/control_service_proto_list.json +4 -0
  36. package/build/src/v1/conversational_search_service_client.d.ts +302 -155
  37. package/build/src/v1/conversational_search_service_client.js +380 -204
  38. package/build/src/v1/conversational_search_service_proto_list.json +4 -0
  39. package/build/src/v1/data_store_service_client.d.ts +255 -144
  40. package/build/src/v1/data_store_service_client.js +348 -196
  41. package/build/src/v1/data_store_service_proto_list.json +4 -0
  42. package/build/src/v1/document_service_client.d.ts +255 -144
  43. package/build/src/v1/document_service_client.js +348 -196
  44. package/build/src/v1/document_service_proto_list.json +4 -0
  45. package/build/src/v1/engine_service_client.d.ts +255 -144
  46. package/build/src/v1/engine_service_client.js +348 -196
  47. package/build/src/v1/engine_service_proto_list.json +4 -0
  48. package/build/src/v1/gapic_metadata.json +86 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
  50. package/build/src/v1/grounded_generation_service_client.js +348 -196
  51. package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
  53. package/build/src/v1/identity_mapping_store_service_client.js +348 -196
  54. package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
  55. package/build/src/v1/index.d.ts +2 -0
  56. package/build/src/v1/index.js +5 -1
  57. package/build/src/v1/project_service_client.d.ts +255 -144
  58. package/build/src/v1/project_service_client.js +348 -196
  59. package/build/src/v1/project_service_proto_list.json +4 -0
  60. package/build/src/v1/rank_service_client.d.ts +255 -144
  61. package/build/src/v1/rank_service_client.js +348 -196
  62. package/build/src/v1/rank_service_proto_list.json +4 -0
  63. package/build/src/v1/recommendation_service_client.d.ts +255 -144
  64. package/build/src/v1/recommendation_service_client.js +348 -196
  65. package/build/src/v1/recommendation_service_proto_list.json +4 -0
  66. package/build/src/v1/schema_service_client.d.ts +255 -144
  67. package/build/src/v1/schema_service_client.js +348 -196
  68. package/build/src/v1/schema_service_proto_list.json +4 -0
  69. package/build/src/v1/search_service_client.d.ts +303 -228
  70. package/build/src/v1/search_service_client.js +380 -252
  71. package/build/src/v1/search_service_proto_list.json +4 -0
  72. package/build/src/v1/search_tuning_service_client.d.ts +255 -144
  73. package/build/src/v1/search_tuning_service_client.js +348 -196
  74. package/build/src/v1/search_tuning_service_proto_list.json +4 -0
  75. package/build/src/v1/serving_config_service_client.d.ts +255 -144
  76. package/build/src/v1/serving_config_service_client.js +348 -196
  77. package/build/src/v1/serving_config_service_proto_list.json +4 -0
  78. package/build/src/v1/session_service_client.d.ts +2326 -0
  79. package/build/src/v1/session_service_client.js +3218 -0
  80. package/build/src/v1/session_service_client_config.json +63 -0
  81. package/build/src/v1/session_service_proto_list.json +48 -0
  82. package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
  83. package/build/src/v1/site_search_engine_service_client.js +348 -196
  84. package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
  85. package/build/src/v1/user_event_service_client.d.ts +255 -144
  86. package/build/src/v1/user_event_service_client.js +348 -196
  87. package/build/src/v1/user_event_service_proto_list.json +4 -0
  88. package/build/src/v1/user_license_service_client.d.ts +255 -144
  89. package/build/src/v1/user_license_service_client.js +348 -196
  90. package/build/src/v1/user_license_service_proto_list.json +4 -0
  91. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  92. package/build/src/v1alpha/acl_config_service_client.js +196 -196
  93. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  94. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  95. package/build/src/v1alpha/chunk_service_client.js +196 -196
  96. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  97. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  98. package/build/src/v1alpha/completion_service_client.js +196 -196
  99. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  100. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  101. package/build/src/v1alpha/control_service_client.js +196 -196
  102. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  103. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  104. package/build/src/v1alpha/conversational_search_service_client.js +244 -210
  105. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  106. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  107. package/build/src/v1alpha/data_store_service_client.js +196 -196
  108. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  109. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  110. package/build/src/v1alpha/document_service_client.js +196 -196
  111. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  112. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  113. package/build/src/v1alpha/engine_service_client.js +196 -196
  114. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  116. package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
  117. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  118. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  119. package/build/src/v1alpha/evaluation_service_client.js +196 -196
  120. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  121. package/build/src/v1alpha/gapic_metadata.json +82 -0
  122. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  123. package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
  124. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  125. package/build/src/v1alpha/index.d.ts +1 -0
  126. package/build/src/v1alpha/index.js +3 -1
  127. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  128. package/build/src/v1alpha/project_service_client.js +196 -196
  129. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  130. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  131. package/build/src/v1alpha/rank_service_client.js +196 -196
  132. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  133. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  134. package/build/src/v1alpha/recommendation_service_client.js +196 -196
  135. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  136. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  137. package/build/src/v1alpha/sample_query_service_client.js +196 -196
  138. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  139. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  140. package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
  141. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  142. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/schema_service_client.js +196 -196
  144. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  146. package/build/src/v1alpha/search_service_client.js +212 -224
  147. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  148. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  149. package/build/src/v1alpha/search_tuning_service_client.js +196 -196
  150. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  151. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  152. package/build/src/v1alpha/serving_config_service_client.js +196 -196
  153. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  154. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  155. package/build/src/v1alpha/session_service_client.js +3161 -0
  156. package/build/src/v1alpha/session_service_client_config.json +68 -0
  157. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  159. package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
  160. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  161. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  162. package/build/src/v1alpha/user_event_service_client.js +196 -196
  163. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  164. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  165. package/build/src/v1beta/completion_service_client.js +196 -196
  166. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  167. package/build/src/v1beta/control_service_client.d.ts +144 -144
  168. package/build/src/v1beta/control_service_client.js +196 -196
  169. package/build/src/v1beta/control_service_proto_list.json +1 -0
  170. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  171. package/build/src/v1beta/conversational_search_service_client.js +242 -208
  172. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  173. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  174. package/build/src/v1beta/data_store_service_client.js +196 -196
  175. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  176. package/build/src/v1beta/document_service_client.d.ts +144 -144
  177. package/build/src/v1beta/document_service_client.js +196 -196
  178. package/build/src/v1beta/document_service_proto_list.json +1 -0
  179. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  180. package/build/src/v1beta/engine_service_client.js +196 -196
  181. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  182. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  183. package/build/src/v1beta/evaluation_service_client.js +196 -196
  184. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  185. package/build/src/v1beta/gapic_metadata.json +68 -0
  186. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  187. package/build/src/v1beta/grounded_generation_service_client.js +196 -196
  188. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  189. package/build/src/v1beta/index.d.ts +1 -0
  190. package/build/src/v1beta/index.js +3 -1
  191. package/build/src/v1beta/project_service_client.d.ts +144 -144
  192. package/build/src/v1beta/project_service_client.js +196 -196
  193. package/build/src/v1beta/project_service_proto_list.json +1 -0
  194. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  195. package/build/src/v1beta/rank_service_client.js +196 -196
  196. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  197. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  198. package/build/src/v1beta/recommendation_service_client.js +196 -196
  199. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  200. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  201. package/build/src/v1beta/sample_query_service_client.js +196 -196
  202. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  203. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  204. package/build/src/v1beta/sample_query_set_service_client.js +196 -196
  205. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  206. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  207. package/build/src/v1beta/schema_service_client.js +196 -196
  208. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  209. package/build/src/v1beta/search_service_client.d.ts +192 -228
  210. package/build/src/v1beta/search_service_client.js +228 -252
  211. package/build/src/v1beta/search_service_proto_list.json +1 -0
  212. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  213. package/build/src/v1beta/search_tuning_service_client.js +196 -196
  214. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  215. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  216. package/build/src/v1beta/serving_config_service_client.js +196 -196
  217. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  218. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  219. package/build/src/v1beta/session_service_client.js +3136 -0
  220. package/build/src/v1beta/session_service_client_config.json +63 -0
  221. package/build/src/v1beta/session_service_proto_list.json +45 -0
  222. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  223. package/build/src/v1beta/site_search_engine_service_client.js +196 -196
  224. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  225. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  226. package/build/src/v1beta/user_event_service_client.js +196 -196
  227. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  228. package/package.json +1 -1
@@ -177,16 +177,16 @@ class SampleQuerySetServiceClient {
177
177
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
178
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
179
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
180
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
180
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
181
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
182
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
184
184
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
185
185
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
186
186
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
187
187
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
188
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
188
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
189
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
190
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
191
191
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
192
192
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -196,8 +196,8 @@ class SampleQuerySetServiceClient {
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}'),
@@ -1502,154 +1502,154 @@ class SampleQuerySetServiceClient {
1502
1502
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1503
1503
  }
1504
1504
  /**
1505
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1505
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1506
1506
  *
1507
1507
  * @param {string} project
1508
1508
  * @param {string} location
1509
1509
  * @param {string} collection
1510
1510
  * @param {string} data_store
1511
1511
  * @param {string} session
1512
+ * @param {string} answer
1512
1513
  * @returns {string} Resource name string.
1513
1514
  */
1514
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1515
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1515
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1516
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1516
1517
  project: project,
1517
1518
  location: location,
1518
1519
  collection: collection,
1519
1520
  data_store: dataStore,
1520
1521
  session: session,
1522
+ answer: answer,
1521
1523
  });
1522
1524
  }
1523
1525
  /**
1524
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1526
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1525
1527
  *
1526
- * @param {string} projectLocationCollectionDataStoreSessionName
1527
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1528
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1529
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1528
1530
  * @returns {string} A string representing the project.
1529
1531
  */
1530
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1531
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1532
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1533
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1532
1534
  }
1533
1535
  /**
1534
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1536
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1535
1537
  *
1536
- * @param {string} projectLocationCollectionDataStoreSessionName
1537
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1538
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1539
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1538
1540
  * @returns {string} A string representing the location.
1539
1541
  */
1540
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1541
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1542
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1543
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1542
1544
  }
1543
1545
  /**
1544
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1546
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1545
1547
  *
1546
- * @param {string} projectLocationCollectionDataStoreSessionName
1547
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1548
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1549
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1548
1550
  * @returns {string} A string representing the collection.
1549
1551
  */
1550
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1551
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1552
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1553
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1552
1554
  }
1553
1555
  /**
1554
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1556
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1555
1557
  *
1556
- * @param {string} projectLocationCollectionDataStoreSessionName
1557
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1558
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1559
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1558
1560
  * @returns {string} A string representing the data_store.
1559
1561
  */
1560
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1561
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1562
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1563
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1562
1564
  }
1563
1565
  /**
1564
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1566
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1565
1567
  *
1566
- * @param {string} projectLocationCollectionDataStoreSessionName
1567
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1568
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1569
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1568
1570
  * @returns {string} A string representing the session.
1569
1571
  */
1570
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1571
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1572
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1573
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1572
1574
  }
1573
1575
  /**
1574
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1576
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1577
+ *
1578
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1579
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1580
+ * @returns {string} A string representing the answer.
1581
+ */
1582
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1583
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1584
+ }
1585
+ /**
1586
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1575
1587
  *
1576
1588
  * @param {string} project
1577
1589
  * @param {string} location
1578
1590
  * @param {string} collection
1579
1591
  * @param {string} data_store
1580
1592
  * @param {string} session
1581
- * @param {string} answer
1582
1593
  * @returns {string} Resource name string.
1583
1594
  */
1584
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1585
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1595
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1596
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1586
1597
  project: project,
1587
1598
  location: location,
1588
1599
  collection: collection,
1589
1600
  data_store: dataStore,
1590
1601
  session: session,
1591
- answer: answer,
1592
1602
  });
1593
1603
  }
1594
1604
  /**
1595
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1605
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1596
1606
  *
1597
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1598
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1607
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1608
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1599
1609
  * @returns {string} A string representing the project.
1600
1610
  */
1601
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1602
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1611
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1612
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1603
1613
  }
1604
1614
  /**
1605
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1615
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1606
1616
  *
1607
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1608
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1617
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1618
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1609
1619
  * @returns {string} A string representing the location.
1610
1620
  */
1611
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1612
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1621
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1622
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1613
1623
  }
1614
1624
  /**
1615
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1625
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1616
1626
  *
1617
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1618
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1627
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1628
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1619
1629
  * @returns {string} A string representing the collection.
1620
1630
  */
1621
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1622
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1631
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1632
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1623
1633
  }
1624
1634
  /**
1625
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1635
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1626
1636
  *
1627
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1628
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1637
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1638
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1629
1639
  * @returns {string} A string representing the data_store.
1630
1640
  */
1631
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1632
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1641
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1642
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1633
1643
  }
1634
1644
  /**
1635
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1645
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1636
1646
  *
1637
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1638
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1647
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1648
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1639
1649
  * @returns {string} A string representing the session.
1640
1650
  */
1641
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1642
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1643
- }
1644
- /**
1645
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1646
- *
1647
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1648
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1649
- * @returns {string} A string representing the answer.
1650
- */
1651
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1652
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1651
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1652
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1653
1653
  }
1654
1654
  /**
1655
1655
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2054,154 +2054,154 @@ class SampleQuerySetServiceClient {
2054
2054
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2055
2055
  }
2056
2056
  /**
2057
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2057
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2058
2058
  *
2059
2059
  * @param {string} project
2060
2060
  * @param {string} location
2061
2061
  * @param {string} collection
2062
2062
  * @param {string} engine
2063
2063
  * @param {string} session
2064
+ * @param {string} answer
2064
2065
  * @returns {string} Resource name string.
2065
2066
  */
2066
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2067
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2067
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2068
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2068
2069
  project: project,
2069
2070
  location: location,
2070
2071
  collection: collection,
2071
2072
  engine: engine,
2072
2073
  session: session,
2074
+ answer: answer,
2073
2075
  });
2074
2076
  }
2075
2077
  /**
2076
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2078
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2077
2079
  *
2078
- * @param {string} projectLocationCollectionEngineSessionName
2079
- * A fully-qualified path representing project_location_collection_engine_session resource.
2080
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2081
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2080
2082
  * @returns {string} A string representing the project.
2081
2083
  */
2082
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2083
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2084
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2085
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2084
2086
  }
2085
2087
  /**
2086
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2088
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2087
2089
  *
2088
- * @param {string} projectLocationCollectionEngineSessionName
2089
- * A fully-qualified path representing project_location_collection_engine_session resource.
2090
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2091
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2090
2092
  * @returns {string} A string representing the location.
2091
2093
  */
2092
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2093
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2094
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2095
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2094
2096
  }
2095
2097
  /**
2096
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2098
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2097
2099
  *
2098
- * @param {string} projectLocationCollectionEngineSessionName
2099
- * A fully-qualified path representing project_location_collection_engine_session resource.
2100
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2101
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2100
2102
  * @returns {string} A string representing the collection.
2101
2103
  */
2102
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2103
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2104
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2105
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2104
2106
  }
2105
2107
  /**
2106
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2108
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2107
2109
  *
2108
- * @param {string} projectLocationCollectionEngineSessionName
2109
- * A fully-qualified path representing project_location_collection_engine_session resource.
2110
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2111
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2110
2112
  * @returns {string} A string representing the engine.
2111
2113
  */
2112
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2113
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2114
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2115
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2114
2116
  }
2115
2117
  /**
2116
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2118
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2117
2119
  *
2118
- * @param {string} projectLocationCollectionEngineSessionName
2119
- * A fully-qualified path representing project_location_collection_engine_session resource.
2120
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2121
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2120
2122
  * @returns {string} A string representing the session.
2121
2123
  */
2122
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2123
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2124
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2125
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2124
2126
  }
2125
2127
  /**
2126
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2128
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2129
+ *
2130
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2131
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2132
+ * @returns {string} A string representing the answer.
2133
+ */
2134
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2135
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2136
+ }
2137
+ /**
2138
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2127
2139
  *
2128
2140
  * @param {string} project
2129
2141
  * @param {string} location
2130
2142
  * @param {string} collection
2131
2143
  * @param {string} engine
2132
2144
  * @param {string} session
2133
- * @param {string} answer
2134
2145
  * @returns {string} Resource name string.
2135
2146
  */
2136
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2137
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2147
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2148
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2138
2149
  project: project,
2139
2150
  location: location,
2140
2151
  collection: collection,
2141
2152
  engine: engine,
2142
2153
  session: session,
2143
- answer: answer,
2144
2154
  });
2145
2155
  }
2146
2156
  /**
2147
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2157
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2148
2158
  *
2149
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2150
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2159
+ * @param {string} projectLocationCollectionEngineSessionsName
2160
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2151
2161
  * @returns {string} A string representing the project.
2152
2162
  */
2153
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2154
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2163
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2164
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2155
2165
  }
2156
2166
  /**
2157
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2167
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2158
2168
  *
2159
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2160
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2169
+ * @param {string} projectLocationCollectionEngineSessionsName
2170
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2161
2171
  * @returns {string} A string representing the location.
2162
2172
  */
2163
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2164
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2173
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2174
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2165
2175
  }
2166
2176
  /**
2167
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2177
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2168
2178
  *
2169
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2170
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2179
+ * @param {string} projectLocationCollectionEngineSessionsName
2180
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2171
2181
  * @returns {string} A string representing the collection.
2172
2182
  */
2173
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2174
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2183
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2184
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2175
2185
  }
2176
2186
  /**
2177
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2187
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2178
2188
  *
2179
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2180
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2189
+ * @param {string} projectLocationCollectionEngineSessionsName
2190
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2181
2191
  * @returns {string} A string representing the engine.
2182
2192
  */
2183
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2184
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2193
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2194
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2185
2195
  }
2186
2196
  /**
2187
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2197
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2188
2198
  *
2189
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2190
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2199
+ * @param {string} projectLocationCollectionEngineSessionsName
2200
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2191
2201
  * @returns {string} A string representing the session.
2192
2202
  */
2193
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2194
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2195
- }
2196
- /**
2197
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2198
- *
2199
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2200
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2201
- * @returns {string} A string representing the answer.
2202
- */
2203
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2204
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2203
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2204
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2205
2205
  }
2206
2206
  /**
2207
2207
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2728,63 +2728,6 @@ class SampleQuerySetServiceClient {
2728
2728
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2729
2729
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2730
2730
  }
2731
- /**
2732
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2733
- *
2734
- * @param {string} project
2735
- * @param {string} location
2736
- * @param {string} data_store
2737
- * @param {string} session
2738
- * @returns {string} Resource name string.
2739
- */
2740
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2741
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2742
- project: project,
2743
- location: location,
2744
- data_store: dataStore,
2745
- session: session,
2746
- });
2747
- }
2748
- /**
2749
- * Parse the project from ProjectLocationDataStoreSession resource.
2750
- *
2751
- * @param {string} projectLocationDataStoreSessionName
2752
- * A fully-qualified path representing project_location_data_store_session resource.
2753
- * @returns {string} A string representing the project.
2754
- */
2755
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2756
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2757
- }
2758
- /**
2759
- * Parse the location from ProjectLocationDataStoreSession resource.
2760
- *
2761
- * @param {string} projectLocationDataStoreSessionName
2762
- * A fully-qualified path representing project_location_data_store_session resource.
2763
- * @returns {string} A string representing the location.
2764
- */
2765
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2766
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2767
- }
2768
- /**
2769
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2770
- *
2771
- * @param {string} projectLocationDataStoreSessionName
2772
- * A fully-qualified path representing project_location_data_store_session resource.
2773
- * @returns {string} A string representing the data_store.
2774
- */
2775
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2776
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2777
- }
2778
- /**
2779
- * Parse the session from ProjectLocationDataStoreSession resource.
2780
- *
2781
- * @param {string} projectLocationDataStoreSessionName
2782
- * A fully-qualified path representing project_location_data_store_session resource.
2783
- * @returns {string} A string representing the session.
2784
- */
2785
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2786
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2787
- }
2788
2731
  /**
2789
2732
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2790
2733
  *
@@ -2854,6 +2797,63 @@ class SampleQuerySetServiceClient {
2854
2797
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2855
2798
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2856
2799
  }
2800
+ /**
2801
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2802
+ *
2803
+ * @param {string} project
2804
+ * @param {string} location
2805
+ * @param {string} data_store
2806
+ * @param {string} session
2807
+ * @returns {string} Resource name string.
2808
+ */
2809
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2810
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2811
+ project: project,
2812
+ location: location,
2813
+ data_store: dataStore,
2814
+ session: session,
2815
+ });
2816
+ }
2817
+ /**
2818
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2819
+ *
2820
+ * @param {string} projectLocationDataStoreSessionsName
2821
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2822
+ * @returns {string} A string representing the project.
2823
+ */
2824
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2825
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2826
+ }
2827
+ /**
2828
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2829
+ *
2830
+ * @param {string} projectLocationDataStoreSessionsName
2831
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2832
+ * @returns {string} A string representing the location.
2833
+ */
2834
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2835
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2836
+ }
2837
+ /**
2838
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2839
+ *
2840
+ * @param {string} projectLocationDataStoreSessionsName
2841
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2842
+ * @returns {string} A string representing the data_store.
2843
+ */
2844
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2845
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2846
+ }
2847
+ /**
2848
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2849
+ *
2850
+ * @param {string} projectLocationDataStoreSessionsName
2851
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2852
+ * @returns {string} A string representing the session.
2853
+ */
2854
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2855
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2856
+ }
2857
2857
  /**
2858
2858
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2859
2859
  *
@@ -37,6 +37,7 @@
37
37
  "../../protos/google/cloud/discoveryengine/v1beta/serving_config.proto",
38
38
  "../../protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto",
39
39
  "../../protos/google/cloud/discoveryengine/v1beta/session.proto",
40
+ "../../protos/google/cloud/discoveryengine/v1beta/session_service.proto",
40
41
  "../../protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto",
41
42
  "../../protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto",
42
43
  "../../protos/google/cloud/discoveryengine/v1beta/user_event.proto",