@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
@@ -175,15 +175,15 @@ class ConversationalSearchServiceClient {
175
175
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
176
176
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
177
177
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
178
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
179
178
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
179
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
180
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
181
181
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
182
182
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
183
183
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
184
184
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
185
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
186
185
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
186
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
187
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
188
188
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
189
189
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -193,8 +193,8 @@ class ConversationalSearchServiceClient {
193
193
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
194
194
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
195
195
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
196
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
197
196
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
197
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
198
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
199
199
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
200
200
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -895,7 +895,7 @@ class ConversationalSearchServiceClient {
895
895
  * The request object that will be sent.
896
896
  * @param {string} request.parent
897
897
  * Required. The data store resource name. Format:
898
- * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
898
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
899
899
  * @param {number} request.pageSize
900
900
  * Maximum number of results to return. If unspecified, defaults
901
901
  * to 50. Max allowed value is 1000.
@@ -903,22 +903,39 @@ class ConversationalSearchServiceClient {
903
903
  * A page token, received from a previous `ListSessions` call.
904
904
  * Provide this to retrieve the subsequent page.
905
905
  * @param {string} request.filter
906
- * A filter to apply on the list results. The supported features are:
907
- * user_pseudo_id, state.
908
- *
909
- * Example:
906
+ * A comma-separated list of fields to filter by, in EBNF grammar.
907
+ * The supported fields are:
908
+ * * `user_pseudo_id`
909
+ * * `state`
910
+ * * `display_name`
911
+ * * `starred`
912
+ * * `is_pinned`
913
+ * * `labels`
914
+ * * `create_time`
915
+ * * `update_time`
916
+ *
917
+ * Examples:
910
918
  * "user_pseudo_id = some_id"
919
+ * "display_name = \"some_name\""
920
+ * "starred = true"
921
+ * "is_pinned=true AND (NOT labels:hidden)"
922
+ * "create_time > \"1970-01-01T12:00:00Z\""
911
923
  * @param {string} request.orderBy
912
924
  * A comma-separated list of fields to order by, sorted in ascending order.
913
925
  * Use "desc" after a field name for descending.
914
926
  * Supported fields:
927
+ *
915
928
  * * `update_time`
916
929
  * * `create_time`
917
930
  * * `session_name`
931
+ * * `is_pinned`
918
932
  *
919
933
  * Example:
920
- * "update_time desc"
921
- * "create_time"
934
+ *
935
+ * * "update_time desc"
936
+ * * "create_time"
937
+ * * "is_pinned desc,update_time desc": list sessions by is_pinned first, then
938
+ * by update_time.
922
939
  * @param {object} [options]
923
940
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
924
941
  * @returns {Stream}
@@ -952,7 +969,7 @@ class ConversationalSearchServiceClient {
952
969
  * The request object that will be sent.
953
970
  * @param {string} request.parent
954
971
  * Required. The data store resource name. Format:
955
- * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
972
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
956
973
  * @param {number} request.pageSize
957
974
  * Maximum number of results to return. If unspecified, defaults
958
975
  * to 50. Max allowed value is 1000.
@@ -960,22 +977,39 @@ class ConversationalSearchServiceClient {
960
977
  * A page token, received from a previous `ListSessions` call.
961
978
  * Provide this to retrieve the subsequent page.
962
979
  * @param {string} request.filter
963
- * A filter to apply on the list results. The supported features are:
964
- * user_pseudo_id, state.
965
- *
966
- * Example:
980
+ * A comma-separated list of fields to filter by, in EBNF grammar.
981
+ * The supported fields are:
982
+ * * `user_pseudo_id`
983
+ * * `state`
984
+ * * `display_name`
985
+ * * `starred`
986
+ * * `is_pinned`
987
+ * * `labels`
988
+ * * `create_time`
989
+ * * `update_time`
990
+ *
991
+ * Examples:
967
992
  * "user_pseudo_id = some_id"
993
+ * "display_name = \"some_name\""
994
+ * "starred = true"
995
+ * "is_pinned=true AND (NOT labels:hidden)"
996
+ * "create_time > \"1970-01-01T12:00:00Z\""
968
997
  * @param {string} request.orderBy
969
998
  * A comma-separated list of fields to order by, sorted in ascending order.
970
999
  * Use "desc" after a field name for descending.
971
1000
  * Supported fields:
1001
+ *
972
1002
  * * `update_time`
973
1003
  * * `create_time`
974
1004
  * * `session_name`
1005
+ * * `is_pinned`
975
1006
  *
976
1007
  * Example:
977
- * "update_time desc"
978
- * "create_time"
1008
+ *
1009
+ * * "update_time desc"
1010
+ * * "create_time"
1011
+ * * "is_pinned desc,update_time desc": list sessions by is_pinned first, then
1012
+ * by update_time.
979
1013
  * @param {object} [options]
980
1014
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
981
1015
  * @returns {Object}
@@ -1850,154 +1884,154 @@ class ConversationalSearchServiceClient {
1850
1884
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1851
1885
  }
1852
1886
  /**
1853
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1887
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1854
1888
  *
1855
1889
  * @param {string} project
1856
1890
  * @param {string} location
1857
1891
  * @param {string} collection
1858
1892
  * @param {string} data_store
1859
1893
  * @param {string} session
1894
+ * @param {string} answer
1860
1895
  * @returns {string} Resource name string.
1861
1896
  */
1862
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1863
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1897
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1898
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1864
1899
  project: project,
1865
1900
  location: location,
1866
1901
  collection: collection,
1867
1902
  data_store: dataStore,
1868
1903
  session: session,
1904
+ answer: answer,
1869
1905
  });
1870
1906
  }
1871
1907
  /**
1872
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1908
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1873
1909
  *
1874
- * @param {string} projectLocationCollectionDataStoreSessionName
1875
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1910
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1911
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1876
1912
  * @returns {string} A string representing the project.
1877
1913
  */
1878
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1879
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1914
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1915
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1880
1916
  }
1881
1917
  /**
1882
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1918
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1883
1919
  *
1884
- * @param {string} projectLocationCollectionDataStoreSessionName
1885
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1920
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1921
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1886
1922
  * @returns {string} A string representing the location.
1887
1923
  */
1888
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1889
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1924
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1925
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1890
1926
  }
1891
1927
  /**
1892
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1928
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1893
1929
  *
1894
- * @param {string} projectLocationCollectionDataStoreSessionName
1895
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1930
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1931
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1896
1932
  * @returns {string} A string representing the collection.
1897
1933
  */
1898
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1899
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1934
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1935
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1900
1936
  }
