@google-cloud/discoveryengine 1.3.0 → 1.4.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 +63 -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/common.proto +0 -5
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +39 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +97 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +147 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +164 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +540 -0
- 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 +40 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +306 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
- 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 +38 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +26 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +150 -11
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +264 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +147 -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 +42822 -21397
- package/build/protos/protos.js +110509 -61572
- package/build/protos/protos.json +11779 -6752
- package/build/src/index.d.ts +10 -1
- package/build/src/index.js +11 -2
- package/build/src/v1/completion_service_client.d.ts +489 -7
- package/build/src/v1/completion_service_client.js +716 -12
- 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 +467 -10
- 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 +507 -10
- 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 +8 -2
- package/build/src/v1/schema_service_client.d.ts +272 -2
- package/build/src/v1/schema_service_client.js +403 -10
- package/build/src/v1/search_service_client.d.ts +515 -11
- package/build/src/v1/search_service_client.js +649 -16
- 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 +403 -10
- package/build/src/v1alpha/completion_service_client.d.ts +230 -2
- package/build/src/v1alpha/completion_service_client.js +339 -10
- package/build/src/v1alpha/conversational_search_service_client.d.ts +247 -2
- package/build/src/v1alpha/conversational_search_service_client.js +339 -10
- package/build/src/v1alpha/data_store_service_client.d.ts +230 -2
- package/build/src/v1alpha/data_store_service_client.js +347 -12
- package/build/src/v1alpha/document_service_client.d.ts +230 -2
- package/build/src/v1alpha/document_service_client.js +347 -12
- package/build/src/v1alpha/engine_service_client.d.ts +231 -3
- package/build/src/v1alpha/engine_service_client.js +347 -12
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +4 -2
- package/build/src/v1alpha/recommendation_service_client.d.ts +230 -2
- package/build/src/v1alpha/recommendation_service_client.js +339 -10
- package/build/src/v1alpha/schema_service_client.d.ts +230 -2
- package/build/src/v1alpha/schema_service_client.js +347 -12
- package/build/src/v1alpha/search_service_client.d.ts +269 -2
- package/build/src/v1alpha/search_service_client.js +365 -10
- package/build/src/v1alpha/search_tuning_service_client.d.ts +977 -0
- package/build/src/v1alpha/search_tuning_service_client.js +1479 -0
- package/build/src/v1alpha/search_tuning_service_client_config.json +30 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +750 -3
- package/build/src/v1alpha/site_search_engine_service_client.js +838 -14
- package/build/src/v1alpha/site_search_engine_service_client_config.json +44 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +230 -2
- package/build/src/v1alpha/user_event_service_client.js +347 -12
- package/build/src/v1beta/completion_service_client.d.ts +633 -7
- package/build/src/v1beta/completion_service_client.js +912 -12
- package/build/src/v1beta/completion_service_client_config.json +10 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +341 -3
- package/build/src/v1beta/conversational_search_service_client.js +467 -10
- package/build/src/v1beta/data_store_service_client.d.ts +1433 -0
- package/build/src/v1beta/data_store_service_client.js +1966 -0
- package/build/src/v1beta/data_store_service_client_config.json +46 -0
- package/build/src/v1beta/document_service_client.d.ts +491 -2
- package/build/src/v1beta/document_service_client.js +707 -12
- package/build/src/v1beta/engine_service_client.d.ts +1357 -0
- package/build/src/v1beta/engine_service_client.js +1928 -0
- package/build/src/v1beta/engine_service_client_config.json +46 -0
- package/build/src/v1beta/index.d.ts +4 -0
- package/build/src/v1beta/index.js +10 -2
- package/build/src/v1beta/recommendation_service_client.d.ts +420 -5
- package/build/src/v1beta/recommendation_service_client.js +571 -10
- package/build/src/v1beta/schema_service_client.d.ts +416 -2
- package/build/src/v1beta/schema_service_client.js +603 -12
- package/build/src/v1beta/search_service_client.d.ts +539 -29
- package/build/src/v1beta/search_service_client.js +665 -28
- package/build/src/v1beta/serving_config_service_client.d.ts +1102 -0
- package/build/src/v1beta/serving_config_service_client.js +1563 -0
- package/build/src/v1beta/serving_config_service_client_config.json +38 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +1712 -0
- package/build/src/v1beta/site_search_engine_service_client.js +2271 -0
- package/build/src/v1beta/site_search_engine_service_client_config.json +74 -0
- package/build/src/v1beta/user_event_service_client.d.ts +416 -2
- package/build/src/v1beta/user_event_service_client.js +603 -12
- 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 RecommendationServiceClient {
|
|
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 RecommendationServiceClient {
|
|
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 RecommendationServiceClient {
|
|
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,14 +147,23 @@ class RecommendationServiceClient {
|
|
139
147
|
// identifiers to uniquely identify resources within the API.
|
140
148
|
// Create useful helper objects for these.
|
141
149
|
this.pathTemplates = {
|
150
|
+
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
151
|
+
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
142
152
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
143
153
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
144
154
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
145
155
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
156
|
+
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
157
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
158
|
+
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
159
|
+
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
160
|
+
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
146
161
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
147
162
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
148
163
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
149
164
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
165
|
+
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
166
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
150
167
|
};
|
151
168
|
// Put together the default options sent with requests.
|
152
169
|
this._defaults = this._gaxGrpc.constructSettings('google.cloud.discoveryengine.v1beta.RecommendationService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
|
@@ -201,19 +218,38 @@ class RecommendationServiceClient {
|
|
201
218
|
}
|
202
219
|
/**
|
203
220
|
* The DNS address for this API service.
|
221
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
204
222
|
* @returns {string} The DNS address for this service.
|
205
223
|
*/
|
206
224
|
static get servicePath() {
|
225
|
+
if (typeof process !== undefined &&
|
226
|
+
typeof process.emitWarning === 'function') {
|
227
|
+
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
228
|
+
}
|
207
229
|
return 'discoveryengine.googleapis.com';
|
208
230
|
}
|
209
231
|
/**
|
210
|
-
* The DNS address for this API service - same as servicePath
|
211
|
-
*
|
232
|
+
* The DNS address for this API service - same as servicePath.
|
233
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
212
234
|
* @returns {string} The DNS address for this service.
|
213
235
|
*/
|
214
236
|
static get apiEndpoint() {
|
237
|
+
if (typeof process !== undefined &&
|
238
|
+
typeof process.emitWarning === 'function') {
|
239
|
+
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
240
|
+
}
|
215
241
|
return 'discoveryengine.googleapis.com';
|
216
242
|
}
|
243
|
+
/**
|
244
|
+
* The DNS address for this API service.
|
245
|
+
* @returns {string} The DNS address for this service.
|
246
|
+
*/
|
247
|
+
get apiEndpoint() {
|
248
|
+
return this._servicePath;
|
249
|
+
}
|
250
|
+
get universeDomain() {
|
251
|
+
return this._universeDomain;
|
252
|
+
}
|
217
253
|
/**
|
218
254
|
* The port for this API service.
|
219
255
|
* @returns {number} The default port for this service.
|
@@ -319,6 +355,120 @@ class RecommendationServiceClient {
|
|
319
355
|
// --------------------
|
320
356
|
// -- Path templates --
|
321
357
|
// --------------------
|
358
|
+
/**
|
359
|
+
* Return a fully-qualified engine resource name string.
|
360
|
+
*
|
361
|
+
* @param {string} project
|
362
|
+
* @param {string} location
|
363
|
+
* @param {string} collection
|
364
|
+
* @param {string} engine
|
365
|
+
* @returns {string} Resource name string.
|
366
|
+
*/
|
367
|
+
enginePath(project, location, collection, engine) {
|
368
|
+
return this.pathTemplates.enginePathTemplate.render({
|
369
|
+
project: project,
|
370
|
+
location: location,
|
371
|
+
collection: collection,
|
372
|
+
engine: engine,
|
373
|
+
});
|
374
|
+
}
|
375
|
+
/**
|
376
|
+
* Parse the project from Engine resource.
|
377
|
+
*
|
378
|
+
* @param {string} engineName
|
379
|
+
* A fully-qualified path representing Engine resource.
|
380
|
+
* @returns {string} A string representing the project.
|
381
|
+
*/
|
382
|
+
matchProjectFromEngineName(engineName) {
|
383
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).project;
|
384
|
+
}
|
385
|
+
/**
|
386
|
+
* Parse the location from Engine resource.
|
387
|
+
*
|
388
|
+
* @param {string} engineName
|
389
|
+
* A fully-qualified path representing Engine resource.
|
390
|
+
* @returns {string} A string representing the location.
|
391
|
+
*/
|
392
|
+
matchLocationFromEngineName(engineName) {
|
393
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).location;
|
394
|
+
}
|
395
|
+
/**
|
396
|
+
* Parse the collection from Engine resource.
|
397
|
+
*
|
398
|
+
* @param {string} engineName
|
399
|
+
* A fully-qualified path representing Engine resource.
|
400
|
+
* @returns {string} A string representing the collection.
|
401
|
+
*/
|
402
|
+
matchCollectionFromEngineName(engineName) {
|
403
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).collection;
|
404
|
+
}
|
405
|
+
/**
|
406
|
+
* Parse the engine from Engine resource.
|
407
|
+
*
|
408
|
+
* @param {string} engineName
|
409
|
+
* A fully-qualified path representing Engine resource.
|
410
|
+
* @returns {string} A string representing the engine.
|
411
|
+
*/
|
412
|
+
matchEngineFromEngineName(engineName) {
|
413
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
414
|
+
}
|
415
|
+
/**
|
416
|
+
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
417
|
+
*
|
418
|
+
* @param {string} project
|
419
|
+
* @param {string} location
|
420
|
+
* @param {string} collection
|
421
|
+
* @param {string} data_store
|
422
|
+
* @returns {string} Resource name string.
|
423
|
+
*/
|
424
|
+
projectLocationCollectionDataStorePath(project, location, collection, dataStore) {
|
425
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.render({
|
426
|
+
project: project,
|
427
|
+
location: location,
|
428
|
+
collection: collection,
|
429
|
+
data_store: dataStore,
|
430
|
+
});
|
431
|
+
}
|
432
|
+
/**
|
433
|
+
* Parse the project from ProjectLocationCollectionDataStore resource.
|
434
|
+
*
|
435
|
+
* @param {string} projectLocationCollectionDataStoreName
|
436
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
437
|
+
* @returns {string} A string representing the project.
|
438
|
+
*/
|
439
|
+
matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
440
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).project;
|
441
|
+
}
|
442
|
+
/**
|
443
|
+
* Parse the location from ProjectLocationCollectionDataStore resource.
|
444
|
+
*
|
445
|
+
* @param {string} projectLocationCollectionDataStoreName
|
446
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
447
|
+
* @returns {string} A string representing the location.
|
448
|
+
*/
|
449
|
+
matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
450
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).location;
|
451
|
+
}
|
452
|
+
/**
|
453
|
+
* Parse the collection from ProjectLocationCollectionDataStore resource.
|
454
|
+
*
|
455
|
+
* @param {string} projectLocationCollectionDataStoreName
|
456
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
457
|
+
* @returns {string} A string representing the collection.
|
458
|
+
*/
|
459
|
+
matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
460
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).collection;
|
461
|
+
}
|
462
|
+
/**
|
463
|
+
* Parse the data_store from ProjectLocationCollectionDataStore resource.
|
464
|
+
*
|
465
|
+
* @param {string} projectLocationCollectionDataStoreName
|
466
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
467
|
+
* @returns {string} A string representing the data_store.
|
468
|
+
*/
|
469
|
+
matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
470
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).data_store;
|
471
|
+
}
|
322
472
|
/**
|
323
473
|
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
|
324
474
|
*
|
@@ -607,6 +757,315 @@ class RecommendationServiceClient {
|
|
607
757
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
608
758
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
609
759
|
}
|
760
|
+
/**
|
761
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
762
|
+
*
|
763
|
+
* @param {string} project
|
764
|
+
* @param {string} location
|
765
|
+
* @param {string} collection
|
766
|
+
* @param {string} data_store
|
767
|
+
* @returns {string} Resource name string.
|
768
|
+
*/
|
769
|
+
projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
|
770
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
|
771
|
+
project: project,
|
772
|
+
location: location,
|
773
|
+
collection: collection,
|
774
|
+
data_store: dataStore,
|
775
|
+
});
|
776
|
+
}
|
777
|
+
/**
|
778
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
779
|
+
*
|
780
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
781
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
782
|
+
* @returns {string} A string representing the project.
|
783
|
+
*/
|
784
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
785
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
|
786
|
+
}
|
787
|
+
/**
|
788
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
789
|
+
*
|
790
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
791
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
792
|
+
* @returns {string} A string representing the location.
|
793
|
+
*/
|
794
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
795
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
|
796
|
+
}
|
797
|
+
/**
|
798
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
799
|
+
*
|
800
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
801
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
802
|
+
* @returns {string} A string representing the collection.
|
803
|
+
*/
|
804
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
805
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
|
806
|
+
}
|
807
|
+
/**
|
808
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
809
|
+
*
|
810
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
811
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
812
|
+
* @returns {string} A string representing the data_store.
|
813
|
+
*/
|
814
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
815
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
|
816
|
+
}
|
817
|
+
/**
|
818
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
819
|
+
*
|
820
|
+
* @param {string} project
|
821
|
+
* @param {string} location
|
822
|
+
* @param {string} collection
|
823
|
+
* @param {string} data_store
|
824
|
+
* @param {string} target_site
|
825
|
+
* @returns {string} Resource name string.
|
826
|
+
*/
|
827
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
|
828
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
829
|
+
project: project,
|
830
|
+
location: location,
|
831
|
+
collection: collection,
|
832
|
+
data_store: dataStore,
|
833
|
+
target_site: targetSite,
|
834
|
+
});
|
835
|
+
}
|
836
|
+
/**
|
837
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
838
|
+
*
|
839
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
840
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
841
|
+
* @returns {string} A string representing the project.
|
842
|
+
*/
|
843
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
844
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
|
845
|
+
}
|
846
|
+
/**
|
847
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
848
|
+
*
|
849
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
850
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
851
|
+
* @returns {string} A string representing the location.
|
852
|
+
*/
|
853
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
854
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
|
855
|
+
}
|
856
|
+
/**
|
857
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
858
|
+
*
|
859
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
860
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
861
|
+
* @returns {string} A string representing the collection.
|
862
|
+
*/
|
863
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
864
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
|
865
|
+
}
|
866
|
+
/**
|
867
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
868
|
+
*
|
869
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
870
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
871
|
+
* @returns {string} A string representing the data_store.
|
872
|
+
*/
|
873
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
874
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
|
875
|
+
}
|
876
|
+
/**
|
877
|
+
* Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
878
|
+
*
|
879
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
880
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
881
|
+
* @returns {string} A string representing the target_site.
|
882
|
+
*/
|
883
|
+
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
884
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
885
|
+
}
|
886
|
+
/**
|
887
|
+
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
888
|
+
*
|
889
|
+
* @param {string} project
|
890
|
+
* @param {string} location
|
891
|
+
* @param {string} collection
|
892
|
+
* @param {string} engine
|
893
|
+
* @param {string} conversation
|
894
|
+
* @returns {string} Resource name string.
|
895
|
+
*/
|
896
|
+
projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
|
897
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
|
898
|
+
project: project,
|
899
|
+
location: location,
|
900
|
+
collection: collection,
|
901
|
+
engine: engine,
|
902
|
+
conversation: conversation,
|
903
|
+
});
|
904
|
+
}
|
905
|
+
/**
|
906
|
+
* Parse the project from ProjectLocationCollectionEngineConversation resource.
|
907
|
+
*
|
908
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
909
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
910
|
+
* @returns {string} A string representing the project.
|
911
|
+
*/
|
912
|
+
matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
913
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
|
914
|
+
}
|
915
|
+
/**
|
916
|
+
* Parse the location from ProjectLocationCollectionEngineConversation resource.
|
917
|
+
*
|
918
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
919
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
920
|
+
* @returns {string} A string representing the location.
|
921
|
+
*/
|
922
|
+
matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
923
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
|
924
|
+
}
|
925
|
+
/**
|
926
|
+
* Parse the collection from ProjectLocationCollectionEngineConversation resource.
|
927
|
+
*
|
928
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
929
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
930
|
+
* @returns {string} A string representing the collection.
|
931
|
+
*/
|
932
|
+
matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
933
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
|
934
|
+
}
|
935
|
+
/**
|
936
|
+
* Parse the engine from ProjectLocationCollectionEngineConversation resource.
|
937
|
+
*
|
938
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
939
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
940
|
+
* @returns {string} A string representing the engine.
|
941
|
+
*/
|
942
|
+
matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
943
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
|
944
|
+
}
|
945
|
+
/**
|
946
|
+
* Parse the conversation from ProjectLocationCollectionEngineConversation resource.
|
947
|
+
*
|
948
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
949
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
950
|
+
* @returns {string} A string representing the conversation.
|
951
|
+
*/
|
952
|
+
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
953
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
954
|
+
}
|
955
|
+
/**
|
956
|
+
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
957
|
+
*
|
958
|
+
* @param {string} project
|
959
|
+
* @param {string} location
|
960
|
+
* @param {string} collection
|
961
|
+
* @param {string} engine
|
962
|
+
* @param {string} serving_config
|
963
|
+
* @returns {string} Resource name string.
|
964
|
+
*/
|
965
|
+
projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
|
966
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
|
967
|
+
project: project,
|
968
|
+
location: location,
|
969
|
+
collection: collection,
|
970
|
+
engine: engine,
|
971
|
+
serving_config: servingConfig,
|
972
|
+
});
|
973
|
+
}
|
974
|
+
/**
|
975
|
+
* Parse the project from ProjectLocationCollectionEngineServingConfig resource.
|
976
|
+
*
|
977
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
978
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
979
|
+
* @returns {string} A string representing the project.
|
980
|
+
*/
|
981
|
+
matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
982
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
|
983
|
+
}
|
984
|
+
/**
|
985
|
+
* Parse the location from ProjectLocationCollectionEngineServingConfig resource.
|
986
|
+
*
|
987
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
988
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
989
|
+
* @returns {string} A string representing the location.
|
990
|
+
*/
|
991
|
+
matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
992
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
|
993
|
+
}
|
994
|
+
/**
|
995
|
+
* Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
|
996
|
+
*
|
997
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
998
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
999
|
+
* @returns {string} A string representing the collection.
|
1000
|
+
*/
|
1001
|
+
matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1002
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
|
1003
|
+
}
|
1004
|
+
/**
|
1005
|
+
* Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
|
1006
|
+
*
|
1007
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1008
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1009
|
+
* @returns {string} A string representing the engine.
|
1010
|
+
*/
|
1011
|
+
matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1012
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
|
1013
|
+
}
|
1014
|
+
/**
|
1015
|
+
* Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
|
1016
|
+
*
|
1017
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1018
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1019
|
+
* @returns {string} A string representing the serving_config.
|
1020
|
+
*/
|
1021
|
+
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1022
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1023
|
+
}
|
1024
|
+
/**
|
1025
|
+
* Return a fully-qualified projectLocationDataStore resource name string.
|
1026
|
+
*
|
1027
|
+
* @param {string} project
|
1028
|
+
* @param {string} location
|
1029
|
+
* @param {string} data_store
|
1030
|
+
* @returns {string} Resource name string.
|
1031
|
+
*/
|
1032
|
+
projectLocationDataStorePath(project, location, dataStore) {
|
1033
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.render({
|
1034
|
+
project: project,
|
1035
|
+
location: location,
|
1036
|
+
data_store: dataStore,
|
1037
|
+
});
|
1038
|
+
}
|
1039
|
+
/**
|
1040
|
+
* Parse the project from ProjectLocationDataStore resource.
|
1041
|
+
*
|
1042
|
+
* @param {string} projectLocationDataStoreName
|
1043
|
+
* A fully-qualified path representing project_location_data_store resource.
|
1044
|
+
* @returns {string} A string representing the project.
|
1045
|
+
*/
|
1046
|
+
matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
1047
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).project;
|
1048
|
+
}
|
1049
|
+
/**
|
1050
|
+
* Parse the location from ProjectLocationDataStore resource.
|
1051
|
+
*
|
1052
|
+
* @param {string} projectLocationDataStoreName
|
1053
|
+
* A fully-qualified path representing project_location_data_store resource.
|
1054
|
+
* @returns {string} A string representing the location.
|
1055
|
+
*/
|
1056
|
+
matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
1057
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).location;
|
1058
|
+
}
|
1059
|
+
/**
|
1060
|
+
* Parse the data_store from ProjectLocationDataStore resource.
|
1061
|
+
*
|
1062
|
+
* @param {string} projectLocationDataStoreName
|
1063
|
+
* A fully-qualified path representing project_location_data_store resource.
|
1064
|
+
* @returns {string} A string representing the data_store.
|
1065
|
+
*/
|
1066
|
+
matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
1067
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).data_store;
|
1068
|
+
}
|
610
1069
|
/**
|
611
1070
|
* Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
|
612
1071
|
*
|
@@ -847,6 +1306,108 @@ class RecommendationServiceClient {
|
|
847
1306
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
848
1307
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
849
1308
|
}
|
1309
|
+
/**
|
1310
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1311
|
+
*
|
1312
|
+
* @param {string} project
|
1313
|
+
* @param {string} location
|
1314
|
+
* @param {string} data_store
|
1315
|
+
* @returns {string} Resource name string.
|
1316
|
+
*/
|
1317
|
+
projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
|
1318
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
|
1319
|
+
project: project,
|
1320
|
+
location: location,
|
1321
|
+
data_store: dataStore,
|
1322
|
+
});
|
1323
|
+
}
|
1324
|
+
/**
|
1325
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
|
1326
|
+
*
|
1327
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1328
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1329
|
+
* @returns {string} A string representing the project.
|
1330
|
+
*/
|
1331
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
1332
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
|
1333
|
+
}
|
1334
|
+
/**
|
1335
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
|
1336
|
+
*
|
1337
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1338
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1339
|
+
* @returns {string} A string representing the location.
|
1340
|
+
*/
|
1341
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
1342
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
|
1343
|
+
}
|
1344
|
+
/**
|
1345
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
|
1346
|
+
*
|
1347
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1348
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1349
|
+
* @returns {string} A string representing the data_store.
|
1350
|
+
*/
|
1351
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
1352
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
|
1353
|
+
}
|
1354
|
+
/**
|
1355
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
1356
|
+
*
|
1357
|
+
* @param {string} project
|
1358
|
+
* @param {string} location
|
1359
|
+
* @param {string} data_store
|
1360
|
+
* @param {string} target_site
|
1361
|
+
* @returns {string} Resource name string.
|
1362
|
+
*/
|
1363
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
|
1364
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
1365
|
+
project: project,
|
1366
|
+
location: location,
|
1367
|
+
data_store: dataStore,
|
1368
|
+
target_site: targetSite,
|
1369
|
+
});
|
1370
|
+
}
|
1371
|
+
/**
|
1372
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1373
|
+
*
|
1374
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1375
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1376
|
+
* @returns {string} A string representing the project.
|
1377
|
+
*/
|
1378
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
1379
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
|
1380
|
+
}
|
1381
|
+
/**
|
1382
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1383
|
+
*
|
1384
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1385
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1386
|
+
* @returns {string} A string representing the location.
|
1387
|
+
*/
|
1388
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
1389
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
|
1390
|
+
}
|
1391
|
+
/**
|
1392
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1393
|
+
*
|
1394
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1395
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1396
|
+
* @returns {string} A string representing the data_store.
|
1397
|
+
*/
|
1398
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
1399
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
|
1400
|
+
}
|
1401
|
+
/**
|
1402
|
+
* Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1403
|
+
*
|
1404
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1405
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1406
|
+
* @returns {string} A string representing the target_site.
|
1407
|
+
*/
|
1408
|
+
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
1409
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1410
|
+
}
|
850
1411
|
/**
|
851
1412
|
* Terminate the gRPC channel and close the client.
|
852
1413
|
*
|