@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.
|
@@ -73,7 +73,7 @@ class DocumentServiceClient {
|
|
73
73
|
* ```
|
74
74
|
*/
|
75
75
|
constructor(opts, gaxInstance) {
|
76
|
-
var _a, _b;
|
76
|
+
var _a, _b, _c, _d;
|
77
77
|
this._terminated = false;
|
78
78
|
this.descriptors = {
|
79
79
|
page: {},
|
@@ -83,16 +83,24 @@ class DocumentServiceClient {
|
|
83
83
|
};
|
84
84
|
// Ensure that options include all the required fields.
|
85
85
|
const staticMembers = this.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 DocumentServiceClient {
|
|
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,22 @@ class DocumentServiceClient {
|
|
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
|
projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
|
143
153
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
144
154
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
145
155
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
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
|
+
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
146
160
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
147
161
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
148
162
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
149
163
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
164
|
+
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
165
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
150
166
|
};
|
151
167
|
// Some of the methods on this service return "paged" results,
|
152
168
|
// (e.g. 50 results at a time, with tokens to get subsequent
|
@@ -169,6 +185,9 @@ class DocumentServiceClient {
|
|
169
185
|
selector: 'google.longrunning.Operations.GetOperation',
|
170
186
|
get: '/v1/{name=projects/*/operations/*}',
|
171
187
|
additional_bindings: [
|
188
|
+
{
|
189
|
+
get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
|
190
|
+
},
|
172
191
|
{
|
173
192
|
get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}',
|
174
193
|
},
|
@@ -210,6 +229,9 @@ class DocumentServiceClient {
|
|
210
229
|
selector: 'google.longrunning.Operations.ListOperations',
|
211
230
|
get: '/v1/{name=projects/*}/operations',
|
212
231
|
additional_bindings: [
|
232
|
+
{
|
233
|
+
get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector}/operations',
|
234
|
+
},
|
213
235
|
{
|
214
236
|
get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations',
|
215
237
|
},
|
@@ -318,19 +340,38 @@ class DocumentServiceClient {
|
|
318
340
|
}
|
319
341
|
/**
|
320
342
|
* The DNS address for this API service.
|
343
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
321
344
|
* @returns {string} The DNS address for this service.
|
322
345
|
*/
|
323
346
|
static get servicePath() {
|
347
|
+
if (typeof process !== undefined &&
|
348
|
+
typeof process.emitWarning === 'function') {
|
349
|
+
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
350
|
+
}
|
324
351
|
return 'discoveryengine.googleapis.com';
|
325
352
|
}
|
326
353
|
/**
|
327
|
-
* The DNS address for this API service - same as servicePath
|
328
|
-
*
|
354
|
+
* The DNS address for this API service - same as servicePath.
|
355
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
329
356
|
* @returns {string} The DNS address for this service.
|
330
357
|
*/
|
331
358
|
static get apiEndpoint() {
|
359
|
+
if (typeof process !== undefined &&
|
360
|
+
typeof process.emitWarning === 'function') {
|
361
|
+
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
362
|
+
}
|
332
363
|
return 'discoveryengine.googleapis.com';
|
333
364
|
}
|
365
|
+
/**
|
366
|
+
* The DNS address for this API service.
|
367
|
+
* @returns {string} The DNS address for this service.
|
368
|
+
*/
|
369
|
+
get apiEndpoint() {
|
370
|
+
return this._servicePath;
|
371
|
+
}
|
372
|
+
get universeDomain() {
|
373
|
+
return this._universeDomain;
|
374
|
+
}
|
334
375
|
/**
|
335
376
|
* The port for this API service.
|
336
377
|
* @returns {number} The default port for this service.
|
@@ -841,6 +882,120 @@ class DocumentServiceClient {
|
|
841
882
|
// --------------------
|
842
883
|
// -- Path templates --
|
843
884
|
// --------------------
|
885
|
+
/**
|
886
|
+
* Return a fully-qualified engine resource name string.
|
887
|
+
*
|
888
|
+
* @param {string} project
|
889
|
+
* @param {string} location
|
890
|
+
* @param {string} collection
|
891
|
+
* @param {string} engine
|
892
|
+
* @returns {string} Resource name string.
|
893
|
+
*/
|
894
|
+
enginePath(project, location, collection, engine) {
|
895
|
+
return this.pathTemplates.enginePathTemplate.render({
|
896
|
+
project: project,
|
897
|
+
location: location,
|
898
|
+
collection: collection,
|
899
|
+
engine: engine,
|
900
|
+
});
|
901
|
+
}
|
902
|
+
/**
|
903
|
+
* Parse the project from Engine resource.
|
904
|
+
*
|
905
|
+
* @param {string} engineName
|
906
|
+
* A fully-qualified path representing Engine resource.
|
907
|
+
* @returns {string} A string representing the project.
|
908
|
+
*/
|
909
|
+
matchProjectFromEngineName(engineName) {
|
910
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).project;
|
911
|
+
}
|
912
|
+
/**
|
913
|
+
* Parse the location from Engine resource.
|
914
|
+
*
|
915
|
+
* @param {string} engineName
|
916
|
+
* A fully-qualified path representing Engine resource.
|
917
|
+
* @returns {string} A string representing the location.
|
918
|
+
*/
|
919
|
+
matchLocationFromEngineName(engineName) {
|
920
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).location;
|
921
|
+
}
|
922
|
+
/**
|
923
|
+
* Parse the collection from Engine resource.
|
924
|
+
*
|
925
|
+
* @param {string} engineName
|
926
|
+
* A fully-qualified path representing Engine resource.
|
927
|
+
* @returns {string} A string representing the collection.
|
928
|
+
*/
|
929
|
+
matchCollectionFromEngineName(engineName) {
|
930
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).collection;
|
931
|
+
}
|
932
|
+
/**
|
933
|
+
* Parse the engine from Engine resource.
|
934
|
+
*
|
935
|
+
* @param {string} engineName
|
936
|
+
* A fully-qualified path representing Engine resource.
|
937
|
+
* @returns {string} A string representing the engine.
|
938
|
+
*/
|
939
|
+
matchEngineFromEngineName(engineName) {
|
940
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
941
|
+
}
|
942
|
+
/**
|
943
|
+
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
944
|
+
*
|
945
|
+
* @param {string} project
|
946
|
+
* @param {string} location
|
947
|
+
* @param {string} collection
|
948
|
+
* @param {string} data_store
|
949
|
+
* @returns {string} Resource name string.
|
950
|
+
*/
|
951
|
+
projectLocationCollectionDataStorePath(project, location, collection, dataStore) {
|
952
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.render({
|
953
|
+
project: project,
|
954
|
+
location: location,
|
955
|
+
collection: collection,
|
956
|
+
data_store: dataStore,
|
957
|
+
});
|
958
|
+
}
|
959
|
+
/**
|
960
|
+
* Parse the project from ProjectLocationCollectionDataStore resource.
|
961
|
+
*
|
962
|
+
* @param {string} projectLocationCollectionDataStoreName
|
963
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
964
|
+
* @returns {string} A string representing the project.
|
965
|
+
*/
|
966
|
+
matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
967
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).project;
|
968
|
+
}
|
969
|
+
/**
|
970
|
+
* Parse the location from ProjectLocationCollectionDataStore resource.
|
971
|
+
*
|
972
|
+
* @param {string} projectLocationCollectionDataStoreName
|
973
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
974
|
+
* @returns {string} A string representing the location.
|
975
|
+
*/
|
976
|
+
matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
977
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).location;
|
978
|
+
}
|
979
|
+
/**
|
980
|
+
* Parse the collection from ProjectLocationCollectionDataStore resource.
|
981
|
+
*
|
982
|
+
* @param {string} projectLocationCollectionDataStoreName
|
983
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
984
|
+
* @returns {string} A string representing the collection.
|
985
|
+
*/
|
986
|
+
matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
987
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).collection;
|
988
|
+
}
|
989
|
+
/**
|
990
|
+
* Parse the data_store from ProjectLocationCollectionDataStore resource.
|
991
|
+
*
|
992
|
+
* @param {string} projectLocationCollectionDataStoreName
|
993
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
994
|
+
* @returns {string} A string representing the data_store.
|
995
|
+
*/
|
996
|
+
matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
997
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).data_store;
|
998
|
+
}
|
844
999
|
/**
|
845
1000
|
* Return a fully-qualified projectLocationCollectionDataStoreBranch resource name string.
|
846
1001
|
*
|
@@ -1129,6 +1284,246 @@ class DocumentServiceClient {
|
|
1129
1284
|
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
1130
1285
|
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
|
1131
1286
|
}
|
1287
|
+
/**
|
1288
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
1289
|
+
*
|
1290
|
+
* @param {string} project
|
1291
|
+
* @param {string} location
|
1292
|
+
* @param {string} collection
|
1293
|
+
* @param {string} data_store
|
1294
|
+
* @returns {string} Resource name string.
|
1295
|
+
*/
|
1296
|
+
projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
|
1297
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
|
1298
|
+
project: project,
|
1299
|
+
location: location,
|
1300
|
+
collection: collection,
|
1301
|
+
data_store: dataStore,
|
1302
|
+
});
|
1303
|
+
}
|
1304
|
+
/**
|
1305
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
1306
|
+
*
|
1307
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
1308
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
1309
|
+
* @returns {string} A string representing the project.
|
1310
|
+
*/
|
1311
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
1312
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
|
1313
|
+
}
|
1314
|
+
/**
|
1315
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
1316
|
+
*
|
1317
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
1318
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
1319
|
+
* @returns {string} A string representing the location.
|
1320
|
+
*/
|
1321
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
1322
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
|
1323
|
+
}
|
1324
|
+
/**
|
1325
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
1326
|
+
*
|
1327
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
1328
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
1329
|
+
* @returns {string} A string representing the collection.
|
1330
|
+
*/
|
1331
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
1332
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
|
1333
|
+
}
|
1334
|
+
/**
|
1335
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
1336
|
+
*
|
1337
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
1338
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
1339
|
+
* @returns {string} A string representing the data_store.
|
1340
|
+
*/
|
1341
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
1342
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
|
1343
|
+
}
|
1344
|
+
/**
|
1345
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
1346
|
+
*
|
1347
|
+
* @param {string} project
|
1348
|
+
* @param {string} location
|
1349
|
+
* @param {string} collection
|
1350
|
+
* @param {string} data_store
|
1351
|
+
* @param {string} target_site
|
1352
|
+
* @returns {string} Resource name string.
|
1353
|
+
*/
|
1354
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
|
1355
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
1356
|
+
project: project,
|
1357
|
+
location: location,
|
1358
|
+
collection: collection,
|
1359
|
+
data_store: dataStore,
|
1360
|
+
target_site: targetSite,
|
1361
|
+
});
|
1362
|
+
}
|
1363
|
+
/**
|
1364
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1365
|
+
*
|
1366
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1367
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1368
|
+
* @returns {string} A string representing the project.
|
1369
|
+
*/
|
1370
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1371
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
|
1372
|
+
}
|
1373
|
+
/**
|
1374
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1375
|
+
*
|
1376
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1377
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1378
|
+
* @returns {string} A string representing the location.
|
1379
|
+
*/
|
1380
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1381
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
|
1382
|
+
}
|
1383
|
+
/**
|
1384
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1385
|
+
*
|
1386
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1387
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1388
|
+
* @returns {string} A string representing the collection.
|
1389
|
+
*/
|
1390
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1391
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
|
1392
|
+
}
|
1393
|
+
/**
|
1394
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1395
|
+
*
|
1396
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1397
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1398
|
+
* @returns {string} A string representing the data_store.
|
1399
|
+
*/
|
1400
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1401
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
|
1402
|
+
}
|
1403
|
+
/**
|
1404
|
+
* Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1405
|
+
*
|
1406
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1407
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1408
|
+
* @returns {string} A string representing the target_site.
|
1409
|
+
*/
|
1410
|
+
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1411
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1412
|
+
}
|
1413
|
+
/**
|
1414
|
+
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1415
|
+
*
|
1416
|
+
* @param {string} project
|
1417
|
+
* @param {string} location
|
1418
|
+
* @param {string} collection
|
1419
|
+
* @param {string} engine
|
1420
|
+
* @param {string} conversation
|
1421
|
+
* @returns {string} Resource name string.
|
1422
|
+
*/
|
1423
|
+
projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
|
1424
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
|
1425
|
+
project: project,
|
1426
|
+
location: location,
|
1427
|
+
collection: collection,
|
1428
|
+
engine: engine,
|
1429
|
+
conversation: conversation,
|
1430
|
+
});
|
1431
|
+
}
|
1432
|
+
/**
|
1433
|
+
* Parse the project from ProjectLocationCollectionEngineConversation resource.
|
1434
|
+
*
|
1435
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1436
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1437
|
+
* @returns {string} A string representing the project.
|
1438
|
+
*/
|
1439
|
+
matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
1440
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
|
1441
|
+
}
|
1442
|
+
/**
|
1443
|
+
* Parse the location from ProjectLocationCollectionEngineConversation resource.
|
1444
|
+
*
|
1445
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1446
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1447
|
+
* @returns {string} A string representing the location.
|
1448
|
+
*/
|
1449
|
+
matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
1450
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
|
1451
|
+
}
|
1452
|
+
/**
|
1453
|
+
* Parse the collection from ProjectLocationCollectionEngineConversation resource.
|
1454
|
+
*
|
1455
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1456
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1457
|
+
* @returns {string} A string representing the collection.
|
1458
|
+
*/
|
1459
|
+
matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
1460
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
|
1461
|
+
}
|
1462
|
+
/**
|
1463
|
+
* Parse the engine from ProjectLocationCollectionEngineConversation resource.
|
1464
|
+
*
|
1465
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1466
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1467
|
+
* @returns {string} A string representing the engine.
|
1468
|
+
*/
|
1469
|
+
matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
1470
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
|
1471
|
+
}
|
1472
|
+
/**
|
1473
|
+
* Parse the conversation from ProjectLocationCollectionEngineConversation resource.
|
1474
|
+
*
|
1475
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1476
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1477
|
+
* @returns {string} A string representing the conversation.
|
1478
|
+
*/
|
1479
|
+
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
1480
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
1481
|
+
}
|
1482
|
+
/**
|
1483
|
+
* Return a fully-qualified projectLocationDataStore resource name string.
|
1484
|
+
*
|
1485
|
+
* @param {string} project
|
1486
|
+
* @param {string} location
|
1487
|
+
* @param {string} data_store
|
1488
|
+
* @returns {string} Resource name string.
|
1489
|
+
*/
|
1490
|
+
projectLocationDataStorePath(project, location, dataStore) {
|
1491
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.render({
|
1492
|
+
project: project,
|
1493
|
+
location: location,
|
1494
|
+
data_store: dataStore,
|
1495
|
+
});
|
1496
|
+
}
|
1497
|
+
/**
|
1498
|
+
* Parse the project from ProjectLocationDataStore resource.
|
1499
|
+
*
|
1500
|
+
* @param {string} projectLocationDataStoreName
|
1501
|
+
* A fully-qualified path representing project_location_data_store resource.
|
1502
|
+
* @returns {string} A string representing the project.
|
1503
|
+
*/
|
1504
|
+
matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
1505
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).project;
|
1506
|
+
}
|
1507
|
+
/**
|
1508
|
+
* Parse the location from ProjectLocationDataStore resource.
|
1509
|
+
*
|
1510
|
+
* @param {string} projectLocationDataStoreName
|
1511
|
+
* A fully-qualified path representing project_location_data_store resource.
|
1512
|
+
* @returns {string} A string representing the location.
|
1513
|
+
*/
|
1514
|
+
matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
1515
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).location;
|
1516
|
+
}
|
1517
|
+
/**
|
1518
|
+
* Parse the data_store from ProjectLocationDataStore resource.
|
1519
|
+
*
|
1520
|
+
* @param {string} projectLocationDataStoreName
|
1521
|
+
* A fully-qualified path representing project_location_data_store resource.
|
1522
|
+
* @returns {string} A string representing the data_store.
|
1523
|
+
*/
|
1524
|
+
matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
1525
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).data_store;
|
1526
|
+
}
|
1132
1527
|
/**
|
1133
1528
|
* Return a fully-qualified projectLocationDataStoreBranch resource name string.
|
1134
1529
|
*
|
@@ -1369,6 +1764,108 @@ class DocumentServiceClient {
|
|
1369
1764
|
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
1370
1765
|
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
|
1371
1766
|
}
|
1767
|
+
/**
|
1768
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1769
|
+
*
|
1770
|
+
* @param {string} project
|
1771
|
+
* @param {string} location
|
1772
|
+
* @param {string} data_store
|
1773
|
+
* @returns {string} Resource name string.
|
1774
|
+
*/
|
1775
|
+
projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
|
1776
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
|
1777
|
+
project: project,
|
1778
|
+
location: location,
|
1779
|
+
data_store: dataStore,
|
1780
|
+
});
|
1781
|
+
}
|
1782
|
+
/**
|
1783
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
|
1784
|
+
*
|
1785
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1786
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1787
|
+
* @returns {string} A string representing the project.
|
1788
|
+
*/
|
1789
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
1790
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
|
1791
|
+
}
|
1792
|
+
/**
|
1793
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
|
1794
|
+
*
|
1795
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1796
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1797
|
+
* @returns {string} A string representing the location.
|
1798
|
+
*/
|
1799
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
1800
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
|
1801
|
+
}
|
1802
|
+
/**
|
1803
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
|
1804
|
+
*
|
1805
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1806
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1807
|
+
* @returns {string} A string representing the data_store.
|
1808
|
+
*/
|
1809
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
1810
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
|
1811
|
+
}
|
1812
|
+
/**
|
1813
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
1814
|
+
*
|
1815
|
+
* @param {string} project
|
1816
|
+
* @param {string} location
|
1817
|
+
* @param {string} data_store
|
1818
|
+
* @param {string} target_site
|
1819
|
+
* @returns {string} Resource name string.
|
1820
|
+
*/
|
1821
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
|
1822
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
1823
|
+
project: project,
|
1824
|
+
location: location,
|
1825
|
+
data_store: dataStore,
|
1826
|
+
target_site: targetSite,
|
1827
|
+
});
|
1828
|
+
}
|
1829
|
+
/**
|
1830
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1831
|
+
*
|
1832
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1833
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1834
|
+
* @returns {string} A string representing the project.
|
1835
|
+
*/
|
1836
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
1837
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
|
1838
|
+
}
|
1839
|
+
/**
|
1840
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1841
|
+
*
|
1842
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1843
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1844
|
+
* @returns {string} A string representing the location.
|
1845
|
+
*/
|
1846
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
1847
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
|
1848
|
+
}
|
1849
|
+
/**
|
1850
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1851
|
+
*
|
1852
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1853
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1854
|
+
* @returns {string} A string representing the data_store.
|
1855
|
+
*/
|
1856
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
1857
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
|
1858
|
+
}
|
1859
|
+
/**
|
1860
|
+
* Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1861
|
+
*
|
1862
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1863
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1864
|
+
* @returns {string} A string representing the target_site.
|
1865
|
+
*/
|
1866
|
+
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
1867
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1868
|
+
}
|
1372
1869
|
/**
|
1373
1870
|
* Terminate the gRPC channel and close the client.
|
1374
1871
|
*
|