@google-cloud/discoveryengine 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +49 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +79 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +106 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +97 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +44 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +6 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +80 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +102 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +70 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +13 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +3 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +130 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +376 -21
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +115 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +3 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +221 -30
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +27 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +148 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +7 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +5 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +22 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +19 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +4 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +6 -5
- package/build/protos/protos.d.ts +18160 -8292
- package/build/protos/protos.js +50325 -25400
- package/build/protos/protos.json +4864 -2447
- package/build/src/v1/completion_service_client.js +10 -7
- package/build/src/v1/conversational_search_service_client.js +10 -7
- package/build/src/v1/data_store_service_client.js +10 -7
- package/build/src/v1/document_service_client.js +10 -7
- package/build/src/v1/engine_service_client.js +10 -7
- package/build/src/v1/schema_service_client.js +10 -7
- package/build/src/v1/search_service_client.js +10 -7
- package/build/src/v1/site_search_engine_service_client.js +10 -7
- package/build/src/v1/user_event_service_client.js +10 -7
- package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
- package/build/src/v1alpha/acl_config_service_client.js +1768 -0
- package/build/src/v1alpha/acl_config_service_client_config.json +34 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +1350 -0
- package/build/src/v1alpha/chunk_service_client.js +1889 -0
- package/build/src/v1alpha/chunk_service_client_config.json +34 -0
- package/build/src/v1alpha/completion_service_client.d.ts +588 -3
- package/build/src/v1alpha/completion_service_client.js +844 -9
- package/build/src/v1alpha/completion_service_client_config.json +10 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +233 -1
- package/build/src/v1alpha/conversational_search_service_client.js +326 -7
- package/build/src/v1alpha/data_store_service_client.d.ts +451 -3
- package/build/src/v1alpha/data_store_service_client.js +575 -9
- package/build/src/v1alpha/data_store_service_client_config.json +8 -0
- package/build/src/v1alpha/document_service_client.d.ts +462 -21
- package/build/src/v1alpha/document_service_client.js +549 -7
- package/build/src/v1alpha/document_service_client_config.json +5 -0
- package/build/src/v1alpha/engine_service_client.d.ts +375 -2
- package/build/src/v1alpha/engine_service_client.js +527 -7
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +2034 -0
- package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
- package/build/src/v1alpha/index.d.ts +5 -0
- package/build/src/v1alpha/index.js +11 -1
- package/build/src/v1alpha/rank_service_client.d.ts +1254 -0
- package/build/src/v1alpha/rank_service_client.js +1796 -0
- package/build/src/v1alpha/rank_service_client_config.json +30 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +231 -1
- package/build/src/v1alpha/recommendation_service_client.js +326 -7
- package/build/src/v1alpha/schema_service_client.d.ts +372 -0
- package/build/src/v1alpha/schema_service_client.js +527 -7
- package/build/src/v1alpha/search_service_client.d.ts +288 -30
- package/build/src/v1alpha/search_service_client.js +366 -27
- package/build/src/v1alpha/search_tuning_service_client.d.ts +373 -1
- package/build/src/v1alpha/search_tuning_service_client.js +527 -7
- package/build/src/v1alpha/serving_config_service_client.d.ts +1370 -0
- package/build/src/v1alpha/serving_config_service_client.js +1939 -0
- package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +372 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +527 -7
- package/build/src/v1alpha/user_event_service_client.d.ts +372 -0
- package/build/src/v1alpha/user_event_service_client.js +527 -7
- package/build/src/v1beta/completion_service_client.d.ts +75 -0
- package/build/src/v1beta/completion_service_client.js +114 -7
- package/build/src/v1beta/conversational_search_service_client.d.ts +79 -0
- package/build/src/v1beta/conversational_search_service_client.js +114 -7
- package/build/src/v1beta/data_store_service_client.d.ts +75 -0
- package/build/src/v1beta/data_store_service_client.js +114 -7
- package/build/src/v1beta/document_service_client.d.ts +75 -0
- package/build/src/v1beta/document_service_client.js +114 -7
- package/build/src/v1beta/engine_service_client.d.ts +75 -0
- package/build/src/v1beta/engine_service_client.js +114 -7
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/recommendation_service_client.d.ts +75 -0
- package/build/src/v1beta/recommendation_service_client.js +114 -7
- package/build/src/v1beta/schema_service_client.d.ts +75 -0
- package/build/src/v1beta/schema_service_client.js +114 -7
- package/build/src/v1beta/search_service_client.d.ts +81 -0
- package/build/src/v1beta/search_service_client.js +118 -7
- package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
- package/build/src/v1beta/search_tuning_service_client.js +1784 -0
- package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +123 -8
- package/build/src/v1beta/serving_config_service_client.js +176 -12
- package/build/src/v1beta/site_search_engine_service_client.d.ts +75 -0
- package/build/src/v1beta/site_search_engine_service_client.js +114 -7
- package/build/src/v1beta/user_event_service_client.d.ts +75 -0
- package/build/src/v1beta/user_event_service_client.js +114 -7
- package/package.json +3 -3
@@ -72,7 +72,7 @@ class SiteSearchEngineServiceClient {
|
|
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 SiteSearchEngineServiceClient {
|
|
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 SiteSearchEngineServiceClient {
|
|
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 {
|
@@ -147,18 +150,26 @@ class SiteSearchEngineServiceClient {
|
|
147
150
|
// identifiers to uniquely identify resources within the API.
|
148
151
|
// Create useful helper objects for these.
|
149
152
|
this.pathTemplates = {
|
153
|
+
aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
|
150
154
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
151
155
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
152
156
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
157
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
153
158
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
159
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
154
160
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
161
|
+
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
155
162
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
156
163
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
157
164
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
165
|
+
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
158
166
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
159
167
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
168
|
+
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
160
169
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
170
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
161
171
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
172
|
+
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
162
173
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
163
174
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
164
175
|
};
|
@@ -217,6 +228,9 @@ class SiteSearchEngineServiceClient {
|
|
217
228
|
{
|
218
229
|
get: '/v1alpha/{name=projects/*/locations/*/dataStores/*/operations/*}',
|
219
230
|
},
|
231
|
+
{
|
232
|
+
get: '/v1alpha/{name=projects/*/locations/*/evaluations/*/operations/*}',
|
233
|
+
},
|
220
234
|
{ get: '/v1alpha/{name=projects/*/locations/*/operations/*}' },
|
221
235
|
{ get: '/v1alpha/{name=projects/*/operations/*}' },
|
222
236
|
],
|
@@ -365,7 +379,7 @@ class SiteSearchEngineServiceClient {
|
|
365
379
|
* @returns {string} The DNS address for this service.
|
366
380
|
*/
|
367
381
|
static get servicePath() {
|
368
|
-
if (typeof process
|
382
|
+
if (typeof process === 'object' &&
|
369
383
|
typeof process.emitWarning === 'function') {
|
370
384
|
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
371
385
|
}
|
@@ -377,7 +391,7 @@ class SiteSearchEngineServiceClient {
|
|
377
391
|
* @returns {string} The DNS address for this service.
|
378
392
|
*/
|
379
393
|
static get apiEndpoint() {
|
380
|
-
if (typeof process
|
394
|
+
if (typeof process === 'object' &&
|
381
395
|
typeof process.emitWarning === 'function') {
|
382
396
|
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
383
397
|
}
|
@@ -1193,6 +1207,41 @@ class SiteSearchEngineServiceClient {
|
|
1193
1207
|
// --------------------
|
1194
1208
|
// -- Path templates --
|
1195
1209
|
// --------------------
|
1210
|
+
/**
|
1211
|
+
* Return a fully-qualified aclConfig resource name string.
|
1212
|
+
*
|
1213
|
+
* @param {string} project
|
1214
|
+
* @param {string} location
|
1215
|
+
* @returns {string} Resource name string.
|
1216
|
+
*/
|
1217
|
+
aclConfigPath(project, location) {
|
1218
|
+
return this.pathTemplates.aclConfigPathTemplate.render({
|
1219
|
+
project: project,
|
1220
|
+
location: location,
|
1221
|
+
});
|
1222
|
+
}
|
1223
|
+
/**
|
1224
|
+
* Parse the project from AclConfig resource.
|
1225
|
+
*
|
1226
|
+
* @param {string} aclConfigName
|
1227
|
+
* A fully-qualified path representing AclConfig resource.
|
1228
|
+
* @returns {string} A string representing the project.
|
1229
|
+
*/
|
1230
|
+
matchProjectFromAclConfigName(aclConfigName) {
|
1231
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
1232
|
+
.project;
|
1233
|
+
}
|
1234
|
+
/**
|
1235
|
+
* Parse the location from AclConfig resource.
|
1236
|
+
*
|
1237
|
+
* @param {string} aclConfigName
|
1238
|
+
* A fully-qualified path representing AclConfig resource.
|
1239
|
+
* @returns {string} A string representing the location.
|
1240
|
+
*/
|
1241
|
+
matchLocationFromAclConfigName(aclConfigName) {
|
1242
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
1243
|
+
.location;
|
1244
|
+
}
|
1196
1245
|
/**
|
1197
1246
|
* Return a fully-qualified engine resource name string.
|
1198
1247
|
*
|
@@ -1388,6 +1437,99 @@ class SiteSearchEngineServiceClient {
|
|
1388
1437
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
1389
1438
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
1390
1439
|
}
|
1440
|
+
/**
|
1441
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
1442
|
+
*
|
1443
|
+
* @param {string} project
|
1444
|
+
* @param {string} location
|
1445
|
+
* @param {string} collection
|
1446
|
+
* @param {string} data_store
|
1447
|
+
* @param {string} branch
|
1448
|
+
* @param {string} document
|
1449
|
+
* @param {string} chunk
|
1450
|
+
* @returns {string} Resource name string.
|
1451
|
+
*/
|
1452
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
1453
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
1454
|
+
project: project,
|
1455
|
+
location: location,
|
1456
|
+
collection: collection,
|
1457
|
+
data_store: dataStore,
|
1458
|
+
branch: branch,
|
1459
|
+
document: document,
|
1460
|
+
chunk: chunk,
|
1461
|
+
});
|
1462
|
+
}
|
1463
|
+
/**
|
1464
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1465
|
+
*
|
1466
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1467
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1468
|
+
* @returns {string} A string representing the project.
|
1469
|
+
*/
|
1470
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1471
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
1472
|
+
}
|
1473
|
+
/**
|
1474
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1475
|
+
*
|
1476
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1477
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1478
|
+
* @returns {string} A string representing the location.
|
1479
|
+
*/
|
1480
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1481
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
1482
|
+
}
|
1483
|
+
/**
|
1484
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1485
|
+
*
|
1486
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1487
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1488
|
+
* @returns {string} A string representing the collection.
|
1489
|
+
*/
|
1490
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1491
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
1492
|
+
}
|
1493
|
+
/**
|
1494
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1495
|
+
*
|
1496
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1497
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1498
|
+
* @returns {string} A string representing the data_store.
|
1499
|
+
*/
|
1500
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1501
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
1502
|
+
}
|
1503
|
+
/**
|
1504
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1505
|
+
*
|
1506
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1507
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1508
|
+
* @returns {string} A string representing the branch.
|
1509
|
+
*/
|
1510
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1511
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
1512
|
+
}
|
1513
|
+
/**
|
1514
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1515
|
+
*
|
1516
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1517
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1518
|
+
* @returns {string} A string representing the document.
|
1519
|
+
*/
|
1520
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1521
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
1522
|
+
}
|
1523
|
+
/**
|
1524
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1525
|
+
*
|
1526
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1527
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1528
|
+
* @returns {string} A string representing the chunk.
|
1529
|
+
*/
|
1530
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1531
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
1532
|
+
}
|
1391
1533
|
/**
|
1392
1534
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
1393
1535
|
*
|
@@ -1457,6 +1599,63 @@ class SiteSearchEngineServiceClient {
|
|
1457
1599
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1458
1600
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1459
1601
|
}
|
1602
|
+
/**
|
1603
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1604
|
+
*
|
1605
|
+
* @param {string} project
|
1606
|
+
* @param {string} location
|
1607
|
+
* @param {string} collection
|
1608
|
+
* @param {string} data_store
|
1609
|
+
* @returns {string} Resource name string.
|
1610
|
+
*/
|
1611
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
1612
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
1613
|
+
project: project,
|
1614
|
+
location: location,
|
1615
|
+
collection: collection,
|
1616
|
+
data_store: dataStore,
|
1617
|
+
});
|
1618
|
+
}
|
1619
|
+
/**
|
1620
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1621
|
+
*
|
1622
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1623
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1624
|
+
* @returns {string} A string representing the project.
|
1625
|
+
*/
|
1626
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1627
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
1628
|
+
}
|
1629
|
+
/**
|
1630
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1631
|
+
*
|
1632
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1633
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1634
|
+
* @returns {string} A string representing the location.
|
1635
|
+
*/
|
1636
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1637
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
1638
|
+
}
|
1639
|
+
/**
|
1640
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1641
|
+
*
|
1642
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1643
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1644
|
+
* @returns {string} A string representing the collection.
|
1645
|
+
*/
|
1646
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1647
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
1648
|
+
}
|
1649
|
+
/**
|
1650
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1651
|
+
*
|
1652
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1653
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1654
|
+
* @returns {string} A string representing the data_store.
|
1655
|
+
*/
|
1656
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1657
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
1658
|
+
}
|
1460
1659
|
/**
|
1461
1660
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
1462
1661
|
*
|
@@ -1526,6 +1725,75 @@ class SiteSearchEngineServiceClient {
|
|
1526
1725
|
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
1527
1726
|
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
|
1528
1727
|
}
|
1728
|
+
/**
|
1729
|
+
* Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
|
1730
|
+
*
|
1731
|
+
* @param {string} project
|
1732
|
+
* @param {string} location
|
1733
|
+
* @param {string} collection
|
1734
|
+
* @param {string} data_store
|
1735
|
+
* @param {string} serving_config
|
1736
|
+
* @returns {string} Resource name string.
|
1737
|
+
*/
|
1738
|
+
projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
|
1739
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
|
1740
|
+
project: project,
|
1741
|
+
location: location,
|
1742
|
+
collection: collection,
|
1743
|
+
data_store: dataStore,
|
1744
|
+
serving_config: servingConfig,
|
1745
|
+
});
|
1746
|
+
}
|
1747
|
+
/**
|
1748
|
+
* Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
|
1749
|
+
*
|
1750
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1751
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1752
|
+
* @returns {string} A string representing the project.
|
1753
|
+
*/
|
1754
|
+
matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1755
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
|
1756
|
+
}
|
1757
|
+
/**
|
1758
|
+
* Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
|
1759
|
+
*
|
1760
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1761
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1762
|
+
* @returns {string} A string representing the location.
|
1763
|
+
*/
|
1764
|
+
matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1765
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
|
1766
|
+
}
|
1767
|
+
/**
|
1768
|
+
* Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
|
1769
|
+
*
|
1770
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1771
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1772
|
+
* @returns {string} A string representing the collection.
|
1773
|
+
*/
|
1774
|
+
matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1775
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
|
1776
|
+
}
|
1777
|
+
/**
|
1778
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
|
1779
|
+
*
|
1780
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1781
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1782
|
+
* @returns {string} A string representing the data_store.
|
1783
|
+
*/
|
1784
|
+
matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1785
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
|
1786
|
+
}
|
1787
|
+
/**
|
1788
|
+
* Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
|
1789
|
+
*
|
1790
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1791
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1792
|
+
* @returns {string} A string representing the serving_config.
|
1793
|
+
*/
|
1794
|
+
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1795
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1796
|
+
}
|
1529
1797
|
/**
|
1530
1798
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
1531
1799
|
*
|
@@ -1721,6 +1989,75 @@ class SiteSearchEngineServiceClient {
|
|
1721
1989
|
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
1722
1990
|
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
1723
1991
|
}
|
1992
|
+
/**
|
1993
|
+
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
1994
|
+
*
|
1995
|
+
* @param {string} project
|
1996
|
+
* @param {string} location
|
1997
|
+
* @param {string} collection
|
1998
|
+
* @param {string} engine
|
1999
|
+
* @param {string} serving_config
|
2000
|
+
* @returns {string} Resource name string.
|
2001
|
+
*/
|
2002
|
+
projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
|
2003
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
|
2004
|
+
project: project,
|
2005
|
+
location: location,
|
2006
|
+
collection: collection,
|
2007
|
+
engine: engine,
|
2008
|
+
serving_config: servingConfig,
|
2009
|
+
});
|
2010
|
+
}
|
2011
|
+
/**
|
2012
|
+
* Parse the project from ProjectLocationCollectionEngineServingConfig resource.
|
2013
|
+
*
|
2014
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2015
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2016
|
+
* @returns {string} A string representing the project.
|
2017
|
+
*/
|
2018
|
+
matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2019
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
|
2020
|
+
}
|
2021
|
+
/**
|
2022
|
+
* Parse the location from ProjectLocationCollectionEngineServingConfig resource.
|
2023
|
+
*
|
2024
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2025
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2026
|
+
* @returns {string} A string representing the location.
|
2027
|
+
*/
|
2028
|
+
matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2029
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
|
2030
|
+
}
|
2031
|
+
/**
|
2032
|
+
* Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
|
2033
|
+
*
|
2034
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2035
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2036
|
+
* @returns {string} A string representing the collection.
|
2037
|
+
*/
|
2038
|
+
matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2039
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
|
2040
|
+
}
|
2041
|
+
/**
|
2042
|
+
* Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
|
2043
|
+
*
|
2044
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2045
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2046
|
+
* @returns {string} A string representing the engine.
|
2047
|
+
*/
|
2048
|
+
matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2049
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
|
2050
|
+
}
|
2051
|
+
/**
|
2052
|
+
* Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
|
2053
|
+
*
|
2054
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2055
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2056
|
+
* @returns {string} A string representing the serving_config.
|
2057
|
+
*/
|
2058
|
+
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2059
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2060
|
+
}
|
1724
2061
|
/**
|
1725
2062
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
1726
2063
|
*
|
@@ -1835,6 +2172,87 @@ class SiteSearchEngineServiceClient {
|
|
1835
2172
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1836
2173
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
1837
2174
|
}
|
2175
|
+
/**
|
2176
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
2177
|
+
*
|
2178
|
+
* @param {string} project
|
2179
|
+
* @param {string} location
|
2180
|
+
* @param {string} data_store
|
2181
|
+
* @param {string} branch
|
2182
|
+
* @param {string} document
|
2183
|
+
* @param {string} chunk
|
2184
|
+
* @returns {string} Resource name string.
|
2185
|
+
*/
|
2186
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
2187
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
2188
|
+
project: project,
|
2189
|
+
location: location,
|
2190
|
+
data_store: dataStore,
|
2191
|
+
branch: branch,
|
2192
|
+
document: document,
|
2193
|
+
chunk: chunk,
|
2194
|
+
});
|
2195
|
+
}
|
2196
|
+
/**
|
2197
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2198
|
+
*
|
2199
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2200
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2201
|
+
* @returns {string} A string representing the project.
|
2202
|
+
*/
|
2203
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2204
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
2205
|
+
}
|
2206
|
+
/**
|
2207
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2208
|
+
*
|
2209
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2210
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2211
|
+
* @returns {string} A string representing the location.
|
2212
|
+
*/
|
2213
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2214
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
2215
|
+
}
|
2216
|
+
/**
|
2217
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2218
|
+
*
|
2219
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2220
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2221
|
+
* @returns {string} A string representing the data_store.
|
2222
|
+
*/
|
2223
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2224
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
2225
|
+
}
|
2226
|
+
/**
|
2227
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2228
|
+
*
|
2229
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2230
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2231
|
+
* @returns {string} A string representing the branch.
|
2232
|
+
*/
|
2233
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2234
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
2235
|
+
}
|
2236
|
+
/**
|
2237
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2238
|
+
*
|
2239
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2240
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2241
|
+
* @returns {string} A string representing the document.
|
2242
|
+
*/
|
2243
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2244
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
2245
|
+
}
|
2246
|
+
/**
|
2247
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2248
|
+
*
|
2249
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2250
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2251
|
+
* @returns {string} A string representing the chunk.
|
2252
|
+
*/
|
2253
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2254
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
2255
|
+
}
|
1838
2256
|
/**
|
1839
2257
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
1840
2258
|
*
|
@@ -1892,6 +2310,51 @@ class SiteSearchEngineServiceClient {
|
|
1892
2310
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1893
2311
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1894
2312
|
}
|
2313
|
+
/**
|
2314
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2315
|
+
*
|
2316
|
+
* @param {string} project
|
2317
|
+
* @param {string} location
|
2318
|
+
* @param {string} data_store
|
2319
|
+
* @returns {string} Resource name string.
|
2320
|
+
*/
|
2321
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
2322
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
2323
|
+
project: project,
|
2324
|
+
location: location,
|
2325
|
+
data_store: dataStore,
|
2326
|
+
});
|
2327
|
+
}
|
2328
|
+
/**
|
2329
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2330
|
+
*
|
2331
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2332
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2333
|
+
* @returns {string} A string representing the project.
|
2334
|
+
*/
|
2335
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2336
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
2337
|
+
}
|
2338
|
+
/**
|
2339
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2340
|
+
*
|
2341
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2342
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2343
|
+
* @returns {string} A string representing the location.
|
2344
|
+
*/
|
2345
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2346
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
2347
|
+
}
|
2348
|
+
/**
|
2349
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2350
|
+
*
|
2351
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2352
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2353
|
+
* @returns {string} A string representing the data_store.
|
2354
|
+
*/
|
2355
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2356
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
2357
|
+
}
|
1895
2358
|
/**
|
1896
2359
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1897
2360
|
*
|
@@ -1949,6 +2412,63 @@ class SiteSearchEngineServiceClient {
|
|
1949
2412
|
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
1950
2413
|
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
|
1951
2414
|
}
|
2415
|
+
/**
|
2416
|
+
* Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
|
2417
|
+
*
|
2418
|
+
* @param {string} project
|
2419
|
+
* @param {string} location
|
2420
|
+
* @param {string} data_store
|
2421
|
+
* @param {string} serving_config
|
2422
|
+
* @returns {string} Resource name string.
|
2423
|
+
*/
|
2424
|
+
projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
|
2425
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
|
2426
|
+
project: project,
|
2427
|
+
location: location,
|
2428
|
+
data_store: dataStore,
|
2429
|
+
serving_config: servingConfig,
|
2430
|
+
});
|
2431
|
+
}
|
2432
|
+
/**
|
2433
|
+
* Parse the project from ProjectLocationDataStoreServingConfig resource.
|
2434
|
+
*
|
2435
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2436
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2437
|
+
* @returns {string} A string representing the project.
|
2438
|
+
*/
|
2439
|
+
matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2440
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
|
2441
|
+
}
|
2442
|
+
/**
|
2443
|
+
* Parse the location from ProjectLocationDataStoreServingConfig resource.
|
2444
|
+
*
|
2445
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2446
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2447
|
+
* @returns {string} A string representing the location.
|
2448
|
+
*/
|
2449
|
+
matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2450
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
|
2451
|
+
}
|
2452
|
+
/**
|
2453
|
+
* Parse the data_store from ProjectLocationDataStoreServingConfig resource.
|
2454
|
+
*
|
2455
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2456
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2457
|
+
* @returns {string} A string representing the data_store.
|
2458
|
+
*/
|
2459
|
+
matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2460
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
|
2461
|
+
}
|
2462
|
+
/**
|
2463
|
+
* Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
|
2464
|
+
*
|
2465
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2466
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2467
|
+
* @returns {string} A string representing the serving_config.
|
2468
|
+
*/
|
2469
|
+
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2470
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2471
|
+
}
|
1952
2472
|
/**
|
1953
2473
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1954
2474
|
*
|