@google-cloud/discoveryengine 1.6.0 → 1.8.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 (185) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +24 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +14 -2
  4. package/build/protos/google/cloud/discoveryengine/v1/completion.proto +1 -1
  5. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +1 -1
  6. package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +1 -1
  7. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +6 -1
  8. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +18 -1
  9. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +1 -1
  10. package/build/protos/google/cloud/discoveryengine/v1/document.proto +10 -1
  11. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +7 -1
  12. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +3 -3
  13. package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +1 -1
  14. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +285 -23
  15. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +4 -1
  16. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +228 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/schema.proto +1 -1
  18. package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +1 -1
  19. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +126 -22
  20. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +1 -1
  21. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +1 -1
  22. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +17 -12
  23. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +1 -1
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +1 -1
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +1 -1
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +328 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +42 -2
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +1 -1
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +22 -2
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +1 -1
  31. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +1 -1
  32. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +1 -1
  33. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +575 -1
  34. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +1 -1
  35. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +1 -1
  36. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +20 -1
  37. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +4 -7
  38. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +65 -1
  39. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +3 -3
  40. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
  41. package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +1 -1
  42. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +120 -0
  43. package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +55 -0
  44. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +284 -25
  45. package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +102 -0
  46. package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +171 -0
  47. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +1 -1
  48. package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +1 -1
  49. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +1 -1
  50. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +22 -1
  51. package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +1 -1
  52. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +159 -25
  53. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +10 -4
  54. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +1 -1
  55. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +3 -2
  56. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +94 -0
  57. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +1 -1
  58. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +1 -1
  59. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +2 -2
  60. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +1 -1
  61. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +328 -0
  62. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +31 -2
  63. package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +1 -1
  64. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +1 -1
  65. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +1 -1
  66. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +560 -1
  67. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +1 -1
  68. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +1 -1
  69. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
  70. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +4 -7
  71. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +7 -1
  72. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +3 -3
  73. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +94 -1
  74. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +120 -0
  75. package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +55 -0
  76. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +284 -25
  77. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +1 -1
  78. package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +115 -0
  79. package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +1 -1
  80. package/build/protos/google/cloud/discoveryengine/v1beta/schema.proto +1 -1
  81. package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +1 -1
  82. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +143 -23
  83. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +8 -2
  84. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +1 -1
  85. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +1 -1
  86. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +94 -0
  87. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +1 -1
  88. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +1 -1
  89. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +2 -2
  90. package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +1 -1
  91. package/build/protos/protos.d.ts +44799 -26093
  92. package/build/protos/protos.js +120465 -74222
  93. package/build/protos/protos.json +8911 -4556
  94. package/build/src/index.d.ts +4 -1
  95. package/build/src/index.js +4 -1
  96. package/build/src/v1/conversational_search_service_client.d.ts +4 -0
  97. package/build/src/v1/document_service_client.d.ts +47 -19
  98. package/build/src/v1/index.d.ts +1 -0
  99. package/build/src/v1/index.js +3 -1
  100. package/build/src/v1/recommendation_service_client.d.ts +1087 -0
  101. package/build/src/v1/recommendation_service_client.js +1432 -0
  102. package/build/src/v1/recommendation_service_client_config.json +43 -0
  103. package/build/src/v1/search_service_client.d.ts +27 -9
  104. package/build/src/v1/search_service_client.js +18 -6
  105. package/build/src/v1/search_service_client_config.json +5 -5
  106. package/build/src/v1alpha/acl_config_service_client.d.ts +330 -0
  107. package/build/src/v1alpha/acl_config_service_client.js +454 -0
  108. package/build/src/v1alpha/chunk_service_client.d.ts +330 -0
  109. package/build/src/v1alpha/chunk_service_client.js +454 -0
  110. package/build/src/v1alpha/completion_service_client.d.ts +330 -0
  111. package/build/src/v1alpha/completion_service_client.js +457 -0
  112. package/build/src/v1alpha/conversational_search_service_client.d.ts +674 -0
  113. package/build/src/v1alpha/conversational_search_service_client.js +724 -0
  114. package/build/src/v1alpha/conversational_search_service_client_config.json +35 -0
  115. package/build/src/v1alpha/data_store_service_client.d.ts +330 -0
  116. package/build/src/v1alpha/data_store_service_client.js +457 -0
  117. package/build/src/v1alpha/document_service_client.d.ts +410 -21
  118. package/build/src/v1alpha/document_service_client.js +479 -0
  119. package/build/src/v1alpha/document_service_client_config.json +5 -0
  120. package/build/src/v1alpha/engine_service_client.d.ts +330 -0
  121. package/build/src/v1alpha/engine_service_client.js +457 -0
  122. package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
  123. package/build/src/v1alpha/estimate_billing_service_client.js +457 -0
  124. package/build/src/v1alpha/grounded_generation_service_client.d.ts +1574 -0
  125. package/build/src/v1alpha/grounded_generation_service_client.js +2248 -0
  126. package/build/src/v1alpha/grounded_generation_service_client_config.json +43 -0
  127. package/build/src/v1alpha/index.d.ts +3 -1
  128. package/build/src/v1alpha/index.js +7 -3
  129. package/build/src/v1alpha/project_service_client.d.ts +1756 -0
  130. package/build/src/v1alpha/project_service_client.js +2500 -0
  131. package/build/src/v1alpha/project_service_client_config.json +38 -0
  132. package/build/src/v1alpha/rank_service_client.d.ts +330 -0
  133. package/build/src/v1alpha/rank_service_client.js +454 -0
  134. package/build/src/v1alpha/rank_service_client_config.json +15 -2
  135. package/build/src/v1alpha/recommendation_service_client.d.ts +330 -0
  136. package/build/src/v1alpha/recommendation_service_client.js +454 -0
  137. package/build/src/v1alpha/schema_service_client.d.ts +330 -0
  138. package/build/src/v1alpha/schema_service_client.js +457 -0
  139. package/build/src/v1alpha/search_service_client.d.ts +360 -15
  140. package/build/src/v1alpha/search_service_client.js +474 -10
  141. package/build/src/v1alpha/search_service_client_config.json +5 -5
  142. package/build/src/v1alpha/search_tuning_service_client.d.ts +330 -0
  143. package/build/src/v1alpha/search_tuning_service_client.js +457 -0
  144. package/build/src/v1alpha/serving_config_service_client.d.ts +317 -1
  145. package/build/src/v1alpha/serving_config_service_client.js +434 -1
  146. package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
  147. package/build/src/v1alpha/site_search_engine_service_client.js +457 -0
  148. package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
  149. package/build/src/v1alpha/user_event_service_client.js +457 -0
  150. package/build/src/v1beta/completion_service_client.d.ts +315 -0
  151. package/build/src/v1beta/completion_service_client.js +432 -0
  152. package/build/src/v1beta/conversational_search_service_client.d.ts +659 -0
  153. package/build/src/v1beta/conversational_search_service_client.js +702 -0
  154. package/build/src/v1beta/conversational_search_service_client_config.json +35 -0
  155. package/build/src/v1beta/data_store_service_client.d.ts +315 -0
  156. package/build/src/v1beta/data_store_service_client.js +432 -0
  157. package/build/src/v1beta/document_service_client.d.ts +361 -21
  158. package/build/src/v1beta/document_service_client.js +432 -0
  159. package/build/src/v1beta/engine_service_client.d.ts +410 -0
  160. package/build/src/v1beta/engine_service_client.js +518 -0
  161. package/build/src/v1beta/engine_service_client_config.json +12 -0
  162. package/build/src/v1beta/grounded_generation_service_client.d.ts +1406 -0
  163. package/build/src/v1beta/grounded_generation_service_client.js +2014 -0
  164. package/build/src/v1beta/grounded_generation_service_client_config.json +43 -0
  165. package/build/src/v1beta/index.d.ts +2 -0
  166. package/build/src/v1beta/index.js +5 -1
  167. package/build/src/v1beta/rank_service_client.d.ts +1416 -0
  168. package/build/src/v1beta/rank_service_client.js +2015 -0
  169. package/build/src/v1beta/rank_service_client_config.json +43 -0
  170. package/build/src/v1beta/recommendation_service_client.d.ts +315 -0
  171. package/build/src/v1beta/recommendation_service_client.js +432 -0
  172. package/build/src/v1beta/schema_service_client.d.ts +315 -0
  173. package/build/src/v1beta/schema_service_client.js +432 -0
  174. package/build/src/v1beta/search_service_client.d.ts +342 -12
  175. package/build/src/v1beta/search_service_client.js +450 -8
  176. package/build/src/v1beta/search_service_client_config.json +5 -5
  177. package/build/src/v1beta/search_tuning_service_client.d.ts +315 -0
  178. package/build/src/v1beta/search_tuning_service_client.js +432 -0
  179. package/build/src/v1beta/serving_config_service_client.d.ts +315 -0
  180. package/build/src/v1beta/serving_config_service_client.js +432 -0
  181. package/build/src/v1beta/site_search_engine_service_client.d.ts +315 -0
  182. package/build/src/v1beta/site_search_engine_service_client.js +432 -0
  183. package/build/src/v1beta/user_event_service_client.d.ts +315 -0
  184. package/build/src/v1beta/user_event_service_client.js +432 -0
  185. package/package.json +1 -1
