@google-cloud/discoveryengine 1.13.0 → 1.14.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 (92) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +6 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +49 -5
  4. package/build/protos/google/cloud/discoveryengine/v1/control.proto +6 -4
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +9 -9
  6. package/build/protos/google/cloud/discoveryengine/v1/custom_tuning_model.proto +96 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +10 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/document.proto +20 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +2 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +110 -0
  11. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +2 -1
  12. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +13 -7
  13. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +117 -0
  14. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +2 -1
  15. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +40 -16
  16. package/build/protos/google/cloud/discoveryengine/v1/search_tuning_service.proto +196 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +4 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +21 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +1 -1
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +6 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +1 -1
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +3 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +48 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +20 -0
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +107 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +2 -1
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +7 -7
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +1 -1
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +21 -1
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +47 -2
  32. package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +1 -1
  33. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +3 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +3 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +20 -0
  36. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +2 -0
  37. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +114 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +2 -1
  39. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +13 -7
  40. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +44 -0
  41. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +101 -6
  42. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -0
  43. package/build/protos/protos.d.ts +7369 -2842
  44. package/build/protos/protos.js +13311 -2062
  45. package/build/protos/protos.json +1096 -45
  46. package/build/src/index.d.ts +4 -1
  47. package/build/src/index.js +4 -1
  48. package/build/src/v1/completion_service_client.d.ts +93 -0
  49. package/build/src/v1/completion_service_client.js +134 -0
  50. package/build/src/v1/control_service_client.d.ts +93 -0
  51. package/build/src/v1/control_service_client.js +128 -0
  52. package/build/src/v1/conversational_search_service_client.d.ts +93 -0
  53. package/build/src/v1/conversational_search_service_client.js +128 -0
  54. package/build/src/v1/data_store_service_client.d.ts +102 -0
  55. package/build/src/v1/data_store_service_client.js +134 -0
  56. package/build/src/v1/document_service_client.d.ts +131 -0
  57. package/build/src/v1/document_service_client.js +156 -0
  58. package/build/src/v1/document_service_client_config.json +5 -0
  59. package/build/src/v1/engine_service_client.d.ts +93 -0
  60. package/build/src/v1/engine_service_client.js +134 -0
  61. package/build/src/v1/grounded_generation_service_client.d.ts +93 -0
  62. package/build/src/v1/grounded_generation_service_client.js +128 -0
  63. package/build/src/v1/index.d.ts +1 -0
  64. package/build/src/v1/index.js +3 -1
  65. package/build/src/v1/project_service_client.d.ts +93 -0
  66. package/build/src/v1/project_service_client.js +134 -0
  67. package/build/src/v1/rank_service_client.d.ts +93 -0
  68. package/build/src/v1/rank_service_client.js +128 -0
  69. package/build/src/v1/recommendation_service_client.d.ts +95 -1
  70. package/build/src/v1/recommendation_service_client.js +128 -0
  71. package/build/src/v1/schema_service_client.d.ts +93 -0
  72. package/build/src/v1/schema_service_client.js +134 -0
  73. package/build/src/v1/search_service_client.d.ts +111 -9
  74. package/build/src/v1/search_service_client.js +140 -6
  75. package/build/src/v1/search_tuning_service_client.d.ts +1776 -0
  76. package/build/src/v1/search_tuning_service_client.js +2589 -0
  77. package/build/src/v1/search_tuning_service_client_config.json +34 -0
  78. package/build/src/v1/site_search_engine_service_client.d.ts +93 -0
  79. package/build/src/v1/site_search_engine_service_client.js +134 -0
  80. package/build/src/v1/user_event_service_client.d.ts +168 -0
  81. package/build/src/v1/user_event_service_client.js +176 -0
  82. package/build/src/v1/user_event_service_client_config.json +5 -0
  83. package/build/src/v1alpha/acl_config_service_client.d.ts +1 -1
  84. package/build/src/v1alpha/document_service_client.d.ts +29 -0
  85. package/build/src/v1alpha/document_service_client.js +22 -0
  86. package/build/src/v1alpha/document_service_client_config.json +5 -0
  87. package/build/src/v1beta/document_service_client.d.ts +38 -0
  88. package/build/src/v1beta/document_service_client.js +22 -0
  89. package/build/src/v1beta/document_service_client_config.json +5 -0
  90. package/build/src/v1beta/search_service_client.d.ts +36 -9
  91. package/build/src/v1beta/search_service_client.js +24 -6
  92. package/package.json +1 -1
