@google-cloud/discoveryengine 1.6.0 → 1.7.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.
- package/CHANGELOG.md +7 -0
- package/README.md +24 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +13 -1
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +5 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +284 -22
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +228 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +125 -21
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +16 -11
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +328 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +41 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +21 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +574 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +3 -6
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +120 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +55 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +283 -24
- package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +102 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +171 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +21 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +158 -24
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +328 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +559 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +3 -6
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +93 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +120 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +55 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +283 -24
- package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +115 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +142 -22
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +7 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +1 -1
- package/build/protos/protos.d.ts +44799 -26093
- package/build/protos/protos.js +120465 -74222
- package/build/protos/protos.json +8911 -4556
- package/build/src/index.d.ts +4 -1
- package/build/src/index.js +4 -1
- package/build/src/v1/conversational_search_service_client.d.ts +4 -0
- package/build/src/v1/document_service_client.d.ts +47 -19
- package/build/src/v1/index.d.ts +1 -0
- package/build/src/v1/index.js +3 -1
- package/build/src/v1/recommendation_service_client.d.ts +1087 -0
- package/build/src/v1/recommendation_service_client.js +1432 -0
- package/build/src/v1/recommendation_service_client_config.json +43 -0
- package/build/src/v1/search_service_client.d.ts +27 -9
- package/build/src/v1/search_service_client.js +18 -6
- package/build/src/v1/search_service_client_config.json +5 -5
- package/build/src/v1alpha/acl_config_service_client.d.ts +330 -0
- package/build/src/v1alpha/acl_config_service_client.js +454 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +330 -0
- package/build/src/v1alpha/chunk_service_client.js +454 -0
- package/build/src/v1alpha/completion_service_client.d.ts +330 -0
- package/build/src/v1alpha/completion_service_client.js +457 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +674 -0
- package/build/src/v1alpha/conversational_search_service_client.js +724 -0
- package/build/src/v1alpha/conversational_search_service_client_config.json +35 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +330 -0
- package/build/src/v1alpha/data_store_service_client.js +457 -0
- package/build/src/v1alpha/document_service_client.d.ts +410 -21
- package/build/src/v1alpha/document_service_client.js +479 -0
- package/build/src/v1alpha/document_service_client_config.json +5 -0
- package/build/src/v1alpha/engine_service_client.d.ts +330 -0
- package/build/src/v1alpha/engine_service_client.js +457 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +457 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +1574 -0
- package/build/src/v1alpha/grounded_generation_service_client.js +2248 -0
- package/build/src/v1alpha/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1alpha/index.d.ts +3 -1
- package/build/src/v1alpha/index.js +7 -3
- package/build/src/v1alpha/project_service_client.d.ts +1756 -0
- package/build/src/v1alpha/project_service_client.js +2500 -0
- package/build/src/v1alpha/project_service_client_config.json +38 -0
- package/build/src/v1alpha/rank_service_client.d.ts +330 -0
- package/build/src/v1alpha/rank_service_client.js +454 -0
- package/build/src/v1alpha/rank_service_client_config.json +15 -2
- package/build/src/v1alpha/recommendation_service_client.d.ts +330 -0
- package/build/src/v1alpha/recommendation_service_client.js +454 -0
- package/build/src/v1alpha/schema_service_client.d.ts +330 -0
- package/build/src/v1alpha/schema_service_client.js +457 -0
- package/build/src/v1alpha/search_service_client.d.ts +360 -15
- package/build/src/v1alpha/search_service_client.js +474 -10
- package/build/src/v1alpha/search_service_client_config.json +5 -5
- package/build/src/v1alpha/search_tuning_service_client.d.ts +330 -0
- package/build/src/v1alpha/search_tuning_service_client.js +457 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +317 -1
- package/build/src/v1alpha/serving_config_service_client.js +434 -1
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +457 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
- package/build/src/v1alpha/user_event_service_client.js +457 -0
- package/build/src/v1beta/completion_service_client.d.ts +315 -0
- package/build/src/v1beta/completion_service_client.js +432 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +659 -0
- package/build/src/v1beta/conversational_search_service_client.js +702 -0
- package/build/src/v1beta/conversational_search_service_client_config.json +35 -0
- package/build/src/v1beta/data_store_service_client.d.ts +315 -0
- package/build/src/v1beta/data_store_service_client.js +432 -0
- package/build/src/v1beta/document_service_client.d.ts +361 -21
- package/build/src/v1beta/document_service_client.js +432 -0
- package/build/src/v1beta/engine_service_client.d.ts +410 -0
- package/build/src/v1beta/engine_service_client.js +518 -0
- package/build/src/v1beta/engine_service_client_config.json +12 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +1406 -0
- package/build/src/v1beta/grounded_generation_service_client.js +2014 -0
- package/build/src/v1beta/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1beta/index.d.ts +2 -0
- package/build/src/v1beta/index.js +5 -1
- package/build/src/v1beta/rank_service_client.d.ts +1416 -0
- package/build/src/v1beta/rank_service_client.js +2015 -0
- package/build/src/v1beta/rank_service_client_config.json +43 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +315 -0
- package/build/src/v1beta/recommendation_service_client.js +432 -0
- package/build/src/v1beta/schema_service_client.d.ts +315 -0
- package/build/src/v1beta/schema_service_client.js +432 -0
- package/build/src/v1beta/search_service_client.d.ts +342 -12
- package/build/src/v1beta/search_service_client.js +450 -8
- package/build/src/v1beta/search_service_client_config.json +5 -5
- package/build/src/v1beta/search_tuning_service_client.d.ts +315 -0
- package/build/src/v1beta/search_tuning_service_client.js +432 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +315 -0
- package/build/src/v1beta/serving_config_service_client.js +432 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +315 -0
- package/build/src/v1beta/site_search_engine_service_client.js +432 -0
- package/build/src/v1beta/user_event_service_client.d.ts +315 -0
- package/build/src/v1beta/user_event_service_client.js +432 -0
- package/package.json +1 -1
@@ -313,6 +313,212 @@ export declare class ConversationalSearchServiceClient {
|
|
313
313
|
]>;
|
314
314
|
getConversation(request: protos.google.cloud.discoveryengine.v1alpha.IGetConversationRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IConversation, protos.google.cloud.discoveryengine.v1alpha.IGetConversationRequest | null | undefined, {} | null | undefined>): void;
|
315
315
|
getConversation(request: protos.google.cloud.discoveryengine.v1alpha.IGetConversationRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IConversation, protos.google.cloud.discoveryengine.v1alpha.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.v1alpha.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.v1alpha.AnswerQueryRequest.SafetySpec} request.safetySpec
|
338
|
+
* Model specification.
|
339
|
+
* @param {google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.RelatedQuestionsSpec} request.relatedQuestionsSpec
|
340
|
+
* Related questions specification.
|
341
|
+
* @param {google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.AnswerGenerationSpec} request.answerGenerationSpec
|
342
|
+
* Answer generation specification.
|
343
|
+
* @param {google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec} request.searchSpec
|
344
|
+
* Search specification.
|
345
|
+
* @param {google.cloud.discoveryengine.v1alpha.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.v1alpha.ConversationalSearchService.GetAnswer|ConversationalSearchService.GetAnswer}
|
354
|
+
* or
|
355
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.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.v1alpha.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/v1alpha/conversational_search_service.answer_query.js</caption>
|
374
|
+
* region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_AnswerQuery_async
|
375
|
+
*/
|
376
|
+
answerQuery(request?: protos.google.cloud.discoveryengine.v1alpha.IAnswerQueryRequest, options?: CallOptions): Promise<[
|
377
|
+
protos.google.cloud.discoveryengine.v1alpha.IAnswerQueryResponse,
|
378
|
+
(protos.google.cloud.discoveryengine.v1alpha.IAnswerQueryRequest | undefined),
|
379
|
+
{} | undefined
|
380
|
+
]>;
|
381
|
+
answerQuery(request: protos.google.cloud.discoveryengine.v1alpha.IAnswerQueryRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IAnswerQueryResponse, protos.google.cloud.discoveryengine.v1alpha.IAnswerQueryRequest | null | undefined, {} | null | undefined>): void;
|
382
|
+
answerQuery(request: protos.google.cloud.discoveryengine.v1alpha.IAnswerQueryRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IAnswerQueryResponse, protos.google.cloud.discoveryengine.v1alpha.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.v1alpha.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/v1alpha/conversational_search_service.get_answer.js</caption>
|
398
|
+
* region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_GetAnswer_async
|
399
|
+
*/
|
400
|
+
getAnswer(request?: protos.google.cloud.discoveryengine.v1alpha.IGetAnswerRequest, options?: CallOptions): Promise<[
|
401
|
+
protos.google.cloud.discoveryengine.v1alpha.IAnswer,
|
402
|
+
protos.google.cloud.discoveryengine.v1alpha.IGetAnswerRequest | undefined,
|
403
|
+
{} | undefined
|
404
|
+
]>;
|
405
|
+
getAnswer(request: protos.google.cloud.discoveryengine.v1alpha.IGetAnswerRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IAnswer, protos.google.cloud.discoveryengine.v1alpha.IGetAnswerRequest | null | undefined, {} | null | undefined>): void;
|
406
|
+
getAnswer(request: protos.google.cloud.discoveryengine.v1alpha.IGetAnswerRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IAnswer, protos.google.cloud.discoveryengine.v1alpha.IGetAnswerRequest | null | undefined, {} | null | undefined>): void;
|
407
|
+
/**
|
408
|
+
* Creates a Session.
|
409
|
+
*
|
410
|
+
* If the {@link protos.google.cloud.discoveryengine.v1alpha.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.v1alpha.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.v1alpha.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/v1alpha/conversational_search_service.create_session.js</caption>
|
427
|
+
* region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_CreateSession_async
|
428
|
+
*/
|
429
|
+
createSession(request?: protos.google.cloud.discoveryengine.v1alpha.ICreateSessionRequest, options?: CallOptions): Promise<[
|
430
|
+
protos.google.cloud.discoveryengine.v1alpha.ISession,
|
431
|
+
(protos.google.cloud.discoveryengine.v1alpha.ICreateSessionRequest | undefined),
|
432
|
+
{} | undefined
|
433
|
+
]>;
|
434
|
+
createSession(request: protos.google.cloud.discoveryengine.v1alpha.ICreateSessionRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ISession, protos.google.cloud.discoveryengine.v1alpha.ICreateSessionRequest | null | undefined, {} | null | undefined>): void;
|
435
|
+
createSession(request: protos.google.cloud.discoveryengine.v1alpha.ICreateSessionRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ISession, protos.google.cloud.discoveryengine.v1alpha.ICreateSessionRequest | null | undefined, {} | null | undefined>): void;
|
436
|
+
/**
|
437
|
+
* Deletes a Session.
|
438
|
+
*
|
439
|
+
* If the {@link protos.google.cloud.discoveryengine.v1alpha.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/v1alpha/conversational_search_service.delete_session.js</caption>
|
454
|
+
* region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_DeleteSession_async
|
455
|
+
*/
|
456
|
+
deleteSession(request?: protos.google.cloud.discoveryengine.v1alpha.IDeleteSessionRequest, options?: CallOptions): Promise<[
|
457
|
+
protos.google.protobuf.IEmpty,
|
458
|
+
(protos.google.cloud.discoveryengine.v1alpha.IDeleteSessionRequest | undefined),
|
459
|
+
{} | undefined
|
460
|
+
]>;
|
461
|
+
deleteSession(request: protos.google.cloud.discoveryengine.v1alpha.IDeleteSessionRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1alpha.IDeleteSessionRequest | null | undefined, {} | null | undefined>): void;
|
462
|
+
deleteSession(request: protos.google.cloud.discoveryengine.v1alpha.IDeleteSessionRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1alpha.IDeleteSessionRequest | null | undefined, {} | null | undefined>): void;
|
463
|
+
/**
|
464
|
+
* Updates a Session.
|
465
|
+
*
|
466
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.Session|Session} action type cannot
|
467
|
+
* be changed. If the {@link protos.google.cloud.discoveryengine.v1alpha.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.v1alpha.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.v1alpha.Session|Session} to update. The
|
477
|
+
* following are NOT supported:
|
478
|
+
*
|
479
|
+
* * {@link protos.google.cloud.discoveryengine.v1alpha.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.v1alpha.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/v1alpha/conversational_search_service.update_session.js</caption>
|
489
|
+
* region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_UpdateSession_async
|
490
|
+
*/
|
491
|
+
updateSession(request?: protos.google.cloud.discoveryengine.v1alpha.IUpdateSessionRequest, options?: CallOptions): Promise<[
|
492
|
+
protos.google.cloud.discoveryengine.v1alpha.ISession,
|
493
|
+
(protos.google.cloud.discoveryengine.v1alpha.IUpdateSessionRequest | undefined),
|
494
|
+
{} | undefined
|
495
|
+
]>;
|
496
|
+
updateSession(request: protos.google.cloud.discoveryengine.v1alpha.IUpdateSessionRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ISession, protos.google.cloud.discoveryengine.v1alpha.IUpdateSessionRequest | null | undefined, {} | null | undefined>): void;
|
497
|
+
updateSession(request: protos.google.cloud.discoveryengine.v1alpha.IUpdateSessionRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ISession, protos.google.cloud.discoveryengine.v1alpha.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.v1alpha.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/v1alpha/conversational_search_service.get_session.js</caption>
|
513
|
+
* region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_GetSession_async
|
514
|
+
*/
|
515
|
+
getSession(request?: protos.google.cloud.discoveryengine.v1alpha.IGetSessionRequest, options?: CallOptions): Promise<[
|
516
|
+
protos.google.cloud.discoveryengine.v1alpha.ISession,
|
517
|
+
(protos.google.cloud.discoveryengine.v1alpha.IGetSessionRequest | undefined),
|
518
|
+
{} | undefined
|
519
|
+
]>;
|
520
|
+
getSession(request: protos.google.cloud.discoveryengine.v1alpha.IGetSessionRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ISession, protos.google.cloud.discoveryengine.v1alpha.IGetSessionRequest | null | undefined, {} | null | undefined>): void;
|
521
|
+
getSession(request: protos.google.cloud.discoveryengine.v1alpha.IGetSessionRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ISession, protos.google.cloud.discoveryengine.v1alpha.IGetSessionRequest | null | undefined, {} | null | undefined>): void;
|
316
522
|
/**
|
317
523
|
* Lists all Conversations by their parent
|
318
524
|
* {@link protos.google.cloud.discoveryengine.v1alpha.DataStore|DataStore}.
|
@@ -451,6 +657,144 @@ export declare class ConversationalSearchServiceClient {
|
|
451
657
|
* region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_ListConversations_async
|
452
658
|
*/
|
453
659
|
listConversationsAsync(request?: protos.google.cloud.discoveryengine.v1alpha.IListConversationsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1alpha.IConversation>;
|
660
|
+
/**
|
661
|
+
* Lists all Sessions by their parent
|
662
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.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.v1alpha.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.v1alpha.IListSessionsRequest, options?: CallOptions): Promise<[
|
705
|
+
protos.google.cloud.discoveryengine.v1alpha.ISession[],
|
706
|
+
protos.google.cloud.discoveryengine.v1alpha.IListSessionsRequest | null,
|
707
|
+
protos.google.cloud.discoveryengine.v1alpha.IListSessionsResponse
|
708
|
+
]>;
|
709
|
+
listSessions(request: protos.google.cloud.discoveryengine.v1alpha.IListSessionsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1alpha.IListSessionsRequest, protos.google.cloud.discoveryengine.v1alpha.IListSessionsResponse | null | undefined, protos.google.cloud.discoveryengine.v1alpha.ISession>): void;
|
710
|
+
listSessions(request: protos.google.cloud.discoveryengine.v1alpha.IListSessionsRequest, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1alpha.IListSessionsRequest, protos.google.cloud.discoveryengine.v1alpha.IListSessionsResponse | null | undefined, protos.google.cloud.discoveryengine.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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/v1alpha/conversational_search_service.list_sessions.js</caption>
|
795
|
+
* region_tag:discoveryengine_v1alpha_generated_ConversationalSearchService_ListSessions_async
|
796
|
+
*/
|
797
|
+
listSessionsAsync(request?: protos.google.cloud.discoveryengine.v1alpha.IListSessionsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1alpha.ISession>;
|
454
798
|
/**
|
455
799
|
* Gets information about a location.
|
456
800
|
*
|
@@ -568,6 +912,21 @@ export declare class ConversationalSearchServiceClient {
|
|
568
912
|
* @returns {string} A string representing the engine.
|
569
913
|
*/
|
570
914
|
matchEngineFromEngineName(engineName: string): string | number;
|
915
|
+
/**
|
916
|
+
* Return a fully-qualified project resource name string.
|
917
|
+
*
|
918
|
+
* @param {string} project
|
919
|
+
* @returns {string} Resource name string.
|
920
|
+
*/
|
921
|
+
projectPath(project: string): string;
|
922
|
+
/**
|
923
|
+
* Parse the project from Project resource.
|
924
|
+
*
|
925
|
+
* @param {string} projectName
|
926
|
+
* A fully-qualified path representing Project resource.
|
927
|
+
* @returns {string} A string representing the project.
|
928
|
+
*/
|
929
|
+
matchProjectFromProjectName(projectName: string): string | number;
|
571
930
|
/**
|
572
931
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
573
932
|
*
|
@@ -934,6 +1293,117 @@ export declare class ConversationalSearchServiceClient {
|
|
934
1293
|
* @returns {string} A string representing the serving_config.
|
935
1294
|
*/
|
936
1295
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
|
1296
|
+
/**
|
1297
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
1298
|
+
*
|
1299
|
+
* @param {string} project
|
1300
|
+
* @param {string} location
|
1301
|
+
* @param {string} collection
|
1302
|
+
* @param {string} data_store
|
1303
|
+
* @param {string} session
|
1304
|
+
* @returns {string} Resource name string.
|
1305
|
+
*/
|
1306
|
+
projectLocationCollectionDataStoreSessionPath(project: string, location: string, collection: string, dataStore: string, session: string): string;
|
1307
|
+
/**
|
1308
|
+
* Parse the project from ProjectLocationCollectionDataStoreSession resource.
|
1309
|
+
*
|
1310
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1311
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1312
|
+
* @returns {string} A string representing the project.
|
1313
|
+
*/
|
1314
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
|
1315
|
+
/**
|
1316
|
+
* Parse the location from ProjectLocationCollectionDataStoreSession resource.
|
1317
|
+
*
|
1318
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1319
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1320
|
+
* @returns {string} A string representing the location.
|
1321
|
+
*/
|
1322
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
|
1323
|
+
/**
|
1324
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSession resource.
|
1325
|
+
*
|
1326
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1327
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1328
|
+
* @returns {string} A string representing the collection.
|
1329
|
+
*/
|
1330
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
|
1331
|
+
/**
|
1332
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
|
1333
|
+
*
|
1334
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1335
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1336
|
+
* @returns {string} A string representing the data_store.
|
1337
|
+
*/
|
1338
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
|
1339
|
+
/**
|
1340
|
+
* Parse the session from ProjectLocationCollectionDataStoreSession resource.
|
1341
|
+
*
|
1342
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1343
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1344
|
+
* @returns {string} A string representing the session.
|
1345
|
+
*/
|
1346
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
|
1347
|
+
/**
|
1348
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1349
|
+
*
|
1350
|
+
* @param {string} project
|
1351
|
+
* @param {string} location
|
1352
|
+
* @param {string} collection
|
1353
|
+
* @param {string} data_store
|
1354
|
+
* @param {string} session
|
1355
|
+
* @param {string} answer
|
1356
|
+
* @returns {string} Resource name string.
|
1357
|
+
*/
|
1358
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project: string, location: string, collection: string, dataStore: string, session: string, answer: string): string;
|
1359
|
+
/**
|
1360
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1361
|
+
*
|
1362
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1363
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1364
|
+
* @returns {string} A string representing the project.
|
1365
|
+
*/
|
1366
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
|
1367
|
+
/**
|
1368
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1369
|
+
*
|
1370
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1371
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1372
|
+
* @returns {string} A string representing the location.
|
1373
|
+
*/
|
1374
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
|
1375
|
+
/**
|
1376
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1377
|
+
*
|
1378
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1379
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1380
|
+
* @returns {string} A string representing the collection.
|
1381
|
+
*/
|
1382
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
|
1383
|
+
/**
|
1384
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1385
|
+
*
|
1386
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1387
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1388
|
+
* @returns {string} A string representing the data_store.
|
1389
|
+
*/
|
1390
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
|
1391
|
+
/**
|
1392
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1393
|
+
*
|
1394
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1395
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1396
|
+
* @returns {string} A string representing the session.
|
1397
|
+
*/
|
1398
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
|
1399
|
+
/**
|
1400
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1401
|
+
*
|
1402
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1403
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1404
|
+
* @returns {string} A string representing the answer.
|
1405
|
+
*/
|
1406
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
|
937
1407
|
/**
|
938
1408
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
939
1409
|
*
|
@@ -1129,6 +1599,117 @@ export declare class ConversationalSearchServiceClient {
|
|
1129
1599
|
* @returns {string} A string representing the serving_config.
|
1130
1600
|
*/
|
1131
1601
|
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
|
1602
|
+
/**
|
1603
|
+
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
1604
|
+
*
|
1605
|
+
* @param {string} project
|
1606
|
+
* @param {string} location
|
1607
|
+
* @param {string} collection
|
1608
|
+
* @param {string} engine
|
1609
|
+
* @param {string} session
|
1610
|
+
* @returns {string} Resource name string.
|
1611
|
+
*/
|
1612
|
+
projectLocationCollectionEngineSessionPath(project: string, location: string, collection: string, engine: string, session: string): string;
|
1613
|
+
/**
|
1614
|
+
* Parse the project from ProjectLocationCollectionEngineSession resource.
|
1615
|
+
*
|
1616
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1617
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1618
|
+
* @returns {string} A string representing the project.
|
1619
|
+
*/
|
1620
|
+
matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
|
1621
|
+
/**
|
1622
|
+
* Parse the location from ProjectLocationCollectionEngineSession resource.
|
1623
|
+
*
|
1624
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1625
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1626
|
+
* @returns {string} A string representing the location.
|
1627
|
+
*/
|
1628
|
+
matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
|
1629
|
+
/**
|
1630
|
+
* Parse the collection from ProjectLocationCollectionEngineSession resource.
|
1631
|
+
*
|
1632
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1633
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1634
|
+
* @returns {string} A string representing the collection.
|
1635
|
+
*/
|
1636
|
+
matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
|
1637
|
+
/**
|
1638
|
+
* Parse the engine from ProjectLocationCollectionEngineSession resource.
|
1639
|
+
*
|
1640
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1641
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1642
|
+
* @returns {string} A string representing the engine.
|
1643
|
+
*/
|
1644
|
+
matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
|
1645
|
+
/**
|
1646
|
+
* Parse the session from ProjectLocationCollectionEngineSession resource.
|
1647
|
+
*
|
1648
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1649
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1650
|
+
* @returns {string} A string representing the session.
|
1651
|
+
*/
|
1652
|
+
matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
|
1653
|
+
/**
|
1654
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1655
|
+
*
|
1656
|
+
* @param {string} project
|
1657
|
+
* @param {string} location
|
1658
|
+
* @param {string} collection
|
1659
|
+
* @param {string} engine
|
1660
|
+
* @param {string} session
|
1661
|
+
* @param {string} answer
|
1662
|
+
* @returns {string} Resource name string.
|
1663
|
+
*/
|
1664
|
+
projectLocationCollectionEngineSessionAnswerPath(project: string, location: string, collection: string, engine: string, session: string, answer: string): string;
|
1665
|
+
/**
|
1666
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1667
|
+
*
|
1668
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1669
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1670
|
+
* @returns {string} A string representing the project.
|
1671
|
+
*/
|
1672
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
|
1673
|
+
/**
|
1674
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1675
|
+
*
|
1676
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1677
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1678
|
+
* @returns {string} A string representing the location.
|
1679
|
+
*/
|
1680
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
|
1681
|
+
/**
|
1682
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1683
|
+
*
|
1684
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1685
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1686
|
+
* @returns {string} A string representing the collection.
|
1687
|
+
*/
|
1688
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
|
1689
|
+
/**
|
1690
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1691
|
+
*
|
1692
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1693
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1694
|
+
* @returns {string} A string representing the engine.
|
1695
|
+
*/
|
1696
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
|
1697
|
+
/**
|
1698
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1699
|
+
*
|
1700
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1701
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1702
|
+
* @returns {string} A string representing the session.
|
1703
|
+
*/
|
1704
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
|
1705
|
+
/**
|
1706
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1707
|
+
*
|
1708
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1709
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1710
|
+
* @returns {string} A string representing the answer.
|
1711
|
+
*/
|
1712
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
|
1132
1713
|
/**
|
1133
1714
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
1134
1715
|
*
|
@@ -1432,6 +2013,99 @@ export declare class ConversationalSearchServiceClient {
|
|
1432
2013
|
* @returns {string} A string representing the serving_config.
|
1433
2014
|
*/
|
1434
2015
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
|
2016
|
+
/**
|
2017
|
+
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2018
|
+
*
|
2019
|
+
* @param {string} project
|
2020
|
+
* @param {string} location
|
2021
|
+
* @param {string} data_store
|
2022
|
+
* @param {string} session
|
2023
|
+
* @returns {string} Resource name string.
|
2024
|
+
*/
|
2025
|
+
projectLocationDataStoreSessionPath(project: string, location: string, dataStore: string, session: string): string;
|
2026
|
+
/**
|
2027
|
+
* Parse the project from ProjectLocationDataStoreSession resource.
|
2028
|
+
*
|
2029
|
+
* @param {string} projectLocationDataStoreSessionName
|
2030
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2031
|
+
* @returns {string} A string representing the project.
|
2032
|
+
*/
|
2033
|
+
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
|
2034
|
+
/**
|
2035
|
+
* Parse the location from ProjectLocationDataStoreSession resource.
|
2036
|
+
*
|
2037
|
+
* @param {string} projectLocationDataStoreSessionName
|
2038
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2039
|
+
* @returns {string} A string representing the location.
|
2040
|
+
*/
|
2041
|
+
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
|
2042
|
+
/**
|
2043
|
+
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2044
|
+
*
|
2045
|
+
* @param {string} projectLocationDataStoreSessionName
|
2046
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2047
|
+
* @returns {string} A string representing the data_store.
|
2048
|
+
*/
|
2049
|
+
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
|
2050
|
+
/**
|
2051
|
+
* Parse the session from ProjectLocationDataStoreSession resource.
|
2052
|
+
*
|
2053
|
+
* @param {string} projectLocationDataStoreSessionName
|
2054
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2055
|
+
* @returns {string} A string representing the session.
|
2056
|
+
*/
|
2057
|
+
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
|
2058
|
+
/**
|
2059
|
+
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2060
|
+
*
|
2061
|
+
* @param {string} project
|
2062
|
+
* @param {string} location
|
2063
|
+
* @param {string} data_store
|
2064
|
+
* @param {string} session
|
2065
|
+
* @param {string} answer
|
2066
|
+
* @returns {string} Resource name string.
|
2067
|
+
*/
|
2068
|
+
projectLocationDataStoreSessionAnswerPath(project: string, location: string, dataStore: string, session: string, answer: string): string;
|
2069
|
+
/**
|
2070
|
+
* Parse the project from ProjectLocationDataStoreSessionAnswer resource.
|
2071
|
+
*
|
2072
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2073
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2074
|
+
* @returns {string} A string representing the project.
|
2075
|
+
*/
|
2076
|
+
matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
|
2077
|
+
/**
|
2078
|
+
* Parse the location from ProjectLocationDataStoreSessionAnswer resource.
|
2079
|
+
*
|
2080
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2081
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2082
|
+
* @returns {string} A string representing the location.
|
2083
|
+
*/
|
2084
|
+
matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
|
2085
|
+
/**
|
2086
|
+
* Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
|
2087
|
+
*
|
2088
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2089
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2090
|
+
* @returns {string} A string representing the data_store.
|
2091
|
+
*/
|
2092
|
+
matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
|
2093
|
+
/**
|
2094
|
+
* Parse the session from ProjectLocationDataStoreSessionAnswer resource.
|
2095
|
+
*
|
2096
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2097
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2098
|
+
* @returns {string} A string representing the session.
|
2099
|
+
*/
|
2100
|
+
matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
|
2101
|
+
/**
|
2102
|
+
* Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
|
2103
|
+
*
|
2104
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2105
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2106
|
+
* @returns {string} A string representing the answer.
|
2107
|
+
*/
|
2108
|
+
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
|
1435
2109
|
/**
|
1436
2110
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1437
2111
|
*
|