@@ -313,6 +313,212 @@ export declare class ConversationalSearchServiceClient {
313
313
  ]>;
314
314
  getConversation(request: protos.google.cloud.discoveryengine.v1beta.IGetConversationRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1beta.IConversation, protos.google.cloud.discoveryengine.v1beta.IGetConversationRequest | null | undefined, {} | null | undefined>): void;
315
315
  getConversation(request: protos.google.cloud.discoveryengine.v1beta.IGetConversationRequest, callback: Callback<protos.google.cloud.discoveryengine.v1beta.IConversation, protos.google.cloud.discoveryengine.v1beta.IGetConversationRequest | null | undefined, {} | null | undefined>): void;
316
+ /**
317
+ * Answer query method.
318
+ *
319
+ * @param {Object} request
320
+ * The request object that will be sent.
321
+ * @param {string} request.servingConfig
322
+ * Required. The resource name of the Search serving config, such as
323
+ * `projects/* /locations/global/collections/default_collection/engines/* /servingConfigs/default_serving_config`,
324
+ * or
325
+ * `projects/* /locations/global/collections/default_collection/dataStores/* /servingConfigs/default_serving_config`.
326
+ * This field is used to identify the serving configuration name, set
327
+ * of models used to make the search.
328
+ * @param {google.cloud.discoveryengine.v1beta.Query} request.query
329
+ * Required. Current user query.
330
+ * @param {string} request.session
331
+ * The session resource name. Not required.
332
+ *
333
+ * When session field is not set, the API is in sessionless mode.
334
+ *
335
+ * We support auto session mode: users can use the wildcard symbol “-” as
336
+ * session id. A new id will be automatically generated and assigned.
337
+ * @param {google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SafetySpec} request.safetySpec
338
+ * Model specification.
339
+ * @param {google.cloud.discoveryengine.v1beta.AnswerQueryRequest.RelatedQuestionsSpec} request.relatedQuestionsSpec
340
+ * Related questions specification.
341
+ * @param {google.cloud.discoveryengine.v1beta.AnswerQueryRequest.AnswerGenerationSpec} request.answerGenerationSpec
342
+ * Answer generation specification.
343
+ * @param {google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec} request.searchSpec
344
+ * Search specification.
345
+ * @param {google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec} request.queryUnderstandingSpec
346
+ * Query understanding specification.
347
+ * @param {boolean} request.asynchronousMode
348
+ * Asynchronous mode control.
349
+ *
350
+ * If enabled, the response will be returned with answer/session resource
351
+ * name without final answer. The API users need to do the polling to get
352
+ * the latest status of answer/session by calling
353
+ * {@link protos.google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer|ConversationalSearchService.GetAnswer}
354
+ * or
355
+ * {@link protos.google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession|ConversationalSearchService.GetSession}
356
+ * method.
357
+ * @param {string} request.userPseudoId
358
+ * A unique identifier for tracking visitors. For example, this could be
359
+ * implemented with an HTTP cookie, which should be able to uniquely identify
360
+ * a visitor on a single device. This unique identifier should not change if
361
+ * the visitor logs in or out of the website.
362
+ *
363
+ * This field should NOT have a fixed value such as `unknown_visitor`.
364
+ *
365
+ * The field must be a UTF-8 encoded string with a length limit of 128
366
+ * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
367
+ * @param {object} [options]
368
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
369
+ * @returns {Promise} - The promise which resolves to an array.
370
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1beta.AnswerQueryResponse|AnswerQueryResponse}.
371
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
372
+ * for more details and examples.
373
+ * @example <caption>include:samples/generated/v1beta/conversational_search_service.answer_query.js</caption>
374
+ * region_tag:discoveryengine_v1beta_generated_ConversationalSearchService_AnswerQuery_async
375
+ */
376
+ answerQuery(request?: protos.google.cloud.discoveryengine.v1beta.IAnswerQueryRequest, options?: CallOptions): Promise<[
377
+ protos.google.cloud.discoveryengine.v1beta.IAnswerQueryResponse,
378
+ (protos.google.cloud.discoveryengine.v1beta.IAnswerQueryRequest | undefined),
379
+ {} | undefined
380
+ ]>;
381
+ answerQuery(request: protos.google.cloud.discoveryengine.v1beta.IAnswerQueryRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1beta.IAnswerQueryResponse, protos.google.cloud.discoveryengine.v1beta.IAnswerQueryRequest | null | undefined, {} | null | undefined>): void;
382
+ answerQuery(request: protos.google.cloud.discoveryengine.v1beta.IAnswerQueryRequest, callback: Callback<protos.google.cloud.discoveryengine.v1beta.IAnswerQueryResponse, protos.google.cloud.discoveryengine.v1beta.IAnswerQueryRequest | null | undefined, {} | null | undefined>): void;
383
+ /**
384
+ * Gets a Answer.
385
+ *
386
+ * @param {Object} request
387
+ * The request object that will be sent.
388
+ * @param {string} request.name
389
+ * Required. The resource name of the Answer to get. Format:
390
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}`
391
+ * @param {object} [options]
392
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
393
+ * @returns {Promise} - The promise which resolves to an array.
394
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1beta.Answer|Answer}.
395
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
396
+ * for more details and examples.
397
+ * @example <caption>include:samples/generated/v1beta/conversational_search_service.get_answer.js</caption>
398
+ * region_tag:discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_async
399
+ */
400
+ getAnswer(request?: protos.google.cloud.discoveryengine.v1beta.IGetAnswerRequest, options?: CallOptions): Promise<[
401
+ protos.google.cloud.discoveryengine.v1beta.IAnswer,
402
+ protos.google.cloud.discoveryengine.v1beta.IGetAnswerRequest | undefined,
403
+ {} | undefined
404
+ ]>;
405
+ getAnswer(request: protos.google.cloud.discoveryengine.v1beta.IGetAnswerRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1beta.IAnswer, protos.google.cloud.discoveryengine.v1beta.IGetAnswerRequest | null | undefined, {} | null | undefined>): void;
406
+ getAnswer(request: protos.google.cloud.discoveryengine.v1beta.IGetAnswerRequest, callback: Callback<protos.google.cloud.discoveryengine.v1beta.IAnswer, protos.google.cloud.discoveryengine.v1beta.IGetAnswerRequest | null | undefined, {} | null | undefined>): void;
407
+ /**
408
+ * Creates a Session.
409
+ *
410
+ * If the {@link protos.google.cloud.discoveryengine.v1beta.Session|Session} to create
411
+ * already exists, an ALREADY_EXISTS error is returned.
412
+ *
413
+ * @param {Object} request
414
+ * The request object that will be sent.
415
+ * @param {string} request.parent
416
+ * Required. Full resource name of parent data store. Format:
417
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
418
+ * @param {google.cloud.discoveryengine.v1beta.Session} request.session
419
+ * Required. The session to create.
420
+ * @param {object} [options]
421
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
422
+ * @returns {Promise} - The promise which resolves to an array.
423
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1beta.Session|Session}.
424
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
425
+ * for more details and examples.
426
+ * @example <caption>include:samples/generated/v1beta/conversational_search_service.create_session.js</caption>
427
+ * region_tag:discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_async
428
+ */
429
+ createSession(request?: protos.google.cloud.discoveryengine.v1beta.ICreateSessionRequest, options?: CallOptions): Promise<[
430
+ protos.google.cloud.discoveryengine.v1beta.ISession,
431
+ (protos.google.cloud.discoveryengine.v1beta.ICreateSessionRequest | undefined),
432
+ {} | undefined
433
+ ]>;
434
+ createSession(request: protos.google.cloud.discoveryengine.v1beta.ICreateSessionRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1beta.ISession, protos.google.cloud.discoveryengine.v1beta.ICreateSessionRequest | null | undefined, {} | null | undefined>): void;
435
+ createSession(request: protos.google.cloud.discoveryengine.v1beta.ICreateSessionRequest, callback: Callback<protos.google.cloud.discoveryengine.v1beta.ISession, protos.google.cloud.discoveryengine.v1beta.ICreateSessionRequest | null | undefined, {} | null | undefined>): void;
436
+ /**
437
+ * Deletes a Session.
438
+ *
439
+ * If the {@link protos.google.cloud.discoveryengine.v1beta.Session|Session} to delete
440
+ * does not exist, a NOT_FOUND error is returned.
441
+ *
442
+ * @param {Object} request
443
+ * The request object that will be sent.
444
+ * @param {string} request.name
445
+ * Required. The resource name of the Session to delete. Format:
446
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`
447
+ * @param {object} [options]
448
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
449
+ * @returns {Promise} - The promise which resolves to an array.
450
+ * The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
451
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
452
+ * for more details and examples.
453
+ * @example <caption>include:samples/generated/v1beta/conversational_search_service.delete_session.js</caption>
454
+ * region_tag:discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_async
455
+ */
456
+ deleteSession(request?: protos.google.cloud.discoveryengine.v1beta.IDeleteSessionRequest, options?: CallOptions): Promise<[
457
+ protos.google.protobuf.IEmpty,
458
+ (protos.google.cloud.discoveryengine.v1beta.IDeleteSessionRequest | undefined),
459
+ {} | undefined
460
+ ]>;
461
+ deleteSession(request: protos.google.cloud.discoveryengine.v1beta.IDeleteSessionRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1beta.IDeleteSessionRequest | null | undefined, {} | null | undefined>): void;
462
+ deleteSession(request: protos.google.cloud.discoveryengine.v1beta.IDeleteSessionRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1beta.IDeleteSessionRequest | null | undefined, {} | null | undefined>): void;
463
+ /**
464
+ * Updates a Session.
465
+ *
466
+ * {@link protos.google.cloud.discoveryengine.v1beta.Session|Session} action type cannot
467
+ * be changed. If the {@link protos.google.cloud.discoveryengine.v1beta.Session|Session}
468
+ * to update does not exist, a NOT_FOUND error is returned.
469
+ *
470
+ * @param {Object} request
471
+ * The request object that will be sent.
472
+ * @param {google.cloud.discoveryengine.v1beta.Session} request.session
473
+ * Required. The Session to update.
474
+ * @param {google.protobuf.FieldMask} request.updateMask
475
+ * Indicates which fields in the provided
476
+ * {@link protos.google.cloud.discoveryengine.v1beta.Session|Session} to update. The
477
+ * following are NOT supported:
478
+ *
479
+ * * {@link protos.google.cloud.discoveryengine.v1beta.Session.name|Session.name}
480
+ *
481
+ * If not set or empty, all supported fields are updated.
482
+ * @param {object} [options]
483
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
484
+ * @returns {Promise} - The promise which resolves to an array.
485
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1beta.Session|Session}.
486
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
487
+ * for more details and examples.
488
+ * @example <caption>include:samples/generated/v1beta/conversational_search_service.update_session.js</caption>
489
+ * region_tag:discoveryengine_v1beta_generated_ConversationalSearchService_UpdateSession_async
490
+ */
491
+ updateSession(request?: protos.google.cloud.discoveryengine.v1beta.IUpdateSessionRequest, options?: CallOptions): Promise<[
492
+ protos.google.cloud.discoveryengine.v1beta.ISession,
493
+ (protos.google.cloud.discoveryengine.v1beta.IUpdateSessionRequest | undefined),
494
+ {} | undefined
495
+ ]>;
496
+ updateSession(request: protos.google.cloud.discoveryengine.v1beta.IUpdateSessionRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1beta.ISession, protos.google.cloud.discoveryengine.v1beta.IUpdateSessionRequest | null | undefined, {} | null | undefined>): void;
497
+ updateSession(request: protos.google.cloud.discoveryengine.v1beta.IUpdateSessionRequest, callback: Callback<protos.google.cloud.discoveryengine.v1beta.ISession, protos.google.cloud.discoveryengine.v1beta.IUpdateSessionRequest | null | undefined, {} | null | undefined>): void;
498
+ /**
499
+ * Gets a Session.
500
+ *
501
+ * @param {Object} request
502
+ * The request object that will be sent.
503
+ * @param {string} request.name
504
+ * Required. The resource name of the Session to get. Format:
505
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`
506
+ * @param {object} [options]
507
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
508
+ * @returns {Promise} - The promise which resolves to an array.
509
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1beta.Session|Session}.
510
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
511
+ * for more details and examples.
512
+ * @example <caption>include:samples/generated/v1beta/conversational_search_service.get_session.js</caption>
513
+ * region_tag:discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_async
514
+ */
515
+ getSession(request?: protos.google.cloud.discoveryengine.v1beta.IGetSessionRequest, options?: CallOptions): Promise<[
516
+ protos.google.cloud.discoveryengine.v1beta.ISession,
517
+ protos.google.cloud.discoveryengine.v1beta.IGetSessionRequest | undefined,
518
+ {} | undefined
519
+ ]>;
520
+ getSession(request: protos.google.cloud.discoveryengine.v1beta.IGetSessionRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1beta.ISession, protos.google.cloud.discoveryengine.v1beta.IGetSessionRequest | null | undefined, {} | null | undefined>): void;
521
+ getSession(request: protos.google.cloud.discoveryengine.v1beta.IGetSessionRequest, callback: Callback<protos.google.cloud.discoveryengine.v1beta.ISession, protos.google.cloud.discoveryengine.v1beta.IGetSessionRequest | null | undefined, {} | null | undefined>): void;
316
522
  /**
317
523
  * Lists all Conversations by their parent
318
524
  * {@link protos.google.cloud.discoveryengine.v1beta.DataStore|DataStore}.
@@ -451,6 +657,144 @@ export declare class ConversationalSearchServiceClient {
451
657
  * region_tag:discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_async
452
658
  */