@@ -157,6 +157,7 @@ class ProjectServiceClient {
157
157
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
158
158
  projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
159
159
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
160
+ projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
160
161
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
161
162
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
162
163
  projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
@@ -172,6 +173,7 @@ class ProjectServiceClient {
172
173
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
173
174
  projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
174
175
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
176
+ projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
175
177
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
176
178
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
177
179
  projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
@@ -245,6 +247,9 @@ class ProjectServiceClient {
245
247
  {
246
248
  get: '/v1/{name=projects/*/locations/*/dataStores/*/operations/*}',
247
249
  },
250
+ {
251
+ get: '/v1/{name=projects/*/locations/*/identity_mapping_stores/*/operations/*}',
252
+ },
248
253
  { get: '/v1/{name=projects/*/locations/*/operations/*}' },
249
254
  { get: '/v1/{name=projects/*/operations/*}' },
250
255
  ],
@@ -285,6 +290,9 @@ class ProjectServiceClient {
285
290
  get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*}/operations',
286
291
  },
287
292
  { get: '/v1/{name=projects/*/locations/*/dataStores/*}/operations' },
293
+ {
294
+ get: '/v1/{name=projects/*/locations/*/identity_mapping_stores/*}/operations',
295
+ },
288
296
  { get: '/v1/{name=projects/*/locations/*}/operations' },
289
297
  { get: '/v1/{name=projects/*}/operations' },
290
298
  ],
@@ -1080,6 +1088,75 @@ class ProjectServiceClient {
1080
1088
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1081
1089
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1082
1090
  }
1091
+ /**
1092
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
1093
+ *
1094
+ * @param {string} project
1095
+ * @param {string} location
1096
+ * @param {string} collection
1097
+ * @param {string} data_store
1098
+ * @param {string} custom_tuning_model
1099
+ * @returns {string} Resource name string.
1100
+ */
1101
+ projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
1102
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
1103
+ project: project,
1104
+ location: location,
1105
+ collection: collection,
1106
+ data_store: dataStore,
1107
+ custom_tuning_model: customTuningModel,
1108
+ });
1109
+ }
1110
+ /**
1111
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1112
+ *
1113
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1114
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1115
+ * @returns {string} A string representing the project.
1116
+ */
1117
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1118
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
1119
+ }
1120
+ /**
1121
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1122
+ *
1123
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1124
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1125
+ * @returns {string} A string representing the location.
1126
+ */
1127
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1128
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
1129
+ }
1130
+ /**
1131
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1132
+ *
1133
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1134
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1135
+ * @returns {string} A string representing the collection.
1136
+ */
1137
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1138
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
1139
+ }
1140
+ /**
1141
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1142
+ *
1143
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1144
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1145
+ * @returns {string} A string representing the data_store.
1146
+ */
1147
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1148
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
1149
+ }
1150
+ /**
1151
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1152
+ *
1153
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1154
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1155
+ * @returns {string} A string representing the custom_tuning_model.
1156
+ */
1157
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1158
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
1159
+ }
1083
1160
  /**
1084
1161
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1085
1162
  *
@@ -2079,6 +2156,63 @@ class ProjectServiceClient {
2079
2156
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
2080
2157
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
2081
2158
  }
2159
+ /**
2160
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
2161
+ *
2162
+ * @param {string} project
2163
+ * @param {string} location
2164
+ * @param {string} data_store
2165
+ * @param {string} custom_tuning_model
2166
+ * @returns {string} Resource name string.
2167
+ */
2168
+ projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
2169
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
2170
+ project: project,
2171
+ location: location,
2172
+ data_store: dataStore,
2173
+ custom_tuning_model: customTuningModel,
2174
+ });
2175
+ }
2176
+ /**
2177
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
2178
+ *
2179
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2180
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2181
+ * @returns {string} A string representing the project.
2182
+ */
2183
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2184
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
2185
+ }
2186
+ /**
2187
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
2188
+ *
2189
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2190
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2191
+ * @returns {string} A string representing the location.
2192
+ */
2193
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2194
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
2195
+ }
2196
+ /**
2197
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
2198
+ *
2199
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2200
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2201
+ * @returns {string} A string representing the data_store.
2202
+ */
2203
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2204
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
2205
+ }
2206
+ /**
2207
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
2208
+ *
2209
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2210
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2211
+ * @returns {string} A string representing the custom_tuning_model.
2212
+ */
2213
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2214
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
2215
+ }
2082
2216
  /**
2083
2217
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2084
2218
  *
@@ -554,6 +554,57 @@ export declare class RankServiceClient {
554
554
  * @returns {string} A string representing the conversation.
555
555
  */
