@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.
Files changed (142) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +24 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +13 -1
  4. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +5 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +17 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/document.proto +9 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +2 -2
  9. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +284 -22
  10. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +3 -0
  11. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +228 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +125 -21
  13. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +16 -11
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +328 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +41 -1
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +21 -1
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +574 -0
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +19 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +3 -6
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +64 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +2 -2
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +120 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +55 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +283 -24
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +102 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +171 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +21 -0
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +158 -24
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +9 -3
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +2 -1
  31. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +94 -0
  32. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +1 -1
  33. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +328 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +30 -1
  35. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +559 -0
  36. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +3 -6
  37. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +6 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +2 -2
  39. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +93 -0
  40. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +120 -0
  41. package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +55 -0
  42. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +283 -24
  43. package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +115 -0
  44. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +142 -22
  45. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +7 -1
  46. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +94 -0
  47. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +1 -1
  48. package/build/protos/protos.d.ts +44799 -26093
  49. package/build/protos/protos.js +120465 -74222
  50. package/build/protos/protos.json +8911 -4556
  51. package/build/src/index.d.ts +4 -1
  52. package/build/src/index.js +4 -1
  53. package/build/src/v1/conversational_search_service_client.d.ts +4 -0
  54. package/build/src/v1/document_service_client.d.ts +47 -19
  55. package/build/src/v1/index.d.ts +1 -0
  56. package/build/src/v1/index.js +3 -1
  57. package/build/src/v1/recommendation_service_client.d.ts +1087 -0
  58. package/build/src/v1/recommendation_service_client.js +1432 -0
  59. package/build/src/v1/recommendation_service_client_config.json +43 -0
  60. package/build/src/v1/search_service_client.d.ts +27 -9
  61. package/build/src/v1/search_service_client.js +18 -6
  62. package/build/src/v1/search_service_client_config.json +5 -5
  63. package/build/src/v1alpha/acl_config_service_client.d.ts +330 -0
  64. package/build/src/v1alpha/acl_config_service_client.js +454 -0
  65. package/build/src/v1alpha/chunk_service_client.d.ts +330 -0
  66. package/build/src/v1alpha/chunk_service_client.js +454 -0
  67. package/build/src/v1alpha/completion_service_client.d.ts +330 -0
  68. package/build/src/v1alpha/completion_service_client.js +457 -0
  69. package/build/src/v1alpha/conversational_search_service_client.d.ts +674 -0
  70. package/build/src/v1alpha/conversational_search_service_client.js +724 -0
  71. package/build/src/v1alpha/conversational_search_service_client_config.json +35 -0
  72. package/build/src/v1alpha/data_store_service_client.d.ts +330 -0
  73. package/build/src/v1alpha/data_store_service_client.js +457 -0
  74. package/build/src/v1alpha/document_service_client.d.ts +410 -21
  75. package/build/src/v1alpha/document_service_client.js +479 -0
  76. package/build/src/v1alpha/document_service_client_config.json +5 -0
  77. package/build/src/v1alpha/engine_service_client.d.ts +330 -0
  78. package/build/src/v1alpha/engine_service_client.js +457 -0
  79. package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
  80. package/build/src/v1alpha/estimate_billing_service_client.js +457 -0
  81. package/build/src/v1alpha/grounded_generation_service_client.d.ts +1574 -0
  82. package/build/src/v1alpha/grounded_generation_service_client.js +2248 -0
  83. package/build/src/v1alpha/grounded_generation_service_client_config.json +43 -0
  84. package/build/src/v1alpha/index.d.ts +3 -1
  85. package/build/src/v1alpha/index.js +7 -3
  86. package/build/src/v1alpha/project_service_client.d.ts +1756 -0
  87. package/build/src/v1alpha/project_service_client.js +2500 -0
  88. package/build/src/v1alpha/project_service_client_config.json +38 -0
  89. package/build/src/v1alpha/rank_service_client.d.ts +330 -0
  90. package/build/src/v1alpha/rank_service_client.js +454 -0
  91. package/build/src/v1alpha/rank_service_client_config.json +15 -2
  92. package/build/src/v1alpha/recommendation_service_client.d.ts +330 -0
  93. package/build/src/v1alpha/recommendation_service_client.js +454 -0
  94. package/build/src/v1alpha/schema_service_client.d.ts +330 -0
  95. package/build/src/v1alpha/schema_service_client.js +457 -0
  96. package/build/src/v1alpha/search_service_client.d.ts +360 -15
  97. package/build/src/v1alpha/search_service_client.js +474 -10
  98. package/build/src/v1alpha/search_service_client_config.json +5 -5
  99. package/build/src/v1alpha/search_tuning_service_client.d.ts +330 -0
  100. package/build/src/v1alpha/search_tuning_service_client.js +457 -0
  101. package/build/src/v1alpha/serving_config_service_client.d.ts +317 -1
  102. package/build/src/v1alpha/serving_config_service_client.js +434 -1
  103. package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
  104. package/build/src/v1alpha/site_search_engine_service_client.js +457 -0
  105. package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
  106. package/build/src/v1alpha/user_event_service_client.js +457 -0
  107. package/build/src/v1beta/completion_service_client.d.ts +315 -0
  108. package/build/src/v1beta/completion_service_client.js +432 -0
  109. package/build/src/v1beta/conversational_search_service_client.d.ts +659 -0
  110. package/build/src/v1beta/conversational_search_service_client.js +702 -0
  111. package/build/src/v1beta/conversational_search_service_client_config.json +35 -0
  112. package/build/src/v1beta/data_store_service_client.d.ts +315 -0
  113. package/build/src/v1beta/data_store_service_client.js +432 -0
  114. package/build/src/v1beta/document_service_client.d.ts +361 -21
  115. package/build/src/v1beta/document_service_client.js +432 -0
  116. package/build/src/v1beta/engine_service_client.d.ts +410 -0
  117. package/build/src/v1beta/engine_service_client.js +518 -0
  118. package/build/src/v1beta/engine_service_client_config.json +12 -0
  119. package/build/src/v1beta/grounded_generation_service_client.d.ts +1406 -0
  120. package/build/src/v1beta/grounded_generation_service_client.js +2014 -0
  121. package/build/src/v1beta/grounded_generation_service_client_config.json +43 -0
  122. package/build/src/v1beta/index.d.ts +2 -0
  123. package/build/src/v1beta/index.js +5 -1
  124. package/build/src/v1beta/rank_service_client.d.ts +1416 -0
  125. package/build/src/v1beta/rank_service_client.js +2015 -0
  126. package/build/src/v1beta/rank_service_client_config.json +43 -0
  127. package/build/src/v1beta/recommendation_service_client.d.ts +315 -0
  128. package/build/src/v1beta/recommendation_service_client.js +432 -0
  129. package/build/src/v1beta/schema_service_client.d.ts +315 -0
  130. package/build/src/v1beta/schema_service_client.js +432 -0
  131. package/build/src/v1beta/search_service_client.d.ts +342 -12
  132. package/build/src/v1beta/search_service_client.js +450 -8
  133. package/build/src/v1beta/search_service_client_config.json +5 -5
  134. package/build/src/v1beta/search_tuning_service_client.d.ts +315 -0
  135. package/build/src/v1beta/search_tuning_service_client.js +432 -0
  136. package/build/src/v1beta/serving_config_service_client.d.ts +315 -0
  137. package/build/src/v1beta/serving_config_service_client.js +432 -0
  138. package/build/src/v1beta/site_search_engine_service_client.d.ts +315 -0
  139. package/build/src/v1beta/site_search_engine_service_client.js +432 -0
  140. package/build/src/v1beta/user_event_service_client.d.ts +315 -0
  141. package/build/src/v1beta/user_event_service_client.js +432 -0
  142. package/package.json +1 -1