1901
1937
  /**
1902
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1938
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1903
1939
  *
1904
- * @param {string} projectLocationCollectionDataStoreSessionName
1905
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1940
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1941
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1906
1942
  * @returns {string} A string representing the data_store.
1907
1943
  */
1908
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1909
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1944
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1945
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1910
1946
  }
1911
1947
  /**
1912
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1948
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1913
1949
  *
1914
- * @param {string} projectLocationCollectionDataStoreSessionName
1915
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1950
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1951
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1916
1952
  * @returns {string} A string representing the session.
1917
1953
  */
1918
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1919
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1954
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1955
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1920
1956
  }
1921
1957
  /**
1922
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1958
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1959
+ *
1960
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1961
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1962
+ * @returns {string} A string representing the answer.
1963
+ */
1964
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1965
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1966
+ }
1967
+ /**
1968
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1923
1969
  *
1924
1970
  * @param {string} project
1925
1971
  * @param {string} location
1926
1972
  * @param {string} collection
1927
1973
  * @param {string} data_store
1928
1974
  * @param {string} session
1929
- * @param {string} answer
1930
1975
  * @returns {string} Resource name string.
1931
1976
  */
1932
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1933
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1977
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1978
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1934
1979
  project: project,
1935
1980
  location: location,
1936
1981
  collection: collection,
1937
1982
  data_store: dataStore,
1938
1983
  session: session,
1939
- answer: answer,
1940
1984
  });
1941
1985
  }
1942
1986
  /**
1943
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1987
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1944
1988
  *
1945
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1946
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1989
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1990
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1947
1991
  * @returns {string} A string representing the project.
1948
1992
  */
1949
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1950
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1993
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1994
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1951
1995
  }
1952
1996
  /**
1953
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1997
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1954
1998
  *
1955
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1956
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1999
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2000
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1957
2001
  * @returns {string} A string representing the location.
1958
2002
  */
1959
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1960
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2003
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2004
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1961
2005
  }
1962
2006
  /**
1963
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2007
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1964
2008
  *
1965
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1966
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2009
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2010
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1967
2011
  * @returns {string} A string representing the collection.
1968
2012
  */
1969
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1970
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2013
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2014
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1971
2015
  }
1972
2016
  /**
1973
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2017
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1974
2018
  *
1975
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1976
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2019
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2020
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1977
2021
  * @returns {string} A string representing the data_store.
1978
2022
  */
1979
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1980
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2023
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2024
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1981
2025
  }
