@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
@@ -73,7 +73,7 @@ class EngineServiceClient {
|
|
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 EngineServiceClient {
|
|
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 EngineServiceClient {
|
|
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 EngineServiceClient {
|
|
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 EngineServiceClient {
|
|
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 EngineServiceClient {
|
|
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 EngineServiceClient {
|
|
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
|
}
|
@@ -1117,6 +1122,63 @@ class EngineServiceClient {
|
|
1117
1122
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1118
1123
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1119
1124
|
}
|
1125
|
+
/**
|
1126
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1127
|
+
*
|
1128
|
+
* @param {string} project
|
1129
|
+
* @param {string} location
|
1130
|
+
* @param {string} collection
|
1131
|
+
* @param {string} data_store
|
1132
|
+
* @returns {string} Resource name string.
|
1133
|
+
*/
|
1134
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
1135
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
1136
|
+
project: project,
|
1137
|
+
location: location,
|
1138
|
+
collection: collection,
|
1139
|
+
data_store: dataStore,
|
1140
|
+
});
|
1141
|
+
}
|
1142
|
+
/**
|
1143
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1144
|
+
*
|
1145
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1146
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1147
|
+
* @returns {string} A string representing the project.
|
1148
|
+
*/
|
1149
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1150
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
1151
|
+
}
|
1152
|
+
/**
|
1153
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1154
|
+
*
|
1155
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1156
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1157
|
+
* @returns {string} A string representing the location.
|
1158
|
+
*/
|
1159
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1160
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
1161
|
+
}
|
1162
|
+
/**
|
1163
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1164
|
+
*
|
1165
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1166
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1167
|
+
* @returns {string} A string representing the collection.
|
1168
|
+
*/
|
1169
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1170
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
1171
|
+
}
|
1172
|
+
/**
|
1173
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1174
|
+
*
|
1175
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1176
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1177
|
+
* @returns {string} A string representing the data_store.
|
1178
|
+
*/
|
1179
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1180
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
1181
|
+
}
|
1120
1182
|
/**
|
1121
1183
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
1122
1184
|
*
|
@@ -1690,6 +1752,51 @@ class EngineServiceClient {
|
|
1690
1752
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1691
1753
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1692
1754
|
}
|
1755
|
+
/**
|
1756
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1757
|
+
*
|
1758
|
+
* @param {string} project
|
1759
|
+
* @param {string} location
|
1760
|
+
* @param {string} data_store
|
1761
|
+
* @returns {string} Resource name string.
|
1762
|
+
*/
|
1763
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
1764
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
1765
|
+
project: project,
|
1766
|
+
location: location,
|
1767
|
+
data_store: dataStore,
|
1768
|
+
});
|
1769
|
+
}
|
1770
|
+
/**
|
1771
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1772
|
+
*
|
1773
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1774
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1775
|
+
* @returns {string} A string representing the project.
|
1776
|
+
*/
|
1777
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1778
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
1779
|
+
}
|
1780
|
+
/**
|
1781
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1782
|
+
*
|
1783
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1784
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1785
|
+
* @returns {string} A string representing the location.
|
1786
|
+
*/
|
1787
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1788
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
1789
|
+
}
|
1790
|
+
/**
|
1791
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1792
|
+
*
|
1793
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1794
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1795
|
+
* @returns {string} A string representing the data_store.
|
1796
|
+
*/
|
1797
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1798
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
1799
|
+
}
|
1693
1800
|
/**
|
1694
1801
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1695
1802
|
*
|
@@ -6,6 +6,7 @@ export { EngineServiceClient } from './engine_service_client';
|
|
6
6
|
export { RecommendationServiceClient } from './recommendation_service_client';
|
7
7
|
export { SchemaServiceClient } from './schema_service_client';
|
8
8
|
export { SearchServiceClient } from './search_service_client';
|
9
|
+
export { SearchTuningServiceClient } from './search_tuning_service_client';
|
9
10
|
export { ServingConfigServiceClient } from './serving_config_service_client';
|
10
11
|
export { SiteSearchEngineServiceClient } from './site_search_engine_service_client';
|
11
12
|
export { UserEventServiceClient } from './user_event_service_client';
|
@@ -17,7 +17,7 @@
|
|
17
17
|
// ** https://github.com/googleapis/gapic-generator-typescript **
|
18
18
|
// ** All changes to this file may be overwritten. **
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
20
|
-
exports.UserEventServiceClient = exports.SiteSearchEngineServiceClient = exports.ServingConfigServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.RecommendationServiceClient = exports.EngineServiceClient = exports.DocumentServiceClient = exports.DataStoreServiceClient = exports.ConversationalSearchServiceClient = exports.CompletionServiceClient = void 0;
|
20
|
+
exports.UserEventServiceClient = exports.SiteSearchEngineServiceClient = exports.ServingConfigServiceClient = exports.SearchTuningServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.RecommendationServiceClient = exports.EngineServiceClient = exports.DocumentServiceClient = exports.DataStoreServiceClient = exports.ConversationalSearchServiceClient = exports.CompletionServiceClient = void 0;
|
21
21
|
var completion_service_client_1 = require("./completion_service_client");
|
22
22
|
Object.defineProperty(exports, "CompletionServiceClient", { enumerable: true, get: function () { return completion_service_client_1.CompletionServiceClient; } });
|
23
23
|
var conversational_search_service_client_1 = require("./conversational_search_service_client");
|
@@ -34,6 +34,8 @@ var schema_service_client_1 = require("./schema_service_client");
|
|
34
34
|
Object.defineProperty(exports, "SchemaServiceClient", { enumerable: true, get: function () { return schema_service_client_1.SchemaServiceClient; } });
|
35
35
|
var search_service_client_1 = require("./search_service_client");
|
36
36
|
Object.defineProperty(exports, "SearchServiceClient", { enumerable: true, get: function () { return search_service_client_1.SearchServiceClient; } });
|
37
|
+
var search_tuning_service_client_1 = require("./search_tuning_service_client");
|
38
|
+
Object.defineProperty(exports, "SearchTuningServiceClient", { enumerable: true, get: function () { return search_tuning_service_client_1.SearchTuningServiceClient; } });
|
37
39
|
var serving_config_service_client_1 = require("./serving_config_service_client");
|
38
40
|
Object.defineProperty(exports, "ServingConfigServiceClient", { enumerable: true, get: function () { return serving_config_service_client_1.ServingConfigServiceClient; } });
|
39
41
|
var site_search_engine_service_client_1 = require("./site_search_engine_service_client");
|
@@ -496,6 +496,48 @@ export declare class RecommendationServiceClient {
|
|
496
496
|
* @returns {string} A string representing the conversation.
|
497
497
|
*/
|
498
498
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
499
|
+
/**
|
500
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
501
|
+
*
|
502
|
+
* @param {string} project
|
503
|
+
* @param {string} location
|
504
|
+
* @param {string} collection
|
505
|
+
* @param {string} data_store
|
506
|
+
* @returns {string} Resource name string.
|
507
|
+
*/
|
508
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
|
509
|
+
/**
|
510
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
511
|
+
*
|
512
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
513
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
514
|
+
* @returns {string} A string representing the project.
|
515
|
+
*/
|
516
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
517
|
+
/**
|
518
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
519
|
+
*
|
520
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
521
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
522
|
+
* @returns {string} A string representing the location.
|
523
|
+
*/
|
524
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
525
|
+
/**
|
526
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
527
|
+
*
|
528
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
529
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
530
|
+
* @returns {string} A string representing the collection.
|
531
|
+
*/
|
532
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
533
|
+
/**
|
534
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
535
|
+
*
|
536
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
537
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
538
|
+
* @returns {string} A string representing the data_store.
|
539
|
+
*/
|
540
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
499
541
|
/**
|
500
542
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
501
543
|
*
|
@@ -919,6 +961,39 @@ export declare class RecommendationServiceClient {
|
|
919
961
|
* @returns {string} A string representing the conversation.
|
920
962
|
*/
|
921
963
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
964
|
+
/**
|
965
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
966
|
+
*
|
967
|
+
* @param {string} project
|
968
|
+
* @param {string} location
|
969
|
+
* @param {string} data_store
|
970
|
+
* @returns {string} Resource name string.
|
971
|
+
*/
|
972
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
|
973
|
+
/**
|
974
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
975
|
+
*
|
976
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
977
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
978
|
+
* @returns {string} A string representing the project.
|
979
|
+
*/
|
980
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
981
|
+
/**
|
982
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
983
|
+
*
|
984
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
985
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
986
|
+
* @returns {string} A string representing the location.
|
987
|
+
*/
|
988
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
989
|
+
/**
|
990
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
991
|
+
*
|
992
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
993
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
994
|
+
* @returns {string} A string representing the data_store.
|
995
|
+
*/
|
996
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
922
997
|
/**
|
923
998
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
924
999
|
*
|
@@ -72,7 +72,7 @@ class RecommendationServiceClient {
|
|
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: {},
|
@@ -88,14 +88,17 @@ class RecommendationServiceClient {
|
|
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 RecommendationServiceClient {
|
|
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 {
|
@@ -151,6 +154,7 @@ class RecommendationServiceClient {
|
|
151
154
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
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'),
|
@@ -160,6 +164,7 @@ class RecommendationServiceClient {
|
|
160
164
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
161
165
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
162
166
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
167
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
163
168
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
164
169
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
165
170
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -222,7 +227,7 @@ class RecommendationServiceClient {
|
|
222
227
|
* @returns {string} The DNS address for this service.
|
223
228
|
*/
|
224
229
|
static get servicePath() {
|
225
|
-
if (typeof process
|
230
|
+
if (typeof process === 'object' &&
|
226
231
|
typeof process.emitWarning === 'function') {
|
227
232
|
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
228
233
|
}
|
@@ -234,7 +239,7 @@ class RecommendationServiceClient {
|
|
234
239
|
* @returns {string} The DNS address for this service.
|
235
240
|
*/
|
236
241
|
static get apiEndpoint() {
|
237
|
-
if (typeof process
|
242
|
+
if (typeof process === 'object' &&
|
238
243
|
typeof process.emitWarning === 'function') {
|
239
244
|
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
240
245
|
}
|
@@ -619,6 +624,63 @@ class RecommendationServiceClient {
|
|
619
624
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
620
625
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
621
626
|
}
|
627
|
+
/**
|
628
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
629
|
+
*
|
630
|
+
* @param {string} project
|
631
|
+
* @param {string} location
|
632
|
+
* @param {string} collection
|
633
|
+
* @param {string} data_store
|
634
|
+
* @returns {string} Resource name string.
|
635
|
+
*/
|
636
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
637
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
638
|
+
project: project,
|
639
|
+
location: location,
|
640
|
+
collection: collection,
|
641
|
+
data_store: dataStore,
|
642
|
+
});
|
643
|
+
}
|
644
|
+
/**
|
645
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
646
|
+
*
|
647
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
648
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
649
|
+
* @returns {string} A string representing the project.
|
650
|
+
*/
|
651
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
652
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
653
|
+
}
|
654
|
+
/**
|
655
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
656
|
+
*
|
657
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
658
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
659
|
+
* @returns {string} A string representing the location.
|
660
|
+
*/
|
661
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
662
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
663
|
+
}
|
664
|
+
/**
|
665
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
666
|
+
*
|
667
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
668
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
669
|
+
* @returns {string} A string representing the collection.
|
670
|
+
*/
|
671
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
672
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
673
|
+
}
|
674
|
+
/**
|
675
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
676
|
+
*
|
677
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
678
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
679
|
+
* @returns {string} A string representing the data_store.
|
680
|
+
*/
|
681
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
682
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
683
|
+
}
|
622
684
|
/**
|
623
685
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
624
686
|
*
|
@@ -1192,6 +1254,51 @@ class RecommendationServiceClient {
|
|
1192
1254
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1193
1255
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1194
1256
|
}
|
1257
|
+
/**
|
1258
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1259
|
+
*
|
1260
|
+
* @param {string} project
|
1261
|
+
* @param {string} location
|
1262
|
+
* @param {string} data_store
|
1263
|
+
* @returns {string} Resource name string.
|
1264
|
+
*/
|
1265
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
1266
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
1267
|
+
project: project,
|
1268
|
+
location: location,
|
1269
|
+
data_store: dataStore,
|
1270
|
+
});
|
1271
|
+
}
|
1272
|
+
/**
|
1273
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1274
|
+
*
|
1275
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1276
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1277
|
+
* @returns {string} A string representing the project.
|
1278
|
+
*/
|
1279
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1280
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
1281
|
+
}
|
1282
|
+
/**
|
1283
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1284
|
+
*
|
1285
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1286
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1287
|
+
* @returns {string} A string representing the location.
|
1288
|
+
*/
|
1289
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1290
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
1291
|
+
}
|
1292
|
+
/**
|
1293
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1294
|
+
*
|
1295
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1296
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1297
|
+
* @returns {string} A string representing the data_store.
|
1298
|
+
*/
|
1299
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1300
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
1301
|
+
}
|
1195
1302
|
/**
|
1196
1303
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1197
1304
|
*
|
@@ -754,6 +754,48 @@ export declare class SchemaServiceClient {
|
|
754
754
|
* @returns {string} A string representing the conversation.
|
755
755
|
*/
|
756
756
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
757
|
+
/**
|
758
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
759
|
+
*
|
760
|
+
* @param {string} project
|
761
|
+
* @param {string} location
|
762
|
+
* @param {string} collection
|
763
|
+
* @param {string} data_store
|
764
|
+
* @returns {string} Resource name string.
|
765
|
+
*/
|
766
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
|
767
|
+
/**
|
768
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
769
|
+
*
|
770
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
771
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
772
|
+
* @returns {string} A string representing the project.
|
773
|
+
*/
|
774
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
775
|
+
/**
|
776
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
777
|
+
*
|
778
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
779
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
780
|
+
* @returns {string} A string representing the location.
|
781
|
+
*/
|
782
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
783
|
+
/**
|
784
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
785
|
+
*
|
786
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
787
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
788
|
+
* @returns {string} A string representing the collection.
|
789
|
+
*/
|
790
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
791
|
+
/**
|
792
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
793
|
+
*
|
794
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
795
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
796
|
+
* @returns {string} A string representing the data_store.
|
797
|
+
*/
|
798
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
757
799
|
/**
|
758
800
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
759
801
|
*
|
@@ -1177,6 +1219,39 @@ export declare class SchemaServiceClient {
|
|
1177
1219
|
* @returns {string} A string representing the conversation.
|
1178
1220
|
*/
|
1179
1221
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
1222
|
+
/**
|
1223
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1224
|
+
*
|
1225
|
+
* @param {string} project
|
1226
|
+
* @param {string} location
|
1227
|
+
* @param {string} data_store
|
1228
|
+
* @returns {string} Resource name string.
|
1229
|
+
*/
|
1230
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
|
1231
|
+
/**
|
1232
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1233
|
+
*
|
1234
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1235
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1236
|
+
* @returns {string} A string representing the project.
|
1237
|
+
*/
|
1238
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1239
|
+
/**
|
1240
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1241
|
+
*
|
1242
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1243
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1244
|
+
* @returns {string} A string representing the location.
|
1245
|
+
*/
|
1246
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1247
|
+
/**
|
1248
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1249
|
+
*
|
1250
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1251
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1252
|
+
* @returns {string} A string representing the data_store.
|
1253
|
+
*/
|
1254
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1180
1255
|
/**
|
1181
1256
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1182
1257
|
*
|