@@ -268,6 +268,43 @@ export declare class DocumentServiceClient {
268
268
  ]>;
269
269
  deleteDocument(request: protos.google.cloud.discoveryengine.v1alpha.IDeleteDocumentRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1alpha.IDeleteDocumentRequest | null | undefined, {} | null | undefined>): void;
270
270
  deleteDocument(request: protos.google.cloud.discoveryengine.v1alpha.IDeleteDocumentRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1alpha.IDeleteDocumentRequest | null | undefined, {} | null | undefined>): void;
271
+ /**
272
+ * Gets the parsed layout information for a
273
+ * {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}.
274
+ *
275
+ * @param {Object} request
276
+ * The request object that will be sent.
277
+ * @param {string} request.name
278
+ * Required. Full resource name of
279
+ * {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}, such as
280
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`.
281
+ *
282
+ * If the caller does not have permission to access the
283
+ * {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}, regardless of
284
+ * whether or not it exists, a `PERMISSION_DENIED` error is returned.
285
+ *
286
+ * If the requested {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}
287
+ * does not exist, a `NOT_FOUND` error is returned.
288
+ * @param {google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentType} request.processedDocumentType
289
+ * Required. What type of processing to return.
290
+ * @param {google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentFormat} request.processedDocumentFormat
291
+ * What format output should be. If unspecified, defaults to JSON.
292
+ * @param {object} [options]
293
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
294
+ * @returns {Promise} - The promise which resolves to an array.
295
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1alpha.ProcessedDocument|ProcessedDocument}.
296
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
297
+ * for more details and examples.
298
+ * @example <caption>include:samples/generated/v1alpha/document_service.get_processed_document.js</caption>
299
+ * region_tag:discoveryengine_v1alpha_generated_DocumentService_GetProcessedDocument_async
300
+ */
301
+ getProcessedDocument(request?: protos.google.cloud.discoveryengine.v1alpha.IGetProcessedDocumentRequest, options?: CallOptions): Promise<[
302
+ protos.google.cloud.discoveryengine.v1alpha.IProcessedDocument,
303
+ (protos.google.cloud.discoveryengine.v1alpha.IGetProcessedDocumentRequest | undefined),
304
+ {} | undefined
305
+ ]>;
306
+ getProcessedDocument(request: protos.google.cloud.discoveryengine.v1alpha.IGetProcessedDocumentRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IProcessedDocument, protos.google.cloud.discoveryengine.v1alpha.IGetProcessedDocumentRequest | null | undefined, {} | null | undefined>): void;
307
+ getProcessedDocument(request: protos.google.cloud.discoveryengine.v1alpha.IGetProcessedDocumentRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IProcessedDocument, protos.google.cloud.discoveryengine.v1alpha.IGetProcessedDocumentRequest | null | undefined, {} | null | undefined>): void;
271
308
  /**
272
309
  * Bulk import of multiple
273
310
  * {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}s. Request
@@ -285,6 +322,16 @@ export declare class DocumentServiceClient {
285
322
  * Cloud Storage location for the input content.
286
323
  * @param {google.cloud.discoveryengine.v1alpha.BigQuerySource} request.bigquerySource
287
324
  * BigQuery input source.
325
+ * @param {google.cloud.discoveryengine.v1alpha.FhirStoreSource} request.fhirStoreSource
326
+ * FhirStore input source.
327
+ * @param {google.cloud.discoveryengine.v1alpha.SpannerSource} request.spannerSource
328
+ * Spanner input source.
329
+ * @param {google.cloud.discoveryengine.v1alpha.CloudSqlSource} request.cloudSqlSource
330
+ * Cloud SQL input source.
331
+ * @param {google.cloud.discoveryengine.v1alpha.FirestoreSource} request.firestoreSource
332
+ * Firestore input source.
333
+ * @param {google.cloud.discoveryengine.v1alpha.BigtableSource} request.bigtableSource
334
+ * Cloud Bigtable input source.
288
335
  * @param {string} request.parent
289
336
  * Required. The parent branch resource name, such as
290
337
  * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
@@ -295,6 +342,9 @@ export declare class DocumentServiceClient {
295
342
  * The mode of reconciliation between existing documents and the documents to
296
343
  * be imported. Defaults to
297
344
  * {@link protos.google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.ReconciliationMode.INCREMENTAL|ReconciliationMode.INCREMENTAL}.
345
+ * @param {google.protobuf.FieldMask} request.updateMask
346
+ * Indicates which fields in the provided imported documents to update. If
347
+ * not set, the default is to update all fields.
298
348
  * @param {boolean} request.autoGenerateIds
299
349
  * Whether to automatically generate IDs for the documents if absent.
300
350
  *
@@ -309,44 +359,53 @@ export declare class DocumentServiceClient {
309
359
  * {@link protos.google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.id_field|id_field},
310
360
  * otherwise, documents without IDs fail to be imported.
311
361
  *
312
- * Only set this field when using
313
- * {@link protos.google.cloud.discoveryengine.v1alpha.GcsSource|GcsSource} or
314
- * {@link protos.google.cloud.discoveryengine.v1alpha.BigQuerySource|BigQuerySource}, and
315
- * when
362
+ * Supported data sources:
363
+ *
364
+ * * {@link protos.google.cloud.discoveryengine.v1alpha.GcsSource|GcsSource}.
316
365
  * {@link protos.google.cloud.discoveryengine.v1alpha.GcsSource.data_schema|GcsSource.data_schema}
317
- * or
366
+ * must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
367
+ * * {@link protos.google.cloud.discoveryengine.v1alpha.BigQuerySource|BigQuerySource}.
318
368
  * {@link protos.google.cloud.discoveryengine.v1alpha.BigQuerySource.data_schema|BigQuerySource.data_schema}
319
- * is `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
369
+ * must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
370
+ * * {@link protos.google.cloud.discoveryengine.v1alpha.SpannerSource|SpannerSource}.
371
+ * * {@link protos.google.cloud.discoveryengine.v1alpha.CloudSqlSource|CloudSqlSource}.
372
+ * * {@link protos.google.cloud.discoveryengine.v1alpha.FirestoreSource|FirestoreSource}.
373
+ * * {@link protos.google.cloud.discoveryengine.v1alpha.BigtableSource|BigtableSource}.
320
374
  * @param {string} request.idField
321
- * The field in the Cloud Storage and BigQuery sources that indicates the
322
- * unique IDs of the documents.
375
+ * The field indicates the ID field or column to be used as unique IDs of
376
+ * the documents.
323
377
  *
324
378
  * For {@link protos.google.cloud.discoveryengine.v1alpha.GcsSource|GcsSource} it is the
325
379
  * key of the JSON field. For instance, `my_id` for JSON `{"my_id":
326
- * "some_uuid"}`. For
327
- * {@link protos.google.cloud.discoveryengine.v1alpha.BigQuerySource|BigQuerySource} it is
328
- * the column name of the BigQuery table where the unique ids are stored.
380
+ * "some_uuid"}`. For others, it may be the column name of the table where the
381
+ * unique ids are stored.
329
382
  *
330
- * The values of the JSON field or the BigQuery column are used as the
383
+ * The values of the JSON field or the table column are used as the
331
384
  * {@link protos.google.cloud.discoveryengine.v1alpha.Document.id|Document.id}s. The JSON
332
- * field or the BigQuery column must be of string type, and the values must be
385
+ * field or the table column must be of string type, and the values must be
333
386
  * set as valid strings conform to
334
387
  * [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters.
335
388
  * Otherwise, documents without valid IDs fail to be imported.
336
389
  *
337
- * Only set this field when using
338
- * {@link protos.google.cloud.discoveryengine.v1alpha.GcsSource|GcsSource} or
339
- * {@link protos.google.cloud.discoveryengine.v1alpha.BigQuerySource|BigQuerySource}, and
340
- * when
341
- * {@link protos.google.cloud.discoveryengine.v1alpha.GcsSource.data_schema|GcsSource.data_schema}
342
- * or
343
- * {@link protos.google.cloud.discoveryengine.v1alpha.BigQuerySource.data_schema|BigQuerySource.data_schema}
344
- * is `custom`. And only set this field when
390
+ * Only set this field when
345
391
  * {@link protos.google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.auto_generate_ids|auto_generate_ids}
346
392
  * is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown.
347
393
  *
348
394
  * If it is unset, a default value `_id` is used when importing from the
349
395
  * allowed data sources.
396
+ *
397
+ * Supported data sources:
398
+ *
399
+ * * {@link protos.google.cloud.discoveryengine.v1alpha.GcsSource|GcsSource}.
400
+ * {@link protos.google.cloud.discoveryengine.v1alpha.GcsSource.data_schema|GcsSource.data_schema}
401
+ * must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
402
+ * * {@link protos.google.cloud.discoveryengine.v1alpha.BigQuerySource|BigQuerySource}.
403
+ * {@link protos.google.cloud.discoveryengine.v1alpha.BigQuerySource.data_schema|BigQuerySource.data_schema}
404
+ * must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
405
+ * * {@link protos.google.cloud.discoveryengine.v1alpha.SpannerSource|SpannerSource}.
406
+ * * {@link protos.google.cloud.discoveryengine.v1alpha.CloudSqlSource|CloudSqlSource}.
407
+ * * {@link protos.google.cloud.discoveryengine.v1alpha.FirestoreSource|FirestoreSource}.
408
+ * * {@link protos.google.cloud.discoveryengine.v1alpha.BigtableSource|BigtableSource}.
350
409
  * @param {object} [options]
351
410
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
352
411
  * @returns {Promise} - The promise which resolves to an array.
@@ -825,6 +884,21 @@ export declare class DocumentServiceClient {
825
884
  * @returns {string} A string representing the engine.
826
885
  */