1982
2026
  /**
1983
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2027
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1984
2028
  *
1985
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1986
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2029
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2030
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1987
2031
  * @returns {string} A string representing the session.
1988
2032
  */
1989
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1990
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1991
- }
1992
- /**
1993
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1994
- *
1995
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1996
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1997
- * @returns {string} A string representing the answer.
1998
- */
1999
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2000
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2033
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2034
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
2001
2035
  }
2002
2036
  /**
2003
2037
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2333,154 +2367,154 @@ class ConversationalSearchServiceClient {
2333
2367
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2334
2368
  }
2335
2369
  /**
2336
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2370
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2337
2371
  *
2338
2372
  * @param {string} project
2339
2373
  * @param {string} location
2340
2374
  * @param {string} collection
2341
2375
  * @param {string} engine
2342
2376
  * @param {string} session
2377
+ * @param {string} answer
2343
2378
  * @returns {string} Resource name string.
2344
2379
  */
2345
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2346
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2380
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2381
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2347
2382
  project: project,
2348
2383
  location: location,
2349
2384
  collection: collection,
2350
2385
  engine: engine,
2351
2386
  session: session,
2387
+ answer: answer,
2352
2388
  });
2353
2389
  }
2354
2390
  /**
2355
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2391
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2356
2392
  *
2357
- * @param {string} projectLocationCollectionEngineSessionName
2358
- * A fully-qualified path representing project_location_collection_engine_session resource.
2393
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2394
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2359
2395
  * @returns {string} A string representing the project.
2360
2396
  */
2361
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2362
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2397
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2398
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2363
2399
  }
2364
2400
  /**
2365
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2401
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2366
2402
  *
2367
- * @param {string} projectLocationCollectionEngineSessionName
2368
- * A fully-qualified path representing project_location_collection_engine_session resource.
2403
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2404
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2369
2405
  * @returns {string} A string representing the location.
2370
2406
  */
2371
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2372
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2407
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2408
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2373
2409
  }
2374
2410
  /**
2375
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2411
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2376
2412
  *
2377
- * @param {string} projectLocationCollectionEngineSessionName
2378
- * A fully-qualified path representing project_location_collection_engine_session resource.
2413
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2414
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2379
2415
  * @returns {string} A string representing the collection.
2380
2416
  */
2381
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2382
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2417
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2418
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2383
2419
  }
2384
2420
  /**
2385
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2421
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2386
2422
  *
2387
- * @param {string} projectLocationCollectionEngineSessionName
2388
- * A fully-qualified path representing project_location_collection_engine_session resource.
2423
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2424
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2389
2425
  * @returns {string} A string representing the engine.
2390
2426
  */
2391
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2392
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2427
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2428
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2393
2429
  }
2394
2430
  /**
2395
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2431
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2396
2432
  *
2397
- * @param {string} projectLocationCollectionEngineSessionName
2398
- * A fully-qualified path representing project_location_collection_engine_session resource.
2433
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2434
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2399
2435
  * @returns {string} A string representing the session.
2400
2436
  */
2401
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2402
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2437
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2438
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2403
2439
  }
2404
2440
  /**
2405
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2441
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2442
+ *
2443
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2444
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2445
+ * @returns {string} A string representing the answer.
2446
+ */
2447
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2448
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2449
+ }
2450
+ /**
2451
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2406
2452
  *
2407
2453
  * @param {string} project
2408
2454
  * @param {string} location
2409
2455
  * @param {string} collection
2410
2456
  * @param {string} engine
2411
2457
  * @param {string} session
2412
- * @param {string} answer
2413
2458
  * @returns {string} Resource name string.
2414
2459
  */
2415
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2416
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2460
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2461
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2417
2462
  project: project,
2418
2463
  location: location,
2419
2464
  collection: collection,
2420
2465
  engine: engine,
2421
2466
  session: session,
2422
- answer: answer,
2423
2467
  });
2424
2468
  }
2425
2469
  /**
2426
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2470
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2427
2471
  *
2428
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2429
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2472
+ * @param {string} projectLocationCollectionEngineSessionsName
2473
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2430
2474
  * @returns {string} A string representing the project.
2431
2475
  */
2432
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2433
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2476
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2477
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2434
2478
  }
2435
2479
  /**
2436
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2480
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2437
2481
  *
2438
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2439
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2482
+ * @param {string} projectLocationCollectionEngineSessionsName
2483
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2440
2484
  * @returns {string} A string representing the location.
2441
2485
  */
2442
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2443
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2486
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2487
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2444
2488
  }
