@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
@@ -163,6 +163,8 @@ class ConversationalSearchServiceClient {
163
163
  // identifiers to uniquely identify resources within the API.
164
164
  // Create useful helper objects for these.
165
165
  this.pathTemplates = {
166
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
167
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
166
168
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
167
169
  identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
168
170
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
@@ -177,16 +179,16 @@ class ConversationalSearchServiceClient {
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
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
192
194
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -196,8 +198,8 @@ class ConversationalSearchServiceClient {
196
198
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
197
199
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
198
200
  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
201
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
202
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
203
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
202
204
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
203
205
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -1021,11 +1023,23 @@ class ConversationalSearchServiceClient {
1021
1023
  * A page token, received from a previous `ListSessions` call.
1022
1024
  * Provide this to retrieve the subsequent page.
1023
1025
  * @param {string} request.filter
1024
- * A filter to apply on the list results. The supported features are:
1025
- * user_pseudo_id, state.
1026
- *
1027
- * Example:
1026
+ * A comma-separated list of fields to filter by, in EBNF grammar.
1027
+ * The supported fields are:
1028
+ * * `user_pseudo_id`
1029
+ * * `state`
1030
+ * * `display_name`
1031
+ * * `starred`
1032
+ * * `is_pinned`
1033
+ * * `labels`
1034
+ * * `create_time`
1035
+ * * `update_time`
1036
+ *
1037
+ * Examples:
1028
1038
  * "user_pseudo_id = some_id"
1039
+ * "display_name = \"some_name\""
1040
+ * "starred = true"
1041
+ * "is_pinned=true AND (NOT labels:hidden)"
1042
+ * "create_time > \"1970-01-01T12:00:00Z\""
1029
1043
  * @param {string} request.orderBy
1030
1044
  * A comma-separated list of fields to order by, sorted in ascending order.
1031
1045
  * Use "desc" after a field name for descending.
@@ -1083,11 +1097,23 @@ class ConversationalSearchServiceClient {
1083
1097
  * A page token, received from a previous `ListSessions` call.
1084
1098
  * Provide this to retrieve the subsequent page.
1085
1099
  * @param {string} request.filter
1086
- * A filter to apply on the list results. The supported features are:
1087
- * user_pseudo_id, state.
1088
- *
1089
- * Example:
1100
+ * A comma-separated list of fields to filter by, in EBNF grammar.
1101
+ * The supported fields are:
1102
+ * * `user_pseudo_id`
1103
+ * * `state`
1104
+ * * `display_name`
1105
+ * * `starred`
1106
+ * * `is_pinned`
1107
+ * * `labels`
1108
+ * * `create_time`
1109
+ * * `update_time`
1110
+ *
1111
+ * Examples:
1090
1112
  * "user_pseudo_id = some_id"
1113
+ * "display_name = \"some_name\""
1114
+ * "starred = true"
1115
+ * "is_pinned=true AND (NOT labels:hidden)"
1116
+ * "create_time > \"1970-01-01T12:00:00Z\""
1091
1117
  * @param {string} request.orderBy
1092
1118
  * A comma-separated list of fields to order by, sorted in ascending order.
1093
1119
  * Use "desc" after a field name for descending.
@@ -1188,6 +1214,156 @@ class ConversationalSearchServiceClient {
1188
1214
  // --------------------
1189
1215
  // -- Path templates --
1190
1216
  // --------------------
1217
+ /**
1218
+ * Return a fully-qualified assistAnswer resource name string.
1219
+ *
1220
+ * @param {string} project
1221
+ * @param {string} location
1222
+ * @param {string} collection
1223
+ * @param {string} engine
1224
+ * @param {string} session
1225
+ * @param {string} assist_answer
1226
+ * @returns {string} Resource name string.
1227
+ */
1228
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
1229
+ return this.pathTemplates.assistAnswerPathTemplate.render({
1230
+ project: project,
1231
+ location: location,
1232
+ collection: collection,
1233
+ engine: engine,
1234
+ session: session,
1235
+ assist_answer: assistAnswer,
1236
+ });
1237
+ }
1238
+ /**
1239
+ * Parse the project from AssistAnswer resource.
1240
+ *
1241
+ * @param {string} assistAnswerName
1242
+ * A fully-qualified path representing AssistAnswer resource.
1243
+ * @returns {string} A string representing the project.
1244
+ */
1245
+ matchProjectFromAssistAnswerName(assistAnswerName) {
1246
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
1247
+ }
1248
+ /**
1249
+ * Parse the location from AssistAnswer resource.
1250
+ *
1251
+ * @param {string} assistAnswerName
1252
+ * A fully-qualified path representing AssistAnswer resource.
1253
+ * @returns {string} A string representing the location.
1254
+ */
1255
+ matchLocationFromAssistAnswerName(assistAnswerName) {
1256
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
1257
+ }
1258
+ /**
1259
+ * Parse the collection from AssistAnswer resource.
1260
+ *
1261
+ * @param {string} assistAnswerName
1262
+ * A fully-qualified path representing AssistAnswer resource.
1263
+ * @returns {string} A string representing the collection.
1264
+ */
1265
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
1266
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
1267
+ }
1268
+ /**
1269
+ * Parse the engine from AssistAnswer resource.
1270
+ *
1271
+ * @param {string} assistAnswerName
1272
+ * A fully-qualified path representing AssistAnswer resource.
1273
+ * @returns {string} A string representing the engine.
1274
+ */
1275
+ matchEngineFromAssistAnswerName(assistAnswerName) {
1276
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
1277
+ }
1278
+ /**
1279
+ * Parse the session from AssistAnswer resource.
1280
+ *
1281
+ * @param {string} assistAnswerName
1282
+ * A fully-qualified path representing AssistAnswer resource.
1283
+ * @returns {string} A string representing the session.
1284
+ */
1285
+ matchSessionFromAssistAnswerName(assistAnswerName) {
1286
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
1287
+ }
1288
+ /**
1289
+ * Parse the assist_answer from AssistAnswer resource.
1290
+ *
1291
+ * @param {string} assistAnswerName
1292
+ * A fully-qualified path representing AssistAnswer resource.
1293
+ * @returns {string} A string representing the assist_answer.
1294
+ */
1295
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
1296
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
1297
+ }
1298
+ /**
1299
+ * Return a fully-qualified assistant resource name string.
1300
+ *
1301
+ * @param {string} project
1302
+ * @param {string} location
1303
+ * @param {string} collection
1304
+ * @param {string} engine
1305
+ * @param {string} assistant
1306
+ * @returns {string} Resource name string.
1307
+ */
1308
+ assistantPath(project, location, collection, engine, assistant) {
1309
+ return this.pathTemplates.assistantPathTemplate.render({
1310
+ project: project,
1311
+ location: location,
1312
+ collection: collection,
1313
+ engine: engine,
1314
+ assistant: assistant,
1315
+ });
1316
+ }
1317
+ /**
1318
+ * Parse the project from Assistant resource.
1319
+ *
1320
+ * @param {string} assistantName
1321
+ * A fully-qualified path representing Assistant resource.
1322
+ * @returns {string} A string representing the project.
1323
+ */
1324
+ matchProjectFromAssistantName(assistantName) {
1325
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
1326
+ }
1327
+ /**
1328
+ * Parse the location from Assistant resource.
1329
+ *
1330
+ * @param {string} assistantName
1331
+ * A fully-qualified path representing Assistant resource.
1332
+ * @returns {string} A string representing the location.
1333
+ */
1334
+ matchLocationFromAssistantName(assistantName) {
1335
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
1336
+ }
1337
+ /**
1338
+ * Parse the collection from Assistant resource.
1339
+ *
1340
+ * @param {string} assistantName
1341
+ * A fully-qualified path representing Assistant resource.
1342
+ * @returns {string} A string representing the collection.
1343
+ */
1344
+ matchCollectionFromAssistantName(assistantName) {
1345
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
1346
+ }
1347
+ /**
1348
+ * Parse the engine from Assistant resource.
1349
+ *
1350
+ * @param {string} assistantName
1351
+ * A fully-qualified path representing Assistant resource.
1352
+ * @returns {string} A string representing the engine.
1353
+ */
1354
+ matchEngineFromAssistantName(assistantName) {
1355
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
1356
+ }
1357
+ /**
1358
+ * Parse the assistant from Assistant resource.
1359
+ *
1360
+ * @param {string} assistantName
1361
+ * A fully-qualified path representing Assistant resource.
1362
+ * @returns {string} A string representing the assistant.
1363
+ */
1364
+ matchAssistantFromAssistantName(assistantName) {
1365
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
1366
+ }
1191
1367
  /**
1192
1368
  * Return a fully-qualified engine resource name string.
1193
1369
  *
@@ -2023,154 +2199,154 @@ class ConversationalSearchServiceClient {
2023
2199
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
2024
2200
  }
2025
2201
  /**
2026
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
2202
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2027
2203
  *
2028
2204
  * @param {string} project
2029
2205
  * @param {string} location
2030
2206
  * @param {string} collection
2031
2207
  * @param {string} data_store
2032
2208
  * @param {string} session
2209
+ * @param {string} answer
2033
2210
  * @returns {string} Resource name string.
2034
2211
  */
2035
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
2036
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
2212
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2213
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2037
2214
  project: project,
2038
2215
  location: location,
2039
2216
  collection: collection,
2040
2217
  data_store: dataStore,
2041
2218
  session: session,
2219
+ answer: answer,
2042
2220
  });
2043
2221
  }
2044
2222
  /**
2045
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
2223
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2046
2224
  *
2047
- * @param {string} projectLocationCollectionDataStoreSessionName
2048
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2225
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2226
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2049
2227
  * @returns {string} A string representing the project.
2050
2228
  */
2051
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2052
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
2229
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2230
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2053
2231
  }