827
886
  matchEngineFromEngineName(engineName: string): string | number;
887
+ /**
888
+ * Return a fully-qualified project resource name string.
889
+ *
890
+ * @param {string} project
891
+ * @returns {string} Resource name string.
892
+ */
893
+ projectPath(project: string): string;
894
+ /**
895
+ * Parse the project from Project resource.
896
+ *
897
+ * @param {string} projectName
898
+ * A fully-qualified path representing Project resource.
899
+ * @returns {string} A string representing the project.
900
+ */
901
+ matchProjectFromProjectName(projectName: string): string | number;
828
902
  /**
829
903
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
830
904
  *
@@ -1242,6 +1316,117 @@ export declare class DocumentServiceClient {
1242
1316
  * @returns {string} A string representing the serving_config.
1243
1317
  */
1244
1318
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1319
+ /**
1320
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1321
+ *
1322
+ * @param {string} project
1323
+ * @param {string} location
1324
+ * @param {string} collection
1325
+ * @param {string} data_store
1326
+ * @param {string} session
1327
+ * @returns {string} Resource name string.
1328
+ */
1329
+ projectLocationCollectionDataStoreSessionPath(project: string, location: string, collection: string, dataStore: string, session: string): string;
1330
+ /**
1331
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1332
+ *
1333
+ * @param {string} projectLocationCollectionDataStoreSessionName
1334
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1335
+ * @returns {string} A string representing the project.
1336
+ */
1337
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1338
+ /**
1339
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1340
+ *
1341
+ * @param {string} projectLocationCollectionDataStoreSessionName
1342
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1343
+ * @returns {string} A string representing the location.
1344
+ */
1345
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1346
+ /**
1347
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1348
+ *
1349
+ * @param {string} projectLocationCollectionDataStoreSessionName
1350
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1351
+ * @returns {string} A string representing the collection.
1352
+ */
1353
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1354
+ /**
1355
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1356
+ *
1357
+ * @param {string} projectLocationCollectionDataStoreSessionName
1358
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1359
+ * @returns {string} A string representing the data_store.
1360
+ */
1361
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1362
+ /**
1363
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1364
+ *
1365
+ * @param {string} projectLocationCollectionDataStoreSessionName
1366
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1367
+ * @returns {string} A string representing the session.
1368
+ */
1369
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1370
+ /**
1371
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1372
+ *
1373
+ * @param {string} project
1374
+ * @param {string} location
1375
+ * @param {string} collection
1376
+ * @param {string} data_store
1377
+ * @param {string} session
1378
+ * @param {string} answer
1379
+ * @returns {string} Resource name string.
1380
+ */
1381
+ projectLocationCollectionDataStoreSessionAnswerPath(project: string, location: string, collection: string, dataStore: string, session: string, answer: string): string;
1382
+ /**
1383
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1384
+ *
1385
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1386
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1387
+ * @returns {string} A string representing the project.
1388
+ */
1389
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1390
+ /**
1391
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1392
+ *
1393
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1394
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1395
+ * @returns {string} A string representing the location.
1396
+ */
1397
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1398
+ /**
1399
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1400
+ *
1401
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1402
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1403
+ * @returns {string} A string representing the collection.
1404
+ */
1405
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1406
+ /**
1407
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1408
+ *
1409
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1410
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1411
+ * @returns {string} A string representing the data_store.
1412
+ */
1413
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1414
+ /**
1415
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1416
+ *
1417
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1418
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1419
+ * @returns {string} A string representing the session.
1420
+ */
1421
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1422
+ /**
1423
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1424
+ *
1425
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1426
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1427
+ * @returns {string} A string representing the answer.
1428
+ */
1429
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1245
1430
  /**
1246
1431
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1247
1432
  *
@@ -1437,6 +1622,117 @@ export declare class DocumentServiceClient {
1437
1622
  * @returns {string} A string representing the serving_config.
1438
1623
  */
