@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
@@ -841,6 +841,48 @@ export declare class DataStoreServiceClient {
|
|
841
841
|
* @returns {string} A string representing the conversation.
|
842
842
|
*/
|
843
843
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
844
|
+
/**
|
845
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
846
|
+
*
|
847
|
+
* @param {string} project
|
848
|
+
* @param {string} location
|
849
|
+
* @param {string} collection
|
850
|
+
* @param {string} data_store
|
851
|
+
* @returns {string} Resource name string.
|
852
|
+
*/
|
853
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
|
854
|
+
/**
|
855
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
856
|
+
*
|
857
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
858
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
859
|
+
* @returns {string} A string representing the project.
|
860
|
+
*/
|
861
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
862
|
+
/**
|
863
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
864
|
+
*
|
865
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
866
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
867
|
+
* @returns {string} A string representing the location.
|
868
|
+
*/
|
869
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
870
|
+
/**
|
871
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
872
|
+
*
|
873
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
874
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
875
|
+
* @returns {string} A string representing the collection.
|
876
|
+
*/
|
877
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
878
|
+
/**
|
879
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
880
|
+
*
|
881
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
882
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
883
|
+
* @returns {string} A string representing the data_store.
|
884
|
+
*/
|
885
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
844
886
|
/**
|
845
887
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
846
888
|
*
|
@@ -1264,6 +1306,39 @@ export declare class DataStoreServiceClient {
|
|
1264
1306
|
* @returns {string} A string representing the conversation.
|
1265
1307
|
*/
|
1266
1308
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
1309
|
+
/**
|
1310
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1311
|
+
*
|
1312
|
+
* @param {string} project
|
1313
|
+
* @param {string} location
|
1314
|
+
* @param {string} data_store
|
1315
|
+
* @returns {string} Resource name string.
|
1316
|
+
*/
|
1317
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
|
1318
|
+
/**
|
1319
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1320
|
+
*
|
1321
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1322
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1323
|
+
* @returns {string} A string representing the project.
|
1324
|
+
*/
|
1325
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1326
|
+
/**
|
1327
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1328
|
+
*
|
1329
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1330
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1331
|
+
* @returns {string} A string representing the location.
|
1332
|
+
*/
|
1333
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1334
|
+
/**
|
1335
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1336
|
+
*
|
1337
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1338
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1339
|
+
* @returns {string} A string representing the data_store.
|
1340
|
+
*/
|
1341
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1267
1342
|
/**
|
1268
1343
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1269
1344
|
*
|
@@ -73,7 +73,7 @@ class DataStoreServiceClient {
|
|
73
73
|
* ```
|
74
74
|
*/
|
75
75
|
constructor(opts, gaxInstance) {
|
76
|
-
var _a, _b, _c, _d;
|
76
|
+
var _a, _b, _c, _d, _e;
|
77
77
|
this._terminated = false;
|
78
78
|
this.descriptors = {
|
79
79
|
page: {},
|
@@ -88,14 +88,17 @@ class DataStoreServiceClient {
|
|
88
88
|
(opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
|
89
89
|
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
90
90
|
}
|
91
|
+
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
|
92
|
+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
|
93
|
+
: undefined;
|
91
94
|
this._universeDomain =
|
92
|
-
(_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';
|
93
96
|
this._servicePath = 'discoveryengine.' + this._universeDomain;
|
94
97
|
const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
|
95
98
|
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
|
96
99
|
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
|
97
|
-
const clientConfig = (
|
98
|
-
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');
|
99
102
|
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
100
103
|
// Request numeric enum values if REST transport is used.
|
101
104
|
opts.numericEnums = true;
|
@@ -126,7 +129,7 @@ class DataStoreServiceClient {
|
|
126
129
|
this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
|
127
130
|
// Determine the client header string.
|
128
131
|
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
|
129
|
-
if (typeof process
|
132
|
+
if (typeof process === 'object' && 'versions' in process) {
|
130
133
|
clientHeader.push(`gl-node/${process.versions.node}`);
|
131
134
|
}
|
132
135
|
else {
|
@@ -152,6 +155,7 @@ class DataStoreServiceClient {
|
|
152
155
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
153
156
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
154
157
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
158
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
155
159
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
156
160
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
157
161
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -161,6 +165,7 @@ class DataStoreServiceClient {
|
|
161
165
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
162
166
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
163
167
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
168
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
164
169
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
165
170
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
166
171
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -343,7 +348,7 @@ class DataStoreServiceClient {
|
|
343
348
|
* @returns {string} The DNS address for this service.
|
344
349
|
*/
|
345
350
|
static get servicePath() {
|
346
|
-
if (typeof process
|
351
|
+
if (typeof process === 'object' &&
|
347
352
|
typeof process.emitWarning === 'function') {
|
348
353
|
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
349
354
|
}
|
@@ -355,7 +360,7 @@ class DataStoreServiceClient {
|
|
355
360
|
* @returns {string} The DNS address for this service.
|
356
361
|
*/
|
357
362
|
static get apiEndpoint() {
|
358
|
-
if (typeof process
|
363
|
+
if (typeof process === 'object' &&
|
359
364
|
typeof process.emitWarning === 'function') {
|
360
365
|
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
361
366
|
}
|
@@ -1155,6 +1160,63 @@ class DataStoreServiceClient {
|
|
1155
1160
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1156
1161
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1157
1162
|
}
|
1163
|
+
/**
|
1164
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1165
|
+
*
|
1166
|
+
* @param {string} project
|
1167
|
+
* @param {string} location
|
1168
|
+
* @param {string} collection
|
1169
|
+
* @param {string} data_store
|
1170
|
+
* @returns {string} Resource name string.
|
1171
|
+
*/
|
1172
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
1173
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
1174
|
+
project: project,
|
1175
|
+
location: location,
|
1176
|
+
collection: collection,
|
1177
|
+
data_store: dataStore,
|
1178
|
+
});
|
1179
|
+
}
|
1180
|
+
/**
|
1181
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1182
|
+
*
|
1183
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1184
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1185
|
+
* @returns {string} A string representing the project.
|
1186
|
+
*/
|
1187
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1188
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
1189
|
+
}
|
1190
|
+
/**
|
1191
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1192
|
+
*
|
1193
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1194
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1195
|
+
* @returns {string} A string representing the location.
|
1196
|
+
*/
|
1197
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1198
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
1199
|
+
}
|
1200
|
+
/**
|
1201
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1202
|
+
*
|
1203
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1204
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1205
|
+
* @returns {string} A string representing the collection.
|
1206
|
+
*/
|
1207
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1208
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
1209
|
+
}
|
1210
|
+
/**
|
1211
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1212
|
+
*
|
1213
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1214
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1215
|
+
* @returns {string} A string representing the data_store.
|
1216
|
+
*/
|
1217
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1218
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
1219
|
+
}
|
1158
1220
|
/**
|
1159
1221
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
1160
1222
|
*
|
@@ -1728,6 +1790,51 @@ class DataStoreServiceClient {
|
|
1728
1790
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1729
1791
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1730
1792
|
}
|
1793
|
+
/**
|
1794
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1795
|
+
*
|
1796
|
+
* @param {string} project
|
1797
|
+
* @param {string} location
|
1798
|
+
* @param {string} data_store
|
1799
|
+
* @returns {string} Resource name string.
|
1800
|
+
*/
|
1801
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
1802
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
1803
|
+
project: project,
|
1804
|
+
location: location,
|
1805
|
+
data_store: dataStore,
|
1806
|
+
});
|
1807
|
+
}
|
1808
|
+
/**
|
1809
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1810
|
+
*
|
1811
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1812
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1813
|
+
* @returns {string} A string representing the project.
|
1814
|
+
*/
|
1815
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1816
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
1817
|
+
}
|
1818
|
+
/**
|
1819
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1820
|
+
*
|
1821
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1822
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1823
|
+
* @returns {string} A string representing the location.
|
1824
|
+
*/
|
1825
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1826
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
1827
|
+
}
|
1828
|
+
/**
|
1829
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1830
|
+
*
|
1831
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1832
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1833
|
+
* @returns {string} A string representing the data_store.
|
1834
|
+
*/
|
1835
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1836
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
1837
|
+
}
|
1731
1838
|
/**
|
1732
1839
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1733
1840
|
*
|
@@ -992,6 +992,48 @@ export declare class DocumentServiceClient {
|
|
992
992
|
* @returns {string} A string representing the conversation.
|
993
993
|
*/
|
994
994
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
995
|
+
/**
|
996
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
997
|
+
*
|
998
|
+
* @param {string} project
|
999
|
+
* @param {string} location
|
1000
|
+
* @param {string} collection
|
1001
|
+
* @param {string} data_store
|
1002
|
+
* @returns {string} Resource name string.
|
1003
|
+
*/
|
1004
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
|
1005
|
+
/**
|
1006
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1007
|
+
*
|
1008
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1009
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1010
|
+
* @returns {string} A string representing the project.
|
1011
|
+
*/
|
1012
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
1013
|
+
/**
|
1014
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1015
|
+
*
|
1016
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1017
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1018
|
+
* @returns {string} A string representing the location.
|
1019
|
+
*/
|
1020
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
1021
|
+
/**
|
1022
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1023
|
+
*
|
1024
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1025
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1026
|
+
* @returns {string} A string representing the collection.
|
1027
|
+
*/
|
1028
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
1029
|
+
/**
|
1030
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1031
|
+
*
|
1032
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1033
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1034
|
+
* @returns {string} A string representing the data_store.
|
1035
|
+
*/
|
1036
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
995
1037
|
/**
|
996
1038
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
997
1039
|
*
|
@@ -1457,6 +1499,39 @@ export declare class DocumentServiceClient {
|
|
1457
1499
|
* @returns {string} A string representing the conversation.
|
1458
1500
|
*/
|
1459
1501
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
1502
|
+
/**
|
1503
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1504
|
+
*
|
1505
|
+
* @param {string} project
|
1506
|
+
* @param {string} location
|
1507
|
+
* @param {string} data_store
|
1508
|
+
* @returns {string} Resource name string.
|
1509
|
+
*/
|
1510
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
|
1511
|
+
/**
|
1512
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1513
|
+
*
|
1514
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1515
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1516
|
+
* @returns {string} A string representing the project.
|
1517
|
+
*/
|
1518
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1519
|
+
/**
|
1520
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1521
|
+
*
|
1522
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1523
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1524
|
+
* @returns {string} A string representing the location.
|
1525
|
+
*/
|
1526
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1527
|
+
/**
|
1528
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1529
|
+
*
|
1530
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1531
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1532
|
+
* @returns {string} A string representing the data_store.
|
1533
|
+
*/
|
1534
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1460
1535
|
/**
|
1461
1536
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1462
1537
|
*
|
@@ -74,7 +74,7 @@ class DocumentServiceClient {
|
|
74
74
|
* ```
|
75
75
|
*/
|
76
76
|
constructor(opts, gaxInstance) {
|
77
|
-
var _a, _b, _c, _d;
|
77
|
+
var _a, _b, _c, _d, _e;
|
78
78
|
this._terminated = false;
|
79
79
|
this.descriptors = {
|
80
80
|
page: {},
|
@@ -89,14 +89,17 @@ class DocumentServiceClient {
|
|
89
89
|
(opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
|
90
90
|
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
91
91
|
}
|
92
|
+
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
|
93
|
+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
|
94
|
+
: undefined;
|
92
95
|
this._universeDomain =
|
93
|
-
(_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';
|
96
|
+
(_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';
|
94
97
|
this._servicePath = 'discoveryengine.' + this._universeDomain;
|
95
98
|
const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
|
96
99
|
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
|
97
100
|
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
|
98
|
-
const clientConfig = (
|
99
|
-
const fallback = (
|
101
|
+
const clientConfig = (_d = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _d !== void 0 ? _d : {};
|
102
|
+
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');
|
100
103
|
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
101
104
|
// Request numeric enum values if REST transport is used.
|
102
105
|
opts.numericEnums = true;
|
@@ -127,7 +130,7 @@ class DocumentServiceClient {
|
|
127
130
|
this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
|
128
131
|
// Determine the client header string.
|
129
132
|
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
|
130
|
-
if (typeof process
|
133
|
+
if (typeof process === 'object' && 'versions' in process) {
|
131
134
|
clientHeader.push(`gl-node/${process.versions.node}`);
|
132
135
|
}
|
133
136
|
else {
|
@@ -153,6 +156,7 @@ class DocumentServiceClient {
|
|
153
156
|
projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
|
154
157
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
155
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'),
|
156
160
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
157
161
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
158
162
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -163,6 +167,7 @@ class DocumentServiceClient {
|
|
163
167
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
164
168
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
165
169
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
170
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
166
171
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
167
172
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
168
173
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -347,7 +352,7 @@ class DocumentServiceClient {
|
|
347
352
|
* @returns {string} The DNS address for this service.
|
348
353
|
*/
|
349
354
|
static get servicePath() {
|
350
|
-
if (typeof process
|
355
|
+
if (typeof process === 'object' &&
|
351
356
|
typeof process.emitWarning === 'function') {
|
352
357
|
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
353
358
|
}
|
@@ -359,7 +364,7 @@ class DocumentServiceClient {
|
|
359
364
|
* @returns {string} The DNS address for this service.
|
360
365
|
*/
|
361
366
|
static get apiEndpoint() {
|
362
|
-
if (typeof process
|
367
|
+
if (typeof process === 'object' &&
|
363
368
|
typeof process.emitWarning === 'function') {
|
364
369
|
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
365
370
|
}
|
@@ -1218,6 +1223,63 @@ class DocumentServiceClient {
|
|
1218
1223
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1219
1224
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1220
1225
|
}
|
1226
|
+
/**
|
1227
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1228
|
+
*
|
1229
|
+
* @param {string} project
|
1230
|
+
* @param {string} location
|
1231
|
+
* @param {string} collection
|
1232
|
+
* @param {string} data_store
|
1233
|
+
* @returns {string} Resource name string.
|
1234
|
+
*/
|
1235
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
1236
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
1237
|
+
project: project,
|
1238
|
+
location: location,
|
1239
|
+
collection: collection,
|
1240
|
+
data_store: dataStore,
|
1241
|
+
});
|
1242
|
+
}
|
1243
|
+
/**
|
1244
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1245
|
+
*
|
1246
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1247
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1248
|
+
* @returns {string} A string representing the project.
|
1249
|
+
*/
|
1250
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1251
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
1252
|
+
}
|
1253
|
+
/**
|
1254
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1255
|
+
*
|
1256
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1257
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1258
|
+
* @returns {string} A string representing the location.
|
1259
|
+
*/
|
1260
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1261
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
1262
|
+
}
|
1263
|
+
/**
|
1264
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1265
|
+
*
|
1266
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1267
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1268
|
+
* @returns {string} A string representing the collection.
|
1269
|
+
*/
|
1270
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1271
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
1272
|
+
}
|
1273
|
+
/**
|
1274
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1275
|
+
*
|
1276
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1277
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1278
|
+
* @returns {string} A string representing the data_store.
|
1279
|
+
*/
|
1280
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1281
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
1282
|
+
}
|
1221
1283
|
/**
|
1222
1284
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
1223
1285
|
*
|
@@ -1848,6 +1910,51 @@ class DocumentServiceClient {
|
|
1848
1910
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1849
1911
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1850
1912
|
}
|
1913
|
+
/**
|
1914
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1915
|
+
*
|
1916
|
+
* @param {string} project
|
1917
|
+
* @param {string} location
|
1918
|
+
* @param {string} data_store
|
1919
|
+
* @returns {string} Resource name string.
|
1920
|
+
*/
|
1921
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
1922
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
1923
|
+
project: project,
|
1924
|
+
location: location,
|
1925
|
+
data_store: dataStore,
|
1926
|
+
});
|
1927
|
+
}
|
1928
|
+
/**
|
1929
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1930
|
+
*
|
1931
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1932
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1933
|
+
* @returns {string} A string representing the project.
|
1934
|
+
*/
|
1935
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1936
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
1937
|
+
}
|
1938
|
+
/**
|
1939
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1940
|
+
*
|
1941
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1942
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1943
|
+
* @returns {string} A string representing the location.
|
1944
|
+
*/
|
1945
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1946
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
1947
|
+
}
|
1948
|
+
/**
|
1949
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1950
|
+
*
|
1951
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1952
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1953
|
+
* @returns {string} A string representing the data_store.
|
1954
|
+
*/
|
1955
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1956
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
1957
|
+
}
|
1851
1958
|
/**
|
1852
1959
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1853
1960
|
*
|
@@ -765,6 +765,48 @@ export declare class EngineServiceClient {
|
|
765
765
|
* @returns {string} A string representing the conversation.
|
766
766
|
*/
|
767
767
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
768
|
+
/**
|
769
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
770
|
+
*
|
771
|
+
* @param {string} project
|
772
|
+
* @param {string} location
|
773
|
+
* @param {string} collection
|
774
|
+
* @param {string} data_store
|
775
|
+
* @returns {string} Resource name string.
|
776
|
+
*/
|
777
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
|
778
|
+
/**
|
779
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
780
|
+
*
|
781
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
782
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
783
|
+
* @returns {string} A string representing the project.
|
784
|
+
*/
|
785
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
786
|
+
/**
|
787
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
788
|
+
*
|
789
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
790
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
791
|
+
* @returns {string} A string representing the location.
|
792
|
+
*/
|
793
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
794
|
+
/**
|
795
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
796
|
+
*
|
797
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
798
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
799
|
+
* @returns {string} A string representing the collection.
|
800
|
+
*/
|
801
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
802
|
+
/**
|
803
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
804
|
+
*
|
805
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
806
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
807
|
+
* @returns {string} A string representing the data_store.
|
808
|
+
*/
|
809
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
768
810
|
/**
|
769
811
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
770
812
|
*
|
@@ -1188,6 +1230,39 @@ export declare class EngineServiceClient {
|
|
1188
1230
|
* @returns {string} A string representing the conversation.
|
1189
1231
|
*/
|
1190
1232
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
1233
|
+
/**
|
1234
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1235
|
+
*
|
1236
|
+
* @param {string} project
|
1237
|
+
* @param {string} location
|
1238
|
+
* @param {string} data_store
|
1239
|
+
* @returns {string} Resource name string.
|
1240
|
+
*/
|
1241
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
|
1242
|
+
/**
|
1243
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1244
|
+
*
|
1245
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1246
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1247
|
+
* @returns {string} A string representing the project.
|
1248
|
+
*/
|
1249
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1250
|
+
/**
|
1251
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1252
|
+
*
|
1253
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1254
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1255
|
+
* @returns {string} A string representing the location.
|
1256
|
+
*/
|
1257
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1258
|
+
/**
|
1259
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1260
|
+
*
|
1261
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1262
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1263
|
+
* @returns {string} A string representing the data_store.
|
1264
|
+
*/
|
1265
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1191
1266
|
/**
|
1192
1267
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1193
1268
|
*
|