2054
2232
  /**
2055
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
2233
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2056
2234
  *
2057
- * @param {string} projectLocationCollectionDataStoreSessionName
2058
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2235
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2236
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2059
2237
  * @returns {string} A string representing the location.
2060
2238
  */
2061
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2062
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
2239
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2240
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2063
2241
  }
2064
2242
  /**
2065
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
2243
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2066
2244
  *
2067
- * @param {string} projectLocationCollectionDataStoreSessionName
2068
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2245
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2246
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2069
2247
  * @returns {string} A string representing the collection.
2070
2248
  */
2071
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2072
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
2249
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2250
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2073
2251
  }
2074
2252
  /**
2075
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
2253
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2076
2254
  *
2077
- * @param {string} projectLocationCollectionDataStoreSessionName
2078
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2255
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2256
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2079
2257
  * @returns {string} A string representing the data_store.
2080
2258
  */
2081
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2082
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
2259
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2260
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2083
2261
  }
2084
2262
  /**
2085
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
2263
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2086
2264
  *
2087
- * @param {string} projectLocationCollectionDataStoreSessionName
2088
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2265
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2266
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2089
2267
  * @returns {string} A string representing the session.
2090
2268
  */
2091
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2092
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
2269
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2270
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2271
+ }
2272
+ /**
2273
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2274
+ *
2275
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2276
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2277
+ * @returns {string} A string representing the answer.
2278
+ */
2279
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2280
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2093
2281
  }