1439
1624
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1625
+ /**
1626
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1627
+ *
1628
+ * @param {string} project
1629
+ * @param {string} location
1630
+ * @param {string} collection
1631
+ * @param {string} engine
1632
+ * @param {string} session
1633
+ * @returns {string} Resource name string.
1634
+ */
1635
+ projectLocationCollectionEngineSessionPath(project: string, location: string, collection: string, engine: string, session: string): string;
1636
+ /**
1637
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1638
+ *
1639
+ * @param {string} projectLocationCollectionEngineSessionName
1640
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1641
+ * @returns {string} A string representing the project.
1642
+ */
1643
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1644
+ /**
1645
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1646
+ *
1647
+ * @param {string} projectLocationCollectionEngineSessionName
1648
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1649
+ * @returns {string} A string representing the location.
1650
+ */
1651
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1652
+ /**
1653
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1654
+ *
1655
+ * @param {string} projectLocationCollectionEngineSessionName
1656
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1657
+ * @returns {string} A string representing the collection.
1658
+ */
1659
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1660
+ /**
1661
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1662
+ *
1663
+ * @param {string} projectLocationCollectionEngineSessionName
1664
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1665
+ * @returns {string} A string representing the engine.
1666
+ */
1667
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1668
+ /**
1669
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1670
+ *
1671
+ * @param {string} projectLocationCollectionEngineSessionName
1672
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1673
+ * @returns {string} A string representing the session.
1674
+ */
1675
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1676
+ /**
1677
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1678
+ *
1679
+ * @param {string} project
1680
+ * @param {string} location
1681
+ * @param {string} collection
1682
+ * @param {string} engine
1683
+ * @param {string} session
1684
+ * @param {string} answer
1685
+ * @returns {string} Resource name string.
1686
+ */
1687
+ projectLocationCollectionEngineSessionAnswerPath(project: string, location: string, collection: string, engine: string, session: string, answer: string): string;
1688
+ /**
1689
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1690
+ *
1691
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1692
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1693
+ * @returns {string} A string representing the project.
1694
+ */
1695
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1696
+ /**
1697
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1698
+ *
1699
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1700
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1701
+ * @returns {string} A string representing the location.
1702
+ */
1703
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1704
+ /**
1705
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1706
+ *
1707
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1708
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1709
+ * @returns {string} A string representing the collection.
1710
+ */
1711
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1712
+ /**
1713
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1714
+ *
1715
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1716
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1717
+ * @returns {string} A string representing the engine.
1718
+ */
1719
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1720
+ /**
1721
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1722
+ *
1723
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1724
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1725
+ * @returns {string} A string representing the session.
1726
+ */
1727
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1728
+ /**
1729
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1730
+ *
1731
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1732
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1733
+ * @returns {string} A string representing the answer.
1734
+ */
1735
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1440
1736
  /**
1441
1737
  * Return a fully-qualified projectLocationDataStore resource name string.
1442
1738
  *
@@ -1782,6 +2078,99 @@ export declare class DocumentServiceClient {
1782
2078
  * @returns {string} A string representing the serving_config.
1783
2079
  */
