@google-cloud/discoveryengine 1.2.0 → 1.3.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 +14 -0
- package/README.md +25 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +38 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +39 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +307 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +370 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +336 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +123 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +147 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +164 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +540 -0
- package/build/protos/protos.d.ts +10923 -3222
- package/build/protos/protos.js +29891 -12914
- package/build/protos/protos.json +2367 -668
- package/build/src/index.js +1 -1
- package/build/src/v1/completion_service_client.js +1 -1
- package/build/src/v1/conversational_search_service_client.js +1 -1
- package/build/src/v1/document_service_client.js +1 -1
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/schema_service_client.js +1 -1
- package/build/src/v1/search_service_client.js +1 -1
- package/build/src/v1/user_event_service_client.js +1 -1
- package/build/src/v1alpha/completion_service_client.d.ts +261 -0
- package/build/src/v1alpha/completion_service_client.js +360 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +278 -0
- package/build/src/v1alpha/conversational_search_service_client.js +360 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +1279 -0
- package/build/src/v1alpha/data_store_service_client.js +1739 -0
- package/build/src/v1alpha/data_store_service_client_config.json +46 -0
- package/build/src/v1alpha/document_service_client.d.ts +336 -0
- package/build/src/v1alpha/document_service_client.js +472 -2
- package/build/src/v1alpha/engine_service_client.d.ts +1298 -0
- package/build/src/v1alpha/engine_service_client.js +1789 -0
- package/build/src/v1alpha/engine_service_client_config.json +58 -0
- package/build/src/v1alpha/index.d.ts +3 -0
- package/build/src/v1alpha/index.js +7 -1
- package/build/src/v1alpha/recommendation_service_client.d.ts +345 -3
- package/build/src/v1alpha/recommendation_service_client.js +464 -0
- package/build/src/v1alpha/schema_service_client.d.ts +261 -0
- package/build/src/v1alpha/schema_service_client.js +368 -2
- package/build/src/v1alpha/search_service_client.d.ts +453 -9
- package/build/src/v1alpha/search_service_client.js +542 -6
- package/build/src/v1alpha/search_tuning_service_client.d.ts +968 -0
- package/build/src/v1alpha/search_tuning_service_client.js +1452 -0
- package/build/src/v1alpha/search_tuning_service_client_config.json +30 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +856 -1
- package/build/src/v1alpha/site_search_engine_service_client.js +993 -34
- package/build/src/v1alpha/site_search_engine_service_client_config.json +44 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +261 -0
- package/build/src/v1alpha/user_event_service_client.js +368 -2
- package/build/src/v1beta/completion_service_client.js +1 -1
- package/build/src/v1beta/conversational_search_service_client.js +1 -1
- package/build/src/v1beta/document_service_client.js +1 -1
- package/build/src/v1beta/index.js +1 -1
- package/build/src/v1beta/recommendation_service_client.js +1 -1
- package/build/src/v1beta/schema_service_client.js +1 -1
- package/build/src/v1beta/search_service_client.js +1 -1
- package/build/src/v1beta/user_event_service_client.js +1 -1
- package/package.json +4 -4
|
@@ -140,14 +140,22 @@ class DocumentServiceClient {
|
|
|
140
140
|
// identifiers to uniquely identify resources within the API.
|
|
141
141
|
// Create useful helper objects for these.
|
|
142
142
|
this.pathTemplates = {
|
|
143
|
+
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
|
144
|
+
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
|
143
145
|
projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
|
|
144
146
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
145
147
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
|
146
148
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
|
149
|
+
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
|
150
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
|
151
|
+
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
|
152
|
+
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
|
147
153
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
|
148
154
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
149
155
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
|
150
156
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
|
157
|
+
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
|
158
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
|
151
159
|
};
|
|
152
160
|
// Some of the methods on this service return "paged" results,
|
|
153
161
|
// (e.g. 50 results at a time, with tokens to get subsequent
|
|
@@ -168,8 +176,11 @@ class DocumentServiceClient {
|
|
|
168
176
|
lroOptions.httpRules = [
|
|
169
177
|
{
|
|
170
178
|
selector: 'google.longrunning.Operations.GetOperation',
|
|
171
|
-
get: '/v1alpha/{name=projects/*/locations/*/collections/*/
|
|
179
|
+
get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
|
|
172
180
|
additional_bindings: [
|
|
181
|
+
{
|
|
182
|
+
get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}',
|
|
183
|
+
},
|
|
173
184
|
{
|
|
174
185
|
get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}',
|
|
175
186
|
},
|
|
@@ -206,8 +217,11 @@ class DocumentServiceClient {
|
|
|
206
217
|
},
|
|
207
218
|
{
|
|
208
219
|
selector: 'google.longrunning.Operations.ListOperations',
|
|
209
|
-
get: '/v1alpha/{name=projects/*/locations/*/collections/*/
|
|
220
|
+
get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector}/operations',
|
|
210
221
|
additional_bindings: [
|
|
222
|
+
{
|
|
223
|
+
get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations',
|
|
224
|
+
},
|
|
211
225
|
{
|
|
212
226
|
get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations',
|
|
213
227
|
},
|
|
@@ -843,6 +857,120 @@ class DocumentServiceClient {
|
|
|
843
857
|
// --------------------
|
|
844
858
|
// -- Path templates --
|
|
845
859
|
// --------------------
|
|
860
|
+
/**
|
|
861
|
+
* Return a fully-qualified engine resource name string.
|
|
862
|
+
*
|
|
863
|
+
* @param {string} project
|
|
864
|
+
* @param {string} location
|
|
865
|
+
* @param {string} collection
|
|
866
|
+
* @param {string} engine
|
|
867
|
+
* @returns {string} Resource name string.
|
|
868
|
+
*/
|
|
869
|
+
enginePath(project, location, collection, engine) {
|
|
870
|
+
return this.pathTemplates.enginePathTemplate.render({
|
|
871
|
+
project: project,
|
|
872
|
+
location: location,
|
|
873
|
+
collection: collection,
|
|
874
|
+
engine: engine,
|
|
875
|
+
});
|
|
876
|
+
}
|
|
877
|
+
/**
|
|
878
|
+
* Parse the project from Engine resource.
|
|
879
|
+
*
|
|
880
|
+
* @param {string} engineName
|
|
881
|
+
* A fully-qualified path representing Engine resource.
|
|
882
|
+
* @returns {string} A string representing the project.
|
|
883
|
+
*/
|
|
884
|
+
matchProjectFromEngineName(engineName) {
|
|
885
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).project;
|
|
886
|
+
}
|
|
887
|
+
/**
|
|
888
|
+
* Parse the location from Engine resource.
|
|
889
|
+
*
|
|
890
|
+
* @param {string} engineName
|
|
891
|
+
* A fully-qualified path representing Engine resource.
|
|
892
|
+
* @returns {string} A string representing the location.
|
|
893
|
+
*/
|
|
894
|
+
matchLocationFromEngineName(engineName) {
|
|
895
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).location;
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* Parse the collection from Engine resource.
|
|
899
|
+
*
|
|
900
|
+
* @param {string} engineName
|
|
901
|
+
* A fully-qualified path representing Engine resource.
|
|
902
|
+
* @returns {string} A string representing the collection.
|
|
903
|
+
*/
|
|
904
|
+
matchCollectionFromEngineName(engineName) {
|
|
905
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).collection;
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* Parse the engine from Engine resource.
|
|
909
|
+
*
|
|
910
|
+
* @param {string} engineName
|
|
911
|
+
* A fully-qualified path representing Engine resource.
|
|
912
|
+
* @returns {string} A string representing the engine.
|
|
913
|
+
*/
|
|
914
|
+
matchEngineFromEngineName(engineName) {
|
|
915
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
|
916
|
+
}
|
|
917
|
+
/**
|
|
918
|
+
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
|
919
|
+
*
|
|
920
|
+
* @param {string} project
|
|
921
|
+
* @param {string} location
|
|
922
|
+
* @param {string} collection
|
|
923
|
+
* @param {string} data_store
|
|
924
|
+
* @returns {string} Resource name string.
|
|
925
|
+
*/
|
|
926
|
+
projectLocationCollectionDataStorePath(project, location, collection, dataStore) {
|
|
927
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.render({
|
|
928
|
+
project: project,
|
|
929
|
+
location: location,
|
|
930
|
+
collection: collection,
|
|
931
|
+
data_store: dataStore,
|
|
932
|
+
});
|
|
933
|
+
}
|
|
934
|
+
/**
|
|
935
|
+
* Parse the project from ProjectLocationCollectionDataStore resource.
|
|
936
|
+
*
|
|
937
|
+
* @param {string} projectLocationCollectionDataStoreName
|
|
938
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
|
939
|
+
* @returns {string} A string representing the project.
|
|
940
|
+
*/
|
|
941
|
+
matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
|
942
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).project;
|
|
943
|
+
}
|
|
944
|
+
/**
|
|
945
|
+
* Parse the location from ProjectLocationCollectionDataStore resource.
|
|
946
|
+
*
|
|
947
|
+
* @param {string} projectLocationCollectionDataStoreName
|
|
948
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
|
949
|
+
* @returns {string} A string representing the location.
|
|
950
|
+
*/
|
|
951
|
+
matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
|
952
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).location;
|
|
953
|
+
}
|
|
954
|
+
/**
|
|
955
|
+
* Parse the collection from ProjectLocationCollectionDataStore resource.
|
|
956
|
+
*
|
|
957
|
+
* @param {string} projectLocationCollectionDataStoreName
|
|
958
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
|
959
|
+
* @returns {string} A string representing the collection.
|
|
960
|
+
*/
|
|
961
|
+
matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
|
962
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).collection;
|
|
963
|
+
}
|
|
964
|
+
/**
|
|
965
|
+
* Parse the data_store from ProjectLocationCollectionDataStore resource.
|
|
966
|
+
*
|
|
967
|
+
* @param {string} projectLocationCollectionDataStoreName
|
|
968
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
|
969
|
+
* @returns {string} A string representing the data_store.
|
|
970
|
+
*/
|
|
971
|
+
matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
|
972
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).data_store;
|
|
973
|
+
}
|
|
846
974
|
/**
|
|
847
975
|
* Return a fully-qualified projectLocationCollectionDataStoreBranch resource name string.
|
|
848
976
|
*
|
|
@@ -1131,6 +1259,246 @@ class DocumentServiceClient {
|
|
|
1131
1259
|
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
|
1132
1260
|
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
|
|
1133
1261
|
}
|
|
1262
|
+
/**
|
|
1263
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
|
1264
|
+
*
|
|
1265
|
+
* @param {string} project
|
|
1266
|
+
* @param {string} location
|
|
1267
|
+
* @param {string} collection
|
|
1268
|
+
* @param {string} data_store
|
|
1269
|
+
* @returns {string} Resource name string.
|
|
1270
|
+
*/
|
|
1271
|
+
projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
|
|
1272
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
|
|
1273
|
+
project: project,
|
|
1274
|
+
location: location,
|
|
1275
|
+
collection: collection,
|
|
1276
|
+
data_store: dataStore,
|
|
1277
|
+
});
|
|
1278
|
+
}
|
|
1279
|
+
/**
|
|
1280
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
|
1281
|
+
*
|
|
1282
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
|
1283
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
|
1284
|
+
* @returns {string} A string representing the project.
|
|
1285
|
+
*/
|
|
1286
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
|
1287
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
|
|
1288
|
+
}
|
|
1289
|
+
/**
|
|
1290
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
|
1291
|
+
*
|
|
1292
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
|
1293
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
|
1294
|
+
* @returns {string} A string representing the location.
|
|
1295
|
+
*/
|
|
1296
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
|
1297
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
|
|
1298
|
+
}
|
|
1299
|
+
/**
|
|
1300
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
|
1301
|
+
*
|
|
1302
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
|
1303
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
|
1304
|
+
* @returns {string} A string representing the collection.
|
|
1305
|
+
*/
|
|
1306
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
|
1307
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
|
|
1308
|
+
}
|
|
1309
|
+
/**
|
|
1310
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
|
1311
|
+
*
|
|
1312
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
|
1313
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
|
1314
|
+
* @returns {string} A string representing the data_store.
|
|
1315
|
+
*/
|
|
1316
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
|
1317
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
|
|
1318
|
+
}
|
|
1319
|
+
/**
|
|
1320
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
|
1321
|
+
*
|
|
1322
|
+
* @param {string} project
|
|
1323
|
+
* @param {string} location
|
|
1324
|
+
* @param {string} collection
|
|
1325
|
+
* @param {string} data_store
|
|
1326
|
+
* @param {string} target_site
|
|
1327
|
+
* @returns {string} Resource name string.
|
|
1328
|
+
*/
|
|
1329
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
|
|
1330
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
|
1331
|
+
project: project,
|
|
1332
|
+
location: location,
|
|
1333
|
+
collection: collection,
|
|
1334
|
+
data_store: dataStore,
|
|
1335
|
+
target_site: targetSite,
|
|
1336
|
+
});
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1340
|
+
*
|
|
1341
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1342
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1343
|
+
* @returns {string} A string representing the project.
|
|
1344
|
+
*/
|
|
1345
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1346
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
|
|
1347
|
+
}
|
|
1348
|
+
/**
|
|
1349
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1350
|
+
*
|
|
1351
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1352
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1353
|
+
* @returns {string} A string representing the location.
|
|
1354
|
+
*/
|
|
1355
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1356
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
|
|
1357
|
+
}
|
|
1358
|
+
/**
|
|
1359
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1360
|
+
*
|
|
1361
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1362
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1363
|
+
* @returns {string} A string representing the collection.
|
|
1364
|
+
*/
|
|
1365
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1366
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
|
|
1367
|
+
}
|
|
1368
|
+
/**
|
|
1369
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1370
|
+
*
|
|
1371
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1372
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1373
|
+
* @returns {string} A string representing the data_store.
|
|
1374
|
+
*/
|
|
1375
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1376
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
|
|
1377
|
+
}
|
|
1378
|
+
/**
|
|
1379
|
+
* Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1380
|
+
*
|
|
1381
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1382
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1383
|
+
* @returns {string} A string representing the target_site.
|
|
1384
|
+
*/
|
|
1385
|
+
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1386
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
|
1387
|
+
}
|
|
1388
|
+
/**
|
|
1389
|
+
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
|
1390
|
+
*
|
|
1391
|
+
* @param {string} project
|
|
1392
|
+
* @param {string} location
|
|
1393
|
+
* @param {string} collection
|
|
1394
|
+
* @param {string} engine
|
|
1395
|
+
* @param {string} conversation
|
|
1396
|
+
* @returns {string} Resource name string.
|
|
1397
|
+
*/
|
|
1398
|
+
projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
|
|
1399
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
|
|
1400
|
+
project: project,
|
|
1401
|
+
location: location,
|
|
1402
|
+
collection: collection,
|
|
1403
|
+
engine: engine,
|
|
1404
|
+
conversation: conversation,
|
|
1405
|
+
});
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* Parse the project from ProjectLocationCollectionEngineConversation resource.
|
|
1409
|
+
*
|
|
1410
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1411
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1412
|
+
* @returns {string} A string representing the project.
|
|
1413
|
+
*/
|
|
1414
|
+
matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1415
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
|
|
1416
|
+
}
|
|
1417
|
+
/**
|
|
1418
|
+
* Parse the location from ProjectLocationCollectionEngineConversation resource.
|
|
1419
|
+
*
|
|
1420
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1421
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1422
|
+
* @returns {string} A string representing the location.
|
|
1423
|
+
*/
|
|
1424
|
+
matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1425
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
|
|
1426
|
+
}
|
|
1427
|
+
/**
|
|
1428
|
+
* Parse the collection from ProjectLocationCollectionEngineConversation resource.
|
|
1429
|
+
*
|
|
1430
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1431
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1432
|
+
* @returns {string} A string representing the collection.
|
|
1433
|
+
*/
|
|
1434
|
+
matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1435
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
|
|
1436
|
+
}
|
|
1437
|
+
/**
|
|
1438
|
+
* Parse the engine from ProjectLocationCollectionEngineConversation resource.
|
|
1439
|
+
*
|
|
1440
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1441
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1442
|
+
* @returns {string} A string representing the engine.
|
|
1443
|
+
*/
|
|
1444
|
+
matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1445
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
|
|
1446
|
+
}
|
|
1447
|
+
/**
|
|
1448
|
+
* Parse the conversation from ProjectLocationCollectionEngineConversation resource.
|
|
1449
|
+
*
|
|
1450
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1451
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1452
|
+
* @returns {string} A string representing the conversation.
|
|
1453
|
+
*/
|
|
1454
|
+
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1455
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
|
1456
|
+
}
|
|
1457
|
+
/**
|
|
1458
|
+
* Return a fully-qualified projectLocationDataStore resource name string.
|
|
1459
|
+
*
|
|
1460
|
+
* @param {string} project
|
|
1461
|
+
* @param {string} location
|
|
1462
|
+
* @param {string} data_store
|
|
1463
|
+
* @returns {string} Resource name string.
|
|
1464
|
+
*/
|
|
1465
|
+
projectLocationDataStorePath(project, location, dataStore) {
|
|
1466
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.render({
|
|
1467
|
+
project: project,
|
|
1468
|
+
location: location,
|
|
1469
|
+
data_store: dataStore,
|
|
1470
|
+
});
|
|
1471
|
+
}
|
|
1472
|
+
/**
|
|
1473
|
+
* Parse the project from ProjectLocationDataStore resource.
|
|
1474
|
+
*
|
|
1475
|
+
* @param {string} projectLocationDataStoreName
|
|
1476
|
+
* A fully-qualified path representing project_location_data_store resource.
|
|
1477
|
+
* @returns {string} A string representing the project.
|
|
1478
|
+
*/
|
|
1479
|
+
matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
|
1480
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).project;
|
|
1481
|
+
}
|
|
1482
|
+
/**
|
|
1483
|
+
* Parse the location from ProjectLocationDataStore resource.
|
|
1484
|
+
*
|
|
1485
|
+
* @param {string} projectLocationDataStoreName
|
|
1486
|
+
* A fully-qualified path representing project_location_data_store resource.
|
|
1487
|
+
* @returns {string} A string representing the location.
|
|
1488
|
+
*/
|
|
1489
|
+
matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
|
1490
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).location;
|
|
1491
|
+
}
|
|
1492
|
+
/**
|
|
1493
|
+
* Parse the data_store from ProjectLocationDataStore resource.
|
|
1494
|
+
*
|
|
1495
|
+
* @param {string} projectLocationDataStoreName
|
|
1496
|
+
* A fully-qualified path representing project_location_data_store resource.
|
|
1497
|
+
* @returns {string} A string representing the data_store.
|
|
1498
|
+
*/
|
|
1499
|
+
matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
|
1500
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).data_store;
|
|
1501
|
+
}
|
|
1134
1502
|
/**
|
|
1135
1503
|
* Return a fully-qualified projectLocationDataStoreBranch resource name string.
|
|
1136
1504
|
*
|
|
@@ -1371,6 +1739,108 @@ class DocumentServiceClient {
|
|
|
1371
1739
|
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
|
1372
1740
|
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
|
|
1373
1741
|
}
|
|
1742
|
+
/**
|
|
1743
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
|
1744
|
+
*
|
|
1745
|
+
* @param {string} project
|
|
1746
|
+
* @param {string} location
|
|
1747
|
+
* @param {string} data_store
|
|
1748
|
+
* @returns {string} Resource name string.
|
|
1749
|
+
*/
|
|
1750
|
+
projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
|
|
1751
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
|
|
1752
|
+
project: project,
|
|
1753
|
+
location: location,
|
|
1754
|
+
data_store: dataStore,
|
|
1755
|
+
});
|
|
1756
|
+
}
|
|
1757
|
+
/**
|
|
1758
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
|
|
1759
|
+
*
|
|
1760
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
|
1761
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
|
1762
|
+
* @returns {string} A string representing the project.
|
|
1763
|
+
*/
|
|
1764
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
|
1765
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
|
|
1766
|
+
}
|
|
1767
|
+
/**
|
|
1768
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
|
|
1769
|
+
*
|
|
1770
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
|
1771
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
|
1772
|
+
* @returns {string} A string representing the location.
|
|
1773
|
+
*/
|
|
1774
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
|
1775
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
|
|
1776
|
+
}
|
|
1777
|
+
/**
|
|
1778
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
|
|
1779
|
+
*
|
|
1780
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
|
1781
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
|
1782
|
+
* @returns {string} A string representing the data_store.
|
|
1783
|
+
*/
|
|
1784
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
|
1785
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
|
|
1786
|
+
}
|
|
1787
|
+
/**
|
|
1788
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
|
1789
|
+
*
|
|
1790
|
+
* @param {string} project
|
|
1791
|
+
* @param {string} location
|
|
1792
|
+
* @param {string} data_store
|
|
1793
|
+
* @param {string} target_site
|
|
1794
|
+
* @returns {string} Resource name string.
|
|
1795
|
+
*/
|
|
1796
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
|
|
1797
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
|
1798
|
+
project: project,
|
|
1799
|
+
location: location,
|
|
1800
|
+
data_store: dataStore,
|
|
1801
|
+
target_site: targetSite,
|
|
1802
|
+
});
|
|
1803
|
+
}
|
|
1804
|
+
/**
|
|
1805
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
|
1806
|
+
*
|
|
1807
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
|
1808
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
|
1809
|
+
* @returns {string} A string representing the project.
|
|
1810
|
+
*/
|
|
1811
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
|
1812
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
|
|
1813
|
+
}
|
|
1814
|
+
/**
|
|
1815
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
|
1816
|
+
*
|
|
1817
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
|
1818
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
|
1819
|
+
* @returns {string} A string representing the location.
|
|
1820
|
+
*/
|
|
1821
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
|
1822
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
|
|
1823
|
+
}
|
|
1824
|
+
/**
|
|
1825
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
|
1826
|
+
*
|
|
1827
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
|
1828
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
|
1829
|
+
* @returns {string} A string representing the data_store.
|
|
1830
|
+
*/
|
|
1831
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
|
1832
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
|
|
1833
|
+
}
|
|
1834
|
+
/**
|
|
1835
|
+
* Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
|
1836
|
+
*
|
|
1837
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
|
1838
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
|
1839
|
+
* @returns {string} A string representing the target_site.
|
|
1840
|
+
*/
|
|
1841
|
+
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
|
1842
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
|
|
1843
|
+
}
|
|
1374
1844
|
/**
|
|
1375
1845
|
* Terminate the gRPC channel and close the client.
|
|
1376
1846
|
*
|