2094
2282
  /**
2095
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2283
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
2096
2284
  *
2097
2285
  * @param {string} project
2098
2286
  * @param {string} location
2099
2287
  * @param {string} collection
2100
2288
  * @param {string} data_store
2101
2289
  * @param {string} session
2102
- * @param {string} answer
2103
2290
  * @returns {string} Resource name string.
2104
2291
  */
2105
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2106
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2292
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
2293
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
2107
2294
  project: project,
2108
2295
  location: location,
2109
2296
  collection: collection,
2110
2297
  data_store: dataStore,
2111
2298
  session: session,
2112
- answer: answer,
2113
2299
  });
2114
2300
  }
2115
2301
  /**
2116
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2302
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
2117
2303
  *
2118
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2119
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2304
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2305
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2120
2306
  * @returns {string} A string representing the project.
2121
2307
  */
2122
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2123
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2308
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2309
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
2124
2310
  }
2125
2311
  /**
2126
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2312
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
2127
2313
  *
2128
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2129
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2314
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2315
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2130
2316
  * @returns {string} A string representing the location.
2131
2317
  */
2132
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2133
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2318
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2319
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
2134
2320
  }
2135
2321
  /**
2136
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2322
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
2137
2323
  *
2138
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2139
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2324
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2325
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2140
2326
  * @returns {string} A string representing the collection.
2141
2327
  */
2142
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2143
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2328
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2329
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
2144
2330
  }
2145
2331
  /**
2146
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2332
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
2147
2333
  *
2148
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2149
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2334
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2335
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2150
2336
  * @returns {string} A string representing the data_store.
2151
2337
  */
2152
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2153
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2338
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2339
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
2154
2340
  }
2155
2341
  /**
2156
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2342
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
2157
2343
  *
2158
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2159
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2344
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2345
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2160
2346
  * @returns {string} A string representing the session.
2161
2347
  */