1784
2080
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
2081
+ /**
2082
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2083
+ *
2084
+ * @param {string} project
2085
+ * @param {string} location
2086
+ * @param {string} data_store
2087
+ * @param {string} session
2088
+ * @returns {string} Resource name string.
2089
+ */
2090
+ projectLocationDataStoreSessionPath(project: string, location: string, dataStore: string, session: string): string;
2091
+ /**
2092
+ * Parse the project from ProjectLocationDataStoreSession resource.
2093
+ *
2094
+ * @param {string} projectLocationDataStoreSessionName
2095
+ * A fully-qualified path representing project_location_data_store_session resource.
2096
+ * @returns {string} A string representing the project.
2097
+ */
2098
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
2099
+ /**
2100
+ * Parse the location from ProjectLocationDataStoreSession resource.
2101
+ *
2102
+ * @param {string} projectLocationDataStoreSessionName
2103
+ * A fully-qualified path representing project_location_data_store_session resource.
2104
+ * @returns {string} A string representing the location.
2105
+ */
2106
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
2107
+ /**
2108
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2109
+ *
2110
+ * @param {string} projectLocationDataStoreSessionName
2111
+ * A fully-qualified path representing project_location_data_store_session resource.
2112
+ * @returns {string} A string representing the data_store.
2113
+ */
2114
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
2115
+ /**
2116
+ * Parse the session from ProjectLocationDataStoreSession resource.
2117
+ *
2118
+ * @param {string} projectLocationDataStoreSessionName
2119
+ * A fully-qualified path representing project_location_data_store_session resource.
2120
+ * @returns {string} A string representing the session.
2121
+ */
2122
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
2123
+ /**
2124
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2125
+ *
2126
+ * @param {string} project
2127
+ * @param {string} location
2128
+ * @param {string} data_store
2129
+ * @param {string} session
2130
+ * @param {string} answer
2131
+ * @returns {string} Resource name string.
2132
+ */
2133
+ projectLocationDataStoreSessionAnswerPath(project: string, location: string, dataStore: string, session: string, answer: string): string;
2134
+ /**
2135
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2136
+ *
2137
+ * @param {string} projectLocationDataStoreSessionAnswerName
2138
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2139
+ * @returns {string} A string representing the project.
2140
+ */
2141
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
2142
+ /**
2143
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2144
+ *
2145
+ * @param {string} projectLocationDataStoreSessionAnswerName
2146
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2147
+ * @returns {string} A string representing the location.
2148
+ */
2149
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
2150
+ /**
2151
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2152
+ *
2153
+ * @param {string} projectLocationDataStoreSessionAnswerName
2154
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2155
+ * @returns {string} A string representing the data_store.
2156
+ */
2157
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
2158
+ /**
2159
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2160
+ *
2161
+ * @param {string} projectLocationDataStoreSessionAnswerName
2162
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2163
+ * @returns {string} A string representing the session.
2164
+ */
2165
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
2166
+ /**
2167
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2168
+ *
2169
+ * @param {string} projectLocationDataStoreSessionAnswerName
2170
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2171
+ * @returns {string} A string representing the answer.
2172
+ */
2173
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
1785
2174
  /**
1786
2175
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1787
2176
  *