@google-cloud/discoveryengine 1.4.0 → 1.4.1
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 +13 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +49 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +79 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +72 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +77 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +44 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +6 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +80 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +83 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +13 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +3 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +130 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +3 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +74 -13
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +24 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +147 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +7 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +5 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +22 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +19 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +4 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +6 -5
- package/build/protos/protos.d.ts +15133 -7787
- package/build/protos/protos.js +50444 -32043
- package/build/protos/protos.json +4132 -2305
- package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
- package/build/src/v1alpha/acl_config_service_client.js +1765 -0
- package/build/src/v1alpha/acl_config_service_client_config.json +34 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +1350 -0
- package/build/src/v1alpha/chunk_service_client.js +1886 -0
- package/build/src/v1alpha/chunk_service_client_config.json +34 -0
- package/build/src/v1alpha/completion_service_client.d.ts +588 -3
- package/build/src/v1alpha/completion_service_client.js +831 -2
- package/build/src/v1alpha/completion_service_client_config.json +10 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +233 -1
- package/build/src/v1alpha/conversational_search_service_client.js +316 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +451 -3
- package/build/src/v1alpha/data_store_service_client.js +562 -2
- package/build/src/v1alpha/data_store_service_client_config.json +8 -0
- package/build/src/v1alpha/document_service_client.d.ts +382 -0
- package/build/src/v1alpha/document_service_client.js +514 -0
- package/build/src/v1alpha/engine_service_client.d.ts +375 -2
- package/build/src/v1alpha/engine_service_client.js +514 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +2028 -0
- package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
- package/build/src/v1alpha/index.d.ts +4 -0
- package/build/src/v1alpha/index.js +9 -1
- package/build/src/v1alpha/recommendation_service_client.d.ts +231 -1
- package/build/src/v1alpha/recommendation_service_client.js +316 -0
- package/build/src/v1alpha/schema_service_client.d.ts +372 -0
- package/build/src/v1alpha/schema_service_client.js +514 -0
- package/build/src/v1alpha/search_service_client.d.ts +258 -15
- package/build/src/v1alpha/search_service_client.js +336 -10
- package/build/src/v1alpha/search_tuning_service_client.d.ts +373 -1
- package/build/src/v1alpha/search_tuning_service_client.js +514 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +1369 -0
- package/build/src/v1alpha/serving_config_service_client.js +1935 -0
- package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +372 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +514 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +372 -0
- package/build/src/v1alpha/user_event_service_client.js +514 -0
- package/build/src/v1beta/completion_service_client.d.ts +75 -0
- package/build/src/v1beta/completion_service_client.js +104 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +79 -0
- package/build/src/v1beta/conversational_search_service_client.js +104 -0
- package/build/src/v1beta/data_store_service_client.d.ts +75 -0
- package/build/src/v1beta/data_store_service_client.js +104 -0
- package/build/src/v1beta/document_service_client.d.ts +75 -0
- package/build/src/v1beta/document_service_client.js +104 -0
- package/build/src/v1beta/engine_service_client.d.ts +75 -0
- package/build/src/v1beta/engine_service_client.js +104 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/recommendation_service_client.d.ts +75 -0
- package/build/src/v1beta/recommendation_service_client.js +104 -0
- package/build/src/v1beta/schema_service_client.d.ts +75 -0
- package/build/src/v1beta/schema_service_client.js +104 -0
- package/build/src/v1beta/search_service_client.d.ts +81 -0
- package/build/src/v1beta/search_service_client.js +108 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
- package/build/src/v1beta/search_tuning_service_client.js +1781 -0
- package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +123 -8
- package/build/src/v1beta/serving_config_service_client.js +166 -5
- package/build/src/v1beta/site_search_engine_service_client.d.ts +75 -0
- package/build/src/v1beta/site_search_engine_service_client.js +104 -0
- package/build/src/v1beta/user_event_service_client.d.ts +75 -0
- package/build/src/v1beta/user_event_service_client.js +104 -0
- package/package.json +3 -3
|
@@ -147,18 +147,26 @@ class SiteSearchEngineServiceClient {
|
|
|
147
147
|
// identifiers to uniquely identify resources within the API.
|
|
148
148
|
// Create useful helper objects for these.
|
|
149
149
|
this.pathTemplates = {
|
|
150
|
+
aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
|
|
150
151
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
|
151
152
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
|
152
153
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
154
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
|
153
155
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
|
156
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
|
154
157
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
|
158
|
+
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
|
155
159
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
|
156
160
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
|
157
161
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
|
162
|
+
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
|
158
163
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
|
159
164
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
165
|
+
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
|
160
166
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
|
167
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
|
161
168
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
|
169
|
+
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
|
162
170
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
|
163
171
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
|
164
172
|
};
|
|
@@ -1193,6 +1201,41 @@ class SiteSearchEngineServiceClient {
|
|
|
1193
1201
|
// --------------------
|
|
1194
1202
|
// -- Path templates --
|
|
1195
1203
|
// --------------------
|
|
1204
|
+
/**
|
|
1205
|
+
* Return a fully-qualified aclConfig resource name string.
|
|
1206
|
+
*
|
|
1207
|
+
* @param {string} project
|
|
1208
|
+
* @param {string} location
|
|
1209
|
+
* @returns {string} Resource name string.
|
|
1210
|
+
*/
|
|
1211
|
+
aclConfigPath(project, location) {
|
|
1212
|
+
return this.pathTemplates.aclConfigPathTemplate.render({
|
|
1213
|
+
project: project,
|
|
1214
|
+
location: location,
|
|
1215
|
+
});
|
|
1216
|
+
}
|
|
1217
|
+
/**
|
|
1218
|
+
* Parse the project from AclConfig resource.
|
|
1219
|
+
*
|
|
1220
|
+
* @param {string} aclConfigName
|
|
1221
|
+
* A fully-qualified path representing AclConfig resource.
|
|
1222
|
+
* @returns {string} A string representing the project.
|
|
1223
|
+
*/
|
|
1224
|
+
matchProjectFromAclConfigName(aclConfigName) {
|
|
1225
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
|
1226
|
+
.project;
|
|
1227
|
+
}
|
|
1228
|
+
/**
|
|
1229
|
+
* Parse the location from AclConfig resource.
|
|
1230
|
+
*
|
|
1231
|
+
* @param {string} aclConfigName
|
|
1232
|
+
* A fully-qualified path representing AclConfig resource.
|
|
1233
|
+
* @returns {string} A string representing the location.
|
|
1234
|
+
*/
|
|
1235
|
+
matchLocationFromAclConfigName(aclConfigName) {
|
|
1236
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
|
1237
|
+
.location;
|
|
1238
|
+
}
|
|
1196
1239
|
/**
|
|
1197
1240
|
* Return a fully-qualified engine resource name string.
|
|
1198
1241
|
*
|
|
@@ -1388,6 +1431,99 @@ class SiteSearchEngineServiceClient {
|
|
|
1388
1431
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
|
1389
1432
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
|
1390
1433
|
}
|
|
1434
|
+
/**
|
|
1435
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
|
1436
|
+
*
|
|
1437
|
+
* @param {string} project
|
|
1438
|
+
* @param {string} location
|
|
1439
|
+
* @param {string} collection
|
|
1440
|
+
* @param {string} data_store
|
|
1441
|
+
* @param {string} branch
|
|
1442
|
+
* @param {string} document
|
|
1443
|
+
* @param {string} chunk
|
|
1444
|
+
* @returns {string} Resource name string.
|
|
1445
|
+
*/
|
|
1446
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
|
1447
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
|
1448
|
+
project: project,
|
|
1449
|
+
location: location,
|
|
1450
|
+
collection: collection,
|
|
1451
|
+
data_store: dataStore,
|
|
1452
|
+
branch: branch,
|
|
1453
|
+
document: document,
|
|
1454
|
+
chunk: chunk,
|
|
1455
|
+
});
|
|
1456
|
+
}
|
|
1457
|
+
/**
|
|
1458
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1459
|
+
*
|
|
1460
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1461
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1462
|
+
* @returns {string} A string representing the project.
|
|
1463
|
+
*/
|
|
1464
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1465
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
|
1466
|
+
}
|
|
1467
|
+
/**
|
|
1468
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1469
|
+
*
|
|
1470
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1471
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1472
|
+
* @returns {string} A string representing the location.
|
|
1473
|
+
*/
|
|
1474
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1475
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
|
1476
|
+
}
|
|
1477
|
+
/**
|
|
1478
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1479
|
+
*
|
|
1480
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1481
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1482
|
+
* @returns {string} A string representing the collection.
|
|
1483
|
+
*/
|
|
1484
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1485
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
|
1486
|
+
}
|
|
1487
|
+
/**
|
|
1488
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1489
|
+
*
|
|
1490
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1491
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1492
|
+
* @returns {string} A string representing the data_store.
|
|
1493
|
+
*/
|
|
1494
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1495
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
|
1496
|
+
}
|
|
1497
|
+
/**
|
|
1498
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1499
|
+
*
|
|
1500
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1501
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1502
|
+
* @returns {string} A string representing the branch.
|
|
1503
|
+
*/
|
|
1504
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1505
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
|
1506
|
+
}
|
|
1507
|
+
/**
|
|
1508
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1509
|
+
*
|
|
1510
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1511
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1512
|
+
* @returns {string} A string representing the document.
|
|
1513
|
+
*/
|
|
1514
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1515
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
|
1516
|
+
}
|
|
1517
|
+
/**
|
|
1518
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1519
|
+
*
|
|
1520
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1521
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1522
|
+
* @returns {string} A string representing the chunk.
|
|
1523
|
+
*/
|
|
1524
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1525
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
|
1526
|
+
}
|
|
1391
1527
|
/**
|
|
1392
1528
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
|
1393
1529
|
*
|
|
@@ -1457,6 +1593,63 @@ class SiteSearchEngineServiceClient {
|
|
|
1457
1593
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
|
1458
1594
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
|
1459
1595
|
}
|
|
1596
|
+
/**
|
|
1597
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
|
1598
|
+
*
|
|
1599
|
+
* @param {string} project
|
|
1600
|
+
* @param {string} location
|
|
1601
|
+
* @param {string} collection
|
|
1602
|
+
* @param {string} data_store
|
|
1603
|
+
* @returns {string} Resource name string.
|
|
1604
|
+
*/
|
|
1605
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
|
1606
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
|
1607
|
+
project: project,
|
|
1608
|
+
location: location,
|
|
1609
|
+
collection: collection,
|
|
1610
|
+
data_store: dataStore,
|
|
1611
|
+
});
|
|
1612
|
+
}
|
|
1613
|
+
/**
|
|
1614
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1615
|
+
*
|
|
1616
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1617
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1618
|
+
* @returns {string} A string representing the project.
|
|
1619
|
+
*/
|
|
1620
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1621
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
|
1622
|
+
}
|
|
1623
|
+
/**
|
|
1624
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1625
|
+
*
|
|
1626
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1627
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1628
|
+
* @returns {string} A string representing the location.
|
|
1629
|
+
*/
|
|
1630
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1631
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
|
1632
|
+
}
|
|
1633
|
+
/**
|
|
1634
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1635
|
+
*
|
|
1636
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1637
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1638
|
+
* @returns {string} A string representing the collection.
|
|
1639
|
+
*/
|
|
1640
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1641
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
|
1642
|
+
}
|
|
1643
|
+
/**
|
|
1644
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1645
|
+
*
|
|
1646
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1647
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1648
|
+
* @returns {string} A string representing the data_store.
|
|
1649
|
+
*/
|
|
1650
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1651
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
|
1652
|
+
}
|
|
1460
1653
|
/**
|
|
1461
1654
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
|
1462
1655
|
*
|
|
@@ -1526,6 +1719,75 @@ class SiteSearchEngineServiceClient {
|
|
|
1526
1719
|
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
|
1527
1720
|
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
|
|
1528
1721
|
}
|
|
1722
|
+
/**
|
|
1723
|
+
* Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
|
|
1724
|
+
*
|
|
1725
|
+
* @param {string} project
|
|
1726
|
+
* @param {string} location
|
|
1727
|
+
* @param {string} collection
|
|
1728
|
+
* @param {string} data_store
|
|
1729
|
+
* @param {string} serving_config
|
|
1730
|
+
* @returns {string} Resource name string.
|
|
1731
|
+
*/
|
|
1732
|
+
projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
|
|
1733
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
|
|
1734
|
+
project: project,
|
|
1735
|
+
location: location,
|
|
1736
|
+
collection: collection,
|
|
1737
|
+
data_store: dataStore,
|
|
1738
|
+
serving_config: servingConfig,
|
|
1739
|
+
});
|
|
1740
|
+
}
|
|
1741
|
+
/**
|
|
1742
|
+
* Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1743
|
+
*
|
|
1744
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1745
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1746
|
+
* @returns {string} A string representing the project.
|
|
1747
|
+
*/
|
|
1748
|
+
matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1749
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
|
|
1750
|
+
}
|
|
1751
|
+
/**
|
|
1752
|
+
* Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1753
|
+
*
|
|
1754
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1755
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1756
|
+
* @returns {string} A string representing the location.
|
|
1757
|
+
*/
|
|
1758
|
+
matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1759
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
|
|
1760
|
+
}
|
|
1761
|
+
/**
|
|
1762
|
+
* Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1763
|
+
*
|
|
1764
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1765
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1766
|
+
* @returns {string} A string representing the collection.
|
|
1767
|
+
*/
|
|
1768
|
+
matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1769
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
|
|
1770
|
+
}
|
|
1771
|
+
/**
|
|
1772
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1773
|
+
*
|
|
1774
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1775
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1776
|
+
* @returns {string} A string representing the data_store.
|
|
1777
|
+
*/
|
|
1778
|
+
matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1779
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
|
|
1780
|
+
}
|
|
1781
|
+
/**
|
|
1782
|
+
* Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1783
|
+
*
|
|
1784
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1785
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1786
|
+
* @returns {string} A string representing the serving_config.
|
|
1787
|
+
*/
|
|
1788
|
+
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1789
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
|
1790
|
+
}
|
|
1529
1791
|
/**
|
|
1530
1792
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
|
1531
1793
|
*
|
|
@@ -1721,6 +1983,75 @@ class SiteSearchEngineServiceClient {
|
|
|
1721
1983
|
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1722
1984
|
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
|
1723
1985
|
}
|
|
1986
|
+
/**
|
|
1987
|
+
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
|
1988
|
+
*
|
|
1989
|
+
* @param {string} project
|
|
1990
|
+
* @param {string} location
|
|
1991
|
+
* @param {string} collection
|
|
1992
|
+
* @param {string} engine
|
|
1993
|
+
* @param {string} serving_config
|
|
1994
|
+
* @returns {string} Resource name string.
|
|
1995
|
+
*/
|
|
1996
|
+
projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
|
|
1997
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
|
|
1998
|
+
project: project,
|
|
1999
|
+
location: location,
|
|
2000
|
+
collection: collection,
|
|
2001
|
+
engine: engine,
|
|
2002
|
+
serving_config: servingConfig,
|
|
2003
|
+
});
|
|
2004
|
+
}
|
|
2005
|
+
/**
|
|
2006
|
+
* Parse the project from ProjectLocationCollectionEngineServingConfig resource.
|
|
2007
|
+
*
|
|
2008
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
2009
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
2010
|
+
* @returns {string} A string representing the project.
|
|
2011
|
+
*/
|
|
2012
|
+
matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
2013
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
|
|
2014
|
+
}
|
|
2015
|
+
/**
|
|
2016
|
+
* Parse the location from ProjectLocationCollectionEngineServingConfig resource.
|
|
2017
|
+
*
|
|
2018
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
2019
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
2020
|
+
* @returns {string} A string representing the location.
|
|
2021
|
+
*/
|
|
2022
|
+
matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
2023
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
|
|
2024
|
+
}
|
|
2025
|
+
/**
|
|
2026
|
+
* Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
|
|
2027
|
+
*
|
|
2028
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
2029
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
2030
|
+
* @returns {string} A string representing the collection.
|
|
2031
|
+
*/
|
|
2032
|
+
matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
2033
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
|
|
2034
|
+
}
|
|
2035
|
+
/**
|
|
2036
|
+
* Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
|
|
2037
|
+
*
|
|
2038
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
2039
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
2040
|
+
* @returns {string} A string representing the engine.
|
|
2041
|
+
*/
|
|
2042
|
+
matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
2043
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
|
|
2044
|
+
}
|
|
2045
|
+
/**
|
|
2046
|
+
* Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
|
|
2047
|
+
*
|
|
2048
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
2049
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
2050
|
+
* @returns {string} A string representing the serving_config.
|
|
2051
|
+
*/
|
|
2052
|
+
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
2053
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
|
2054
|
+
}
|
|
1724
2055
|
/**
|
|
1725
2056
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
|
1726
2057
|
*
|
|
@@ -1835,6 +2166,87 @@ class SiteSearchEngineServiceClient {
|
|
|
1835
2166
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
|
1836
2167
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
|
1837
2168
|
}
|
|
2169
|
+
/**
|
|
2170
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
|
2171
|
+
*
|
|
2172
|
+
* @param {string} project
|
|
2173
|
+
* @param {string} location
|
|
2174
|
+
* @param {string} data_store
|
|
2175
|
+
* @param {string} branch
|
|
2176
|
+
* @param {string} document
|
|
2177
|
+
* @param {string} chunk
|
|
2178
|
+
* @returns {string} Resource name string.
|
|
2179
|
+
*/
|
|
2180
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
|
2181
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
|
2182
|
+
project: project,
|
|
2183
|
+
location: location,
|
|
2184
|
+
data_store: dataStore,
|
|
2185
|
+
branch: branch,
|
|
2186
|
+
document: document,
|
|
2187
|
+
chunk: chunk,
|
|
2188
|
+
});
|
|
2189
|
+
}
|
|
2190
|
+
/**
|
|
2191
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
2192
|
+
*
|
|
2193
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
2194
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
2195
|
+
* @returns {string} A string representing the project.
|
|
2196
|
+
*/
|
|
2197
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
2198
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
|
2199
|
+
}
|
|
2200
|
+
/**
|
|
2201
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
2202
|
+
*
|
|
2203
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
2204
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
2205
|
+
* @returns {string} A string representing the location.
|
|
2206
|
+
*/
|
|
2207
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
2208
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
|
2209
|
+
}
|
|
2210
|
+
/**
|
|
2211
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
2212
|
+
*
|
|
2213
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
2214
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
2215
|
+
* @returns {string} A string representing the data_store.
|
|
2216
|
+
*/
|
|
2217
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
2218
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
|
2219
|
+
}
|
|
2220
|
+
/**
|
|
2221
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
2222
|
+
*
|
|
2223
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
2224
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
2225
|
+
* @returns {string} A string representing the branch.
|
|
2226
|
+
*/
|
|
2227
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
2228
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
|
2229
|
+
}
|
|
2230
|
+
/**
|
|
2231
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
2232
|
+
*
|
|
2233
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
2234
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
2235
|
+
* @returns {string} A string representing the document.
|
|
2236
|
+
*/
|
|
2237
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
2238
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
|
2239
|
+
}
|
|
2240
|
+
/**
|
|
2241
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
2242
|
+
*
|
|
2243
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
2244
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
2245
|
+
* @returns {string} A string representing the chunk.
|
|
2246
|
+
*/
|
|
2247
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
2248
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
|
2249
|
+
}
|
|
1838
2250
|
/**
|
|
1839
2251
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
|
1840
2252
|
*
|
|
@@ -1892,6 +2304,51 @@ class SiteSearchEngineServiceClient {
|
|
|
1892
2304
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
|
1893
2305
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
|
1894
2306
|
}
|
|
2307
|
+
/**
|
|
2308
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
|
2309
|
+
*
|
|
2310
|
+
* @param {string} project
|
|
2311
|
+
* @param {string} location
|
|
2312
|
+
* @param {string} data_store
|
|
2313
|
+
* @returns {string} Resource name string.
|
|
2314
|
+
*/
|
|
2315
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
|
2316
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
|
2317
|
+
project: project,
|
|
2318
|
+
location: location,
|
|
2319
|
+
data_store: dataStore,
|
|
2320
|
+
});
|
|
2321
|
+
}
|
|
2322
|
+
/**
|
|
2323
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
2324
|
+
*
|
|
2325
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
2326
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
2327
|
+
* @returns {string} A string representing the project.
|
|
2328
|
+
*/
|
|
2329
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
2330
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
|
2331
|
+
}
|
|
2332
|
+
/**
|
|
2333
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
2334
|
+
*
|
|
2335
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
2336
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
2337
|
+
* @returns {string} A string representing the location.
|
|
2338
|
+
*/
|
|
2339
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
2340
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
|
2341
|
+
}
|
|
2342
|
+
/**
|
|
2343
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
2344
|
+
*
|
|
2345
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
2346
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
2347
|
+
* @returns {string} A string representing the data_store.
|
|
2348
|
+
*/
|
|
2349
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
2350
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
|
2351
|
+
}
|
|
1895
2352
|
/**
|
|
1896
2353
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
|
1897
2354
|
*
|
|
@@ -1949,6 +2406,63 @@ class SiteSearchEngineServiceClient {
|
|
|
1949
2406
|
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
|
1950
2407
|
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
|
|
1951
2408
|
}
|
|
2409
|
+
/**
|
|
2410
|
+
* Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
|
|
2411
|
+
*
|
|
2412
|
+
* @param {string} project
|
|
2413
|
+
* @param {string} location
|
|
2414
|
+
* @param {string} data_store
|
|
2415
|
+
* @param {string} serving_config
|
|
2416
|
+
* @returns {string} Resource name string.
|
|
2417
|
+
*/
|
|
2418
|
+
projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
|
|
2419
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
|
|
2420
|
+
project: project,
|
|
2421
|
+
location: location,
|
|
2422
|
+
data_store: dataStore,
|
|
2423
|
+
serving_config: servingConfig,
|
|
2424
|
+
});
|
|
2425
|
+
}
|
|
2426
|
+
/**
|
|
2427
|
+
* Parse the project from ProjectLocationDataStoreServingConfig resource.
|
|
2428
|
+
*
|
|
2429
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
2430
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
2431
|
+
* @returns {string} A string representing the project.
|
|
2432
|
+
*/
|
|
2433
|
+
matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
2434
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
|
|
2435
|
+
}
|
|
2436
|
+
/**
|
|
2437
|
+
* Parse the location from ProjectLocationDataStoreServingConfig resource.
|
|
2438
|
+
*
|
|
2439
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
2440
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
2441
|
+
* @returns {string} A string representing the location.
|
|
2442
|
+
*/
|
|
2443
|
+
matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
2444
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
|
|
2445
|
+
}
|
|
2446
|
+
/**
|
|
2447
|
+
* Parse the data_store from ProjectLocationDataStoreServingConfig resource.
|
|
2448
|
+
*
|
|
2449
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
2450
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
2451
|
+
* @returns {string} A string representing the data_store.
|
|
2452
|
+
*/
|
|
2453
|
+
matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
2454
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
|
|
2455
|
+
}
|
|
2456
|
+
/**
|
|
2457
|
+
* Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
|
|
2458
|
+
*
|
|
2459
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
2460
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
2461
|
+
* @returns {string} A string representing the serving_config.
|
|
2462
|
+
*/
|
|
2463
|
+
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
2464
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
|
2465
|
+
}
|
|
1952
2466
|
/**
|
|
1953
2467
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
|
1954
2468
|
*
|