@google-cloud/discoveryengine 1.4.0 → 1.5.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 +14 -0
- package/README.md +15 -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 +106 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +97 -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 +102 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +70 -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 +376 -21
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +115 -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 +221 -30
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +27 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +148 -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 +18160 -8292
- package/build/protos/protos.js +50325 -25400
- package/build/protos/protos.json +4864 -2447
- package/build/src/v1/completion_service_client.js +10 -7
- package/build/src/v1/conversational_search_service_client.js +10 -7
- package/build/src/v1/data_store_service_client.js +10 -7
- package/build/src/v1/document_service_client.js +10 -7
- package/build/src/v1/engine_service_client.js +10 -7
- package/build/src/v1/schema_service_client.js +10 -7
- package/build/src/v1/search_service_client.js +10 -7
- package/build/src/v1/site_search_engine_service_client.js +10 -7
- package/build/src/v1/user_event_service_client.js +10 -7
- package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
- package/build/src/v1alpha/acl_config_service_client.js +1768 -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 +1889 -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 +844 -9
- 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 +326 -7
- package/build/src/v1alpha/data_store_service_client.d.ts +451 -3
- package/build/src/v1alpha/data_store_service_client.js +575 -9
- package/build/src/v1alpha/data_store_service_client_config.json +8 -0
- package/build/src/v1alpha/document_service_client.d.ts +462 -21
- package/build/src/v1alpha/document_service_client.js +549 -7
- package/build/src/v1alpha/document_service_client_config.json +5 -0
- package/build/src/v1alpha/engine_service_client.d.ts +375 -2
- package/build/src/v1alpha/engine_service_client.js +527 -7
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +2034 -0
- package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
- package/build/src/v1alpha/index.d.ts +5 -0
- package/build/src/v1alpha/index.js +11 -1
- package/build/src/v1alpha/rank_service_client.d.ts +1254 -0
- package/build/src/v1alpha/rank_service_client.js +1796 -0
- package/build/src/v1alpha/rank_service_client_config.json +30 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +231 -1
- package/build/src/v1alpha/recommendation_service_client.js +326 -7
- package/build/src/v1alpha/schema_service_client.d.ts +372 -0
- package/build/src/v1alpha/schema_service_client.js +527 -7
- package/build/src/v1alpha/search_service_client.d.ts +288 -30
- package/build/src/v1alpha/search_service_client.js +366 -27
- package/build/src/v1alpha/search_tuning_service_client.d.ts +373 -1
- package/build/src/v1alpha/search_tuning_service_client.js +527 -7
- package/build/src/v1alpha/serving_config_service_client.d.ts +1370 -0
- package/build/src/v1alpha/serving_config_service_client.js +1939 -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 +527 -7
- package/build/src/v1alpha/user_event_service_client.d.ts +372 -0
- package/build/src/v1alpha/user_event_service_client.js +527 -7
- package/build/src/v1beta/completion_service_client.d.ts +75 -0
- package/build/src/v1beta/completion_service_client.js +114 -7
- package/build/src/v1beta/conversational_search_service_client.d.ts +79 -0
- package/build/src/v1beta/conversational_search_service_client.js +114 -7
- package/build/src/v1beta/data_store_service_client.d.ts +75 -0
- package/build/src/v1beta/data_store_service_client.js +114 -7
- package/build/src/v1beta/document_service_client.d.ts +75 -0
- package/build/src/v1beta/document_service_client.js +114 -7
- package/build/src/v1beta/engine_service_client.d.ts +75 -0
- package/build/src/v1beta/engine_service_client.js +114 -7
- 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 +114 -7
- package/build/src/v1beta/schema_service_client.d.ts +75 -0
- package/build/src/v1beta/schema_service_client.js +114 -7
- package/build/src/v1beta/search_service_client.d.ts +81 -0
- package/build/src/v1beta/search_service_client.js +118 -7
- package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
- package/build/src/v1beta/search_tuning_service_client.js +1784 -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 +176 -12
- package/build/src/v1beta/site_search_engine_service_client.d.ts +75 -0
- package/build/src/v1beta/site_search_engine_service_client.js +114 -7
- package/build/src/v1beta/user_event_service_client.d.ts +75 -0
- package/build/src/v1beta/user_event_service_client.js +114 -7
- package/package.json +3 -3
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"interfaces": {
|
3
|
+
"google.cloud.discoveryengine.v1beta.SearchTuningService": {
|
4
|
+
"retry_codes": {
|
5
|
+
"non_idempotent": [],
|
6
|
+
"idempotent": [
|
7
|
+
"DEADLINE_EXCEEDED",
|
8
|
+
"UNAVAILABLE"
|
9
|
+
]
|
10
|
+
},
|
11
|
+
"retry_params": {
|
12
|
+
"default": {
|
13
|
+
"initial_retry_delay_millis": 100,
|
14
|
+
"retry_delay_multiplier": 1.3,
|
15
|
+
"max_retry_delay_millis": 60000,
|
16
|
+
"initial_rpc_timeout_millis": 60000,
|
17
|
+
"rpc_timeout_multiplier": 1,
|
18
|
+
"max_rpc_timeout_millis": 60000,
|
19
|
+
"total_timeout_millis": 600000
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"methods": {
|
23
|
+
"TrainCustomModel": {
|
24
|
+
"retry_codes_name": "non_idempotent",
|
25
|
+
"retry_params_name": "default"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
@@ -4,7 +4,8 @@ import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallb
|
|
4
4
|
import { Transform } from 'stream';
|
5
5
|
import * as protos from '../../protos/protos';
|
6
6
|
/**
|
7
|
-
* Service for
|
7
|
+
* Service for operations related to
|
8
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.ServingConfig|ServingConfig}.
|
8
9
|
* @class
|
9
10
|
* @memberof v1beta
|
10
11
|
*/
|
@@ -158,7 +159,7 @@ export declare class ServingConfigServiceClient {
|
|
158
159
|
* The request object that will be sent.
|
159
160
|
* @param {string} request.name
|
160
161
|
* Required. The resource name of the ServingConfig to get. Format:
|
161
|
-
* `projects/{project_number}/locations/{location}/collections/{collection}/
|
162
|
+
* `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`
|
162
163
|
* @param {object} [options]
|
163
164
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
164
165
|
* @returns {Promise} - The promise which resolves to an array.
|
@@ -181,8 +182,8 @@ export declare class ServingConfigServiceClient {
|
|
181
182
|
* @param {Object} request
|
182
183
|
* The request object that will be sent.
|
183
184
|
* @param {string} request.parent
|
184
|
-
* Required.
|
185
|
-
* `projects/{project_number}/locations/{location}/collections/{collection}/
|
185
|
+
* Required. Full resource name of the parent resource. Format:
|
186
|
+
* `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
|
186
187
|
* @param {number} [request.pageSize]
|
187
188
|
* Optional. Maximum number of results to return. If unspecified, defaults
|
188
189
|
* to 100. If a value greater than 100 is provided, at most 100 results are
|
@@ -214,8 +215,8 @@ export declare class ServingConfigServiceClient {
|
|
214
215
|
* @param {Object} request
|
215
216
|
* The request object that will be sent.
|
216
217
|
* @param {string} request.parent
|
217
|
-
* Required.
|
218
|
-
* `projects/{project_number}/locations/{location}/collections/{collection}/
|
218
|
+
* Required. Full resource name of the parent resource. Format:
|
219
|
+
* `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
|
219
220
|
* @param {number} [request.pageSize]
|
220
221
|
* Optional. Maximum number of results to return. If unspecified, defaults
|
221
222
|
* to 100. If a value greater than 100 is provided, at most 100 results are
|
@@ -242,8 +243,8 @@ export declare class ServingConfigServiceClient {
|
|
242
243
|
* @param {Object} request
|
243
244
|
* The request object that will be sent.
|
244
245
|
* @param {string} request.parent
|
245
|
-
* Required.
|
246
|
-
* `projects/{project_number}/locations/{location}/collections/{collection}/
|
246
|
+
* Required. Full resource name of the parent resource. Format:
|
247
|
+
* `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
|
247
248
|
* @param {number} [request.pageSize]
|
248
249
|
* Optional. Maximum number of results to return. If unspecified, defaults
|
249
250
|
* to 100. If a value greater than 100 is provided, at most 100 results are
|
@@ -357,6 +358,45 @@ export declare class ServingConfigServiceClient {
|
|
357
358
|
* @returns {string} A string representing the engine.
|
358
359
|
*/
|
359
360
|
matchEngineFromEngineName(engineName: string): string | number;
|
361
|
+
/**
|
362
|
+
* Return a fully-qualified location resource name string.
|
363
|
+
*
|
364
|
+
* @param {string} project
|
365
|
+
* @param {string} location
|
366
|
+
* @returns {string} Resource name string.
|
367
|
+
*/
|
368
|
+
locationPath(project: string, location: string): string;
|
369
|
+
/**
|
370
|
+
* Parse the project from Location resource.
|
371
|
+
*
|
372
|
+
* @param {string} locationName
|
373
|
+
* A fully-qualified path representing Location resource.
|
374
|
+
* @returns {string} A string representing the project.
|
375
|
+
*/
|
376
|
+
matchProjectFromLocationName(locationName: string): string | number;
|
377
|
+
/**
|
378
|
+
* Parse the location from Location resource.
|
379
|
+
*
|
380
|
+
* @param {string} locationName
|
381
|
+
* A fully-qualified path representing Location resource.
|
382
|
+
* @returns {string} A string representing the location.
|
383
|
+
*/
|
384
|
+
matchLocationFromLocationName(locationName: string): string | number;
|
385
|
+
/**
|
386
|
+
* Return a fully-qualified project resource name string.
|
387
|
+
*
|
388
|
+
* @param {string} project
|
389
|
+
* @returns {string} Resource name string.
|
390
|
+
*/
|
391
|
+
projectPath(project: string): string;
|
392
|
+
/**
|
393
|
+
* Parse the project from Project resource.
|
394
|
+
*
|
395
|
+
* @param {string} projectName
|
396
|
+
* A fully-qualified path representing Project resource.
|
397
|
+
* @returns {string} A string representing the project.
|
398
|
+
*/
|
399
|
+
matchProjectFromProjectName(projectName: string): string | number;
|
360
400
|
/**
|
361
401
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
362
402
|
*
|
@@ -510,6 +550,48 @@ export declare class ServingConfigServiceClient {
|
|
510
550
|
* @returns {string} A string representing the conversation.
|
511
551
|
*/
|
512
552
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
553
|
+
/**
|
554
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
555
|
+
*
|
556
|
+
* @param {string} project
|
557
|
+
* @param {string} location
|
558
|
+
* @param {string} collection
|
559
|
+
* @param {string} data_store
|
560
|
+
* @returns {string} Resource name string.
|
561
|
+
*/
|
562
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
|
563
|
+
/**
|
564
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
565
|
+
*
|
566
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
567
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
568
|
+
* @returns {string} A string representing the project.
|
569
|
+
*/
|
570
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
571
|
+
/**
|
572
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
573
|
+
*
|
574
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
575
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
576
|
+
* @returns {string} A string representing the location.
|
577
|
+
*/
|
578
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
579
|
+
/**
|
580
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
581
|
+
*
|
582
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
583
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
584
|
+
* @returns {string} A string representing the collection.
|
585
|
+
*/
|
586
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
587
|
+
/**
|
588
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
589
|
+
*
|
590
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
591
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
592
|
+
* @returns {string} A string representing the data_store.
|
593
|
+
*/
|
594
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
513
595
|
/**
|
514
596
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
515
597
|
*
|
@@ -933,6 +1015,39 @@ export declare class ServingConfigServiceClient {
|
|
933
1015
|
* @returns {string} A string representing the conversation.
|
934
1016
|
*/
|
935
1017
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
1018
|
+
/**
|
1019
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1020
|
+
*
|
1021
|
+
* @param {string} project
|
1022
|
+
* @param {string} location
|
1023
|
+
* @param {string} data_store
|
1024
|
+
* @returns {string} Resource name string.
|
1025
|
+
*/
|
1026
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
|
1027
|
+
/**
|
1028
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1029
|
+
*
|
1030
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1031
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1032
|
+
* @returns {string} A string representing the project.
|
1033
|
+
*/
|
1034
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1035
|
+
/**
|
1036
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1037
|
+
*
|
1038
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1039
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1040
|
+
* @returns {string} A string representing the location.
|
1041
|
+
*/
|
1042
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1043
|
+
/**
|
1044
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1045
|
+
*
|
1046
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1047
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1048
|
+
* @returns {string} A string representing the data_store.
|
1049
|
+
*/
|
1050
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
936
1051
|
/**
|
937
1052
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
938
1053
|
*
|
@@ -27,7 +27,8 @@ const jsonProtos = require("../../protos/protos.json");
|
|
27
27
|
const gapicConfig = require("./serving_config_service_client_config.json");
|
28
28
|
const version = require('../../../package.json').version;
|
29
29
|
/**
|
30
|
-
* Service for
|
30
|
+
* Service for operations related to
|
31
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.ServingConfig|ServingConfig}.
|
31
32
|
* @class
|
32
33
|
* @memberof v1beta
|
33
34
|
*/
|
@@ -72,7 +73,7 @@ class ServingConfigServiceClient {
|
|
72
73
|
* ```
|
73
74
|
*/
|
74
75
|
constructor(opts, gaxInstance) {
|
75
|
-
var _a, _b, _c, _d;
|
76
|
+
var _a, _b, _c, _d, _e;
|
76
77
|
this._terminated = false;
|
77
78
|
this.descriptors = {
|
78
79
|
page: {},
|
@@ -87,14 +88,17 @@ class ServingConfigServiceClient {
|
|
87
88
|
(opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
|
88
89
|
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
89
90
|
}
|
91
|
+
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
|
92
|
+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
|
93
|
+
: undefined;
|
90
94
|
this._universeDomain =
|
91
|
-
(_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : 'googleapis.com';
|
95
|
+
(_c = (_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : universeDomainEnvVar) !== null && _c !== void 0 ? _c : 'googleapis.com';
|
92
96
|
this._servicePath = 'discoveryengine.' + this._universeDomain;
|
93
97
|
const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
|
94
98
|
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
|
95
99
|
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
|
96
|
-
const clientConfig = (
|
97
|
-
const fallback = (
|
100
|
+
const clientConfig = (_d = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _d !== void 0 ? _d : {};
|
101
|
+
const fallback = (_e = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _e !== void 0 ? _e : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
|
98
102
|
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
99
103
|
// Request numeric enum values if REST transport is used.
|
100
104
|
opts.numericEnums = true;
|
@@ -125,7 +129,7 @@ class ServingConfigServiceClient {
|
|
125
129
|
this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
|
126
130
|
// Determine the client header string.
|
127
131
|
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
|
128
|
-
if (typeof process
|
132
|
+
if (typeof process === 'object' && 'versions' in process) {
|
129
133
|
clientHeader.push(`gl-node/${process.versions.node}`);
|
130
134
|
}
|
131
135
|
else {
|
@@ -147,9 +151,12 @@ class ServingConfigServiceClient {
|
|
147
151
|
// Create useful helper objects for these.
|
148
152
|
this.pathTemplates = {
|
149
153
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
154
|
+
locationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}'),
|
155
|
+
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
150
156
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
151
157
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
152
158
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
159
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
153
160
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
154
161
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
155
162
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -159,6 +166,7 @@ class ServingConfigServiceClient {
|
|
159
166
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
160
167
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
161
168
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
169
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
162
170
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
163
171
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
164
172
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -231,7 +239,7 @@ class ServingConfigServiceClient {
|
|
231
239
|
* @returns {string} The DNS address for this service.
|
232
240
|
*/
|
233
241
|
static get servicePath() {
|
234
|
-
if (typeof process
|
242
|
+
if (typeof process === 'object' &&
|
235
243
|
typeof process.emitWarning === 'function') {
|
236
244
|
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
237
245
|
}
|
@@ -243,7 +251,7 @@ class ServingConfigServiceClient {
|
|
243
251
|
* @returns {string} The DNS address for this service.
|
244
252
|
*/
|
245
253
|
static get apiEndpoint() {
|
246
|
-
if (typeof process
|
254
|
+
if (typeof process === 'object' &&
|
247
255
|
typeof process.emitWarning === 'function') {
|
248
256
|
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
249
257
|
}
|
@@ -353,8 +361,8 @@ class ServingConfigServiceClient {
|
|
353
361
|
* @param {Object} request
|
354
362
|
* The request object that will be sent.
|
355
363
|
* @param {string} request.parent
|
356
|
-
* Required.
|
357
|
-
* `projects/{project_number}/locations/{location}/collections/{collection}/
|
364
|
+
* Required. Full resource name of the parent resource. Format:
|
365
|
+
* `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
|
358
366
|
* @param {number} [request.pageSize]
|
359
367
|
* Optional. Maximum number of results to return. If unspecified, defaults
|
360
368
|
* to 100. If a value greater than 100 is provided, at most 100 results are
|
@@ -395,8 +403,8 @@ class ServingConfigServiceClient {
|
|
395
403
|
* @param {Object} request
|
396
404
|
* The request object that will be sent.
|
397
405
|
* @param {string} request.parent
|
398
|
-
* Required.
|
399
|
-
* `projects/{project_number}/locations/{location}/collections/{collection}/
|
406
|
+
* Required. Full resource name of the parent resource. Format:
|
407
|
+
* `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
|
400
408
|
* @param {number} [request.pageSize]
|
401
409
|
* Optional. Maximum number of results to return. If unspecified, defaults
|
402
410
|
* to 100. If a value greater than 100 is provided, at most 100 results are
|
@@ -546,6 +554,60 @@ class ServingConfigServiceClient {
|
|
546
554
|
matchEngineFromEngineName(engineName) {
|
547
555
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
548
556
|
}
|
557
|
+
/**
|
558
|
+
* Return a fully-qualified location resource name string.
|
559
|
+
*
|
560
|
+
* @param {string} project
|
561
|
+
* @param {string} location
|
562
|
+
* @returns {string} Resource name string.
|
563
|
+
*/
|
564
|
+
locationPath(project, location) {
|
565
|
+
return this.pathTemplates.locationPathTemplate.render({
|
566
|
+
project: project,
|
567
|
+
location: location,
|
568
|
+
});
|
569
|
+
}
|
570
|
+
/**
|
571
|
+
* Parse the project from Location resource.
|
572
|
+
*
|
573
|
+
* @param {string} locationName
|
574
|
+
* A fully-qualified path representing Location resource.
|
575
|
+
* @returns {string} A string representing the project.
|
576
|
+
*/
|
577
|
+
matchProjectFromLocationName(locationName) {
|
578
|
+
return this.pathTemplates.locationPathTemplate.match(locationName).project;
|
579
|
+
}
|
580
|
+
/**
|
581
|
+
* Parse the location from Location resource.
|
582
|
+
*
|
583
|
+
* @param {string} locationName
|
584
|
+
* A fully-qualified path representing Location resource.
|
585
|
+
* @returns {string} A string representing the location.
|
586
|
+
*/
|
587
|
+
matchLocationFromLocationName(locationName) {
|
588
|
+
return this.pathTemplates.locationPathTemplate.match(locationName).location;
|
589
|
+
}
|
590
|
+
/**
|
591
|
+
* Return a fully-qualified project resource name string.
|
592
|
+
*
|
593
|
+
* @param {string} project
|
594
|
+
* @returns {string} Resource name string.
|
595
|
+
*/
|
596
|
+
projectPath(project) {
|
597
|
+
return this.pathTemplates.projectPathTemplate.render({
|
598
|
+
project: project,
|
599
|
+
});
|
600
|
+
}
|
601
|
+
/**
|
602
|
+
* Parse the project from Project resource.
|
603
|
+
*
|
604
|
+
* @param {string} projectName
|
605
|
+
* A fully-qualified path representing Project resource.
|
606
|
+
* @returns {string} A string representing the project.
|
607
|
+
*/
|
608
|
+
matchProjectFromProjectName(projectName) {
|
609
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
610
|
+
}
|
549
611
|
/**
|
550
612
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
551
613
|
*
|
@@ -753,6 +815,63 @@ class ServingConfigServiceClient {
|
|
753
815
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
754
816
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
755
817
|
}
|
818
|
+
/**
|
819
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
820
|
+
*
|
821
|
+
* @param {string} project
|
822
|
+
* @param {string} location
|
823
|
+
* @param {string} collection
|
824
|
+
* @param {string} data_store
|
825
|
+
* @returns {string} Resource name string.
|
826
|
+
*/
|
827
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
828
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
829
|
+
project: project,
|
830
|
+
location: location,
|
831
|
+
collection: collection,
|
832
|
+
data_store: dataStore,
|
833
|
+
});
|
834
|
+
}
|
835
|
+
/**
|
836
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
837
|
+
*
|
838
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
839
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
840
|
+
* @returns {string} A string representing the project.
|
841
|
+
*/
|
842
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
843
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
844
|
+
}
|
845
|
+
/**
|
846
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
847
|
+
*
|
848
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
849
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
850
|
+
* @returns {string} A string representing the location.
|
851
|
+
*/
|
852
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
853
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
854
|
+
}
|
855
|
+
/**
|
856
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
857
|
+
*
|
858
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
859
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
860
|
+
* @returns {string} A string representing the collection.
|
861
|
+
*/
|
862
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
863
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
864
|
+
}
|
865
|
+
/**
|
866
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
867
|
+
*
|
868
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
869
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
870
|
+
* @returns {string} A string representing the data_store.
|
871
|
+
*/
|
872
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
873
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
874
|
+
}
|
756
875
|
/**
|
757
876
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
758
877
|
*
|
@@ -1326,6 +1445,51 @@ class ServingConfigServiceClient {
|
|
1326
1445
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1327
1446
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1328
1447
|
}
|
1448
|
+
/**
|
1449
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1450
|
+
*
|
1451
|
+
* @param {string} project
|
1452
|
+
* @param {string} location
|
1453
|
+
* @param {string} data_store
|
1454
|
+
* @returns {string} Resource name string.
|
1455
|
+
*/
|
1456
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
1457
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
1458
|
+
project: project,
|
1459
|
+
location: location,
|
1460
|
+
data_store: dataStore,
|
1461
|
+
});
|
1462
|
+
}
|
1463
|
+
/**
|
1464
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1465
|
+
*
|
1466
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1467
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1468
|
+
* @returns {string} A string representing the project.
|
1469
|
+
*/
|
1470
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1471
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
1472
|
+
}
|
1473
|
+
/**
|
1474
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1475
|
+
*
|
1476
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1477
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1478
|
+
* @returns {string} A string representing the location.
|
1479
|
+
*/
|
1480
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1481
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
1482
|
+
}
|
1483
|
+
/**
|
1484
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1485
|
+
*
|
1486
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1487
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1488
|
+
* @returns {string} A string representing the data_store.
|
1489
|
+
*/
|
1490
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1491
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
1492
|
+
}
|
1329
1493
|
/**
|
1330
1494
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1331
1495
|
*
|
@@ -1120,6 +1120,48 @@ export declare class SiteSearchEngineServiceClient {
|
|
1120
1120
|
* @returns {string} A string representing the conversation.
|
1121
1121
|
*/
|
1122
1122
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
1123
|
+
/**
|
1124
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1125
|
+
*
|
1126
|
+
* @param {string} project
|
1127
|
+
* @param {string} location
|
1128
|
+
* @param {string} collection
|
1129
|
+
* @param {string} data_store
|
1130
|
+
* @returns {string} Resource name string.
|
1131
|
+
*/
|
1132
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
|
1133
|
+
/**
|
1134
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1135
|
+
*
|
1136
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1137
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1138
|
+
* @returns {string} A string representing the project.
|
1139
|
+
*/
|
1140
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
1141
|
+
/**
|
1142
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1143
|
+
*
|
1144
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1145
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1146
|
+
* @returns {string} A string representing the location.
|
1147
|
+
*/
|
1148
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
1149
|
+
/**
|
1150
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1151
|
+
*
|
1152
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1153
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1154
|
+
* @returns {string} A string representing the collection.
|
1155
|
+
*/
|
1156
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
1157
|
+
/**
|
1158
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1159
|
+
*
|
1160
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1161
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1162
|
+
* @returns {string} A string representing the data_store.
|
1163
|
+
*/
|
1164
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
1123
1165
|
/**
|
1124
1166
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
1125
1167
|
*
|
@@ -1543,6 +1585,39 @@ export declare class SiteSearchEngineServiceClient {
|
|
1543
1585
|
* @returns {string} A string representing the conversation.
|
1544
1586
|
*/
|
1545
1587
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
1588
|
+
/**
|
1589
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1590
|
+
*
|
1591
|
+
* @param {string} project
|
1592
|
+
* @param {string} location
|
1593
|
+
* @param {string} data_store
|
1594
|
+
* @returns {string} Resource name string.
|
1595
|
+
*/
|
1596
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
|
1597
|
+
/**
|
1598
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1599
|
+
*
|
1600
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1601
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1602
|
+
* @returns {string} A string representing the project.
|
1603
|
+
*/
|
1604
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1605
|
+
/**
|
1606
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1607
|
+
*
|
1608
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1609
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1610
|
+
* @returns {string} A string representing the location.
|
1611
|
+
*/
|
1612
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1613
|
+
/**
|
1614
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1615
|
+
*
|
1616
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1617
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1618
|
+
* @returns {string} A string representing the data_store.
|
1619
|
+
*/
|
1620
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1546
1621
|
/**
|
1547
1622
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1548
1623
|
*
|