@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,19 +147,27 @@ class DataStoreServiceClient {
|
|
|
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
|
collectionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}'),
|
|
151
152
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
|
152
153
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
|
153
154
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
155
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
|
154
156
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
|
157
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
|
155
158
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
|
159
|
+
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
|
156
160
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
|
157
161
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
|
158
162
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
|
163
|
+
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
|
159
164
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
|
160
165
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
166
|
+
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
|
161
167
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
|
168
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
|
162
169
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
|
170
|
+
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
|
163
171
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
|
164
172
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
|
165
173
|
};
|
|
@@ -315,6 +323,8 @@ class DataStoreServiceClient {
|
|
|
315
323
|
'listDataStores',
|
|
316
324
|
'deleteDataStore',
|
|
317
325
|
'updateDataStore',
|
|
326
|
+
'getDocumentProcessingConfig',
|
|
327
|
+
'updateDocumentProcessingConfig',
|
|
318
328
|
];
|
|
319
329
|
for (const methodName of dataStoreServiceStubMethods) {
|
|
320
330
|
const callPromise = this.dataStoreServiceStub.then(stub => (...args) => {
|
|
@@ -436,6 +446,48 @@ class DataStoreServiceClient {
|
|
|
436
446
|
this.initialize();
|
|
437
447
|
return this.innerApiCalls.updateDataStore(request, options, callback);
|
|
438
448
|
}
|
|
449
|
+
getDocumentProcessingConfig(request, optionsOrCallback, callback) {
|
|
450
|
+
var _a;
|
|
451
|
+
request = request || {};
|
|
452
|
+
let options;
|
|
453
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
454
|
+
callback = optionsOrCallback;
|
|
455
|
+
options = {};
|
|
456
|
+
}
|
|
457
|
+
else {
|
|
458
|
+
options = optionsOrCallback;
|
|
459
|
+
}
|
|
460
|
+
options = options || {};
|
|
461
|
+
options.otherArgs = options.otherArgs || {};
|
|
462
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
463
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
464
|
+
this._gaxModule.routingHeader.fromParams({
|
|
465
|
+
name: (_a = request.name) !== null && _a !== void 0 ? _a : '',
|
|
466
|
+
});
|
|
467
|
+
this.initialize();
|
|
468
|
+
return this.innerApiCalls.getDocumentProcessingConfig(request, options, callback);
|
|
469
|
+
}
|
|
470
|
+
updateDocumentProcessingConfig(request, optionsOrCallback, callback) {
|
|
471
|
+
var _a;
|
|
472
|
+
request = request || {};
|
|
473
|
+
let options;
|
|
474
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
475
|
+
callback = optionsOrCallback;
|
|
476
|
+
options = {};
|
|
477
|
+
}
|
|
478
|
+
else {
|
|
479
|
+
options = optionsOrCallback;
|
|
480
|
+
}
|
|
481
|
+
options = options || {};
|
|
482
|
+
options.otherArgs = options.otherArgs || {};
|
|
483
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
484
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
485
|
+
this._gaxModule.routingHeader.fromParams({
|
|
486
|
+
'document_processing_config.name': (_a = request.documentProcessingConfig.name) !== null && _a !== void 0 ? _a : '',
|
|
487
|
+
});
|
|
488
|
+
this.initialize();
|
|
489
|
+
return this.innerApiCalls.updateDocumentProcessingConfig(request, options, callback);
|
|
490
|
+
}
|
|
439
491
|
createDataStore(request, optionsOrCallback, callback) {
|
|
440
492
|
var _a;
|
|
441
493
|
request = request || {};
|
|
@@ -541,7 +593,8 @@ class DataStoreServiceClient {
|
|
|
541
593
|
* Required. The parent branch resource name, such as
|
|
542
594
|
* `projects/{project}/locations/{location}/collections/{collection_id}`.
|
|
543
595
|
*
|
|
544
|
-
* If the caller does not have permission to list
|
|
596
|
+
* If the caller does not have permission to list
|
|
597
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.DataStore|DataStore}s under this
|
|
545
598
|
* location, regardless of whether or not this data store exists, a
|
|
546
599
|
* PERMISSION_DENIED error is returned.
|
|
547
600
|
* @param {number} request.pageSize
|
|
@@ -601,7 +654,8 @@ class DataStoreServiceClient {
|
|
|
601
654
|
* Required. The parent branch resource name, such as
|
|
602
655
|
* `projects/{project}/locations/{location}/collections/{collection_id}`.
|
|
603
656
|
*
|
|
604
|
-
* If the caller does not have permission to list
|
|
657
|
+
* If the caller does not have permission to list
|
|
658
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.DataStore|DataStore}s under this
|
|
605
659
|
* location, regardless of whether or not this data store exists, a
|
|
606
660
|
* PERMISSION_DENIED error is returned.
|
|
607
661
|
* @param {number} request.pageSize
|
|
@@ -838,6 +892,41 @@ class DataStoreServiceClient {
|
|
|
838
892
|
// --------------------
|
|
839
893
|
// -- Path templates --
|
|
840
894
|
// --------------------
|
|
895
|
+
/**
|
|
896
|
+
* Return a fully-qualified aclConfig resource name string.
|
|
897
|
+
*
|
|
898
|
+
* @param {string} project
|
|
899
|
+
* @param {string} location
|
|
900
|
+
* @returns {string} Resource name string.
|
|
901
|
+
*/
|
|
902
|
+
aclConfigPath(project, location) {
|
|
903
|
+
return this.pathTemplates.aclConfigPathTemplate.render({
|
|
904
|
+
project: project,
|
|
905
|
+
location: location,
|
|
906
|
+
});
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* Parse the project from AclConfig resource.
|
|
910
|
+
*
|
|
911
|
+
* @param {string} aclConfigName
|
|
912
|
+
* A fully-qualified path representing AclConfig resource.
|
|
913
|
+
* @returns {string} A string representing the project.
|
|
914
|
+
*/
|
|
915
|
+
matchProjectFromAclConfigName(aclConfigName) {
|
|
916
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
|
917
|
+
.project;
|
|
918
|
+
}
|
|
919
|
+
/**
|
|
920
|
+
* Parse the location from AclConfig resource.
|
|
921
|
+
*
|
|
922
|
+
* @param {string} aclConfigName
|
|
923
|
+
* A fully-qualified path representing AclConfig resource.
|
|
924
|
+
* @returns {string} A string representing the location.
|
|
925
|
+
*/
|
|
926
|
+
matchLocationFromAclConfigName(aclConfigName) {
|
|
927
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
|
928
|
+
.location;
|
|
929
|
+
}
|
|
841
930
|
/**
|
|
842
931
|
* Return a fully-qualified collection resource name string.
|
|
843
932
|
*
|
|
@@ -1081,6 +1170,99 @@ class DataStoreServiceClient {
|
|
|
1081
1170
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
|
1082
1171
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
|
1083
1172
|
}
|
|
1173
|
+
/**
|
|
1174
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
|
1175
|
+
*
|
|
1176
|
+
* @param {string} project
|
|
1177
|
+
* @param {string} location
|
|
1178
|
+
* @param {string} collection
|
|
1179
|
+
* @param {string} data_store
|
|
1180
|
+
* @param {string} branch
|
|
1181
|
+
* @param {string} document
|
|
1182
|
+
* @param {string} chunk
|
|
1183
|
+
* @returns {string} Resource name string.
|
|
1184
|
+
*/
|
|
1185
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
|
1186
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
|
1187
|
+
project: project,
|
|
1188
|
+
location: location,
|
|
1189
|
+
collection: collection,
|
|
1190
|
+
data_store: dataStore,
|
|
1191
|
+
branch: branch,
|
|
1192
|
+
document: document,
|
|
1193
|
+
chunk: chunk,
|
|
1194
|
+
});
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1198
|
+
*
|
|
1199
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1200
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1201
|
+
* @returns {string} A string representing the project.
|
|
1202
|
+
*/
|
|
1203
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1204
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
|
1205
|
+
}
|
|
1206
|
+
/**
|
|
1207
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1208
|
+
*
|
|
1209
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1210
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1211
|
+
* @returns {string} A string representing the location.
|
|
1212
|
+
*/
|
|
1213
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1214
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
|
1215
|
+
}
|
|
1216
|
+
/**
|
|
1217
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1218
|
+
*
|
|
1219
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1220
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1221
|
+
* @returns {string} A string representing the collection.
|
|
1222
|
+
*/
|
|
1223
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1224
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
|
1225
|
+
}
|
|
1226
|
+
/**
|
|
1227
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1228
|
+
*
|
|
1229
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1230
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1231
|
+
* @returns {string} A string representing the data_store.
|
|
1232
|
+
*/
|
|
1233
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1234
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
|
1235
|
+
}
|
|
1236
|
+
/**
|
|
1237
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1238
|
+
*
|
|
1239
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1240
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1241
|
+
* @returns {string} A string representing the branch.
|
|
1242
|
+
*/
|
|
1243
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1244
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
|
1245
|
+
}
|
|
1246
|
+
/**
|
|
1247
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1248
|
+
*
|
|
1249
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1250
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1251
|
+
* @returns {string} A string representing the document.
|
|
1252
|
+
*/
|
|
1253
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1254
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
|
1255
|
+
}
|
|
1256
|
+
/**
|
|
1257
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
1258
|
+
*
|
|
1259
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
1260
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
1261
|
+
* @returns {string} A string representing the chunk.
|
|
1262
|
+
*/
|
|
1263
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
1264
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
|
1265
|
+
}
|
|
1084
1266
|
/**
|
|
1085
1267
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
|
1086
1268
|
*
|
|
@@ -1150,6 +1332,63 @@ class DataStoreServiceClient {
|
|
|
1150
1332
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
|
1151
1333
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
|
1152
1334
|
}
|
|
1335
|
+
/**
|
|
1336
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
|
1337
|
+
*
|
|
1338
|
+
* @param {string} project
|
|
1339
|
+
* @param {string} location
|
|
1340
|
+
* @param {string} collection
|
|
1341
|
+
* @param {string} data_store
|
|
1342
|
+
* @returns {string} Resource name string.
|
|
1343
|
+
*/
|
|
1344
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
|
1345
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
|
1346
|
+
project: project,
|
|
1347
|
+
location: location,
|
|
1348
|
+
collection: collection,
|
|
1349
|
+
data_store: dataStore,
|
|
1350
|
+
});
|
|
1351
|
+
}
|
|
1352
|
+
/**
|
|
1353
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1354
|
+
*
|
|
1355
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1356
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1357
|
+
* @returns {string} A string representing the project.
|
|
1358
|
+
*/
|
|
1359
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1360
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
|
1361
|
+
}
|
|
1362
|
+
/**
|
|
1363
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1364
|
+
*
|
|
1365
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1366
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1367
|
+
* @returns {string} A string representing the location.
|
|
1368
|
+
*/
|
|
1369
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1370
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
|
1371
|
+
}
|
|
1372
|
+
/**
|
|
1373
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1374
|
+
*
|
|
1375
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1376
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1377
|
+
* @returns {string} A string representing the collection.
|
|
1378
|
+
*/
|
|
1379
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1380
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
|
1381
|
+
}
|
|
1382
|
+
/**
|
|
1383
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1384
|
+
*
|
|
1385
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1386
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1387
|
+
* @returns {string} A string representing the data_store.
|
|
1388
|
+
*/
|
|
1389
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1390
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
|
1391
|
+
}
|
|
1153
1392
|
/**
|
|
1154
1393
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
|
1155
1394
|
*
|
|
@@ -1219,6 +1458,75 @@ class DataStoreServiceClient {
|
|
|
1219
1458
|
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
|
1220
1459
|
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
|
|
1221
1460
|
}
|
|
1461
|
+
/**
|
|
1462
|
+
* Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
|
|
1463
|
+
*
|
|
1464
|
+
* @param {string} project
|
|
1465
|
+
* @param {string} location
|
|
1466
|
+
* @param {string} collection
|
|
1467
|
+
* @param {string} data_store
|
|
1468
|
+
* @param {string} serving_config
|
|
1469
|
+
* @returns {string} Resource name string.
|
|
1470
|
+
*/
|
|
1471
|
+
projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
|
|
1472
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
|
|
1473
|
+
project: project,
|
|
1474
|
+
location: location,
|
|
1475
|
+
collection: collection,
|
|
1476
|
+
data_store: dataStore,
|
|
1477
|
+
serving_config: servingConfig,
|
|
1478
|
+
});
|
|
1479
|
+
}
|
|
1480
|
+
/**
|
|
1481
|
+
* Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1482
|
+
*
|
|
1483
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1484
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1485
|
+
* @returns {string} A string representing the project.
|
|
1486
|
+
*/
|
|
1487
|
+
matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1488
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
|
|
1489
|
+
}
|
|
1490
|
+
/**
|
|
1491
|
+
* Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1492
|
+
*
|
|
1493
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1494
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1495
|
+
* @returns {string} A string representing the location.
|
|
1496
|
+
*/
|
|
1497
|
+
matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1498
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
|
|
1499
|
+
}
|
|
1500
|
+
/**
|
|
1501
|
+
* Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1502
|
+
*
|
|
1503
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1504
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1505
|
+
* @returns {string} A string representing the collection.
|
|
1506
|
+
*/
|
|
1507
|
+
matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1508
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
|
|
1509
|
+
}
|
|
1510
|
+
/**
|
|
1511
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1512
|
+
*
|
|
1513
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1514
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1515
|
+
* @returns {string} A string representing the data_store.
|
|
1516
|
+
*/
|
|
1517
|
+
matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1518
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
|
|
1519
|
+
}
|
|
1520
|
+
/**
|
|
1521
|
+
* Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1522
|
+
*
|
|
1523
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1524
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1525
|
+
* @returns {string} A string representing the serving_config.
|
|
1526
|
+
*/
|
|
1527
|
+
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1528
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
|
1529
|
+
}
|
|
1222
1530
|
/**
|
|
1223
1531
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
|
1224
1532
|
*
|
|
@@ -1414,6 +1722,75 @@ class DataStoreServiceClient {
|
|
|
1414
1722
|
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1415
1723
|
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
|
1416
1724
|
}
|
|
1725
|
+
/**
|
|
1726
|
+
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
|
1727
|
+
*
|
|
1728
|
+
* @param {string} project
|
|
1729
|
+
* @param {string} location
|
|
1730
|
+
* @param {string} collection
|
|
1731
|
+
* @param {string} engine
|
|
1732
|
+
* @param {string} serving_config
|
|
1733
|
+
* @returns {string} Resource name string.
|
|
1734
|
+
*/
|
|
1735
|
+
projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
|
|
1736
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
|
|
1737
|
+
project: project,
|
|
1738
|
+
location: location,
|
|
1739
|
+
collection: collection,
|
|
1740
|
+
engine: engine,
|
|
1741
|
+
serving_config: servingConfig,
|
|
1742
|
+
});
|
|
1743
|
+
}
|
|
1744
|
+
/**
|
|
1745
|
+
* Parse the project from ProjectLocationCollectionEngineServingConfig resource.
|
|
1746
|
+
*
|
|
1747
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1748
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1749
|
+
* @returns {string} A string representing the project.
|
|
1750
|
+
*/
|
|
1751
|
+
matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1752
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
|
|
1753
|
+
}
|
|
1754
|
+
/**
|
|
1755
|
+
* Parse the location from ProjectLocationCollectionEngineServingConfig resource.
|
|
1756
|
+
*
|
|
1757
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1758
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1759
|
+
* @returns {string} A string representing the location.
|
|
1760
|
+
*/
|
|
1761
|
+
matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1762
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
|
|
1763
|
+
}
|
|
1764
|
+
/**
|
|
1765
|
+
* Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
|
|
1766
|
+
*
|
|
1767
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1768
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1769
|
+
* @returns {string} A string representing the collection.
|
|
1770
|
+
*/
|
|
1771
|
+
matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1772
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
|
|
1773
|
+
}
|
|
1774
|
+
/**
|
|
1775
|
+
* Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
|
|
1776
|
+
*
|
|
1777
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1778
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1779
|
+
* @returns {string} A string representing the engine.
|
|
1780
|
+
*/
|
|
1781
|
+
matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1782
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
|
|
1783
|
+
}
|
|
1784
|
+
/**
|
|
1785
|
+
* Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
|
|
1786
|
+
*
|
|
1787
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1788
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1789
|
+
* @returns {string} A string representing the serving_config.
|
|
1790
|
+
*/
|
|
1791
|
+
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1792
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
|
1793
|
+
}
|
|
1417
1794
|
/**
|
|
1418
1795
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
|
1419
1796
|
*
|
|
@@ -1528,6 +1905,87 @@ class DataStoreServiceClient {
|
|
|
1528
1905
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
|
1529
1906
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
|
1530
1907
|
}
|
|
1908
|
+
/**
|
|
1909
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
|
1910
|
+
*
|
|
1911
|
+
* @param {string} project
|
|
1912
|
+
* @param {string} location
|
|
1913
|
+
* @param {string} data_store
|
|
1914
|
+
* @param {string} branch
|
|
1915
|
+
* @param {string} document
|
|
1916
|
+
* @param {string} chunk
|
|
1917
|
+
* @returns {string} Resource name string.
|
|
1918
|
+
*/
|
|
1919
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
|
1920
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
|
1921
|
+
project: project,
|
|
1922
|
+
location: location,
|
|
1923
|
+
data_store: dataStore,
|
|
1924
|
+
branch: branch,
|
|
1925
|
+
document: document,
|
|
1926
|
+
chunk: chunk,
|
|
1927
|
+
});
|
|
1928
|
+
}
|
|
1929
|
+
/**
|
|
1930
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1931
|
+
*
|
|
1932
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1933
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1934
|
+
* @returns {string} A string representing the project.
|
|
1935
|
+
*/
|
|
1936
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1937
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
|
1938
|
+
}
|
|
1939
|
+
/**
|
|
1940
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1941
|
+
*
|
|
1942
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1943
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1944
|
+
* @returns {string} A string representing the location.
|
|
1945
|
+
*/
|
|
1946
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1947
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
|
1948
|
+
}
|
|
1949
|
+
/**
|
|
1950
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1951
|
+
*
|
|
1952
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1953
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1954
|
+
* @returns {string} A string representing the data_store.
|
|
1955
|
+
*/
|
|
1956
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1957
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
|
1958
|
+
}
|
|
1959
|
+
/**
|
|
1960
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1961
|
+
*
|
|
1962
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1963
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1964
|
+
* @returns {string} A string representing the branch.
|
|
1965
|
+
*/
|
|
1966
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1967
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
|
1968
|
+
}
|
|
1969
|
+
/**
|
|
1970
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1971
|
+
*
|
|
1972
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1973
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1974
|
+
* @returns {string} A string representing the document.
|
|
1975
|
+
*/
|
|
1976
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1977
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
|
1978
|
+
}
|
|
1979
|
+
/**
|
|
1980
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1981
|
+
*
|
|
1982
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1983
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1984
|
+
* @returns {string} A string representing the chunk.
|
|
1985
|
+
*/
|
|
1986
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1987
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
|
1988
|
+
}
|
|
1531
1989
|
/**
|
|
1532
1990
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
|
1533
1991
|
*
|
|
@@ -1585,6 +2043,51 @@ class DataStoreServiceClient {
|
|
|
1585
2043
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
|
1586
2044
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
|
1587
2045
|
}
|
|
2046
|
+
/**
|
|
2047
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
|
2048
|
+
*
|
|
2049
|
+
* @param {string} project
|
|
2050
|
+
* @param {string} location
|
|
2051
|
+
* @param {string} data_store
|
|
2052
|
+
* @returns {string} Resource name string.
|
|
2053
|
+
*/
|
|
2054
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
|
2055
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
|
2056
|
+
project: project,
|
|
2057
|
+
location: location,
|
|
2058
|
+
data_store: dataStore,
|
|
2059
|
+
});
|
|
2060
|
+
}
|
|
2061
|
+
/**
|
|
2062
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
2063
|
+
*
|
|
2064
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
2065
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
2066
|
+
* @returns {string} A string representing the project.
|
|
2067
|
+
*/
|
|
2068
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
2069
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
|
2070
|
+
}
|
|
2071
|
+
/**
|
|
2072
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
2073
|
+
*
|
|
2074
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
2075
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
2076
|
+
* @returns {string} A string representing the location.
|
|
2077
|
+
*/
|
|
2078
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
2079
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
|
2080
|
+
}
|
|
2081
|
+
/**
|
|
2082
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
2083
|
+
*
|
|
2084
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
2085
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
2086
|
+
* @returns {string} A string representing the data_store.
|
|
2087
|
+
*/
|
|
2088
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
2089
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
|
2090
|
+
}
|
|
1588
2091
|
/**
|
|
1589
2092
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
|
1590
2093
|
*
|
|
@@ -1642,6 +2145,63 @@ class DataStoreServiceClient {
|
|
|
1642
2145
|
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
|
1643
2146
|
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
|
|
1644
2147
|
}
|
|
2148
|
+
/**
|
|
2149
|
+
* Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
|
|
2150
|
+
*
|
|
2151
|
+
* @param {string} project
|
|
2152
|
+
* @param {string} location
|
|
2153
|
+
* @param {string} data_store
|
|
2154
|
+
* @param {string} serving_config
|
|
2155
|
+
* @returns {string} Resource name string.
|
|
2156
|
+
*/
|
|
2157
|
+
projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
|
|
2158
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
|
|
2159
|
+
project: project,
|
|
2160
|
+
location: location,
|
|
2161
|
+
data_store: dataStore,
|
|
2162
|
+
serving_config: servingConfig,
|
|
2163
|
+
});
|
|
2164
|
+
}
|
|
2165
|
+
/**
|
|
2166
|
+
* Parse the project from ProjectLocationDataStoreServingConfig resource.
|
|
2167
|
+
*
|
|
2168
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
2169
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
2170
|
+
* @returns {string} A string representing the project.
|
|
2171
|
+
*/
|
|
2172
|
+
matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
2173
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
|
|
2174
|
+
}
|
|
2175
|
+
/**
|
|
2176
|
+
* Parse the location from ProjectLocationDataStoreServingConfig resource.
|
|
2177
|
+
*
|
|
2178
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
2179
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
2180
|
+
* @returns {string} A string representing the location.
|
|
2181
|
+
*/
|
|
2182
|
+
matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
2183
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
|
|
2184
|
+
}
|
|
2185
|
+
/**
|
|
2186
|
+
* Parse the data_store from ProjectLocationDataStoreServingConfig resource.
|
|
2187
|
+
*
|
|
2188
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
2189
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
2190
|
+
* @returns {string} A string representing the data_store.
|
|
2191
|
+
*/
|
|
2192
|
+
matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
2193
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
|
|
2194
|
+
}
|
|
2195
|
+
/**
|
|
2196
|
+
* Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
|
|
2197
|
+
*
|
|
2198
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
2199
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
2200
|
+
* @returns {string} A string representing the serving_config.
|
|
2201
|
+
*/
|
|
2202
|
+
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
2203
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
|
2204
|
+
}
|
|
1645
2205
|
/**
|
|
1646
2206
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
|
1647
2207
|
*
|