@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.
- package/CHANGELOG.md +7 -0
- package/README.md +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +49 -5
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +6 -4
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +9 -9
- package/build/protos/google/cloud/discoveryengine/v1/custom_tuning_model.proto +96 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +10 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +20 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +2 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +110 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +13 -7
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +117 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +40 -16
- package/build/protos/google/cloud/discoveryengine/v1/search_tuning_service.proto +196 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +4 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +21 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +48 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +20 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +107 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +7 -7
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +21 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +47 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +20 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +2 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +114 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +13 -7
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +101 -6
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -0
- package/build/protos/protos.d.ts +7369 -2842
- package/build/protos/protos.js +13311 -2062
- package/build/protos/protos.json +1096 -45
- package/build/src/index.d.ts +4 -1
- package/build/src/index.js +4 -1
- package/build/src/v1/completion_service_client.d.ts +93 -0
- package/build/src/v1/completion_service_client.js +134 -0
- package/build/src/v1/control_service_client.d.ts +93 -0
- package/build/src/v1/control_service_client.js +128 -0
- package/build/src/v1/conversational_search_service_client.d.ts +93 -0
- package/build/src/v1/conversational_search_service_client.js +128 -0
- package/build/src/v1/data_store_service_client.d.ts +102 -0
- package/build/src/v1/data_store_service_client.js +134 -0
- package/build/src/v1/document_service_client.d.ts +131 -0
- package/build/src/v1/document_service_client.js +156 -0
- package/build/src/v1/document_service_client_config.json +5 -0
- package/build/src/v1/engine_service_client.d.ts +93 -0
- package/build/src/v1/engine_service_client.js +134 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +93 -0
- package/build/src/v1/grounded_generation_service_client.js +128 -0
- package/build/src/v1/index.d.ts +1 -0
- package/build/src/v1/index.js +3 -1
- package/build/src/v1/project_service_client.d.ts +93 -0
- package/build/src/v1/project_service_client.js +134 -0
- package/build/src/v1/rank_service_client.d.ts +93 -0
- package/build/src/v1/rank_service_client.js +128 -0
- package/build/src/v1/recommendation_service_client.d.ts +95 -1
- package/build/src/v1/recommendation_service_client.js +128 -0
- package/build/src/v1/schema_service_client.d.ts +93 -0
- package/build/src/v1/schema_service_client.js +134 -0
- package/build/src/v1/search_service_client.d.ts +111 -9
- package/build/src/v1/search_service_client.js +140 -6
- package/build/src/v1/search_tuning_service_client.d.ts +1776 -0
- package/build/src/v1/search_tuning_service_client.js +2589 -0
- package/build/src/v1/search_tuning_service_client_config.json +34 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +93 -0
- package/build/src/v1/site_search_engine_service_client.js +134 -0
- package/build/src/v1/user_event_service_client.d.ts +168 -0
- package/build/src/v1/user_event_service_client.js +176 -0
- package/build/src/v1/user_event_service_client_config.json +5 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +1 -1
- package/build/src/v1alpha/document_service_client.d.ts +29 -0
- package/build/src/v1alpha/document_service_client.js +22 -0
- package/build/src/v1alpha/document_service_client_config.json +5 -0
- package/build/src/v1beta/document_service_client.d.ts +38 -0
- package/build/src/v1beta/document_service_client.js +22 -0
- package/build/src/v1beta/document_service_client_config.json +5 -0
- package/build/src/v1beta/search_service_client.d.ts +36 -9
- package/build/src/v1beta/search_service_client.js +24 -6
- package/package.json +1 -1
@@ -1193,6 +1193,57 @@ export declare class ConversationalSearchServiceClient {
|
|
1193
1193
|
* @returns {string} A string representing the conversation.
|
1194
1194
|
*/
|
1195
1195
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
1196
|
+
/**
|
1197
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1198
|
+
*
|
1199
|
+
* @param {string} project
|
1200
|
+
* @param {string} location
|
1201
|
+
* @param {string} collection
|
1202
|
+
* @param {string} data_store
|
1203
|
+
* @param {string} custom_tuning_model
|
1204
|
+
* @returns {string} Resource name string.
|
1205
|
+
*/
|
1206
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project: string, location: string, collection: string, dataStore: string, customTuningModel: string): string;
|
1207
|
+
/**
|
1208
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1209
|
+
*
|
1210
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1211
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1212
|
+
* @returns {string} A string representing the project.
|
1213
|
+
*/
|
1214
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1215
|
+
/**
|
1216
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1217
|
+
*
|
1218
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1219
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1220
|
+
* @returns {string} A string representing the location.
|
1221
|
+
*/
|
1222
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1223
|
+
/**
|
1224
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1225
|
+
*
|
1226
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1227
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1228
|
+
* @returns {string} A string representing the collection.
|
1229
|
+
*/
|
1230
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1231
|
+
/**
|
1232
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1233
|
+
*
|
1234
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1235
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1236
|
+
* @returns {string} A string representing the data_store.
|
1237
|
+
*/
|
1238
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1239
|
+
/**
|
1240
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1241
|
+
*
|
1242
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1243
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1244
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1245
|
+
*/
|
1246
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1196
1247
|
/**
|
1197
1248
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1198
1249
|
*
|
@@ -2033,6 +2084,48 @@ export declare class ConversationalSearchServiceClient {
|
|
2033
2084
|
* @returns {string} A string representing the conversation.
|
2034
2085
|
*/
|
2035
2086
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
2087
|
+
/**
|
2088
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2089
|
+
*
|
2090
|
+
* @param {string} project
|
2091
|
+
* @param {string} location
|
2092
|
+
* @param {string} data_store
|
2093
|
+
* @param {string} custom_tuning_model
|
2094
|
+
* @returns {string} Resource name string.
|
2095
|
+
*/
|
2096
|
+
projectLocationDataStoreCustomTuningModelPath(project: string, location: string, dataStore: string, customTuningModel: string): string;
|
2097
|
+
/**
|
2098
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2099
|
+
*
|
2100
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2101
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2102
|
+
* @returns {string} A string representing the project.
|
2103
|
+
*/
|
2104
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
2105
|
+
/**
|
2106
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2107
|
+
*
|
2108
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2109
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2110
|
+
* @returns {string} A string representing the location.
|
2111
|
+
*/
|
2112
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
2113
|
+
/**
|
2114
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2115
|
+
*
|
2116
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2117
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2118
|
+
* @returns {string} A string representing the data_store.
|
2119
|
+
*/
|
2120
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
2121
|
+
/**
|
2122
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2123
|
+
*
|
2124
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2125
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2126
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2127
|
+
*/
|
2128
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
2036
2129
|
/**
|
2037
2130
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2038
2131
|
*
|
@@ -157,6 +157,7 @@ class ConversationalSearchServiceClient {
|
|
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
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -174,6 +175,7 @@ class ConversationalSearchServiceClient {
|
|
174
175
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
175
176
|
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
176
177
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
178
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
177
179
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
178
180
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
179
181
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -1322,6 +1324,75 @@ class ConversationalSearchServiceClient {
|
|
1322
1324
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1323
1325
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1324
1326
|
}
|
1327
|
+
/**
|
1328
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1329
|
+
*
|
1330
|
+
* @param {string} project
|
1331
|
+
* @param {string} location
|
1332
|
+
* @param {string} collection
|
1333
|
+
* @param {string} data_store
|
1334
|
+
* @param {string} custom_tuning_model
|
1335
|
+
* @returns {string} Resource name string.
|
1336
|
+
*/
|
1337
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
1338
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
1339
|
+
project: project,
|
1340
|
+
location: location,
|
1341
|
+
collection: collection,
|
1342
|
+
data_store: dataStore,
|
1343
|
+
custom_tuning_model: customTuningModel,
|
1344
|
+
});
|
1345
|
+
}
|
1346
|
+
/**
|
1347
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1348
|
+
*
|
1349
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1350
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1351
|
+
* @returns {string} A string representing the project.
|
1352
|
+
*/
|
1353
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1354
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
1355
|
+
}
|
1356
|
+
/**
|
1357
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1358
|
+
*
|
1359
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1360
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1361
|
+
* @returns {string} A string representing the location.
|
1362
|
+
*/
|
1363
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1364
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
1365
|
+
}
|
1366
|
+
/**
|
1367
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1368
|
+
*
|
1369
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1370
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1371
|
+
* @returns {string} A string representing the collection.
|
1372
|
+
*/
|
1373
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1374
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
1375
|
+
}
|
1376
|
+
/**
|
1377
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1378
|
+
*
|
1379
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1380
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1381
|
+
* @returns {string} A string representing the data_store.
|
1382
|
+
*/
|
1383
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1384
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
1385
|
+
}
|
1386
|
+
/**
|
1387
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1388
|
+
*
|
1389
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1390
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1391
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1392
|
+
*/
|
1393
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1394
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
1395
|
+
}
|
1325
1396
|
/**
|
1326
1397
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1327
1398
|
*
|
@@ -2459,6 +2530,63 @@ class ConversationalSearchServiceClient {
|
|
2459
2530
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2460
2531
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
2461
2532
|
}
|
2533
|
+
/**
|
2534
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2535
|
+
*
|
2536
|
+
* @param {string} project
|
2537
|
+
* @param {string} location
|
2538
|
+
* @param {string} data_store
|
2539
|
+
* @param {string} custom_tuning_model
|
2540
|
+
* @returns {string} Resource name string.
|
2541
|
+
*/
|
2542
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2543
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2544
|
+
project: project,
|
2545
|
+
location: location,
|
2546
|
+
data_store: dataStore,
|
2547
|
+
custom_tuning_model: customTuningModel,
|
2548
|
+
});
|
2549
|
+
}
|
2550
|
+
/**
|
2551
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2552
|
+
*
|
2553
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2554
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2555
|
+
* @returns {string} A string representing the project.
|
2556
|
+
*/
|
2557
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2558
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2559
|
+
}
|
2560
|
+
/**
|
2561
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2562
|
+
*
|
2563
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2564
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2565
|
+
* @returns {string} A string representing the location.
|
2566
|
+
*/
|
2567
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2568
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2569
|
+
}
|
2570
|
+
/**
|
2571
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2572
|
+
*
|
2573
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2574
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2575
|
+
* @returns {string} A string representing the data_store.
|
2576
|
+
*/
|
2577
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2578
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2579
|
+
}
|
2580
|
+
/**
|
2581
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2582
|
+
*
|
2583
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2584
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2585
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2586
|
+
*/
|
2587
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2588
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2589
|
+
}
|
2462
2590
|
/**
|
2463
2591
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2464
2592
|
*
|
@@ -218,6 +218,15 @@ export declare class DataStoreServiceClient {
|
|
218
218
|
* If the data store is not configured as site
|
219
219
|
* search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will
|
220
220
|
* be ignored.
|
221
|
+
* @param {boolean} request.skipDefaultSchemaCreation
|
222
|
+
* A boolean flag indicating whether to skip the default schema creation for
|
223
|
+
* the data store. Only enable this flag if you are certain that the default
|
224
|
+
* schema is incompatible with your use case.
|
225
|
+
*
|
226
|
+
* If set to true, you must manually create a schema for the data store before
|
227
|
+
* any documents can be ingested.
|
228
|
+
*
|
229
|
+
* This flag cannot be specified if `data_store.starting_schema` is specified.
|
221
230
|
* @param {object} [options]
|
222
231
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
223
232
|
* @returns {Promise} - The promise which resolves to an array.
|
@@ -972,6 +981,57 @@ export declare class DataStoreServiceClient {
|
|
972
981
|
* @returns {string} A string representing the conversation.
|
973
982
|
*/
|
974
983
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
984
|
+
/**
|
985
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
986
|
+
*
|
987
|
+
* @param {string} project
|
988
|
+
* @param {string} location
|
989
|
+
* @param {string} collection
|
990
|
+
* @param {string} data_store
|
991
|
+
* @param {string} custom_tuning_model
|
992
|
+
* @returns {string} Resource name string.
|
993
|
+
*/
|
994
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project: string, location: string, collection: string, dataStore: string, customTuningModel: string): string;
|
995
|
+
/**
|
996
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
997
|
+
*
|
998
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
999
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1000
|
+
* @returns {string} A string representing the project.
|
1001
|
+
*/
|
1002
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1003
|
+
/**
|
1004
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1005
|
+
*
|
1006
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1007
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1008
|
+
* @returns {string} A string representing the location.
|
1009
|
+
*/
|
1010
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1011
|
+
/**
|
1012
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1013
|
+
*
|
1014
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1015
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1016
|
+
* @returns {string} A string representing the collection.
|
1017
|
+
*/
|
1018
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1019
|
+
/**
|
1020
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1021
|
+
*
|
1022
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1023
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1024
|
+
* @returns {string} A string representing the data_store.
|
1025
|
+
*/
|
1026
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1027
|
+
/**
|
1028
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1029
|
+
*
|
1030
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1031
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1032
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1033
|
+
*/
|
1034
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
975
1035
|
/**
|
976
1036
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
977
1037
|
*
|
@@ -1710,6 +1770,48 @@ export declare class DataStoreServiceClient {
|
|
1710
1770
|
* @returns {string} A string representing the conversation.
|
1711
1771
|
*/
|
1712
1772
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
1773
|
+
/**
|
1774
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
1775
|
+
*
|
1776
|
+
* @param {string} project
|
1777
|
+
* @param {string} location
|
1778
|
+
* @param {string} data_store
|
1779
|
+
* @param {string} custom_tuning_model
|
1780
|
+
* @returns {string} Resource name string.
|
1781
|
+
*/
|
1782
|
+
projectLocationDataStoreCustomTuningModelPath(project: string, location: string, dataStore: string, customTuningModel: string): string;
|
1783
|
+
/**
|
1784
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
1785
|
+
*
|
1786
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
1787
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
1788
|
+
* @returns {string} A string representing the project.
|
1789
|
+
*/
|
1790
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
1791
|
+
/**
|
1792
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
1793
|
+
*
|
1794
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
1795
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
1796
|
+
* @returns {string} A string representing the location.
|
1797
|
+
*/
|
1798
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
1799
|
+
/**
|
1800
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
1801
|
+
*
|
1802
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
1803
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
1804
|
+
* @returns {string} A string representing the data_store.
|
1805
|
+
*/
|
1806
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
1807
|
+
/**
|
1808
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
1809
|
+
*
|
1810
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
1811
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
1812
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1813
|
+
*/
|
1814
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
1713
1815
|
/**
|
1714
1816
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1715
1817
|
*
|
@@ -158,6 +158,7 @@ class DataStoreServiceClient {
|
|
158
158
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
159
159
|
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
160
160
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
161
|
+
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
161
162
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
162
163
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
163
164
|
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
@@ -173,6 +174,7 @@ class DataStoreServiceClient {
|
|
173
174
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
174
175
|
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
175
176
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
177
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
176
178
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
177
179
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
178
180
|
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
@@ -252,6 +254,9 @@ class DataStoreServiceClient {
|
|
252
254
|
{
|
253
255
|
get: '/v1/{name=projects/*/locations/*/dataStores/*/operations/*}',
|
254
256
|
},
|
257
|
+
{
|
258
|
+
get: '/v1/{name=projects/*/locations/*/identity_mapping_stores/*/operations/*}',
|
259
|
+
},
|
255
260
|
{ get: '/v1/{name=projects/*/locations/*/operations/*}' },
|
256
261
|
{ get: '/v1/{name=projects/*/operations/*}' },
|
257
262
|
],
|
@@ -292,6 +297,9 @@ class DataStoreServiceClient {
|
|
292
297
|
get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*}/operations',
|
293
298
|
},
|
294
299
|
{ get: '/v1/{name=projects/*/locations/*/dataStores/*}/operations' },
|
300
|
+
{
|
301
|
+
get: '/v1/{name=projects/*/locations/*/identity_mapping_stores/*}/operations',
|
302
|
+
},
|
295
303
|
{ get: '/v1/{name=projects/*/locations/*}/operations' },
|
296
304
|
{ get: '/v1/{name=projects/*}/operations' },
|
297
305
|
],
|
@@ -1367,6 +1375,75 @@ class DataStoreServiceClient {
|
|
1367
1375
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1368
1376
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1369
1377
|
}
|
1378
|
+
/**
|
1379
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1380
|
+
*
|
1381
|
+
* @param {string} project
|
1382
|
+
* @param {string} location
|
1383
|
+
* @param {string} collection
|
1384
|
+
* @param {string} data_store
|
1385
|
+
* @param {string} custom_tuning_model
|
1386
|
+
* @returns {string} Resource name string.
|
1387
|
+
*/
|
1388
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
1389
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
1390
|
+
project: project,
|
1391
|
+
location: location,
|
1392
|
+
collection: collection,
|
1393
|
+
data_store: dataStore,
|
1394
|
+
custom_tuning_model: customTuningModel,
|
1395
|
+
});
|
1396
|
+
}
|
1397
|
+
/**
|
1398
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1399
|
+
*
|
1400
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1401
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1402
|
+
* @returns {string} A string representing the project.
|
1403
|
+
*/
|
1404
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1405
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
1406
|
+
}
|
1407
|
+
/**
|
1408
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1409
|
+
*
|
1410
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1411
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1412
|
+
* @returns {string} A string representing the location.
|
1413
|
+
*/
|
1414
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1415
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
1416
|
+
}
|
1417
|
+
/**
|
1418
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1419
|
+
*
|
1420
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1421
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1422
|
+
* @returns {string} A string representing the collection.
|
1423
|
+
*/
|
1424
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1425
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
1426
|
+
}
|
1427
|
+
/**
|
1428
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1429
|
+
*
|
1430
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1431
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1432
|
+
* @returns {string} A string representing the data_store.
|
1433
|
+
*/
|
1434
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1435
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
1436
|
+
}
|
1437
|
+
/**
|
1438
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1439
|
+
*
|
1440
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1441
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1442
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1443
|
+
*/
|
1444
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1445
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
1446
|
+
}
|
1370
1447
|
/**
|
1371
1448
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1372
1449
|
*
|
@@ -2366,6 +2443,63 @@ class DataStoreServiceClient {
|
|
2366
2443
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2367
2444
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
2368
2445
|
}
|
2446
|
+
/**
|
2447
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2448
|
+
*
|
2449
|
+
* @param {string} project
|
2450
|
+
* @param {string} location
|
2451
|
+
* @param {string} data_store
|
2452
|
+
* @param {string} custom_tuning_model
|
2453
|
+
* @returns {string} Resource name string.
|
2454
|
+
*/
|
2455
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2456
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2457
|
+
project: project,
|
2458
|
+
location: location,
|
2459
|
+
data_store: dataStore,
|
2460
|
+
custom_tuning_model: customTuningModel,
|
2461
|
+
});
|
2462
|
+
}
|
2463
|
+
/**
|
2464
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2465
|
+
*
|
2466
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2467
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2468
|
+
* @returns {string} A string representing the project.
|
2469
|
+
*/
|
2470
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2471
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2472
|
+
}
|
2473
|
+
/**
|
2474
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2475
|
+
*
|
2476
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2477
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2478
|
+
* @returns {string} A string representing the location.
|
2479
|
+
*/
|
2480
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2481
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2482
|
+
}
|
2483
|
+
/**
|
2484
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2485
|
+
*
|
2486
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2487
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2488
|
+
* @returns {string} A string representing the data_store.
|
2489
|
+
*/
|
2490
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2491
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2492
|
+
}
|
2493
|
+
/**
|
2494
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2495
|
+
*
|
2496
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2497
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2498
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2499
|
+
*/
|
2500
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2501
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2502
|
+
}
|
2369
2503
|
/**
|
2370
2504
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2371
2505
|
*
|