2162
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2163
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2164
- }
2165
- /**
2166
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2167
- *
2168
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2169
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2170
- * @returns {string} A string representing the answer.
2171
- */
2172
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2173
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2348
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2349
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
2174
2350
  }
2175
2351
  /**
2176
2352
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2575,154 +2751,154 @@ class ConversationalSearchServiceClient {
2575
2751
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2576
2752
  }
2577
2753
  /**
2578
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2754
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2579
2755
  *
2580
2756
  * @param {string} project
2581
2757
  * @param {string} location
2582
2758
  * @param {string} collection
2583
2759
  * @param {string} engine
2584
2760
  * @param {string} session
2761
+ * @param {string} answer
2585
2762
  * @returns {string} Resource name string.
2586
2763
  */
2587
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2588
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2764
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2765
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2589
2766
  project: project,
2590
2767
  location: location,
2591
2768
  collection: collection,
2592
2769
  engine: engine,
2593
2770
  session: session,
2771
+ answer: answer,
2594
2772
  });
2595
2773
  }
2596
2774
  /**
2597
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2775
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2598
2776
  *
2599
- * @param {string} projectLocationCollectionEngineSessionName
2600
- * A fully-qualified path representing project_location_collection_engine_session resource.
2777
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2778
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2601
2779
  * @returns {string} A string representing the project.
2602
2780
  */
2603
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2604
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2781
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2782
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2605
2783
  }
2606
2784
  /**
2607
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2785
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2608
2786
  *
2609
- * @param {string} projectLocationCollectionEngineSessionName
2610
- * A fully-qualified path representing project_location_collection_engine_session resource.
2787
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2788
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2611
2789
  * @returns {string} A string representing the location.
2612
2790
  */
2613
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2614
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2791
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2792
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2615
2793
  }
2616
2794
  /**
2617
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2795
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2618
2796
  *
2619
- * @param {string} projectLocationCollectionEngineSessionName
2620
- * A fully-qualified path representing project_location_collection_engine_session resource.
2797
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2798
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2621
2799
  * @returns {string} A string representing the collection.
2622
2800
  */
2623
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2624
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2801
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2802
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2625
2803
  }
2626
2804
  /**
2627
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2805
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2628
2806
  *
2629
- * @param {string} projectLocationCollectionEngineSessionName
2630
- * A fully-qualified path representing project_location_collection_engine_session resource.
2807
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2808
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2631
2809
  * @returns {string} A string representing the engine.
2632
2810
  */
2633
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2634
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2811
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2812
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2635
2813
  }
2636
2814
  /**
2637
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2815
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2638
2816
  *
2639
- * @param {string} projectLocationCollectionEngineSessionName
2640
- * A fully-qualified path representing project_location_collection_engine_session resource.
2817
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2818
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2641
2819
  * @returns {string} A string representing the session.
2642
2820
  */
2643
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2644
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2821
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2822
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2823
+ }
2824
+ /**
2825
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2826
+ *
2827
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2828
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2829
+ * @returns {string} A string representing the answer.
2830
+ */
2831
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2832
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2645
2833
  }
2646
2834
  /**
2647
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2835
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2648
2836
  *
2649
2837
  * @param {string} project
2650
2838
  * @param {string} location
2651
2839
  * @param {string} collection
2652
2840
  * @param {string} engine
2653
2841
  * @param {string} session
2654
- * @param {string} answer
2655
2842
  * @returns {string} Resource name string.
2656
2843
  */
2657
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2658
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2844
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2845
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2659
2846
  project: project,
2660
2847
  location: location,
2661
2848
  collection: collection,
2662
2849
  engine: engine,
2663
2850
  session: session,
2664
- answer: answer,
2665
2851
  });
2666
2852
  }
2667
2853
  /**
2668
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2854
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2669
2855
  *
2670
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2671
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2856
+ * @param {string} projectLocationCollectionEngineSessionsName
2857
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2672
2858
  * @returns {string} A string representing the project.
2673
2859
  */
2674
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2675
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2860
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2861
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2676
2862
  }
2677
2863
  /**
2678
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2864
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2679
2865
  *
2680
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2681
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2866
+ * @param {string} projectLocationCollectionEngineSessionsName
2867
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2682
2868
  * @returns {string} A string representing the location.
2683
2869
  */
2684
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2685
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2870
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2871
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2686
2872
  }
2687
2873
  /**
2688
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2874
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2689
2875
  *
2690
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2691
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2876
+ * @param {string} projectLocationCollectionEngineSessionsName
2877
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2692
2878
  * @returns {string} A string representing the collection.
2693
2879
  */
