@google-cloud/discoveryengine 1.10.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/README.md +33 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/evaluation.proto +232 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/evaluation_service.proto +252 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +83 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query.proto +86 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_service.proto +264 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_set.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_set_service.proto +258 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/chunk.proto +119 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +0 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +31 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +29 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +7 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +23 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +10 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +37 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/evaluation.proto +231 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/evaluation_service.proto +252 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +191 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +111 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/sample_query.proto +86 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_service.proto +264 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_set.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_set_service.proto +256 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +370 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +11 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +24 -0
- package/build/protos/protos.d.ts +32735 -21073
- package/build/protos/protos.js +80768 -53241
- package/build/protos/protos.json +5309 -2481
- package/build/src/v1alpha/acl_config_service_client.d.ts +108 -0
- package/build/src/v1alpha/acl_config_service_client.js +157 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +108 -0
- package/build/src/v1alpha/chunk_service_client.js +157 -0
- package/build/src/v1alpha/completion_service_client.d.ts +108 -0
- package/build/src/v1alpha/completion_service_client.js +157 -0
- package/build/src/v1alpha/control_service_client.d.ts +108 -0
- package/build/src/v1alpha/control_service_client.js +157 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +108 -0
- package/build/src/v1alpha/conversational_search_service_client.js +157 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +108 -0
- package/build/src/v1alpha/data_store_service_client.js +157 -0
- package/build/src/v1alpha/document_service_client.d.ts +108 -0
- package/build/src/v1alpha/document_service_client.js +157 -0
- package/build/src/v1alpha/engine_service_client.d.ts +108 -0
- package/build/src/v1alpha/engine_service_client.js +157 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +108 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +157 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +2349 -0
- package/build/src/v1alpha/evaluation_service_client.js +3288 -0
- package/build/src/v1alpha/evaluation_service_client_config.json +58 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +108 -0
- package/build/src/v1alpha/grounded_generation_service_client.js +157 -0
- package/build/src/v1alpha/index.d.ts +3 -0
- package/build/src/v1alpha/index.js +7 -1
- package/build/src/v1alpha/project_service_client.d.ts +108 -0
- package/build/src/v1alpha/project_service_client.js +157 -0
- package/build/src/v1alpha/rank_service_client.d.ts +108 -0
- package/build/src/v1alpha/rank_service_client.js +157 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +108 -0
- package/build/src/v1alpha/recommendation_service_client.js +157 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +2317 -0
- package/build/src/v1alpha/sample_query_service_client.js +3186 -0
- package/build/src/v1alpha/sample_query_service_client_config.json +68 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +2176 -0
- package/build/src/v1alpha/sample_query_set_service_client.js +2931 -0
- package/build/src/v1alpha/sample_query_set_service_client_config.json +63 -0
- package/build/src/v1alpha/schema_service_client.d.ts +108 -0
- package/build/src/v1alpha/schema_service_client.js +157 -0
- package/build/src/v1alpha/search_service_client.d.ts +108 -0
- package/build/src/v1alpha/search_service_client.js +157 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +108 -0
- package/build/src/v1alpha/search_tuning_service_client.js +157 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +108 -0
- package/build/src/v1alpha/serving_config_service_client.js +157 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +108 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +157 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +108 -0
- package/build/src/v1alpha/user_event_service_client.js +157 -0
- package/build/src/v1beta/completion_service_client.d.ts +328 -0
- package/build/src/v1beta/completion_service_client.js +423 -0
- package/build/src/v1beta/completion_service_client_config.json +10 -0
- package/build/src/v1beta/control_service_client.d.ts +237 -0
- package/build/src/v1beta/control_service_client.js +333 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +255 -0
- package/build/src/v1beta/conversational_search_service_client.js +333 -0
- package/build/src/v1beta/data_store_service_client.d.ts +246 -0
- package/build/src/v1beta/data_store_service_client.js +339 -0
- package/build/src/v1beta/document_service_client.d.ts +239 -0
- package/build/src/v1beta/document_service_client.js +339 -0
- package/build/src/v1beta/engine_service_client.d.ts +237 -0
- package/build/src/v1beta/engine_service_client.js +339 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +2325 -0
- package/build/src/v1beta/evaluation_service_client.js +3252 -0
- package/build/src/v1beta/evaluation_service_client_config.json +58 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +237 -0
- package/build/src/v1beta/grounded_generation_service_client.js +333 -0
- package/build/src/v1beta/index.d.ts +3 -0
- package/build/src/v1beta/index.js +7 -1
- package/build/src/v1beta/project_service_client.d.ts +237 -0
- package/build/src/v1beta/project_service_client.js +339 -0
- package/build/src/v1beta/rank_service_client.d.ts +237 -0
- package/build/src/v1beta/rank_service_client.js +333 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +237 -0
- package/build/src/v1beta/recommendation_service_client.js +333 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +2293 -0
- package/build/src/v1beta/sample_query_service_client.js +3150 -0
- package/build/src/v1beta/sample_query_service_client_config.json +68 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +2150 -0
- package/build/src/v1beta/sample_query_set_service_client.js +2895 -0
- package/build/src/v1beta/sample_query_set_service_client_config.json +63 -0
- package/build/src/v1beta/schema_service_client.d.ts +237 -0
- package/build/src/v1beta/schema_service_client.js +339 -0
- package/build/src/v1beta/search_service_client.d.ts +414 -12
- package/build/src/v1beta/search_service_client.js +451 -8
- package/build/src/v1beta/search_tuning_service_client.d.ts +237 -0
- package/build/src/v1beta/search_tuning_service_client.js +339 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
- package/build/src/v1beta/serving_config_service_client.js +333 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +237 -0
- package/build/src/v1beta/site_search_engine_service_client.js +339 -0
- package/build/src/v1beta/user_event_service_client.d.ts +312 -0
- package/build/src/v1beta/user_event_service_client.js +381 -0
- package/build/src/v1beta/user_event_service_client_config.json +5 -0
- package/package.json +1 -1
@@ -152,10 +152,12 @@ class DocumentServiceClient {
|
|
152
152
|
// Create useful helper objects for these.
|
153
153
|
this.pathTemplates = {
|
154
154
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
155
|
+
evaluationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/evaluations/{evaluation}'),
|
155
156
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
156
157
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
157
158
|
projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
|
158
159
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
160
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
159
161
|
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
160
162
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
161
163
|
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
@@ -174,6 +176,7 @@ class DocumentServiceClient {
|
|
174
176
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
175
177
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
176
178
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
179
|
+
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
177
180
|
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
178
181
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
179
182
|
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
@@ -184,6 +187,8 @@ class DocumentServiceClient {
|
|
184
187
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
185
188
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
186
189
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
190
|
+
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
191
|
+
sampleQuerySetPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}'),
|
187
192
|
};
|
188
193
|
// Some of the methods on this service return "paged" results,
|
189
194
|
// (e.g. 50 results at a time, with tokens to get subsequent
|
@@ -250,7 +255,13 @@ class DocumentServiceClient {
|
|
250
255
|
{
|
251
256
|
get: '/v1beta/{name=projects/*/locations/*/dataStores/*/operations/*}',
|
252
257
|
},
|
258
|
+
{
|
259
|
+
get: '/v1beta/{name=projects/*/locations/*/evaluations/*/operations/*}',
|
260
|
+
},
|
253
261
|
{ get: '/v1beta/{name=projects/*/locations/*/operations/*}' },
|
262
|
+
{
|
263
|
+
get: '/v1beta/{name=projects/*/locations/*/sampleQuerySets/*/operations/*}',
|
264
|
+
},
|
254
265
|
{ get: '/v1beta/{name=projects/*/operations/*}' },
|
255
266
|
],
|
256
267
|
},
|
@@ -970,6 +981,54 @@ class DocumentServiceClient {
|
|
970
981
|
matchEngineFromEngineName(engineName) {
|
971
982
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
972
983
|
}
|
984
|
+
/**
|
985
|
+
* Return a fully-qualified evaluation resource name string.
|
986
|
+
*
|
987
|
+
* @param {string} project
|
988
|
+
* @param {string} location
|
989
|
+
* @param {string} evaluation
|
990
|
+
* @returns {string} Resource name string.
|
991
|
+
*/
|
992
|
+
evaluationPath(project, location, evaluation) {
|
993
|
+
return this.pathTemplates.evaluationPathTemplate.render({
|
994
|
+
project: project,
|
995
|
+
location: location,
|
996
|
+
evaluation: evaluation,
|
997
|
+
});
|
998
|
+
}
|
999
|
+
/**
|
1000
|
+
* Parse the project from Evaluation resource.
|
1001
|
+
*
|
1002
|
+
* @param {string} evaluationName
|
1003
|
+
* A fully-qualified path representing Evaluation resource.
|
1004
|
+
* @returns {string} A string representing the project.
|
1005
|
+
*/
|
1006
|
+
matchProjectFromEvaluationName(evaluationName) {
|
1007
|
+
return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
|
1008
|
+
.project;
|
1009
|
+
}
|
1010
|
+
/**
|
1011
|
+
* Parse the location from Evaluation resource.
|
1012
|
+
*
|
1013
|
+
* @param {string} evaluationName
|
1014
|
+
* A fully-qualified path representing Evaluation resource.
|
1015
|
+
* @returns {string} A string representing the location.
|
1016
|
+
*/
|
1017
|
+
matchLocationFromEvaluationName(evaluationName) {
|
1018
|
+
return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
|
1019
|
+
.location;
|
1020
|
+
}
|
1021
|
+
/**
|
1022
|
+
* Parse the evaluation from Evaluation resource.
|
1023
|
+
*
|
1024
|
+
* @param {string} evaluationName
|
1025
|
+
* A fully-qualified path representing Evaluation resource.
|
1026
|
+
* @returns {string} A string representing the evaluation.
|
1027
|
+
*/
|
1028
|
+
matchEvaluationFromEvaluationName(evaluationName) {
|
1029
|
+
return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
|
1030
|
+
.evaluation;
|
1031
|
+
}
|
973
1032
|
/**
|
974
1033
|
* Return a fully-qualified project resource name string.
|
975
1034
|
*
|
@@ -1198,6 +1257,99 @@ class DocumentServiceClient {
|
|
1198
1257
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
1199
1258
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
1200
1259
|
}
|
1260
|
+
/**
|
1261
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
1262
|
+
*
|
1263
|
+
* @param {string} project
|
1264
|
+
* @param {string} location
|
1265
|
+
* @param {string} collection
|
1266
|
+
* @param {string} data_store
|
1267
|
+
* @param {string} branch
|
1268
|
+
* @param {string} document
|
1269
|
+
* @param {string} chunk
|
1270
|
+
* @returns {string} Resource name string.
|
1271
|
+
*/
|
1272
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
1273
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
1274
|
+
project: project,
|
1275
|
+
location: location,
|
1276
|
+
collection: collection,
|
1277
|
+
data_store: dataStore,
|
1278
|
+
branch: branch,
|
1279
|
+
document: document,
|
1280
|
+
chunk: chunk,
|
1281
|
+
});
|
1282
|
+
}
|
1283
|
+
/**
|
1284
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1285
|
+
*
|
1286
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1287
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1288
|
+
* @returns {string} A string representing the project.
|
1289
|
+
*/
|
1290
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1291
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
1292
|
+
}
|
1293
|
+
/**
|
1294
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1295
|
+
*
|
1296
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1297
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1298
|
+
* @returns {string} A string representing the location.
|
1299
|
+
*/
|
1300
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1301
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
1302
|
+
}
|
1303
|
+
/**
|
1304
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1305
|
+
*
|
1306
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1307
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1308
|
+
* @returns {string} A string representing the collection.
|
1309
|
+
*/
|
1310
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1311
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
1312
|
+
}
|
1313
|
+
/**
|
1314
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1315
|
+
*
|
1316
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1317
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1318
|
+
* @returns {string} A string representing the data_store.
|
1319
|
+
*/
|
1320
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1321
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
1322
|
+
}
|
1323
|
+
/**
|
1324
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1325
|
+
*
|
1326
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1327
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1328
|
+
* @returns {string} A string representing the branch.
|
1329
|
+
*/
|
1330
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1331
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
1332
|
+
}
|
1333
|
+
/**
|
1334
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1335
|
+
*
|
1336
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1337
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1338
|
+
* @returns {string} A string representing the document.
|
1339
|
+
*/
|
1340
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1341
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
1342
|
+
}
|
1343
|
+
/**
|
1344
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1345
|
+
*
|
1346
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1347
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1348
|
+
* @returns {string} A string representing the chunk.
|
1349
|
+
*/
|
1350
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1351
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
1352
|
+
}
|
1201
1353
|
/**
|
1202
1354
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1203
1355
|
*
|
@@ -2404,6 +2556,87 @@ class DocumentServiceClient {
|
|
2404
2556
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
2405
2557
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
2406
2558
|
}
|
2559
|
+
/**
|
2560
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
2561
|
+
*
|
2562
|
+
* @param {string} project
|
2563
|
+
* @param {string} location
|
2564
|
+
* @param {string} data_store
|
2565
|
+
* @param {string} branch
|
2566
|
+
* @param {string} document
|
2567
|
+
* @param {string} chunk
|
2568
|
+
* @returns {string} Resource name string.
|
2569
|
+
*/
|
2570
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
2571
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
2572
|
+
project: project,
|
2573
|
+
location: location,
|
2574
|
+
data_store: dataStore,
|
2575
|
+
branch: branch,
|
2576
|
+
document: document,
|
2577
|
+
chunk: chunk,
|
2578
|
+
});
|
2579
|
+
}
|
2580
|
+
/**
|
2581
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2582
|
+
*
|
2583
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2584
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2585
|
+
* @returns {string} A string representing the project.
|
2586
|
+
*/
|
2587
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2588
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
2589
|
+
}
|
2590
|
+
/**
|
2591
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2592
|
+
*
|
2593
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2594
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2595
|
+
* @returns {string} A string representing the location.
|
2596
|
+
*/
|
2597
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2598
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
2599
|
+
}
|
2600
|
+
/**
|
2601
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2602
|
+
*
|
2603
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2604
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2605
|
+
* @returns {string} A string representing the data_store.
|
2606
|
+
*/
|
2607
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2608
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
2609
|
+
}
|
2610
|
+
/**
|
2611
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2612
|
+
*
|
2613
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2614
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2615
|
+
* @returns {string} A string representing the branch.
|
2616
|
+
*/
|
2617
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2618
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
2619
|
+
}
|
2620
|
+
/**
|
2621
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2622
|
+
*
|
2623
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2624
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2625
|
+
* @returns {string} A string representing the document.
|
2626
|
+
*/
|
2627
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2628
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
2629
|
+
}
|
2630
|
+
/**
|
2631
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2632
|
+
*
|
2633
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2634
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2635
|
+
* @returns {string} A string representing the chunk.
|
2636
|
+
*/
|
2637
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2638
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
2639
|
+
}
|
2407
2640
|
/**
|
2408
2641
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2409
2642
|
*
|
@@ -2962,6 +3195,112 @@ class DocumentServiceClient {
|
|
2962
3195
|
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
2963
3196
|
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
|
2964
3197
|
}
|
3198
|
+
/**
|
3199
|
+
* Return a fully-qualified sampleQuery resource name string.
|
3200
|
+
*
|
3201
|
+
* @param {string} project
|
3202
|
+
* @param {string} location
|
3203
|
+
* @param {string} sample_query_set
|
3204
|
+
* @param {string} sample_query
|
3205
|
+
* @returns {string} Resource name string.
|
3206
|
+
*/
|
3207
|
+
sampleQueryPath(project, location, sampleQuerySet, sampleQuery) {
|
3208
|
+
return this.pathTemplates.sampleQueryPathTemplate.render({
|
3209
|
+
project: project,
|
3210
|
+
location: location,
|
3211
|
+
sample_query_set: sampleQuerySet,
|
3212
|
+
sample_query: sampleQuery,
|
3213
|
+
});
|
3214
|
+
}
|
3215
|
+
/**
|
3216
|
+
* Parse the project from SampleQuery resource.
|
3217
|
+
*
|
3218
|
+
* @param {string} sampleQueryName
|
3219
|
+
* A fully-qualified path representing SampleQuery resource.
|
3220
|
+
* @returns {string} A string representing the project.
|
3221
|
+
*/
|
3222
|
+
matchProjectFromSampleQueryName(sampleQueryName) {
|
3223
|
+
return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
|
3224
|
+
.project;
|
3225
|
+
}
|
3226
|
+
/**
|
3227
|
+
* Parse the location from SampleQuery resource.
|
3228
|
+
*
|
3229
|
+
* @param {string} sampleQueryName
|
3230
|
+
* A fully-qualified path representing SampleQuery resource.
|
3231
|
+
* @returns {string} A string representing the location.
|
3232
|
+
*/
|
3233
|
+
matchLocationFromSampleQueryName(sampleQueryName) {
|
3234
|
+
return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
|
3235
|
+
.location;
|
3236
|
+
}
|
3237
|
+
/**
|
3238
|
+
* Parse the sample_query_set from SampleQuery resource.
|
3239
|
+
*
|
3240
|
+
* @param {string} sampleQueryName
|
3241
|
+
* A fully-qualified path representing SampleQuery resource.
|
3242
|
+
* @returns {string} A string representing the sample_query_set.
|
3243
|
+
*/
|
3244
|
+
matchSampleQuerySetFromSampleQueryName(sampleQueryName) {
|
3245
|
+
return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
|
3246
|
+
.sample_query_set;
|
3247
|
+
}
|
3248
|
+
/**
|
3249
|
+
* Parse the sample_query from SampleQuery resource.
|
3250
|
+
*
|
3251
|
+
* @param {string} sampleQueryName
|
3252
|
+
* A fully-qualified path representing SampleQuery resource.
|
3253
|
+
* @returns {string} A string representing the sample_query.
|
3254
|
+
*/
|
3255
|
+
matchSampleQueryFromSampleQueryName(sampleQueryName) {
|
3256
|
+
return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
|
3257
|
+
.sample_query;
|
3258
|
+
}
|
3259
|
+
/**
|
3260
|
+
* Return a fully-qualified sampleQuerySet resource name string.
|
3261
|
+
*
|
3262
|
+
* @param {string} project
|
3263
|
+
* @param {string} location
|
3264
|
+
* @param {string} sample_query_set
|
3265
|
+
* @returns {string} Resource name string.
|
3266
|
+
*/
|
3267
|
+
sampleQuerySetPath(project, location, sampleQuerySet) {
|
3268
|
+
return this.pathTemplates.sampleQuerySetPathTemplate.render({
|
3269
|
+
project: project,
|
3270
|
+
location: location,
|
3271
|
+
sample_query_set: sampleQuerySet,
|
3272
|
+
});
|
3273
|
+
}
|
3274
|
+
/**
|
3275
|
+
* Parse the project from SampleQuerySet resource.
|
3276
|
+
*
|
3277
|
+
* @param {string} sampleQuerySetName
|
3278
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
3279
|
+
* @returns {string} A string representing the project.
|
3280
|
+
*/
|
3281
|
+
matchProjectFromSampleQuerySetName(sampleQuerySetName) {
|
3282
|
+
return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).project;
|
3283
|
+
}
|
3284
|
+
/**
|
3285
|
+
* Parse the location from SampleQuerySet resource.
|
3286
|
+
*
|
3287
|
+
* @param {string} sampleQuerySetName
|
3288
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
3289
|
+
* @returns {string} A string representing the location.
|
3290
|
+
*/
|
3291
|
+
matchLocationFromSampleQuerySetName(sampleQuerySetName) {
|
3292
|
+
return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).location;
|
3293
|
+
}
|
3294
|
+
/**
|
3295
|
+
* Parse the sample_query_set from SampleQuerySet resource.
|
3296
|
+
*
|
3297
|
+
* @param {string} sampleQuerySetName
|
3298
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
3299
|
+
* @returns {string} A string representing the sample_query_set.
|
3300
|
+
*/
|
3301
|
+
matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName) {
|
3302
|
+
return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).sample_query_set;
|
3303
|
+
}
|
2965
3304
|
/**
|
2966
3305
|
* Terminate the gRPC channel and close the client.
|
2967
3306
|
*
|
@@ -706,6 +706,39 @@ export declare class EngineServiceClient {
|
|
706
706
|
* @returns {string} A string representing the engine.
|
707
707
|
*/
|
708
708
|
matchEngineFromEngineName(engineName: string): string | number;
|
709
|
+
/**
|
710
|
+
* Return a fully-qualified evaluation resource name string.
|
711
|
+
*
|
712
|
+
* @param {string} project
|
713
|
+
* @param {string} location
|
714
|
+
* @param {string} evaluation
|
715
|
+
* @returns {string} Resource name string.
|
716
|
+
*/
|
717
|
+
evaluationPath(project: string, location: string, evaluation: string): string;
|
718
|
+
/**
|
719
|
+
* Parse the project from Evaluation resource.
|
720
|
+
*
|
721
|
+
* @param {string} evaluationName
|
722
|
+
* A fully-qualified path representing Evaluation resource.
|
723
|
+
* @returns {string} A string representing the project.
|
724
|
+
*/
|
725
|
+
matchProjectFromEvaluationName(evaluationName: string): string | number;
|
726
|
+
/**
|
727
|
+
* Parse the location from Evaluation resource.
|
728
|
+
*
|
729
|
+
* @param {string} evaluationName
|
730
|
+
* A fully-qualified path representing Evaluation resource.
|
731
|
+
* @returns {string} A string representing the location.
|
732
|
+
*/
|
733
|
+
matchLocationFromEvaluationName(evaluationName: string): string | number;
|
734
|
+
/**
|
735
|
+
* Parse the evaluation from Evaluation resource.
|
736
|
+
*
|
737
|
+
* @param {string} evaluationName
|
738
|
+
* A fully-qualified path representing Evaluation resource.
|
739
|
+
* @returns {string} A string representing the evaluation.
|
740
|
+
*/
|
741
|
+
matchEvaluationFromEvaluationName(evaluationName: string): string | number;
|
709
742
|
/**
|
710
743
|
* Return a fully-qualified project resource name string.
|
711
744
|
*
|
@@ -823,6 +856,75 @@ export declare class EngineServiceClient {
|
|
823
856
|
* @returns {string} A string representing the document.
|
824
857
|
*/
|
825
858
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
|
859
|
+
/**
|
860
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
861
|
+
*
|
862
|
+
* @param {string} project
|
863
|
+
* @param {string} location
|
864
|
+
* @param {string} collection
|
865
|
+
* @param {string} data_store
|
866
|
+
* @param {string} branch
|
867
|
+
* @param {string} document
|
868
|
+
* @param {string} chunk
|
869
|
+
* @returns {string} Resource name string.
|
870
|
+
*/
|
871
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
|
872
|
+
/**
|
873
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
874
|
+
*
|
875
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
876
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
877
|
+
* @returns {string} A string representing the project.
|
878
|
+
*/
|
879
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
880
|
+
/**
|
881
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
882
|
+
*
|
883
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
884
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
885
|
+
* @returns {string} A string representing the location.
|
886
|
+
*/
|
887
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
888
|
+
/**
|
889
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
890
|
+
*
|
891
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
892
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
893
|
+
* @returns {string} A string representing the collection.
|
894
|
+
*/
|
895
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
896
|
+
/**
|
897
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
898
|
+
*
|
899
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
900
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
901
|
+
* @returns {string} A string representing the data_store.
|
902
|
+
*/
|
903
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
904
|
+
/**
|
905
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
906
|
+
*
|
907
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
908
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
909
|
+
* @returns {string} A string representing the branch.
|
910
|
+
*/
|
911
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
912
|
+
/**
|
913
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
914
|
+
*
|
915
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
916
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
917
|
+
* @returns {string} A string representing the document.
|
918
|
+
*/
|
919
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
920
|
+
/**
|
921
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
922
|
+
*
|
923
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
924
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
925
|
+
* @returns {string} A string representing the chunk.
|
926
|
+
*/
|
927
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
826
928
|
/**
|
827
929
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
828
930
|
*
|
@@ -1672,6 +1774,66 @@ export declare class EngineServiceClient {
|
|
1672
1774
|
* @returns {string} A string representing the document.
|
1673
1775
|
*/
|
1674
1776
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
|
1777
|
+
/**
|
1778
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
1779
|
+
*
|
1780
|
+
* @param {string} project
|
1781
|
+
* @param {string} location
|
1782
|
+
* @param {string} data_store
|
1783
|
+
* @param {string} branch
|
1784
|
+
* @param {string} document
|
1785
|
+
* @param {string} chunk
|
1786
|
+
* @returns {string} Resource name string.
|
1787
|
+
*/
|
1788
|
+
projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
|
1789
|
+
/**
|
1790
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1791
|
+
*
|
1792
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1793
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1794
|
+
* @returns {string} A string representing the project.
|
1795
|
+
*/
|
1796
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1797
|
+
/**
|
1798
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1799
|
+
*
|
1800
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1801
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1802
|
+
* @returns {string} A string representing the location.
|
1803
|
+
*/
|
1804
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1805
|
+
/**
|
1806
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1807
|
+
*
|
1808
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1809
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1810
|
+
* @returns {string} A string representing the data_store.
|
1811
|
+
*/
|
1812
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1813
|
+
/**
|
1814
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1815
|
+
*
|
1816
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1817
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1818
|
+
* @returns {string} A string representing the branch.
|
1819
|
+
*/
|
1820
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1821
|
+
/**
|
1822
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1823
|
+
*
|
1824
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1825
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1826
|
+
* @returns {string} A string representing the document.
|
1827
|
+
*/
|
1828
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1829
|
+
/**
|
1830
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1831
|
+
*
|
1832
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1833
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1834
|
+
* @returns {string} A string representing the chunk.
|
1835
|
+
*/
|
1836
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1675
1837
|
/**
|
1676
1838
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1677
1839
|
*
|
@@ -2083,6 +2245,81 @@ export declare class EngineServiceClient {
|
|
2083
2245
|
* @returns {string} A string representing the target_site.
|
2084
2246
|
*/
|
2085
2247
|
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
2248
|
+
/**
|
2249
|
+
* Return a fully-qualified sampleQuery resource name string.
|
2250
|
+
*
|
2251
|
+
* @param {string} project
|
2252
|
+
* @param {string} location
|
2253
|
+
* @param {string} sample_query_set
|
2254
|
+
* @param {string} sample_query
|
2255
|
+
* @returns {string} Resource name string.
|
2256
|
+
*/
|
2257
|
+
sampleQueryPath(project: string, location: string, sampleQuerySet: string, sampleQuery: string): string;
|
2258
|
+
/**
|
2259
|
+
* Parse the project from SampleQuery resource.
|
2260
|
+
*
|
2261
|
+
* @param {string} sampleQueryName
|
2262
|
+
* A fully-qualified path representing SampleQuery resource.
|
2263
|
+
* @returns {string} A string representing the project.
|
2264
|
+
*/
|
2265
|
+
matchProjectFromSampleQueryName(sampleQueryName: string): string | number;
|
2266
|
+
/**
|
2267
|
+
* Parse the location from SampleQuery resource.
|
2268
|
+
*
|
2269
|
+
* @param {string} sampleQueryName
|
2270
|
+
* A fully-qualified path representing SampleQuery resource.
|
2271
|
+
* @returns {string} A string representing the location.
|
2272
|
+
*/
|
2273
|
+
matchLocationFromSampleQueryName(sampleQueryName: string): string | number;
|
2274
|
+
/**
|
2275
|
+
* Parse the sample_query_set from SampleQuery resource.
|
2276
|
+
*
|
2277
|
+
* @param {string} sampleQueryName
|
2278
|
+
* A fully-qualified path representing SampleQuery resource.
|
2279
|
+
* @returns {string} A string representing the sample_query_set.
|
2280
|
+
*/
|
2281
|
+
matchSampleQuerySetFromSampleQueryName(sampleQueryName: string): string | number;
|
2282
|
+
/**
|
2283
|
+
* Parse the sample_query from SampleQuery resource.
|
2284
|
+
*
|
2285
|
+
* @param {string} sampleQueryName
|
2286
|
+
* A fully-qualified path representing SampleQuery resource.
|
2287
|
+
* @returns {string} A string representing the sample_query.
|
2288
|
+
*/
|
2289
|
+
matchSampleQueryFromSampleQueryName(sampleQueryName: string): string | number;
|
2290
|
+
/**
|
2291
|
+
* Return a fully-qualified sampleQuerySet resource name string.
|
2292
|
+
*
|
2293
|
+
* @param {string} project
|
2294
|
+
* @param {string} location
|
2295
|
+
* @param {string} sample_query_set
|
2296
|
+
* @returns {string} Resource name string.
|
2297
|
+
*/
|
2298
|
+
sampleQuerySetPath(project: string, location: string, sampleQuerySet: string): string;
|
2299
|
+
/**
|
2300
|
+
* Parse the project from SampleQuerySet resource.
|
2301
|
+
*
|
2302
|
+
* @param {string} sampleQuerySetName
|
2303
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
2304
|
+
* @returns {string} A string representing the project.
|
2305
|
+
*/
|
2306
|
+
matchProjectFromSampleQuerySetName(sampleQuerySetName: string): string | number;
|
2307
|
+
/**
|
2308
|
+
* Parse the location from SampleQuerySet resource.
|
2309
|
+
*
|
2310
|
+
* @param {string} sampleQuerySetName
|
2311
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
2312
|
+
* @returns {string} A string representing the location.
|
2313
|
+
*/
|
2314
|
+
matchLocationFromSampleQuerySetName(sampleQuerySetName: string): string | number;
|
2315
|
+
/**
|
2316
|
+
* Parse the sample_query_set from SampleQuerySet resource.
|
2317
|
+
*
|
2318
|
+
* @param {string} sampleQuerySetName
|
2319
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
2320
|
+
* @returns {string} A string representing the sample_query_set.
|
2321
|
+
*/
|
2322
|
+
matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName: string): string | number;
|
2086
2323
|
/**
|
2087
2324
|
* Terminate the gRPC channel and close the client.
|
2088
2325
|
*
|