@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
@@ -217,6 +217,9 @@ export declare class DocumentServiceClient {
217
217
  * {@link protos.google.cloud.discoveryengine.v1beta.Document|Document} is not found, a
218
218
  * new {@link protos.google.cloud.discoveryengine.v1beta.Document|Document} will be
219
219
  * created.
220
+ * @param {google.protobuf.FieldMask} request.updateMask
221
+ * Indicates which fields in the provided imported 'document' to update. If
222
+ * not set, will by default update all fields.
220
223
  * @param {object} [options]
221
224
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
222
225
  * @returns {Promise} - The promise which resolves to an array.
@@ -282,6 +285,16 @@ export declare class DocumentServiceClient {
282
285
  * Cloud Storage location for the input content.
283
286
  * @param {google.cloud.discoveryengine.v1beta.BigQuerySource} request.bigquerySource
284
287
  * BigQuery input source.
288
+ * @param {google.cloud.discoveryengine.v1beta.FhirStoreSource} request.fhirStoreSource
289
+ * FhirStore input source.
290
+ * @param {google.cloud.discoveryengine.v1beta.SpannerSource} request.spannerSource
291
+ * Spanner input source.
292
+ * @param {google.cloud.discoveryengine.v1beta.CloudSqlSource} request.cloudSqlSource
293
+ * Cloud SQL input source.
294
+ * @param {google.cloud.discoveryengine.v1beta.FirestoreSource} request.firestoreSource
295
+ * Firestore input source.
296
+ * @param {google.cloud.discoveryengine.v1beta.BigtableSource} request.bigtableSource
297
+ * Cloud Bigtable input source.
285
298
  * @param {string} request.parent
286
299
  * Required. The parent branch resource name, such as
287
300
  * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
@@ -292,6 +305,9 @@ export declare class DocumentServiceClient {
292
305
  * The mode of reconciliation between existing documents and the documents to
293
306
  * be imported. Defaults to
294
307
  * {@link protos.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode.INCREMENTAL|ReconciliationMode.INCREMENTAL}.
308
+ * @param {google.protobuf.FieldMask} request.updateMask
309
+ * Indicates which fields in the provided imported documents to update. If
310
+ * not set, the default is to update all fields.
295
311
  * @param {boolean} request.autoGenerateIds
296
312
  * Whether to automatically generate IDs for the documents if absent.
297
313
  *
@@ -306,44 +322,53 @@ export declare class DocumentServiceClient {
306
322
  * {@link protos.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.id_field|id_field},
307
323
  * otherwise, documents without IDs fail to be imported.
308
324
  *
309
- * Only set this field when using
310
- * {@link protos.google.cloud.discoveryengine.v1beta.GcsSource|GcsSource} or
311
- * {@link protos.google.cloud.discoveryengine.v1beta.BigQuerySource|BigQuerySource}, and
312
- * when
325
+ * Supported data sources:
326
+ *
327
+ * * {@link protos.google.cloud.discoveryengine.v1beta.GcsSource|GcsSource}.
313
328
  * {@link protos.google.cloud.discoveryengine.v1beta.GcsSource.data_schema|GcsSource.data_schema}
314
- * or
329
+ * must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
330
+ * * {@link protos.google.cloud.discoveryengine.v1beta.BigQuerySource|BigQuerySource}.
315
331
  * {@link protos.google.cloud.discoveryengine.v1beta.BigQuerySource.data_schema|BigQuerySource.data_schema}
316
- * is `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
332
+ * must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
333
+ * * {@link protos.google.cloud.discoveryengine.v1beta.SpannerSource|SpannerSource}.
334
+ * * {@link protos.google.cloud.discoveryengine.v1beta.CloudSqlSource|CloudSqlSource}.
335
+ * * {@link protos.google.cloud.discoveryengine.v1beta.FirestoreSource|FirestoreSource}.
336
+ * * {@link protos.google.cloud.discoveryengine.v1beta.BigtableSource|BigtableSource}.
317
337
  * @param {string} request.idField
318
- * The field in the Cloud Storage and BigQuery sources that indicates the
319
- * unique IDs of the documents.
338
+ * The field indicates the ID field or column to be used as unique IDs of
339
+ * the documents.
320
340
  *
321
341
  * For {@link protos.google.cloud.discoveryengine.v1beta.GcsSource|GcsSource} it is the
322
342
  * key of the JSON field. For instance, `my_id` for JSON `{"my_id":
323
- * "some_uuid"}`. For
324
- * {@link protos.google.cloud.discoveryengine.v1beta.BigQuerySource|BigQuerySource} it is
325
- * the column name of the BigQuery table where the unique ids are stored.
343
+ * "some_uuid"}`. For others, it may be the column name of the table where the
344
+ * unique ids are stored.
326
345
  *
327
- * The values of the JSON field or the BigQuery column are used as the
346
+ * The values of the JSON field or the table column are used as the
328
347
  * {@link protos.google.cloud.discoveryengine.v1beta.Document.id|Document.id}s. The JSON
329
- * field or the BigQuery column must be of string type, and the values must be
348
+ * field or the table column must be of string type, and the values must be
330
349
  * set as valid strings conform to
331
350
  * [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters.
332
351
  * Otherwise, documents without valid IDs fail to be imported.
333
352
  *
334
- * Only set this field when using
335
- * {@link protos.google.cloud.discoveryengine.v1beta.GcsSource|GcsSource} or
336
- * {@link protos.google.cloud.discoveryengine.v1beta.BigQuerySource|BigQuerySource}, and
337
- * when
338
- * {@link protos.google.cloud.discoveryengine.v1beta.GcsSource.data_schema|GcsSource.data_schema}
339
- * or
340
- * {@link protos.google.cloud.discoveryengine.v1beta.BigQuerySource.data_schema|BigQuerySource.data_schema}
341
- * is `custom`. And only set this field when
353
+ * Only set this field when
342
354
  * {@link protos.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.auto_generate_ids|auto_generate_ids}
343
355
  * is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown.
344
356
  *
345
357
  * If it is unset, a default value `_id` is used when importing from the
346
358
  * allowed data sources.
359
+ *
360
+ * Supported data sources:
361
+ *
362
+ * * {@link protos.google.cloud.discoveryengine.v1beta.GcsSource|GcsSource}.
363
+ * {@link protos.google.cloud.discoveryengine.v1beta.GcsSource.data_schema|GcsSource.data_schema}
364
+ * must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
365
+ * * {@link protos.google.cloud.discoveryengine.v1beta.BigQuerySource|BigQuerySource}.
366
+ * {@link protos.google.cloud.discoveryengine.v1beta.BigQuerySource.data_schema|BigQuerySource.data_schema}
367
+ * must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
368
+ * * {@link protos.google.cloud.discoveryengine.v1beta.SpannerSource|SpannerSource}.
369
+ * * {@link protos.google.cloud.discoveryengine.v1beta.CloudSqlSource|CloudSqlSource}.
370
+ * * {@link protos.google.cloud.discoveryengine.v1beta.FirestoreSource|FirestoreSource}.
371
+ * * {@link protos.google.cloud.discoveryengine.v1beta.BigtableSource|BigtableSource}.
347
372
  * @param {object} [options]
348
373
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
349
374
  * @returns {Promise} - The promise which resolves to an array.
@@ -1136,6 +1161,117 @@ export declare class DocumentServiceClient {
1136
1161
  * @returns {string} A string representing the serving_config.
1137
1162
  */
1138
1163
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1164
+ /**
1165
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1166
+ *
1167
+ * @param {string} project
1168
+ * @param {string} location
1169
+ * @param {string} collection
1170
+ * @param {string} data_store
1171
+ * @param {string} session
1172
+ * @returns {string} Resource name string.
1173
+ */
1174
+ projectLocationCollectionDataStoreSessionPath(project: string, location: string, collection: string, dataStore: string, session: string): string;
1175
+ /**
1176
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1177
+ *
1178
+ * @param {string} projectLocationCollectionDataStoreSessionName
1179
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1180
+ * @returns {string} A string representing the project.
1181
+ */
1182
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1183
+ /**
1184
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1185
+ *
1186
+ * @param {string} projectLocationCollectionDataStoreSessionName
1187
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1188
+ * @returns {string} A string representing the location.
1189
+ */
1190
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1191
+ /**
1192
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1193
+ *
1194
+ * @param {string} projectLocationCollectionDataStoreSessionName
1195
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1196
+ * @returns {string} A string representing the collection.
1197
+ */
1198
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1199
+ /**
1200
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1201
+ *
1202
+ * @param {string} projectLocationCollectionDataStoreSessionName
1203
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1204
+ * @returns {string} A string representing the data_store.
1205
+ */
1206
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1207
+ /**
1208
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1209
+ *
1210
+ * @param {string} projectLocationCollectionDataStoreSessionName
1211
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1212
+ * @returns {string} A string representing the session.
1213
+ */
1214
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1215
+ /**
1216
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1217
+ *
1218
+ * @param {string} project
1219
+ * @param {string} location
1220
+ * @param {string} collection
1221
+ * @param {string} data_store
1222
+ * @param {string} session
1223
+ * @param {string} answer
1224
+ * @returns {string} Resource name string.
1225
+ */
1226
+ projectLocationCollectionDataStoreSessionAnswerPath(project: string, location: string, collection: string, dataStore: string, session: string, answer: string): string;
1227
+ /**
1228
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1229
+ *
1230
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1231
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1232
+ * @returns {string} A string representing the project.
1233
+ */
1234
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1235
+ /**
1236
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1237
+ *
1238
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1239
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1240
+ * @returns {string} A string representing the location.
1241
+ */
1242
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1243
+ /**
1244
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1245
+ *
1246
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1247
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1248
+ * @returns {string} A string representing the collection.
1249
+ */
1250
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1251
+ /**
1252
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1253
+ *
1254
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1255
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1256
+ * @returns {string} A string representing the data_store.
1257
+ */
1258
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1259
+ /**
1260
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1261
+ *
1262
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1263
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1264
+ * @returns {string} A string representing the session.
1265
+ */
1266
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1267
+ /**
1268
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1269
+ *
1270
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1271
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1272
+ * @returns {string} A string representing the answer.
1273
+ */
1274
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1139
1275
  /**
1140
1276
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1141
1277
  *
@@ -1331,6 +1467,117 @@ export declare class DocumentServiceClient {
1331
1467
  * @returns {string} A string representing the serving_config.
1332
1468
  */
1333
1469
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1470
+ /**
1471
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1472
+ *
1473
+ * @param {string} project
1474
+ * @param {string} location
1475
+ * @param {string} collection
1476
+ * @param {string} engine
1477
+ * @param {string} session
1478
+ * @returns {string} Resource name string.
1479
+ */
1480
+ projectLocationCollectionEngineSessionPath(project: string, location: string, collection: string, engine: string, session: string): string;
1481
+ /**
1482
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1483
+ *
1484
+ * @param {string} projectLocationCollectionEngineSessionName
1485
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1486
+ * @returns {string} A string representing the project.
1487
+ */
1488
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1489
+ /**
1490
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1491
+ *
1492
+ * @param {string} projectLocationCollectionEngineSessionName
1493
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1494
+ * @returns {string} A string representing the location.
1495
+ */
1496
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1497
+ /**
1498
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1499
+ *
1500
+ * @param {string} projectLocationCollectionEngineSessionName
1501
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1502
+ * @returns {string} A string representing the collection.
1503
+ */
1504
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1505
+ /**
1506
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1507
+ *
1508
+ * @param {string} projectLocationCollectionEngineSessionName
1509
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1510
+ * @returns {string} A string representing the engine.
1511
+ */
1512
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1513
+ /**
1514
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1515
+ *
1516
+ * @param {string} projectLocationCollectionEngineSessionName
1517
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1518
+ * @returns {string} A string representing the session.
1519
+ */
1520
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1521
+ /**
1522
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1523
+ *
1524
+ * @param {string} project
1525
+ * @param {string} location
1526
+ * @param {string} collection
1527
+ * @param {string} engine
1528
+ * @param {string} session
1529
+ * @param {string} answer
1530
+ * @returns {string} Resource name string.
1531
+ */
1532
+ projectLocationCollectionEngineSessionAnswerPath(project: string, location: string, collection: string, engine: string, session: string, answer: string): string;
1533
+ /**
1534
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1535
+ *
1536
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1537
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1538
+ * @returns {string} A string representing the project.
1539
+ */
1540
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1541
+ /**
1542
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1543
+ *
1544
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1545
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1546
+ * @returns {string} A string representing the location.
1547
+ */
1548
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1549
+ /**
1550
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1551
+ *
1552
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1553
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1554
+ * @returns {string} A string representing the collection.
1555
+ */
1556
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1557
+ /**
1558
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1559
+ *
1560
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1561
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1562
+ * @returns {string} A string representing the engine.
1563
+ */
1564
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1565
+ /**
1566
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1567
+ *
1568
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1569
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1570
+ * @returns {string} A string representing the session.
1571
+ */
1572
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1573
+ /**
1574
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1575
+ *
1576
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1577
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1578
+ * @returns {string} A string representing the answer.
1579
+ */
1580
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1334
1581
  /**
1335
1582
  * Return a fully-qualified projectLocationDataStore resource name string.
1336
1583
  *
@@ -1616,6 +1863,99 @@ export declare class DocumentServiceClient {
1616
1863
  * @returns {string} A string representing the serving_config.
1617
1864
  */
1618
1865
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1866
+ /**
1867
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
1868
+ *
1869
+ * @param {string} project
1870
+ * @param {string} location
1871
+ * @param {string} data_store
1872
+ * @param {string} session
1873
+ * @returns {string} Resource name string.
1874
+ */
1875
+ projectLocationDataStoreSessionPath(project: string, location: string, dataStore: string, session: string): string;
1876
+ /**
1877
+ * Parse the project from ProjectLocationDataStoreSession resource.
1878
+ *
1879
+ * @param {string} projectLocationDataStoreSessionName
1880
+ * A fully-qualified path representing project_location_data_store_session resource.
1881
+ * @returns {string} A string representing the project.
1882
+ */
1883
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
1884
+ /**
1885
+ * Parse the location from ProjectLocationDataStoreSession resource.
1886
+ *
1887
+ * @param {string} projectLocationDataStoreSessionName
1888
+ * A fully-qualified path representing project_location_data_store_session resource.
1889
+ * @returns {string} A string representing the location.
1890
+ */
1891
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
1892
+ /**
1893
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
1894
+ *
1895
+ * @param {string} projectLocationDataStoreSessionName
1896
+ * A fully-qualified path representing project_location_data_store_session resource.
1897
+ * @returns {string} A string representing the data_store.
1898
+ */
1899
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
1900
+ /**
1901
+ * Parse the session from ProjectLocationDataStoreSession resource.
1902
+ *
1903
+ * @param {string} projectLocationDataStoreSessionName
1904
+ * A fully-qualified path representing project_location_data_store_session resource.
1905
+ * @returns {string} A string representing the session.
1906
+ */
1907
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
1908
+ /**
1909
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
1910
+ *
1911
+ * @param {string} project
1912
+ * @param {string} location
1913
+ * @param {string} data_store
1914
+ * @param {string} session
1915
+ * @param {string} answer
1916
+ * @returns {string} Resource name string.
1917
+ */
1918
+ projectLocationDataStoreSessionAnswerPath(project: string, location: string, dataStore: string, session: string, answer: string): string;
1919
+ /**
1920
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
1921
+ *
1922
+ * @param {string} projectLocationDataStoreSessionAnswerName
1923
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1924
+ * @returns {string} A string representing the project.
1925
+ */
1926
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
1927
+ /**
1928
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
1929
+ *
1930
+ * @param {string} projectLocationDataStoreSessionAnswerName
1931
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1932
+ * @returns {string} A string representing the location.
1933
+ */
1934
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
1935
+ /**
1936
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
1937
+ *
1938
+ * @param {string} projectLocationDataStoreSessionAnswerName
1939
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1940
+ * @returns {string} A string representing the data_store.
1941
+ */
1942
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
1943
+ /**
1944
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
1945
+ *
1946
+ * @param {string} projectLocationDataStoreSessionAnswerName
1947
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1948
+ * @returns {string} A string representing the session.
1949
+ */
1950
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
1951
+ /**
1952
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
1953
+ *
1954
+ * @param {string} projectLocationDataStoreSessionAnswerName
1955
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
1956
+ * @returns {string} A string representing the answer.
1957
+ */
1958
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
1619
1959
  /**
1620
1960
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1621
1961
  *