2694
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2695
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2880
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2881
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2696
2882
  }
2697
2883
  /**
2698
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2884
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2699
2885
  *
2700
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2701
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2886
+ * @param {string} projectLocationCollectionEngineSessionsName
2887
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2702
2888
  * @returns {string} A string representing the engine.
2703
2889
  */
2704
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2705
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2890
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2891
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2706
2892
  }
2707
2893
  /**
2708
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2894
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2709
2895
  *
2710
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2711
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2896
+ * @param {string} projectLocationCollectionEngineSessionsName
2897
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2712
2898
  * @returns {string} A string representing the session.
2713
2899
  */
2714
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2715
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2716
- }
2717
- /**
2718
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2719
- *
2720
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2721
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2722
- * @returns {string} A string representing the answer.
2723
- */
2724
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2725
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2900
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2901
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2726
2902
  }
2727
2903
  /**
2728
2904
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3249,63 +3425,6 @@ class ConversationalSearchServiceClient {
3249
3425
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3250
3426
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3251
3427
  }
3252
- /**
3253
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3254
- *
3255
- * @param {string} project
3256
- * @param {string} location
3257
- * @param {string} data_store
3258
- * @param {string} session
3259
- * @returns {string} Resource name string.
3260
- */
3261
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3262
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3263
- project: project,
3264
- location: location,
3265
- data_store: dataStore,
3266
- session: session,
3267
- });
3268
- }
3269
- /**
3270
- * Parse the project from ProjectLocationDataStoreSession resource.
3271
- *
3272
- * @param {string} projectLocationDataStoreSessionName
3273
- * A fully-qualified path representing project_location_data_store_session resource.
3274
- * @returns {string} A string representing the project.
3275
- */
3276
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3277
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3278
- }
3279
- /**
3280
- * Parse the location from ProjectLocationDataStoreSession resource.
3281
- *
3282
- * @param {string} projectLocationDataStoreSessionName
3283
- * A fully-qualified path representing project_location_data_store_session resource.
3284
- * @returns {string} A string representing the location.
3285
- */
3286
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3287
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3288
- }
3289
- /**
3290
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3291
- *
3292
- * @param {string} projectLocationDataStoreSessionName
3293
- * A fully-qualified path representing project_location_data_store_session resource.
3294
- * @returns {string} A string representing the data_store.
3295
- */
3296
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3297
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3298
- }
3299
- /**
3300
- * Parse the session from ProjectLocationDataStoreSession resource.
3301
- *
3302
- * @param {string} projectLocationDataStoreSessionName
3303
- * A fully-qualified path representing project_location_data_store_session resource.
3304
- * @returns {string} A string representing the session.
3305
- */
3306
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3307
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3308
- }
3309
3428
  /**
3310
3429
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3311
3430
  *
@@ -3375,6 +3494,63 @@ class ConversationalSearchServiceClient {
3375
3494
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3376
3495
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3377
3496
  }
3497
+ /**
3498
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3499
+ *
3500
+ * @param {string} project
3501
+ * @param {string} location
3502
+ * @param {string} data_store
3503
+ * @param {string} session
3504
+ * @returns {string} Resource name string.
3505
+ */
3506
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3507
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3508
+ project: project,
3509
+ location: location,
3510
+ data_store: dataStore,
3511
+ session: session,
3512
+ });
3513
+ }
3514
+ /**
3515
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3516
+ *
3517
+ * @param {string} projectLocationDataStoreSessionsName
3518
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3519
+ * @returns {string} A string representing the project.
3520
+ */
3521
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3522
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3523
+ }
3524
+ /**
3525
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3526
+ *
3527
+ * @param {string} projectLocationDataStoreSessionsName
3528
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3529
+ * @returns {string} A string representing the location.
3530
+ */
3531
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3532
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3533
+ }
3534
+ /**
3535
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3536
+ *
3537
+ * @param {string} projectLocationDataStoreSessionsName
3538
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3539
+ * @returns {string} A string representing the data_store.
3540
+ */
3541
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3542
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3543
+ }
3544
+ /**
3545
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3546
+ *
3547
+ * @param {string} projectLocationDataStoreSessionsName
3548
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3549
+ * @returns {string} A string representing the session.
3550
+ */
3551
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3552
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3553
+ }
3378
3554
  /**
3379
3555
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3380
3556
  *