2445
2489
  /**
2446
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2490
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2447
2491
  *
2448
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2449
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2492
+ * @param {string} projectLocationCollectionEngineSessionsName
2493
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2450
2494
  * @returns {string} A string representing the collection.
2451
2495
  */
2452
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2453
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2496
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2497
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2454
2498
  }
2455
2499
  /**
2456
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2500
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2457
2501
  *
2458
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2459
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2502
+ * @param {string} projectLocationCollectionEngineSessionsName
2503
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2460
2504
  * @returns {string} A string representing the engine.
2461
2505
  */
2462
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2463
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2506
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2507
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2464
2508
  }
2465
2509
  /**
2466
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2510
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2467
2511
  *
2468
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2469
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2512
+ * @param {string} projectLocationCollectionEngineSessionsName
2513
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2470
2514
  * @returns {string} A string representing the session.
2471
2515
  */
2472
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2473
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2474
- }
2475
- /**
2476
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2477
- *
2478
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2479
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2480
- * @returns {string} A string representing the answer.
2481
- */
2482
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2483
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2516
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2517
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2484
2518
  }
2485
2519
  /**
2486
2520
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3007,63 +3041,6 @@ class ConversationalSearchServiceClient {
3007
3041
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3008
3042
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3009
3043
  }
3010
- /**
3011
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3012
- *
3013
- * @param {string} project
3014
- * @param {string} location
3015
- * @param {string} data_store
3016
- * @param {string} session
3017
- * @returns {string} Resource name string.
3018
- */
3019
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3020
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3021
- project: project,
3022
- location: location,
3023
- data_store: dataStore,
3024
- session: session,
3025
- });
3026
- }
3027
- /**
3028
- * Parse the project from ProjectLocationDataStoreSession resource.
3029
- *
3030
- * @param {string} projectLocationDataStoreSessionName
3031
- * A fully-qualified path representing project_location_data_store_session resource.
3032
- * @returns {string} A string representing the project.
3033
- */
3034
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3035
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3036
- }
3037
- /**
3038
- * Parse the location from ProjectLocationDataStoreSession resource.
3039
- *
3040
- * @param {string} projectLocationDataStoreSessionName
3041
- * A fully-qualified path representing project_location_data_store_session resource.
3042
- * @returns {string} A string representing the location.
3043
- */
3044
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3045
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3046
- }
3047
- /**
3048
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3049
- *
3050
- * @param {string} projectLocationDataStoreSessionName
3051
- * A fully-qualified path representing project_location_data_store_session resource.
3052
- * @returns {string} A string representing the data_store.
3053
- */
3054
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3055
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3056
- }
3057
- /**
3058
- * Parse the session from ProjectLocationDataStoreSession resource.
3059
- *
3060
- * @param {string} projectLocationDataStoreSessionName
3061
- * A fully-qualified path representing project_location_data_store_session resource.
3062
- * @returns {string} A string representing the session.
3063
- */
3064
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3065
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3066
- }
3067
3044
  /**
3068
3045
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3069
3046
  *
@@ -3133,6 +3110,63 @@ class ConversationalSearchServiceClient {
3133
3110
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3134
3111
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3135
3112
  }
3113
+ /**
3114
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3115
+ *
3116
+ * @param {string} project
3117
+ * @param {string} location
3118
+ * @param {string} data_store
3119
+ * @param {string} session
3120
+ * @returns {string} Resource name string.
3121
+ */
3122
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3123
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3124
+ project: project,
3125
+ location: location,
3126
+ data_store: dataStore,
3127
+ session: session,
3128
+ });
3129
+ }
3130
+ /**
3131
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3132
+ *
3133
+ * @param {string} projectLocationDataStoreSessionsName
3134
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3135
+ * @returns {string} A string representing the project.
3136
+ */
3137
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3138
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3139
+ }
3140
+ /**
3141
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3142
+ *
3143
+ * @param {string} projectLocationDataStoreSessionsName
3144
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3145
+ * @returns {string} A string representing the location.
3146
+ */
3147
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3148
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3149
+ }
3150
+ /**
3151
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3152
+ *
3153
+ * @param {string} projectLocationDataStoreSessionsName
3154
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3155
+ * @returns {string} A string representing the data_store.
3156
+ */
3157
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3158
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3159
+ }
3160
+ /**
3161
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3162
+ *
3163
+ * @param {string} projectLocationDataStoreSessionsName
3164
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3165
+ * @returns {string} A string representing the session.
3166
+ */
3167
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3168
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3169
+ }
3136
3170
  /**
3137
3171
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3138
3172
  *