556
556
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
557
+ /**
558
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
559
+ *
560
+ * @param {string} project
561
+ * @param {string} location
562
+ * @param {string} collection
563
+ * @param {string} data_store
564
+ * @param {string} custom_tuning_model
565
+ * @returns {string} Resource name string.
566
+ */
567
+ projectLocationCollectionDataStoreCustomTuningModelPath(project: string, location: string, collection: string, dataStore: string, customTuningModel: string): string;
568
+ /**
569
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
570
+ *
571
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
572
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
573
+ * @returns {string} A string representing the project.
574
+ */
575
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
576
+ /**
577
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
578
+ *
579
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
580
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
581
+ * @returns {string} A string representing the location.
582
+ */
583
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
584
+ /**
585
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
586
+ *
587
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
588
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
589
+ * @returns {string} A string representing the collection.
590
+ */
591
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
592
+ /**
593
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
594
+ *
595
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
596
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
597
+ * @returns {string} A string representing the data_store.
598
+ */
599
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
600
+ /**
601
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
602
+ *
603
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
604
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
605
+ * @returns {string} A string representing the custom_tuning_model.
606
+ */
607
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
557
608
  /**
558
609
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
559
610
  *
@@ -1292,6 +1343,48 @@ export declare class RankServiceClient {
1292
1343
  * @returns {string} A string representing the conversation.
1293
1344
  */
1294
1345
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1346
+ /**
1347
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
1348
+ *
1349
+ * @param {string} project
1350
+ * @param {string} location
1351
+ * @param {string} data_store
1352
+ * @param {string} custom_tuning_model
1353
+ * @returns {string} Resource name string.
1354
+ */
1355
+ projectLocationDataStoreCustomTuningModelPath(project: string, location: string, dataStore: string, customTuningModel: string): string;
1356
+ /**
1357
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
1358
+ *
1359
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1360
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1361
+ * @returns {string} A string representing the project.
1362
+ */
1363
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1364
+ /**
1365
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
1366
+ *
1367
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1368
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1369
+ * @returns {string} A string representing the location.
1370
+ */
1371
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1372
+ /**
1373
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
1374
+ *
1375
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1376
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1377
+ * @returns {string} A string representing the data_store.
1378
+ */
1379
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1380
+ /**
1381
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
1382
+ *
1383
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1384
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1385
+ * @returns {string} A string representing the custom_tuning_model.
1386
+ */
1387
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1295
1388
  /**
1296
1389
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1297
1390
  *
@@ -156,6 +156,7 @@ class RankServiceClient {
156
156
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
157
157
  projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
158
158
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
159
+ projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
159
160
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
160
161
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
161
162
  projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
@@ -171,6 +172,7 @@ class RankServiceClient {
171
172
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
172
173
  projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
173
174
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
175
+ projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
174
176
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
175
177
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
176
178
  projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
@@ -815,6 +817,75 @@ class RankServiceClient {
815
817
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
816
818
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
817
819
  }
820
+ /**
821
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
822
+ *
823
+ * @param {string} project
824
+ * @param {string} location
825
+ * @param {string} collection
826
+ * @param {string} data_store
827
+ * @param {string} custom_tuning_model
828
+ * @returns {string} Resource name string.
829
+ */
830
+ projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
831
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
832
+ project: project,
833
+ location: location,
834
+ collection: collection,
835
+ data_store: dataStore,
836
+ custom_tuning_model: customTuningModel,
837
+ });
838
+ }
839
+ /**
840
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
841
+ *
842
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
843
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
844
+ * @returns {string} A string representing the project.
845
+ */
846
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
847
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
848
+ }
849
+ /**
850
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
851
+ *
852
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
853
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
854
+ * @returns {string} A string representing the location.
855
+ */
856
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
857
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
858
+ }
859
+ /**
860
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
861
+ *
862
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
863
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
864
+ * @returns {string} A string representing the collection.
865
+ */
866
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
867
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
868
+ }
869
+ /**
870
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
871
+ *
872
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
873
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
874
+ * @returns {string} A string representing the data_store.
875
+ */
876
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
877
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
878
+ }
879
+ /**
880
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
881
+ *
882
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
883
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
884
+ * @returns {string} A string representing the custom_tuning_model.
885
+ */
886
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
887
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
888
+ }
818
889
  /**
819
890
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
820
891
  *
@@ -1814,6 +1885,63 @@ class RankServiceClient {
1814
1885
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1815
1886
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1816
1887
  }
1888
+ /**
1889
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
1890
+ *
1891
+ * @param {string} project
1892
+ * @param {string} location
1893
+ * @param {string} data_store
1894
+ * @param {string} custom_tuning_model
1895
+ * @returns {string} Resource name string.
1896
+ */
1897
+ projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
1898
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
1899
+ project: project,
1900
+ location: location,
1901
+ data_store: dataStore,
1902
+ custom_tuning_model: customTuningModel,
1903
+ });
1904
+ }
1905
+ /**
1906
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
1907
+ *
1908
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1909
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1910
+ * @returns {string} A string representing the project.
1911
+ */
1912
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
1913
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
1914
+ }
1915
+ /**
1916
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
1917
+ *
1918
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1919
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1920
+ * @returns {string} A string representing the location.
1921
+ */
1922
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
1923
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
1924
+ }
1925
+ /**
1926
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
1927
+ *
1928
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1929
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1930
+ * @returns {string} A string representing the data_store.
1931
+ */
1932
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
1933
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
1934
+ }
1935
+ /**
1936
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
1937
+ *
1938
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1939
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1940
+ * @returns {string} A string representing the custom_tuning_model.
1941
+ */
1942
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
1943
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
1944
+ }
1817
1945
  /**
1818
1946
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1819
1947
  *
@@ -120,7 +120,8 @@ export declare class RecommendationServiceClient {
120
120
  * @param {Object} request
121
121
  * The request object that will be sent.
122
122
  * @param {string} request.servingConfig
123
- * Required. Full resource name of a {@link protos.|ServingConfig}:
123
+ * Required. Full resource name of a
124
+ * {@link protos.google.cloud.discoveryengine.v1.ServingConfig|ServingConfig}:
124
125
  * `projects/* /locations/global/collections/* /engines/* /servingConfigs/*`, or
125
126
  * `projects/* /locations/global/collections/* /dataStores/* /servingConfigs/*`
126
127
  *
@@ -631,6 +632,57 @@ export declare class RecommendationServiceClient {
631
632
  * @returns {string} A string representing the conversation.
632
633
  */
