@google-cloud/discoveryengine 1.3.1 → 1.4.1
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 +64 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +54 -3
- package/build/protos/google/cloud/discoveryengine/v1/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +51 -4
- package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +40 -1
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +304 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +215 -0
- package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +242 -0
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +137 -4
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +170 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +691 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +3 -3
- 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 +72 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +77 -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 +83 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +6 -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 +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -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 +74 -13
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +24 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +147 -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/common.proto +59 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +51 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +45 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +120 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +306 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +10 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +220 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +244 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +41 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +26 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +169 -15
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +265 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +148 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +170 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +695 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -3
- package/build/protos/protos.d.ts +48530 -23682
- package/build/protos/protos.js +122429 -63306
- package/build/protos/protos.json +13438 -7286
- package/build/src/index.d.ts +10 -1
- package/build/src/index.js +10 -1
- package/build/src/v1/completion_service_client.d.ts +489 -7
- package/build/src/v1/completion_service_client.js +715 -11
- package/build/src/v1/completion_service_client_config.json +10 -0
- package/build/src/v1/conversational_search_service_client.d.ts +341 -3
- package/build/src/v1/conversational_search_service_client.js +466 -9
- package/build/src/v1/data_store_service_client.d.ts +1286 -0
- package/build/src/v1/data_store_service_client.js +1768 -0
- package/build/src/v1/data_store_service_client_config.json +46 -0
- package/build/src/v1/document_service_client.d.ts +347 -2
- package/build/src/v1/document_service_client.js +506 -9
- package/build/src/v1/engine_service_client.d.ts +1211 -0
- package/build/src/v1/engine_service_client.js +1731 -0
- package/build/src/v1/engine_service_client_config.json +46 -0
- package/build/src/v1/index.d.ts +3 -0
- package/build/src/v1/index.js +7 -1
- package/build/src/v1/schema_service_client.d.ts +272 -2
- package/build/src/v1/schema_service_client.js +402 -9
- package/build/src/v1/search_service_client.d.ts +515 -11
- package/build/src/v1/search_service_client.js +648 -15
- package/build/src/v1/site_search_engine_service_client.d.ts +1564 -0
- package/build/src/v1/site_search_engine_service_client.js +2075 -0
- package/build/src/v1/site_search_engine_service_client_config.json +74 -0
- package/build/src/v1/user_event_service_client.d.ts +272 -2
- package/build/src/v1/user_event_service_client.js +402 -9
- package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
- package/build/src/v1alpha/acl_config_service_client.js +1765 -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 +1886 -0
- package/build/src/v1alpha/chunk_service_client_config.json +34 -0
- package/build/src/v1alpha/completion_service_client.d.ts +599 -5
- package/build/src/v1alpha/completion_service_client.js +868 -12
- package/build/src/v1alpha/completion_service_client_config.json +10 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +244 -3
- package/build/src/v1alpha/conversational_search_service_client.js +353 -10
- package/build/src/v1alpha/data_store_service_client.d.ts +462 -5
- package/build/src/v1alpha/data_store_service_client.js +599 -12
- package/build/src/v1alpha/data_store_service_client_config.json +8 -0
- package/build/src/v1alpha/document_service_client.d.ts +393 -2
- package/build/src/v1alpha/document_service_client.js +551 -10
- package/build/src/v1alpha/engine_service_client.d.ts +386 -4
- package/build/src/v1alpha/engine_service_client.js +551 -10
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +2028 -0
- package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
- package/build/src/v1alpha/index.d.ts +4 -0
- package/build/src/v1alpha/index.js +10 -2
- package/build/src/v1alpha/recommendation_service_client.d.ts +242 -3
- package/build/src/v1alpha/recommendation_service_client.js +353 -10
- package/build/src/v1alpha/schema_service_client.d.ts +383 -2
- package/build/src/v1alpha/schema_service_client.js +551 -10
- package/build/src/v1alpha/search_service_client.d.ts +269 -17
- package/build/src/v1alpha/search_service_client.js +373 -20
- package/build/src/v1alpha/search_tuning_service_client.d.ts +384 -3
- package/build/src/v1alpha/search_tuning_service_client.js +551 -10
- package/build/src/v1alpha/serving_config_service_client.d.ts +1369 -0
- package/build/src/v1alpha/serving_config_service_client.js +1935 -0
- package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +383 -2
- package/build/src/v1alpha/site_search_engine_service_client.js +551 -10
- package/build/src/v1alpha/user_event_service_client.d.ts +383 -2
- package/build/src/v1alpha/user_event_service_client.js +551 -10
- package/build/src/v1beta/completion_service_client.d.ts +708 -7
- package/build/src/v1beta/completion_service_client.js +1015 -11
- package/build/src/v1beta/completion_service_client_config.json +10 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +420 -3
- package/build/src/v1beta/conversational_search_service_client.js +570 -9
- package/build/src/v1beta/data_store_service_client.d.ts +1508 -0
- package/build/src/v1beta/data_store_service_client.js +2070 -0
- package/build/src/v1beta/data_store_service_client_config.json +46 -0
- package/build/src/v1beta/document_service_client.d.ts +566 -2
- package/build/src/v1beta/document_service_client.js +810 -11
- package/build/src/v1beta/engine_service_client.d.ts +1432 -0
- package/build/src/v1beta/engine_service_client.js +2032 -0
- package/build/src/v1beta/engine_service_client_config.json +46 -0
- package/build/src/v1beta/index.d.ts +5 -0
- package/build/src/v1beta/index.js +11 -1
- package/build/src/v1beta/recommendation_service_client.d.ts +495 -5
- package/build/src/v1beta/recommendation_service_client.js +674 -9
- package/build/src/v1beta/schema_service_client.d.ts +491 -2
- package/build/src/v1beta/schema_service_client.js +706 -11
- package/build/src/v1beta/search_service_client.d.ts +620 -29
- package/build/src/v1beta/search_service_client.js +772 -27
- package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
- package/build/src/v1beta/search_tuning_service_client.js +1781 -0
- package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +1217 -0
- package/build/src/v1beta/serving_config_service_client.js +1724 -0
- package/build/src/v1beta/serving_config_service_client_config.json +38 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +1787 -0
- package/build/src/v1beta/site_search_engine_service_client.js +2375 -0
- package/build/src/v1beta/site_search_engine_service_client_config.json +74 -0
- package/build/src/v1beta/user_event_service_client.d.ts +491 -2
- package/build/src/v1beta/user_event_service_client.js +706 -11
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright
|
|
2
|
+
// Copyright 2024 Google LLC
|
|
3
3
|
//
|
|
4
4
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
// you may not use this file except in compliance with the License.
|
|
@@ -72,7 +72,7 @@ class ConversationalSearchServiceClient {
|
|
|
72
72
|
* ```
|
|
73
73
|
*/
|
|
74
74
|
constructor(opts, gaxInstance) {
|
|
75
|
-
var _a, _b;
|
|
75
|
+
var _a, _b, _c, _d;
|
|
76
76
|
this._terminated = false;
|
|
77
77
|
this.descriptors = {
|
|
78
78
|
page: {},
|
|
@@ -83,16 +83,24 @@ class ConversationalSearchServiceClient {
|
|
|
83
83
|
// Ensure that options include all the required fields.
|
|
84
84
|
const staticMembers = this
|
|
85
85
|
.constructor;
|
|
86
|
-
|
|
86
|
+
if ((opts === null || opts === void 0 ? void 0 : opts.universe_domain) &&
|
|
87
|
+
(opts === null || opts === void 0 ? void 0 : opts.universeDomain) &&
|
|
88
|
+
(opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
|
|
89
|
+
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
|
90
|
+
}
|
|
91
|
+
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';
|
|
93
|
+
this._servicePath = 'discoveryengine.' + this._universeDomain;
|
|
94
|
+
const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
|
|
87
95
|
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
|
|
88
96
|
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
|
|
89
|
-
const clientConfig = (
|
|
90
|
-
const fallback = (
|
|
97
|
+
const clientConfig = (_c = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _c !== void 0 ? _c : {};
|
|
98
|
+
const fallback = (_d = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _d !== void 0 ? _d : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
|
|
91
99
|
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
|
92
100
|
// Request numeric enum values if REST transport is used.
|
|
93
101
|
opts.numericEnums = true;
|
|
94
102
|
// If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case.
|
|
95
|
-
if (servicePath !==
|
|
103
|
+
if (servicePath !== this._servicePath && !('scopes' in opts)) {
|
|
96
104
|
opts['scopes'] = staticMembers.scopes;
|
|
97
105
|
}
|
|
98
106
|
// Load google-gax module synchronously if needed
|
|
@@ -110,9 +118,9 @@ class ConversationalSearchServiceClient {
|
|
|
110
118
|
// Set useJWTAccessWithScope on the auth object.
|
|
111
119
|
this.auth.useJWTAccessWithScope = true;
|
|
112
120
|
// Set defaultServicePath on the auth object.
|
|
113
|
-
this.auth.defaultServicePath =
|
|
121
|
+
this.auth.defaultServicePath = this._servicePath;
|
|
114
122
|
// Set the default scopes in auth client if needed.
|
|
115
|
-
if (servicePath ===
|
|
123
|
+
if (servicePath === this._servicePath) {
|
|
116
124
|
this.auth.defaultScopes = staticMembers.scopes;
|
|
117
125
|
}
|
|
118
126
|
this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
|
|
@@ -139,10 +147,13 @@ class ConversationalSearchServiceClient {
|
|
|
139
147
|
// identifiers to uniquely identify resources within the API.
|
|
140
148
|
// Create useful helper objects for these.
|
|
141
149
|
this.pathTemplates = {
|
|
150
|
+
aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
|
|
142
151
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
|
143
152
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
|
144
153
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
154
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
|
145
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'),
|
|
146
157
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
|
147
158
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
|
148
159
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
|
@@ -151,7 +162,9 @@ class ConversationalSearchServiceClient {
|
|
|
151
162
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
|
152
163
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
|
153
164
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
165
|
+
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
|
154
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'),
|
|
155
168
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
|
156
169
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
|
157
170
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
|
@@ -223,19 +236,38 @@ class ConversationalSearchServiceClient {
|
|
|
223
236
|
}
|
|
224
237
|
/**
|
|
225
238
|
* The DNS address for this API service.
|
|
239
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
|
226
240
|
* @returns {string} The DNS address for this service.
|
|
227
241
|
*/
|
|
228
242
|
static get servicePath() {
|
|
243
|
+
if (typeof process !== undefined &&
|
|
244
|
+
typeof process.emitWarning === 'function') {
|
|
245
|
+
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
|
246
|
+
}
|
|
229
247
|
return 'discoveryengine.googleapis.com';
|
|
230
248
|
}
|
|
231
249
|
/**
|
|
232
|
-
* The DNS address for this API service - same as servicePath
|
|
233
|
-
*
|
|
250
|
+
* The DNS address for this API service - same as servicePath.
|
|
251
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
|
234
252
|
* @returns {string} The DNS address for this service.
|
|
235
253
|
*/
|
|
236
254
|
static get apiEndpoint() {
|
|
255
|
+
if (typeof process !== undefined &&
|
|
256
|
+
typeof process.emitWarning === 'function') {
|
|
257
|
+
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
|
258
|
+
}
|
|
237
259
|
return 'discoveryengine.googleapis.com';
|
|
238
260
|
}
|
|
261
|
+
/**
|
|
262
|
+
* The DNS address for this API service.
|
|
263
|
+
* @returns {string} The DNS address for this service.
|
|
264
|
+
*/
|
|
265
|
+
get apiEndpoint() {
|
|
266
|
+
return this._servicePath;
|
|
267
|
+
}
|
|
268
|
+
get universeDomain() {
|
|
269
|
+
return this._universeDomain;
|
|
270
|
+
}
|
|
239
271
|
/**
|
|
240
272
|
* The port for this API service.
|
|
241
273
|
* @returns {number} The default port for this service.
|
|
@@ -561,6 +593,41 @@ class ConversationalSearchServiceClient {
|
|
|
561
593
|
// --------------------
|
|
562
594
|
// -- Path templates --
|
|
563
595
|
// --------------------
|
|
596
|
+
/**
|
|
597
|
+
* Return a fully-qualified aclConfig resource name string.
|
|
598
|
+
*
|
|
599
|
+
* @param {string} project
|
|
600
|
+
* @param {string} location
|
|
601
|
+
* @returns {string} Resource name string.
|
|
602
|
+
*/
|
|
603
|
+
aclConfigPath(project, location) {
|
|
604
|
+
return this.pathTemplates.aclConfigPathTemplate.render({
|
|
605
|
+
project: project,
|
|
606
|
+
location: location,
|
|
607
|
+
});
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* Parse the project from AclConfig resource.
|
|
611
|
+
*
|
|
612
|
+
* @param {string} aclConfigName
|
|
613
|
+
* A fully-qualified path representing AclConfig resource.
|
|
614
|
+
* @returns {string} A string representing the project.
|
|
615
|
+
*/
|
|
616
|
+
matchProjectFromAclConfigName(aclConfigName) {
|
|
617
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
|
618
|
+
.project;
|
|
619
|
+
}
|
|
620
|
+
/**
|
|
621
|
+
* Parse the location from AclConfig resource.
|
|
622
|
+
*
|
|
623
|
+
* @param {string} aclConfigName
|
|
624
|
+
* A fully-qualified path representing AclConfig resource.
|
|
625
|
+
* @returns {string} A string representing the location.
|
|
626
|
+
*/
|
|
627
|
+
matchLocationFromAclConfigName(aclConfigName) {
|
|
628
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
|
629
|
+
.location;
|
|
630
|
+
}
|
|
564
631
|
/**
|
|
565
632
|
* Return a fully-qualified engine resource name string.
|
|
566
633
|
*
|
|
@@ -756,6 +823,99 @@ class ConversationalSearchServiceClient {
|
|
|
756
823
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
|
757
824
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
|
758
825
|
}
|
|
826
|
+
/**
|
|
827
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
|
828
|
+
*
|
|
829
|
+
* @param {string} project
|
|
830
|
+
* @param {string} location
|
|
831
|
+
* @param {string} collection
|
|
832
|
+
* @param {string} data_store
|
|
833
|
+
* @param {string} branch
|
|
834
|
+
* @param {string} document
|
|
835
|
+
* @param {string} chunk
|
|
836
|
+
* @returns {string} Resource name string.
|
|
837
|
+
*/
|
|
838
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
|
839
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
|
840
|
+
project: project,
|
|
841
|
+
location: location,
|
|
842
|
+
collection: collection,
|
|
843
|
+
data_store: dataStore,
|
|
844
|
+
branch: branch,
|
|
845
|
+
document: document,
|
|
846
|
+
chunk: chunk,
|
|
847
|
+
});
|
|
848
|
+
}
|
|
849
|
+
/**
|
|
850
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
851
|
+
*
|
|
852
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
853
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
854
|
+
* @returns {string} A string representing the project.
|
|
855
|
+
*/
|
|
856
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
857
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
|
858
|
+
}
|
|
859
|
+
/**
|
|
860
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
861
|
+
*
|
|
862
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
863
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
864
|
+
* @returns {string} A string representing the location.
|
|
865
|
+
*/
|
|
866
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
867
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
|
868
|
+
}
|
|
869
|
+
/**
|
|
870
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
871
|
+
*
|
|
872
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
873
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
874
|
+
* @returns {string} A string representing the collection.
|
|
875
|
+
*/
|
|
876
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
877
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
881
|
+
*
|
|
882
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
883
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
884
|
+
* @returns {string} A string representing the data_store.
|
|
885
|
+
*/
|
|
886
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
887
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
|
888
|
+
}
|
|
889
|
+
/**
|
|
890
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
891
|
+
*
|
|
892
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
893
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
894
|
+
* @returns {string} A string representing the branch.
|
|
895
|
+
*/
|
|
896
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
897
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
|
898
|
+
}
|
|
899
|
+
/**
|
|
900
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
901
|
+
*
|
|
902
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
903
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
904
|
+
* @returns {string} A string representing the document.
|
|
905
|
+
*/
|
|
906
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
907
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
911
|
+
*
|
|
912
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
913
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
914
|
+
* @returns {string} A string representing the chunk.
|
|
915
|
+
*/
|
|
916
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
917
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
|
918
|
+
}
|
|
759
919
|
/**
|
|
760
920
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
|
761
921
|
*
|
|
@@ -825,6 +985,63 @@ class ConversationalSearchServiceClient {
|
|
|
825
985
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
|
826
986
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
|
827
987
|
}
|
|
988
|
+
/**
|
|
989
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
|
990
|
+
*
|
|
991
|
+
* @param {string} project
|
|
992
|
+
* @param {string} location
|
|
993
|
+
* @param {string} collection
|
|
994
|
+
* @param {string} data_store
|
|
995
|
+
* @returns {string} Resource name string.
|
|
996
|
+
*/
|
|
997
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
|
998
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
|
999
|
+
project: project,
|
|
1000
|
+
location: location,
|
|
1001
|
+
collection: collection,
|
|
1002
|
+
data_store: dataStore,
|
|
1003
|
+
});
|
|
1004
|
+
}
|
|
1005
|
+
/**
|
|
1006
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1007
|
+
*
|
|
1008
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1009
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1010
|
+
* @returns {string} A string representing the project.
|
|
1011
|
+
*/
|
|
1012
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1013
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
|
1014
|
+
}
|
|
1015
|
+
/**
|
|
1016
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1017
|
+
*
|
|
1018
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1019
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1020
|
+
* @returns {string} A string representing the location.
|
|
1021
|
+
*/
|
|
1022
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1023
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1027
|
+
*
|
|
1028
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1029
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1030
|
+
* @returns {string} A string representing the collection.
|
|
1031
|
+
*/
|
|
1032
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1033
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
|
1034
|
+
}
|
|
1035
|
+
/**
|
|
1036
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1037
|
+
*
|
|
1038
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1039
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1040
|
+
* @returns {string} A string representing the data_store.
|
|
1041
|
+
*/
|
|
1042
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1043
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
|
1044
|
+
}
|
|
828
1045
|
/**
|
|
829
1046
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
|
830
1047
|
*
|
|
@@ -1341,6 +1558,87 @@ class ConversationalSearchServiceClient {
|
|
|
1341
1558
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
|
1342
1559
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
|
1343
1560
|
}
|
|
1561
|
+
/**
|
|
1562
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
|
1563
|
+
*
|
|
1564
|
+
* @param {string} project
|
|
1565
|
+
* @param {string} location
|
|
1566
|
+
* @param {string} data_store
|
|
1567
|
+
* @param {string} branch
|
|
1568
|
+
* @param {string} document
|
|
1569
|
+
* @param {string} chunk
|
|
1570
|
+
* @returns {string} Resource name string.
|
|
1571
|
+
*/
|
|
1572
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
|
1573
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
|
1574
|
+
project: project,
|
|
1575
|
+
location: location,
|
|
1576
|
+
data_store: dataStore,
|
|
1577
|
+
branch: branch,
|
|
1578
|
+
document: document,
|
|
1579
|
+
chunk: chunk,
|
|
1580
|
+
});
|
|
1581
|
+
}
|
|
1582
|
+
/**
|
|
1583
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1584
|
+
*
|
|
1585
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1586
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1587
|
+
* @returns {string} A string representing the project.
|
|
1588
|
+
*/
|
|
1589
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1590
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
|
1591
|
+
}
|
|
1592
|
+
/**
|
|
1593
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1594
|
+
*
|
|
1595
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1596
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1597
|
+
* @returns {string} A string representing the location.
|
|
1598
|
+
*/
|
|
1599
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1600
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
|
1601
|
+
}
|
|
1602
|
+
/**
|
|
1603
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1604
|
+
*
|
|
1605
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1606
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1607
|
+
* @returns {string} A string representing the data_store.
|
|
1608
|
+
*/
|
|
1609
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1610
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
|
1611
|
+
}
|
|
1612
|
+
/**
|
|
1613
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1614
|
+
*
|
|
1615
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1616
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1617
|
+
* @returns {string} A string representing the branch.
|
|
1618
|
+
*/
|
|
1619
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1620
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
|
1621
|
+
}
|
|
1622
|
+
/**
|
|
1623
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1624
|
+
*
|
|
1625
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1626
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1627
|
+
* @returns {string} A string representing the document.
|
|
1628
|
+
*/
|
|
1629
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1630
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
|
1631
|
+
}
|
|
1632
|
+
/**
|
|
1633
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1634
|
+
*
|
|
1635
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1636
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1637
|
+
* @returns {string} A string representing the chunk.
|
|
1638
|
+
*/
|
|
1639
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1640
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
|
1641
|
+
}
|
|
1344
1642
|
/**
|
|
1345
1643
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
|
1346
1644
|
*
|
|
@@ -1398,6 +1696,51 @@ class ConversationalSearchServiceClient {
|
|
|
1398
1696
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
|
1399
1697
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
|
1400
1698
|
}
|
|
1699
|
+
/**
|
|
1700
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
|
1701
|
+
*
|
|
1702
|
+
* @param {string} project
|
|
1703
|
+
* @param {string} location
|
|
1704
|
+
* @param {string} data_store
|
|
1705
|
+
* @returns {string} Resource name string.
|
|
1706
|
+
*/
|
|
1707
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
|
1708
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
|
1709
|
+
project: project,
|
|
1710
|
+
location: location,
|
|
1711
|
+
data_store: dataStore,
|
|
1712
|
+
});
|
|
1713
|
+
}
|
|
1714
|
+
/**
|
|
1715
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1716
|
+
*
|
|
1717
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1718
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1719
|
+
* @returns {string} A string representing the project.
|
|
1720
|
+
*/
|
|
1721
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
1722
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
|
1723
|
+
}
|
|
1724
|
+
/**
|
|
1725
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1726
|
+
*
|
|
1727
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1728
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1729
|
+
* @returns {string} A string representing the location.
|
|
1730
|
+
*/
|
|
1731
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
1732
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
|
1733
|
+
}
|
|
1734
|
+
/**
|
|
1735
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1736
|
+
*
|
|
1737
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1738
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1739
|
+
* @returns {string} A string representing the data_store.
|
|
1740
|
+
*/
|
|
1741
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
1742
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
|
1743
|
+
}
|
|
1401
1744
|
/**
|
|
1402
1745
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
|
1403
1746
|
*
|