@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
@@ -72,7 +72,7 @@ class SchemaServiceClient {
|
|
72
72
|
* ```
|
73
73
|
*/
|
74
74
|
constructor(opts, gaxInstance) {
|
75
|
-
var _a, _b, _c, _d;
|
75
|
+
var _a, _b, _c, _d, _e;
|
76
76
|
this._terminated = false;
|
77
77
|
this.descriptors = {
|
78
78
|
page: {},
|
@@ -87,14 +87,17 @@ class SchemaServiceClient {
|
|
87
87
|
(opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
|
88
88
|
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
89
89
|
}
|
90
|
+
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
|
91
|
+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
|
92
|
+
: undefined;
|
90
93
|
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';
|
94
|
+
(_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
95
|
this._servicePath = 'discoveryengine.' + this._universeDomain;
|
93
96
|
const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
|
94
97
|
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
|
95
98
|
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
|
96
|
-
const clientConfig = (
|
97
|
-
const fallback = (
|
99
|
+
const clientConfig = (_d = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _d !== void 0 ? _d : {};
|
100
|
+
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
101
|
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
99
102
|
// Request numeric enum values if REST transport is used.
|
100
103
|
opts.numericEnums = true;
|
@@ -125,7 +128,7 @@ class SchemaServiceClient {
|
|
125
128
|
this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
|
126
129
|
// Determine the client header string.
|
127
130
|
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
|
128
|
-
if (typeof process
|
131
|
+
if (typeof process === 'object' && 'versions' in process) {
|
129
132
|
clientHeader.push(`gl-node/${process.versions.node}`);
|
130
133
|
}
|
131
134
|
else {
|
@@ -150,6 +153,7 @@ class SchemaServiceClient {
|
|
150
153
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
151
154
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
152
155
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
156
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
153
157
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
154
158
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
155
159
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -159,6 +163,7 @@ class SchemaServiceClient {
|
|
159
163
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
160
164
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
161
165
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
166
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
162
167
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
163
168
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
164
169
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -344,7 +349,7 @@ class SchemaServiceClient {
|
|
344
349
|
* @returns {string} The DNS address for this service.
|
345
350
|
*/
|
346
351
|
static get servicePath() {
|
347
|
-
if (typeof process
|
352
|
+
if (typeof process === 'object' &&
|
348
353
|
typeof process.emitWarning === 'function') {
|
349
354
|
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
350
355
|
}
|
@@ -356,7 +361,7 @@ class SchemaServiceClient {
|
|
356
361
|
* @returns {string} The DNS address for this service.
|
357
362
|
*/
|
358
363
|
static get apiEndpoint() {
|
359
|
-
if (typeof process
|
364
|
+
if (typeof process === 'object' &&
|
360
365
|
typeof process.emitWarning === 'function') {
|
361
366
|
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
362
367
|
}
|
@@ -1105,6 +1110,63 @@ class SchemaServiceClient {
|
|
1105
1110
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1106
1111
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1107
1112
|
}
|
1113
|
+
/**
|
1114
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1115
|
+
*
|
1116
|
+
* @param {string} project
|
1117
|
+
* @param {string} location
|
1118
|
+
* @param {string} collection
|
1119
|
+
* @param {string} data_store
|
1120
|
+
* @returns {string} Resource name string.
|
1121
|
+
*/
|
1122
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
1123
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
1124
|
+
project: project,
|
1125
|
+
location: location,
|
1126
|
+
collection: collection,
|
1127
|
+
data_store: dataStore,
|
1128
|
+
});
|
1129
|
+
}
|
1130
|
+
/**
|
1131
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1132
|
+
*
|
1133
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1134
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1135
|
+
* @returns {string} A string representing the project.
|
1136
|
+
*/
|
1137
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1138
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
1139
|
+
}
|
1140
|
+
/**
|
1141
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1142
|
+
*
|
1143
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1144
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1145
|
+
* @returns {string} A string representing the location.
|
1146
|
+
*/
|
1147
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1148
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
1149
|
+
}
|
1150
|
+
/**
|
1151
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1152
|
+
*
|
1153
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1154
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1155
|
+
* @returns {string} A string representing the collection.
|
1156
|
+
*/
|
1157
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1158
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
1159
|
+
}
|
1160
|
+
/**
|
1161
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1162
|
+
*
|
1163
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1164
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1165
|
+
* @returns {string} A string representing the data_store.
|
1166
|
+
*/
|
1167
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1168
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
1169
|
+
}
|
1108
1170
|
/**
|
1109
1171
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
1110
1172
|
*
|
@@ -1678,6 +1740,51 @@ class SchemaServiceClient {
|
|
1678
1740
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1679
1741
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1680
1742
|
}
|
1743
|
+
/**
|
1744
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1745
|
+
*
|
1746
|
+
* @param {string} project
|
1747
|
+
* @param {string} location
|
1748
|
+
* @param {string} data_store
|
1749
|
+
* @returns {string} Resource name string.
|
1750
|
+
*/
|
1751
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
1752
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
1753
|
+
project: project,
|
1754
|
+
location: location,
|
1755
|
+
data_store: dataStore,
|
1756
|
+
});
|
1757
|
+
}
|
1758
|
+
/**
|
1759
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1760
|
+
*
|
1761
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1762
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1763
|
+
* @returns {string} A string representing the project.
|
1764
|
+
*/
|
1765
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1766
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
1767
|
+
}
|
1768
|
+
/**
|
1769
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1770
|
+
*
|
1771
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1772
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1773
|
+
* @returns {string} A string representing the location.
|
1774
|
+
*/
|
1775
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1776
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
1777
|
+
}
|
1778
|
+
/**
|
1779
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1780
|
+
*
|
1781
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1782
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1783
|
+
* @returns {string} A string representing the data_store.
|
1784
|
+
*/
|
1785
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1786
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
1787
|
+
}
|
1681
1788
|
/**
|
1682
1789
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1683
1790
|
*
|
@@ -162,6 +162,8 @@ export declare class SearchServiceClient {
|
|
162
162
|
* is unset.
|
163
163
|
*
|
164
164
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
165
|
+
* @param {number[]} request.dataStoreSpecs
|
166
|
+
* A list of data store specs to apply on a search call.
|
165
167
|
* @param {string} request.filter
|
166
168
|
* The filter syntax consists of an expression language for constructing a
|
167
169
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -370,6 +372,8 @@ export declare class SearchServiceClient {
|
|
370
372
|
* is unset.
|
371
373
|
*
|
372
374
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
375
|
+
* @param {number[]} request.dataStoreSpecs
|
376
|
+
* A list of data store specs to apply on a search call.
|
373
377
|
* @param {string} request.filter
|
374
378
|
* The filter syntax consists of an expression language for constructing a
|
375
379
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -573,6 +577,8 @@ export declare class SearchServiceClient {
|
|
573
577
|
* is unset.
|
574
578
|
*
|
575
579
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
580
|
+
* @param {number[]} request.dataStoreSpecs
|
581
|
+
* A list of data store specs to apply on a search call.
|
576
582
|
* @param {string} request.filter
|
577
583
|
* The filter syntax consists of an expression language for constructing a
|
578
584
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -1027,6 +1033,48 @@ export declare class SearchServiceClient {
|
|
1027
1033
|
* @returns {string} A string representing the conversation.
|
1028
1034
|
*/
|
1029
1035
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
1036
|
+
/**
|
1037
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1038
|
+
*
|
1039
|
+
* @param {string} project
|
1040
|
+
* @param {string} location
|
1041
|
+
* @param {string} collection
|
1042
|
+
* @param {string} data_store
|
1043
|
+
* @returns {string} Resource name string.
|
1044
|
+
*/
|
1045
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
|
1046
|
+
/**
|
1047
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1048
|
+
*
|
1049
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1050
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1051
|
+
* @returns {string} A string representing the project.
|
1052
|
+
*/
|
1053
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
1054
|
+
/**
|
1055
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1056
|
+
*
|
1057
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1058
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1059
|
+
* @returns {string} A string representing the location.
|
1060
|
+
*/
|
1061
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
1062
|
+
/**
|
1063
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1064
|
+
*
|
1065
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1066
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1067
|
+
* @returns {string} A string representing the collection.
|
1068
|
+
*/
|
1069
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
1070
|
+
/**
|
1071
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1072
|
+
*
|
1073
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1074
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1075
|
+
* @returns {string} A string representing the data_store.
|
1076
|
+
*/
|
1077
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
1030
1078
|
/**
|
1031
1079
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
1032
1080
|
*
|
@@ -1492,6 +1540,39 @@ export declare class SearchServiceClient {
|
|
1492
1540
|
* @returns {string} A string representing the conversation.
|
1493
1541
|
*/
|
1494
1542
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
1543
|
+
/**
|
1544
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1545
|
+
*
|
1546
|
+
* @param {string} project
|
1547
|
+
* @param {string} location
|
1548
|
+
* @param {string} data_store
|
1549
|
+
* @returns {string} Resource name string.
|
1550
|
+
*/
|
1551
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
|
1552
|
+
/**
|
1553
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1554
|
+
*
|
1555
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1556
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1557
|
+
* @returns {string} A string representing the project.
|
1558
|
+
*/
|
1559
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1560
|
+
/**
|
1561
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1562
|
+
*
|
1563
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1564
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1565
|
+
* @returns {string} A string representing the location.
|
1566
|
+
*/
|
1567
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1568
|
+
/**
|
1569
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1570
|
+
*
|
1571
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1572
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1573
|
+
* @returns {string} A string representing the data_store.
|
1574
|
+
*/
|
1575
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1495
1576
|
/**
|
1496
1577
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1497
1578
|
*
|
@@ -72,7 +72,7 @@ class SearchServiceClient {
|
|
72
72
|
* ```
|
73
73
|
*/
|
74
74
|
constructor(opts, gaxInstance) {
|
75
|
-
var _a, _b, _c, _d;
|
75
|
+
var _a, _b, _c, _d, _e;
|
76
76
|
this._terminated = false;
|
77
77
|
this.descriptors = {
|
78
78
|
page: {},
|
@@ -87,14 +87,17 @@ class SearchServiceClient {
|
|
87
87
|
(opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
|
88
88
|
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
89
89
|
}
|
90
|
+
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
|
91
|
+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
|
92
|
+
: undefined;
|
90
93
|
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';
|
94
|
+
(_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
95
|
this._servicePath = 'discoveryengine.' + this._universeDomain;
|
93
96
|
const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
|
94
97
|
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
|
95
98
|
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
|
96
|
-
const clientConfig = (
|
97
|
-
const fallback = (
|
99
|
+
const clientConfig = (_d = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _d !== void 0 ? _d : {};
|
100
|
+
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
101
|
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
99
102
|
// Request numeric enum values if REST transport is used.
|
100
103
|
opts.numericEnums = true;
|
@@ -125,7 +128,7 @@ class SearchServiceClient {
|
|
125
128
|
this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
|
126
129
|
// Determine the client header string.
|
127
130
|
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
|
128
|
-
if (typeof process
|
131
|
+
if (typeof process === 'object' && 'versions' in process) {
|
129
132
|
clientHeader.push(`gl-node/${process.versions.node}`);
|
130
133
|
}
|
131
134
|
else {
|
@@ -151,6 +154,7 @@ class SearchServiceClient {
|
|
151
154
|
projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
|
152
155
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
153
156
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
157
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
154
158
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
155
159
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
156
160
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -161,6 +165,7 @@ class SearchServiceClient {
|
|
161
165
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
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'),
|
@@ -229,7 +234,7 @@ class SearchServiceClient {
|
|
229
234
|
* @returns {string} The DNS address for this service.
|
230
235
|
*/
|
231
236
|
static get servicePath() {
|
232
|
-
if (typeof process
|
237
|
+
if (typeof process === 'object' &&
|
233
238
|
typeof process.emitWarning === 'function') {
|
234
239
|
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
235
240
|
}
|
@@ -241,7 +246,7 @@ class SearchServiceClient {
|
|
241
246
|
* @returns {string} The DNS address for this service.
|
242
247
|
*/
|
243
248
|
static get apiEndpoint() {
|
244
|
-
if (typeof process
|
249
|
+
if (typeof process === 'object' &&
|
245
250
|
typeof process.emitWarning === 'function') {
|
246
251
|
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
247
252
|
}
|
@@ -349,6 +354,8 @@ class SearchServiceClient {
|
|
349
354
|
* is unset.
|
350
355
|
*
|
351
356
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
357
|
+
* @param {number[]} request.dataStoreSpecs
|
358
|
+
* A list of data store specs to apply on a search call.
|
352
359
|
* @param {string} request.filter
|
353
360
|
* The filter syntax consists of an expression language for constructing a
|
354
361
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -566,6 +573,8 @@ class SearchServiceClient {
|
|
566
573
|
* is unset.
|
567
574
|
*
|
568
575
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
576
|
+
* @param {number[]} request.dataStoreSpecs
|
577
|
+
* A list of data store specs to apply on a search call.
|
569
578
|
* @param {string} request.filter
|
570
579
|
* The filter syntax consists of an expression language for constructing a
|
571
580
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -1128,6 +1137,63 @@ class SearchServiceClient {
|
|
1128
1137
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1129
1138
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1130
1139
|
}
|
1140
|
+
/**
|
1141
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1142
|
+
*
|
1143
|
+
* @param {string} project
|
1144
|
+
* @param {string} location
|
1145
|
+
* @param {string} collection
|
1146
|
+
* @param {string} data_store
|
1147
|
+
* @returns {string} Resource name string.
|
1148
|
+
*/
|
1149
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
1150
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
1151
|
+
project: project,
|
1152
|
+
location: location,
|
1153
|
+
collection: collection,
|
1154
|
+
data_store: dataStore,
|
1155
|
+
});
|
1156
|
+
}
|
1157
|
+
/**
|
1158
|
+
* Parse the project 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 project.
|
1163
|
+
*/
|
1164
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1165
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
1166
|
+
}
|
1167
|
+
/**
|
1168
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1169
|
+
*
|
1170
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1171
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1172
|
+
* @returns {string} A string representing the location.
|
1173
|
+
*/
|
1174
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1175
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
1176
|
+
}
|
1177
|
+
/**
|
1178
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1179
|
+
*
|
1180
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1181
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1182
|
+
* @returns {string} A string representing the collection.
|
1183
|
+
*/
|
1184
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1185
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
1186
|
+
}
|
1187
|
+
/**
|
1188
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1189
|
+
*
|
1190
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1191
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1192
|
+
* @returns {string} A string representing the data_store.
|
1193
|
+
*/
|
1194
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1195
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
1196
|
+
}
|
1131
1197
|
/**
|
1132
1198
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
1133
1199
|
*
|
@@ -1758,6 +1824,51 @@ class SearchServiceClient {
|
|
1758
1824
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1759
1825
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1760
1826
|
}
|
1827
|
+
/**
|
1828
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1829
|
+
*
|
1830
|
+
* @param {string} project
|
1831
|
+
* @param {string} location
|
1832
|
+
* @param {string} data_store
|
1833
|
+
* @returns {string} Resource name string.
|
1834
|
+
*/
|
1835
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
1836
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
1837
|
+
project: project,
|
1838
|
+
location: location,
|
1839
|
+
data_store: dataStore,
|
1840
|
+
});
|
1841
|
+
}
|
1842
|
+
/**
|
1843
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1844
|
+
*
|
1845
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1846
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1847
|
+
* @returns {string} A string representing the project.
|
1848
|
+
*/
|
1849
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1850
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
1851
|
+
}
|
1852
|
+
/**
|
1853
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1854
|
+
*
|
1855
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1856
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1857
|
+
* @returns {string} A string representing the location.
|
1858
|
+
*/
|
1859
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1860
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
1861
|
+
}
|
1862
|
+
/**
|
1863
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1864
|
+
*
|
1865
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1866
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1867
|
+
* @returns {string} A string representing the data_store.
|
1868
|
+
*/
|
1869
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1870
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
1871
|
+
}
|
1761
1872
|
/**
|
1762
1873
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1763
1874
|
*
|