453
659
  listConversationsAsync(request?: protos.google.cloud.discoveryengine.v1beta.IListConversationsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1beta.IConversation>;
660
+ /**
661
+ * Lists all Sessions by their parent
662
+ * {@link protos.google.cloud.discoveryengine.v1beta.DataStore|DataStore}.
663
+ *
664
+ * @param {Object} request
665
+ * The request object that will be sent.
666
+ * @param {string} request.parent
667
+ * Required. The data store resource name. Format:
668
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
669
+ * @param {number} request.pageSize
670
+ * Maximum number of results to return. If unspecified, defaults
671
+ * to 50. Max allowed value is 1000.
672
+ * @param {string} request.pageToken
673
+ * A page token, received from a previous `ListSessions` call.
674
+ * Provide this to retrieve the subsequent page.
675
+ * @param {string} request.filter
676
+ * A filter to apply on the list results. The supported features are:
677
+ * user_pseudo_id, state.
678
+ *
679
+ * Example:
680
+ * "user_pseudo_id = some_id"
681
+ * @param {string} request.orderBy
682
+ * A comma-separated list of fields to order by, sorted in ascending order.
683
+ * Use "desc" after a field name for descending.
684
+ * Supported fields:
685
+ * * `update_time`
686
+ * * `create_time`
687
+ * * `session_name`
688
+ *
689
+ * Example:
690
+ * "update_time desc"
691
+ * "create_time"
692
+ * @param {object} [options]
693
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
694
+ * @returns {Promise} - The promise which resolves to an array.
695
+ * The first element of the array is Array of {@link protos.google.cloud.discoveryengine.v1beta.Session|Session}.
696
+ * The client library will perform auto-pagination by default: it will call the API as many
697
+ * times as needed and will merge results from all the pages into this array.
698
+ * Note that it can affect your quota.
699
+ * We recommend using `listSessionsAsync()`
700
+ * method described below for async iteration which you can stop as needed.
701
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
702
+ * for more details and examples.
703
+ */
704
+ listSessions(request?: protos.google.cloud.discoveryengine.v1beta.IListSessionsRequest, options?: CallOptions): Promise<[
705
+ protos.google.cloud.discoveryengine.v1beta.ISession[],
706
+ protos.google.cloud.discoveryengine.v1beta.IListSessionsRequest | null,
707
+ protos.google.cloud.discoveryengine.v1beta.IListSessionsResponse
708
+ ]>;
709
+ listSessions(request: protos.google.cloud.discoveryengine.v1beta.IListSessionsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1beta.IListSessionsRequest, protos.google.cloud.discoveryengine.v1beta.IListSessionsResponse | null | undefined, protos.google.cloud.discoveryengine.v1beta.ISession>): void;
710
+ listSessions(request: protos.google.cloud.discoveryengine.v1beta.IListSessionsRequest, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1beta.IListSessionsRequest, protos.google.cloud.discoveryengine.v1beta.IListSessionsResponse | null | undefined, protos.google.cloud.discoveryengine.v1beta.ISession>): void;
711
+ /**
712
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
713
+ * @param {Object} request
714
+ * The request object that will be sent.
715
+ * @param {string} request.parent
716
+ * Required. The data store resource name. Format:
717
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
718
+ * @param {number} request.pageSize
719
+ * Maximum number of results to return. If unspecified, defaults
720
+ * to 50. Max allowed value is 1000.
721
+ * @param {string} request.pageToken
722
+ * A page token, received from a previous `ListSessions` call.
723
+ * Provide this to retrieve the subsequent page.
724
+ * @param {string} request.filter
725
+ * A filter to apply on the list results. The supported features are:
726
+ * user_pseudo_id, state.
727
+ *
728
+ * Example:
729
+ * "user_pseudo_id = some_id"
730
+ * @param {string} request.orderBy
731
+ * A comma-separated list of fields to order by, sorted in ascending order.
732
+ * Use "desc" after a field name for descending.
733
+ * Supported fields:
734
+ * * `update_time`
735
+ * * `create_time`
736
+ * * `session_name`
737
+ *
738
+ * Example:
739
+ * "update_time desc"
740
+ * "create_time"
741
+ * @param {object} [options]
742
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
743
+ * @returns {Stream}
744
+ * An object stream which emits an object representing {@link protos.google.cloud.discoveryengine.v1beta.Session|Session} on 'data' event.
745
+ * The client library will perform auto-pagination by default: it will call the API as many
746
+ * times as needed. Note that it can affect your quota.
747
+ * We recommend using `listSessionsAsync()`
748
+ * method described below for async iteration which you can stop as needed.
749
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
750
+ * for more details and examples.
751
+ */
752
+ listSessionsStream(request?: protos.google.cloud.discoveryengine.v1beta.IListSessionsRequest, options?: CallOptions): Transform;
753
+ /**
754
+ * Equivalent to `listSessions`, but returns an iterable object.
755
+ *
756
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
757
+ * @param {Object} request
758
+ * The request object that will be sent.
759
+ * @param {string} request.parent
760
+ * Required. The data store resource name. Format:
761
+ * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
762
+ * @param {number} request.pageSize
763
+ * Maximum number of results to return. If unspecified, defaults
764
+ * to 50. Max allowed value is 1000.
765
+ * @param {string} request.pageToken
766
+ * A page token, received from a previous `ListSessions` call.
767
+ * Provide this to retrieve the subsequent page.
768
+ * @param {string} request.filter
769
+ * A filter to apply on the list results. The supported features are:
770
+ * user_pseudo_id, state.
771
+ *
772
+ * Example:
773
+ * "user_pseudo_id = some_id"
774
+ * @param {string} request.orderBy
775
+ * A comma-separated list of fields to order by, sorted in ascending order.
776
+ * Use "desc" after a field name for descending.
777
+ * Supported fields:
778
+ * * `update_time`
779
+ * * `create_time`
780
+ * * `session_name`
781
+ *
782
+ * Example:
783
+ * "update_time desc"
784
+ * "create_time"
785
+ * @param {object} [options]
786
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
787
+ * @returns {Object}
788
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
789
+ * When you iterate the returned iterable, each element will be an object representing
790
+ * {@link protos.google.cloud.discoveryengine.v1beta.Session|Session}. The API will be called under the hood as needed, once per the page,
791
+ * so you can stop the iteration when you don't need more results.
792
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
793
+ * for more details and examples.
794
+ * @example <caption>include:samples/generated/v1beta/conversational_search_service.list_sessions.js</caption>
795
+ * region_tag:discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_async
796
+ */
797
+ listSessionsAsync(request?: protos.google.cloud.discoveryengine.v1beta.IListSessionsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1beta.ISession>;
454
798
  /**
455
799
  * Gets information about a location.
456
800
  *
@@ -841,6 +1185,117 @@ export declare class ConversationalSearchServiceClient {
841
1185
  * @returns {string} A string representing the serving_config.
842
1186
  */
843
1187
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1188
+ /**
1189
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1190
+ *
1191
+ * @param {string} project
1192
+ * @param {string} location
1193
+ * @param {string} collection
1194
+ * @param {string} data_store
1195
+ * @param {string} session
1196
+ * @returns {string} Resource name string.
1197
+ */
1198
+ projectLocationCollectionDataStoreSessionPath(project: string, location: string, collection: string, dataStore: string, session: string): string;
1199
+ /**
1200
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1201
+ *
1202
+ * @param {string} projectLocationCollectionDataStoreSessionName
1203
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1204
+ * @returns {string} A string representing the project.
1205
+ */
1206
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1207
+ /**
1208
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1209
+ *
1210
+ * @param {string} projectLocationCollectionDataStoreSessionName
1211
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1212
+ * @returns {string} A string representing the location.
1213
+ */
1214
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1215
+ /**
1216
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1217
+ *
1218
+ * @param {string} projectLocationCollectionDataStoreSessionName
1219
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1220
+ * @returns {string} A string representing the collection.
1221
+ */
1222
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1223
+ /**
1224
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1225
+ *
1226
+ * @param {string} projectLocationCollectionDataStoreSessionName
1227
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1228
+ * @returns {string} A string representing the data_store.
1229
+ */
1230
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1231
+ /**
1232
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1233
+ *
1234
+ * @param {string} projectLocationCollectionDataStoreSessionName
1235
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1236
+ * @returns {string} A string representing the session.
1237
+ */
1238
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1239
+ /**
1240
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1241
+ *
1242
+ * @param {string} project
1243
+ * @param {string} location
1244
+ * @param {string} collection
1245
+ * @param {string} data_store
1246
+ * @param {string} session
1247
+ * @param {string} answer
1248
+ * @returns {string} Resource name string.
1249
+ */
1250
+ projectLocationCollectionDataStoreSessionAnswerPath(project: string, location: string, collection: string, dataStore: string, session: string, answer: string): string;
1251
+ /**
1252
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1253
+ *
1254
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1255
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1256
+ * @returns {string} A string representing the project.
1257
+ */
1258
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1259
+ /**
1260
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1261
+ *
1262
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1263
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1264
+ * @returns {string} A string representing the location.
1265
+ */
1266
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1267
+ /**
1268
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1269
+ *
1270
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1271
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1272
+ * @returns {string} A string representing the collection.
1273
+ */
1274
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1275
+ /**
1276
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1277
+ *
1278
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1279
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1280
+ * @returns {string} A string representing the data_store.
1281
+ */
1282
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1283
+ /**
1284
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1285
+ *
1286
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1287
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1288
+ * @returns {string} A string representing the session.
1289
+ */
1290
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1291
+ /**
1292
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1293
+ *
1294
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1295
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1296
+ * @returns {string} A string representing the answer.
1297
+ */
1298
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
844
1299
  /**
845
1300
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
846
1301
  *
@@ -1036,6 +1491,117 @@ export declare class ConversationalSearchServiceClient {
1036
1491
  * @returns {string} A string representing the serving_config.
1037
1492
  */
1038
1493
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1494
+ /**
1495
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1496
+ *
1497
+ * @param {string} project
1498
+ * @param {string} location
1499
+ * @param {string} collection
1500
+ * @param {string} engine
1501
+ * @param {string} session
1502
+ * @returns {string} Resource name string.
1503
+ */
1504
+ projectLocationCollectionEngineSessionPath(project: string, location: string, collection: string, engine: string, session: string): string;
1505
+ /**
1506
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1507
+ *
1508
+ * @param {string} projectLocationCollectionEngineSessionName
1509
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1510
+ * @returns {string} A string representing the project.
1511
+ */
1512
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1513
+ /**
1514
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1515
+ *
1516
+ * @param {string} projectLocationCollectionEngineSessionName
1517
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1518
+ * @returns {string} A string representing the location.
1519
+ */
1520
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1521
+ /**
1522
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1523
+ *
1524
+ * @param {string} projectLocationCollectionEngineSessionName
1525
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1526
+ * @returns {string} A string representing the collection.
1527
+ */
1528
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1529
+ /**
1530
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1531
+ *
1532
+ * @param {string} projectLocationCollectionEngineSessionName
1533
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1534
+ * @returns {string} A string representing the engine.
1535
+ */
1536
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1537
+ /**
1538
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1539
+ *
1540
+ * @param {string} projectLocationCollectionEngineSessionName
1541
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1542
+ * @returns {string} A string representing the session.
1543
+ */
1544
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1545
+ /**
1546
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1547
+ *
1548
+ * @param {string} project
1549
+ * @param {string} location
1550
+ * @param {string} collection
1551
+ * @param {string} engine
1552
+ * @param {string} session
1553
+ * @param {string} answer
1554
+ * @returns {string} Resource name string.
1555
+ */
1556
+ projectLocationCollectionEngineSessionAnswerPath(project: string, location: string, collection: string, engine: string, session: string, answer: string): string;
1557
+ /**
1558
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1559
+ *
1560
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1561
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1562
+ * @returns {string} A string representing the project.
1563
+ */
1564
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1565
+ /**
1566
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1567
+ *
1568
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1569
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1570
+ * @returns {string} A string representing the location.
1571
+ */
1572
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1573
+ /**
1574
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1575
+ *
1576
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1577
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1578
+ * @returns {string} A string representing the collection.
1579
+ */
1580
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1581
+ /**
1582
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1583
+ *
1584
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1585
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1586
+ * @returns {string} A string representing the engine.
1587
+ */
1588
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1589
+ /**
1590
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1591
+ *
1592
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1593
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1594
+ * @returns {string} A string representing the session.
1595
+ */
1596
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1597
+ /**
1598
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1599
+ *
1600
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1601
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1602
+ * @returns {string} A string representing the answer.
1603
+ */
1604
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1039
1605
  /**
1040
1606
  * Return a fully-qualified projectLocationDataStore resource name string.
1041
1607
  *
@@ -1279,6 +1845,99 @@ export declare class ConversationalSearchServiceClient {
1279
1845
  * @returns {string} A string representing the serving_config.
1280
1846
  */
1281
1847
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1848
+ /**
1849
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
1850
+ *
1851
+ * @param {string} project
1852
+ * @param {string} location
1853
+ * @param {string} data_store
1854
+ * @param {string} session
1855
+ * @returns {string} Resource name string.
1856
+ */
1857
+ projectLocationDataStoreSessionPath(project: string, location: string, dataStore: string, session: string): string;
1858
+ /**
1859
+ * Parse the project from ProjectLocationDataStoreSession resource.
1860
+ *
1861
+ * @param {string} projectLocationDataStoreSessionName
1862
+ * A fully-qualified path representing project_location_data_store_session resource.
1863
+ * @returns {string} A string representing the project.
1864
+ */
1865
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
1866
+ /**
1867
+ * Parse the location from ProjectLocationDataStoreSession resource.
1868
+ *
1869
+ * @param {string} projectLocationDataStoreSessionName
1870
+ * A fully-qualified path representing project_location_data_store_session resource.
1871
+ * @returns {string} A string representing the location.
1872
+ */
1873
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
1874
+ /**
1875
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
1876
+ *
1877
+ * @param {string} projectLocationDataStoreSessionName
1878
+ * A fully-qualified path representing project_location_data_store_session resource.
1879
+ * @returns {string} A string representing the data_store.
1880
+ */
1881
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
1882
+ /**
1883
+ * Parse the session from ProjectLocationDataStoreSession resource.
1884
+ *
1885
+ * @param {string} projectLocationDataStoreSessionName
1886
+ * A fully-qualified path representing project_location_data_store_session resource.
1887
+ * @returns {string} A string representing the session.
1888
+ */
1889
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
1890
+ /**
1891
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
1892
+ *
1893
+ * @param {string} project
1894
+ * @param {string} location
1895
+ * @param {string} data_store
1896
+ * @param {string} session
1897
+ * @param {string} answer
1898
+ * @returns {string} Resource name string.
1899
+ */
1900
+ projectLocationDataStoreSessionAnswerPath(project: string, location: string, dataStore: string, session: string, answer: string): string;
1901
+ /**
1902
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
1903
+ *
1904
+ * @param {string} projectLocationDataStoreSessionAnswerName
1905
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1906
+ * @returns {string} A string representing the project.
1907
+ */
1908
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
1909
+ /**
1910
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
1911
+ *
1912
+ * @param {string} projectLocationDataStoreSessionAnswerName
1913
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1914
+ * @returns {string} A string representing the location.
1915
+ */
1916
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
1917
+ /**
1918
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
1919
+ *
1920
+ * @param {string} projectLocationDataStoreSessionAnswerName
1921
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1922
+ * @returns {string} A string representing the data_store.
1923
+ */
1924
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
1925
+ /**
1926
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
1927
+ *
1928
+ * @param {string} projectLocationDataStoreSessionAnswerName
1929
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1930
+ * @returns {string} A string representing the session.
1931
+ */
1932
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
1933
+ /**
1934
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
1935
+ *
1936
+ * @param {string} projectLocationDataStoreSessionAnswerName
1937
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1938
+ * @returns {string} A string representing the answer.
1939
+ */
1940
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
1282
1941
  /**
1283
1942
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1284
1943
  *