633
634
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
635
+ /**
636
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
637
+ *
638
+ * @param {string} project
639
+ * @param {string} location
640
+ * @param {string} collection
641
+ * @param {string} data_store
642
+ * @param {string} custom_tuning_model
643
+ * @returns {string} Resource name string.
644
+ */
645
+ projectLocationCollectionDataStoreCustomTuningModelPath(project: string, location: string, collection: string, dataStore: string, customTuningModel: string): string;
646
+ /**
647
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
648
+ *
649
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
650
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
651
+ * @returns {string} A string representing the project.
652
+ */
653
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
654
+ /**
655
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
656
+ *
657
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
658
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
659
+ * @returns {string} A string representing the location.
660
+ */
661
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
662
+ /**
663
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
664
+ *
665
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
666
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
667
+ * @returns {string} A string representing the collection.
668
+ */
669
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
670
+ /**
671
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
672
+ *
673
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
674
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
675
+ * @returns {string} A string representing the data_store.
676
+ */
677
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
678
+ /**
679
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
680
+ *
681
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
682
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
683
+ * @returns {string} A string representing the custom_tuning_model.
684
+ */
685
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
634
686
  /**
635
687
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
636
688
  *
@@ -1471,6 +1523,48 @@ export declare class RecommendationServiceClient {
1471
1523
  * @returns {string} A string representing the conversation.
1472
1524
  */
1473
1525
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1526
+ /**
1527
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
1528
+ *
1529
+ * @param {string} project
1530
+ * @param {string} location
1531
+ * @param {string} data_store
1532
+ * @param {string} custom_tuning_model
1533
+ * @returns {string} Resource name string.
1534
+ */
1535
+ projectLocationDataStoreCustomTuningModelPath(project: string, location: string, dataStore: string, customTuningModel: string): string;
1536
+ /**
1537
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
1538
+ *
1539
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1540
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1541
+ * @returns {string} A string representing the project.
1542
+ */
1543
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1544
+ /**
1545
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
1546
+ *
1547
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1548
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1549
+ * @returns {string} A string representing the location.
1550
+ */
1551
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1552
+ /**
1553
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
1554
+ *
1555
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1556
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1557
+ * @returns {string} A string representing the data_store.
1558
+ */
1559
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1560
+ /**
1561
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
1562
+ *
1563
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1564
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1565
+ * @returns {string} A string representing the custom_tuning_model.
1566
+ */
1567
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1474
1568
  /**
1475
1569
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1476
1570
  *