@google-cloud/discoveryengine 1.3.1 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +64 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +54 -3
- package/build/protos/google/cloud/discoveryengine/v1/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +51 -4
- package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +40 -1
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +304 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +215 -0
- package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +242 -0
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +137 -4
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +170 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +691 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +49 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +79 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +72 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +77 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +44 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +6 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +80 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +83 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +13 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +3 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +130 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +3 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +74 -13
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +24 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +147 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +7 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +59 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +51 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +45 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +120 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +306 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +10 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +220 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +244 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +41 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +26 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +169 -15
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +265 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +148 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +170 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +695 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -3
- package/build/protos/protos.d.ts +48530 -23682
- package/build/protos/protos.js +122429 -63306
- package/build/protos/protos.json +13438 -7286
- package/build/src/index.d.ts +10 -1
- package/build/src/index.js +10 -1
- package/build/src/v1/completion_service_client.d.ts +489 -7
- package/build/src/v1/completion_service_client.js +715 -11
- package/build/src/v1/completion_service_client_config.json +10 -0
- package/build/src/v1/conversational_search_service_client.d.ts +341 -3
- package/build/src/v1/conversational_search_service_client.js +466 -9
- package/build/src/v1/data_store_service_client.d.ts +1286 -0
- package/build/src/v1/data_store_service_client.js +1768 -0
- package/build/src/v1/data_store_service_client_config.json +46 -0
- package/build/src/v1/document_service_client.d.ts +347 -2
- package/build/src/v1/document_service_client.js +506 -9
- package/build/src/v1/engine_service_client.d.ts +1211 -0
- package/build/src/v1/engine_service_client.js +1731 -0
- package/build/src/v1/engine_service_client_config.json +46 -0
- package/build/src/v1/index.d.ts +3 -0
- package/build/src/v1/index.js +7 -1
- package/build/src/v1/schema_service_client.d.ts +272 -2
- package/build/src/v1/schema_service_client.js +402 -9
- package/build/src/v1/search_service_client.d.ts +515 -11
- package/build/src/v1/search_service_client.js +648 -15
- package/build/src/v1/site_search_engine_service_client.d.ts +1564 -0
- package/build/src/v1/site_search_engine_service_client.js +2075 -0
- package/build/src/v1/site_search_engine_service_client_config.json +74 -0
- package/build/src/v1/user_event_service_client.d.ts +272 -2
- package/build/src/v1/user_event_service_client.js +402 -9
- package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
- package/build/src/v1alpha/acl_config_service_client.js +1765 -0
- package/build/src/v1alpha/acl_config_service_client_config.json +34 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +1350 -0
- package/build/src/v1alpha/chunk_service_client.js +1886 -0
- package/build/src/v1alpha/chunk_service_client_config.json +34 -0
- package/build/src/v1alpha/completion_service_client.d.ts +599 -5
- package/build/src/v1alpha/completion_service_client.js +868 -12
- package/build/src/v1alpha/completion_service_client_config.json +10 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +244 -3
- package/build/src/v1alpha/conversational_search_service_client.js +353 -10
- package/build/src/v1alpha/data_store_service_client.d.ts +462 -5
- package/build/src/v1alpha/data_store_service_client.js +599 -12
- package/build/src/v1alpha/data_store_service_client_config.json +8 -0
- package/build/src/v1alpha/document_service_client.d.ts +393 -2
- package/build/src/v1alpha/document_service_client.js +551 -10
- package/build/src/v1alpha/engine_service_client.d.ts +386 -4
- package/build/src/v1alpha/engine_service_client.js +551 -10
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +2028 -0
- package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
- package/build/src/v1alpha/index.d.ts +4 -0
- package/build/src/v1alpha/index.js +10 -2
- package/build/src/v1alpha/recommendation_service_client.d.ts +242 -3
- package/build/src/v1alpha/recommendation_service_client.js +353 -10
- package/build/src/v1alpha/schema_service_client.d.ts +383 -2
- package/build/src/v1alpha/schema_service_client.js +551 -10
- package/build/src/v1alpha/search_service_client.d.ts +269 -17
- package/build/src/v1alpha/search_service_client.js +373 -20
- package/build/src/v1alpha/search_tuning_service_client.d.ts +384 -3
- package/build/src/v1alpha/search_tuning_service_client.js +551 -10
- package/build/src/v1alpha/serving_config_service_client.d.ts +1369 -0
- package/build/src/v1alpha/serving_config_service_client.js +1935 -0
- package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +383 -2
- package/build/src/v1alpha/site_search_engine_service_client.js +551 -10
- package/build/src/v1alpha/user_event_service_client.d.ts +383 -2
- package/build/src/v1alpha/user_event_service_client.js +551 -10
- package/build/src/v1beta/completion_service_client.d.ts +708 -7
- package/build/src/v1beta/completion_service_client.js +1015 -11
- package/build/src/v1beta/completion_service_client_config.json +10 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +420 -3
- package/build/src/v1beta/conversational_search_service_client.js +570 -9
- package/build/src/v1beta/data_store_service_client.d.ts +1508 -0
- package/build/src/v1beta/data_store_service_client.js +2070 -0
- package/build/src/v1beta/data_store_service_client_config.json +46 -0
- package/build/src/v1beta/document_service_client.d.ts +566 -2
- package/build/src/v1beta/document_service_client.js +810 -11
- package/build/src/v1beta/engine_service_client.d.ts +1432 -0
- package/build/src/v1beta/engine_service_client.js +2032 -0
- package/build/src/v1beta/engine_service_client_config.json +46 -0
- package/build/src/v1beta/index.d.ts +5 -0
- package/build/src/v1beta/index.js +11 -1
- package/build/src/v1beta/recommendation_service_client.d.ts +495 -5
- package/build/src/v1beta/recommendation_service_client.js +674 -9
- package/build/src/v1beta/schema_service_client.d.ts +491 -2
- package/build/src/v1beta/schema_service_client.js +706 -11
- package/build/src/v1beta/search_service_client.d.ts +620 -29
- package/build/src/v1beta/search_service_client.js +772 -27
- package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
- package/build/src/v1beta/search_tuning_service_client.js +1781 -0
- package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +1217 -0
- package/build/src/v1beta/serving_config_service_client.js +1724 -0
- package/build/src/v1beta/serving_config_service_client_config.json +38 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +1787 -0
- package/build/src/v1beta/site_search_engine_service_client.js +2375 -0
- package/build/src/v1beta/site_search_engine_service_client_config.json +74 -0
- package/build/src/v1beta/user_event_service_client.d.ts +491 -2
- package/build/src/v1beta/user_event_service_client.js +706 -11
- package/package.json +3 -3
|
@@ -72,7 +72,7 @@ class UserEventServiceClient {
|
|
|
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: {},
|
|
@@ -82,16 +82,24 @@ class UserEventServiceClient {
|
|
|
82
82
|
};
|
|
83
83
|
// Ensure that options include all the required fields.
|
|
84
84
|
const staticMembers = this.constructor;
|
|
85
|
-
|
|
85
|
+
if ((opts === null || opts === void 0 ? void 0 : opts.universe_domain) &&
|
|
86
|
+
(opts === null || opts === void 0 ? void 0 : opts.universeDomain) &&
|
|
87
|
+
(opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
|
|
88
|
+
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
|
89
|
+
}
|
|
90
|
+
this._universeDomain =
|
|
91
|
+
(_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';
|
|
92
|
+
this._servicePath = 'discoveryengine.' + this._universeDomain;
|
|
93
|
+
const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
|
|
86
94
|
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
|
|
87
95
|
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
|
|
88
|
-
const clientConfig = (
|
|
89
|
-
const fallback = (
|
|
96
|
+
const clientConfig = (_c = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _c !== void 0 ? _c : {};
|
|
97
|
+
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');
|
|
90
98
|
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
|
91
99
|
// Request numeric enum values if REST transport is used.
|
|
92
100
|
opts.numericEnums = true;
|
|
93
101
|
// If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case.
|
|
94
|
-
if (servicePath !==
|
|
102
|
+
if (servicePath !== this._servicePath && !('scopes' in opts)) {
|
|
95
103
|
opts['scopes'] = staticMembers.scopes;
|
|
96
104
|
}
|
|
97
105
|
// Load google-gax module synchronously if needed
|
|
@@ -109,9 +117,9 @@ class UserEventServiceClient {
|
|
|
109
117
|
// Set useJWTAccessWithScope on the auth object.
|
|
110
118
|
this.auth.useJWTAccessWithScope = true;
|
|
111
119
|
// Set defaultServicePath on the auth object.
|
|
112
|
-
this.auth.defaultServicePath =
|
|
120
|
+
this.auth.defaultServicePath = this._servicePath;
|
|
113
121
|
// Set the default scopes in auth client if needed.
|
|
114
|
-
if (servicePath ===
|
|
122
|
+
if (servicePath === this._servicePath) {
|
|
115
123
|
this.auth.defaultScopes = staticMembers.scopes;
|
|
116
124
|
}
|
|
117
125
|
this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
|
|
@@ -138,14 +146,25 @@ class UserEventServiceClient {
|
|
|
138
146
|
// identifiers to uniquely identify resources within the API.
|
|
139
147
|
// Create useful helper objects for these.
|
|
140
148
|
this.pathTemplates = {
|
|
149
|
+
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
|
141
150
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
|
142
151
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
143
152
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
|
153
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
|
144
154
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
|
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}'),
|
|
145
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}'),
|
|
163
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
|
148
164
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
|
165
|
+
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
|
166
|
+
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
|
167
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
|
149
168
|
};
|
|
150
169
|
const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
151
170
|
// This API contains "long-running operations", which return a
|
|
@@ -160,8 +179,11 @@ class UserEventServiceClient {
|
|
|
160
179
|
lroOptions.httpRules = [
|
|
161
180
|
{
|
|
162
181
|
selector: 'google.longrunning.Operations.GetOperation',
|
|
163
|
-
get: '/v1beta/{name=projects/*/locations/*/collections/*/
|
|
182
|
+
get: '/v1beta/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
|
|
164
183
|
additional_bindings: [
|
|
184
|
+
{
|
|
185
|
+
get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}',
|
|
186
|
+
},
|
|
165
187
|
{
|
|
166
188
|
get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}',
|
|
167
189
|
},
|
|
@@ -198,8 +220,11 @@ class UserEventServiceClient {
|
|
|
198
220
|
},
|
|
199
221
|
{
|
|
200
222
|
selector: 'google.longrunning.Operations.ListOperations',
|
|
201
|
-
get: '/v1beta/{name=projects/*/locations/*/collections/*/
|
|
223
|
+
get: '/v1beta/{name=projects/*/locations/*/collections/*/dataConnector}/operations',
|
|
202
224
|
additional_bindings: [
|
|
225
|
+
{
|
|
226
|
+
get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations',
|
|
227
|
+
},
|
|
203
228
|
{
|
|
204
229
|
get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations',
|
|
205
230
|
},
|
|
@@ -301,19 +326,38 @@ class UserEventServiceClient {
|
|
|
301
326
|
}
|
|
302
327
|
/**
|
|
303
328
|
* The DNS address for this API service.
|
|
329
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
|
304
330
|
* @returns {string} The DNS address for this service.
|
|
305
331
|
*/
|
|
306
332
|
static get servicePath() {
|
|
333
|
+
if (typeof process !== undefined &&
|
|
334
|
+
typeof process.emitWarning === 'function') {
|
|
335
|
+
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
|
336
|
+
}
|
|
307
337
|
return 'discoveryengine.googleapis.com';
|
|
308
338
|
}
|
|
309
339
|
/**
|
|
310
|
-
* The DNS address for this API service - same as servicePath
|
|
311
|
-
*
|
|
340
|
+
* The DNS address for this API service - same as servicePath.
|
|
341
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
|
312
342
|
* @returns {string} The DNS address for this service.
|
|
313
343
|
*/
|
|
314
344
|
static get apiEndpoint() {
|
|
345
|
+
if (typeof process !== undefined &&
|
|
346
|
+
typeof process.emitWarning === 'function') {
|
|
347
|
+
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
|
348
|
+
}
|
|
315
349
|
return 'discoveryengine.googleapis.com';
|
|
316
350
|
}
|
|
351
|
+
/**
|
|
352
|
+
* The DNS address for this API service.
|
|
353
|
+
* @returns {string} The DNS address for this service.
|
|
354
|
+
*/
|
|
355
|
+
get apiEndpoint() {
|
|
356
|
+
return this._servicePath;
|
|
357
|
+
}
|
|
358
|
+
get universeDomain() {
|
|
359
|
+
return this._universeDomain;
|
|
360
|
+
}
|
|
317
361
|
/**
|
|
318
362
|
* The port for this API service.
|
|
319
363
|
* @returns {number} The default port for this service.
|
|
@@ -606,6 +650,63 @@ class UserEventServiceClient {
|
|
|
606
650
|
// --------------------
|
|
607
651
|
// -- Path templates --
|
|
608
652
|
// --------------------
|
|
653
|
+
/**
|
|
654
|
+
* Return a fully-qualified engine resource name string.
|
|
655
|
+
*
|
|
656
|
+
* @param {string} project
|
|
657
|
+
* @param {string} location
|
|
658
|
+
* @param {string} collection
|
|
659
|
+
* @param {string} engine
|
|
660
|
+
* @returns {string} Resource name string.
|
|
661
|
+
*/
|
|
662
|
+
enginePath(project, location, collection, engine) {
|
|
663
|
+
return this.pathTemplates.enginePathTemplate.render({
|
|
664
|
+
project: project,
|
|
665
|
+
location: location,
|
|
666
|
+
collection: collection,
|
|
667
|
+
engine: engine,
|
|
668
|
+
});
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* Parse the project from Engine resource.
|
|
672
|
+
*
|
|
673
|
+
* @param {string} engineName
|
|
674
|
+
* A fully-qualified path representing Engine resource.
|
|
675
|
+
* @returns {string} A string representing the project.
|
|
676
|
+
*/
|
|
677
|
+
matchProjectFromEngineName(engineName) {
|
|
678
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).project;
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* Parse the location from Engine resource.
|
|
682
|
+
*
|
|
683
|
+
* @param {string} engineName
|
|
684
|
+
* A fully-qualified path representing Engine resource.
|
|
685
|
+
* @returns {string} A string representing the location.
|
|
686
|
+
*/
|
|
687
|
+
matchLocationFromEngineName(engineName) {
|
|
688
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).location;
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* Parse the collection from Engine resource.
|
|
692
|
+
*
|
|
693
|
+
* @param {string} engineName
|
|
694
|
+
* A fully-qualified path representing Engine resource.
|
|
695
|
+
* @returns {string} A string representing the collection.
|
|
696
|
+
*/
|
|
697
|
+
matchCollectionFromEngineName(engineName) {
|
|
698
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).collection;
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* Parse the engine from Engine resource.
|
|
702
|
+
*
|
|
703
|
+
* @param {string} engineName
|
|
704
|
+
* A fully-qualified path representing Engine resource.
|
|
705
|
+
* @returns {string} A string representing the engine.
|
|
706
|
+
*/
|
|
707
|
+
matchEngineFromEngineName(engineName) {
|
|
708
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
|
709
|
+
}
|
|
609
710
|
/**
|
|
610
711
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
|
611
712
|
*
|
|
@@ -813,6 +914,63 @@ class UserEventServiceClient {
|
|
|
813
914
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
|
814
915
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
|
815
916
|
}
|
|
917
|
+
/**
|
|
918
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
|
919
|
+
*
|
|
920
|
+
* @param {string} project
|
|
921
|
+
* @param {string} location
|
|
922
|
+
* @param {string} collection
|
|
923
|
+
* @param {string} data_store
|
|
924
|
+
* @returns {string} Resource name string.
|
|
925
|
+
*/
|
|
926
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
|
927
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
|
928
|
+
project: project,
|
|
929
|
+
location: location,
|
|
930
|
+
collection: collection,
|
|
931
|
+
data_store: dataStore,
|
|
932
|
+
});
|
|
933
|
+
}
|
|
934
|
+
/**
|
|
935
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
936
|
+
*
|
|
937
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
938
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
939
|
+
* @returns {string} A string representing the project.
|
|
940
|
+
*/
|
|
941
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
942
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
|
943
|
+
}
|
|
944
|
+
/**
|
|
945
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
946
|
+
*
|
|
947
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
948
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
949
|
+
* @returns {string} A string representing the location.
|
|
950
|
+
*/
|
|
951
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
952
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
|
953
|
+
}
|
|
954
|
+
/**
|
|
955
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
956
|
+
*
|
|
957
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
958
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
959
|
+
* @returns {string} A string representing the collection.
|
|
960
|
+
*/
|
|
961
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
962
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
|
963
|
+
}
|
|
964
|
+
/**
|
|
965
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
966
|
+
*
|
|
967
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
968
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
969
|
+
* @returns {string} A string representing the data_store.
|
|
970
|
+
*/
|
|
971
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
972
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
|
973
|
+
}
|
|
816
974
|
/**
|
|
817
975
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
|
818
976
|
*
|
|
@@ -882,6 +1040,339 @@ class UserEventServiceClient {
|
|
|
882
1040
|
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
|
883
1041
|
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
|
|
884
1042
|
}
|
|
1043
|
+
/**
|
|
1044
|
+
* Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
|
|
1045
|
+
*
|
|
1046
|
+
* @param {string} project
|
|
1047
|
+
* @param {string} location
|
|
1048
|
+
* @param {string} collection
|
|
1049
|
+
* @param {string} data_store
|
|
1050
|
+
* @param {string} serving_config
|
|
1051
|
+
* @returns {string} Resource name string.
|
|
1052
|
+
*/
|
|
1053
|
+
projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
|
|
1054
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
|
|
1055
|
+
project: project,
|
|
1056
|
+
location: location,
|
|
1057
|
+
collection: collection,
|
|
1058
|
+
data_store: dataStore,
|
|
1059
|
+
serving_config: servingConfig,
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
/**
|
|
1063
|
+
* Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1064
|
+
*
|
|
1065
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1066
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1067
|
+
* @returns {string} A string representing the project.
|
|
1068
|
+
*/
|
|
1069
|
+
matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1070
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
|
|
1071
|
+
}
|
|
1072
|
+
/**
|
|
1073
|
+
* Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1074
|
+
*
|
|
1075
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1076
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1077
|
+
* @returns {string} A string representing the location.
|
|
1078
|
+
*/
|
|
1079
|
+
matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1080
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
|
|
1081
|
+
}
|
|
1082
|
+
/**
|
|
1083
|
+
* Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1084
|
+
*
|
|
1085
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1086
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1087
|
+
* @returns {string} A string representing the collection.
|
|
1088
|
+
*/
|
|
1089
|
+
matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1090
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1094
|
+
*
|
|
1095
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1096
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1097
|
+
* @returns {string} A string representing the data_store.
|
|
1098
|
+
*/
|
|
1099
|
+
matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1100
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
* Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1104
|
+
*
|
|
1105
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1106
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1107
|
+
* @returns {string} A string representing the serving_config.
|
|
1108
|
+
*/
|
|
1109
|
+
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1110
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
|
1114
|
+
*
|
|
1115
|
+
* @param {string} project
|
|
1116
|
+
* @param {string} location
|
|
1117
|
+
* @param {string} collection
|
|
1118
|
+
* @param {string} data_store
|
|
1119
|
+
* @returns {string} Resource name string.
|
|
1120
|
+
*/
|
|
1121
|
+
projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
|
|
1122
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
|
|
1123
|
+
project: project,
|
|
1124
|
+
location: location,
|
|
1125
|
+
collection: collection,
|
|
1126
|
+
data_store: dataStore,
|
|
1127
|
+
});
|
|
1128
|
+
}
|
|
1129
|
+
/**
|
|
1130
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
|
1131
|
+
*
|
|
1132
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
|
1133
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
|
1134
|
+
* @returns {string} A string representing the project.
|
|
1135
|
+
*/
|
|
1136
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
|
1137
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
|
|
1138
|
+
}
|
|
1139
|
+
/**
|
|
1140
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
|
1141
|
+
*
|
|
1142
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
|
1143
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
|
1144
|
+
* @returns {string} A string representing the location.
|
|
1145
|
+
*/
|
|
1146
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
|
1147
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
|
|
1148
|
+
}
|
|
1149
|
+
/**
|
|
1150
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
|
1151
|
+
*
|
|
1152
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
|
1153
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
|
1154
|
+
* @returns {string} A string representing the collection.
|
|
1155
|
+
*/
|
|
1156
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
|
1157
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
|
|
1158
|
+
}
|
|
1159
|
+
/**
|
|
1160
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
|
1161
|
+
*
|
|
1162
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
|
1163
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
|
1164
|
+
* @returns {string} A string representing the data_store.
|
|
1165
|
+
*/
|
|
1166
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
|
1167
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
|
|
1168
|
+
}
|
|
1169
|
+
/**
|
|
1170
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
|
1171
|
+
*
|
|
1172
|
+
* @param {string} project
|
|
1173
|
+
* @param {string} location
|
|
1174
|
+
* @param {string} collection
|
|
1175
|
+
* @param {string} data_store
|
|
1176
|
+
* @param {string} target_site
|
|
1177
|
+
* @returns {string} Resource name string.
|
|
1178
|
+
*/
|
|
1179
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
|
|
1180
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
|
1181
|
+
project: project,
|
|
1182
|
+
location: location,
|
|
1183
|
+
collection: collection,
|
|
1184
|
+
data_store: dataStore,
|
|
1185
|
+
target_site: targetSite,
|
|
1186
|
+
});
|
|
1187
|
+
}
|
|
1188
|
+
/**
|
|
1189
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1190
|
+
*
|
|
1191
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1192
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1193
|
+
* @returns {string} A string representing the project.
|
|
1194
|
+
*/
|
|
1195
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1196
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
|
|
1197
|
+
}
|
|
1198
|
+
/**
|
|
1199
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1200
|
+
*
|
|
1201
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1202
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1203
|
+
* @returns {string} A string representing the location.
|
|
1204
|
+
*/
|
|
1205
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1206
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1210
|
+
*
|
|
1211
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1212
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1213
|
+
* @returns {string} A string representing the collection.
|
|
1214
|
+
*/
|
|
1215
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1216
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
|
|
1217
|
+
}
|
|
1218
|
+
/**
|
|
1219
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1220
|
+
*
|
|
1221
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1222
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1223
|
+
* @returns {string} A string representing the data_store.
|
|
1224
|
+
*/
|
|
1225
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1226
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
|
|
1227
|
+
}
|
|
1228
|
+
/**
|
|
1229
|
+
* Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
|
1230
|
+
*
|
|
1231
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
|
1232
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
|
1233
|
+
* @returns {string} A string representing the target_site.
|
|
1234
|
+
*/
|
|
1235
|
+
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
|
1236
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
|
1237
|
+
}
|
|
1238
|
+
/**
|
|
1239
|
+
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
|
1240
|
+
*
|
|
1241
|
+
* @param {string} project
|
|
1242
|
+
* @param {string} location
|
|
1243
|
+
* @param {string} collection
|
|
1244
|
+
* @param {string} engine
|
|
1245
|
+
* @param {string} conversation
|
|
1246
|
+
* @returns {string} Resource name string.
|
|
1247
|
+
*/
|
|
1248
|
+
projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
|
|
1249
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
|
|
1250
|
+
project: project,
|
|
1251
|
+
location: location,
|
|
1252
|
+
collection: collection,
|
|
1253
|
+
engine: engine,
|
|
1254
|
+
conversation: conversation,
|
|
1255
|
+
});
|
|
1256
|
+
}
|
|
1257
|
+
/**
|
|
1258
|
+
* Parse the project from ProjectLocationCollectionEngineConversation resource.
|
|
1259
|
+
*
|
|
1260
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1261
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1262
|
+
* @returns {string} A string representing the project.
|
|
1263
|
+
*/
|
|
1264
|
+
matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1265
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
|
|
1266
|
+
}
|
|
1267
|
+
/**
|
|
1268
|
+
* Parse the location from ProjectLocationCollectionEngineConversation resource.
|
|
1269
|
+
*
|
|
1270
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1271
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1272
|
+
* @returns {string} A string representing the location.
|
|
1273
|
+
*/
|
|
1274
|
+
matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1275
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
|
|
1276
|
+
}
|
|
1277
|
+
/**
|
|
1278
|
+
* Parse the collection from ProjectLocationCollectionEngineConversation resource.
|
|
1279
|
+
*
|
|
1280
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1281
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1282
|
+
* @returns {string} A string representing the collection.
|
|
1283
|
+
*/
|
|
1284
|
+
matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1285
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
|
|
1286
|
+
}
|
|
1287
|
+
/**
|
|
1288
|
+
* Parse the engine from ProjectLocationCollectionEngineConversation resource.
|
|
1289
|
+
*
|
|
1290
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1291
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1292
|
+
* @returns {string} A string representing the engine.
|
|
1293
|
+
*/
|
|
1294
|
+
matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1295
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
|
|
1296
|
+
}
|
|
1297
|
+
/**
|
|
1298
|
+
* Parse the conversation from ProjectLocationCollectionEngineConversation resource.
|
|
1299
|
+
*
|
|
1300
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
|
1301
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
|
1302
|
+
* @returns {string} A string representing the conversation.
|
|
1303
|
+
*/
|
|
1304
|
+
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1305
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
|
1306
|
+
}
|
|
1307
|
+
/**
|
|
1308
|
+
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
|
1309
|
+
*
|
|
1310
|
+
* @param {string} project
|
|
1311
|
+
* @param {string} location
|
|
1312
|
+
* @param {string} collection
|
|
1313
|
+
* @param {string} engine
|
|
1314
|
+
* @param {string} serving_config
|
|
1315
|
+
* @returns {string} Resource name string.
|
|
1316
|
+
*/
|
|
1317
|
+
projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
|
|
1318
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
|
|
1319
|
+
project: project,
|
|
1320
|
+
location: location,
|
|
1321
|
+
collection: collection,
|
|
1322
|
+
engine: engine,
|
|
1323
|
+
serving_config: servingConfig,
|
|
1324
|
+
});
|
|
1325
|
+
}
|
|
1326
|
+
/**
|
|
1327
|
+
* Parse the project from ProjectLocationCollectionEngineServingConfig resource.
|
|
1328
|
+
*
|
|
1329
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1330
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1331
|
+
* @returns {string} A string representing the project.
|
|
1332
|
+
*/
|
|
1333
|
+
matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1334
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
|
|
1335
|
+
}
|
|
1336
|
+
/**
|
|
1337
|
+
* Parse the location from ProjectLocationCollectionEngineServingConfig resource.
|
|
1338
|
+
*
|
|
1339
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1340
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1341
|
+
* @returns {string} A string representing the location.
|
|
1342
|
+
*/
|
|
1343
|
+
matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1344
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
|
|
1345
|
+
}
|
|
1346
|
+
/**
|
|
1347
|
+
* Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
|
|
1348
|
+
*
|
|
1349
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1350
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1351
|
+
* @returns {string} A string representing the collection.
|
|
1352
|
+
*/
|
|
1353
|
+
matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1354
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
|
|
1355
|
+
}
|
|
1356
|
+
/**
|
|
1357
|
+
* Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
|
|
1358
|
+
*
|
|
1359
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1360
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1361
|
+
* @returns {string} A string representing the engine.
|
|
1362
|
+
*/
|
|
1363
|
+
matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1364
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
|
|
1365
|
+
}
|
|
1366
|
+
/**
|
|
1367
|
+
* Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
|
|
1368
|
+
*
|
|
1369
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1370
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1371
|
+
* @returns {string} A string representing the serving_config.
|
|
1372
|
+
*/
|
|
1373
|
+
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1374
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
|
1375
|
+
}
|
|
885
1376
|
/**
|
|
886
1377
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
|
887
1378
|
*
|
|
@@ -1053,6 +1544,51 @@ class UserEventServiceClient {
|
|
|
1053
1544
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
|
1054
1545
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
|
1055
1546
|
}
|
|
1547
|
+
/**
|
|
1548
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
|
1549
|
+
*
|
|
1550
|
+
* @param {string} project
|
|
1551
|
+
* @param {string} location
|
|
1552
|
+
* @param {string} data_store
|
|
1553
|
+
* @returns {string} Resource name string.
|
|
1554
|
+
*/
|
|
1555
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
|
1556
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
|
1557
|
+
project: project,
|
|
1558
|
+
location: location,
|
|
1559
|
+
data_store: dataStore,
|
|
1560
|
+
});
|
|
1561
|
+
}
|
|
1562
|
+
/**
|
|
1563
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1564
|
+
*
|
|
1565
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1566
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1567
|
+
* @returns {string} A string representing the project.
|
|
1568
|
+
*/
|
|
1569
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
1570
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
|
1571
|
+
}
|
|
1572
|
+
/**
|
|
1573
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1574
|
+
*
|
|
1575
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1576
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1577
|
+
* @returns {string} A string representing the location.
|
|
1578
|
+
*/
|
|
1579
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
1580
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
|
1581
|
+
}
|
|
1582
|
+
/**
|
|
1583
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1584
|
+
*
|
|
1585
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1586
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1587
|
+
* @returns {string} A string representing the data_store.
|
|
1588
|
+
*/
|
|
1589
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
1590
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
|
1591
|
+
}
|
|
1056
1592
|
/**
|
|
1057
1593
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
|
1058
1594
|
*
|
|
@@ -1110,6 +1646,165 @@ class UserEventServiceClient {
|
|
|
1110
1646
|
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
|
1111
1647
|
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
|
|
1112
1648
|
}
|
|
1649
|
+
/**
|
|
1650
|
+
* Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
|
|
1651
|
+
*
|
|
1652
|
+
* @param {string} project
|
|
1653
|
+
* @param {string} location
|
|
1654
|
+
* @param {string} data_store
|
|
1655
|
+
* @param {string} serving_config
|
|
1656
|
+
* @returns {string} Resource name string.
|
|
1657
|
+
*/
|
|
1658
|
+
projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
|
|
1659
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
|
|
1660
|
+
project: project,
|
|
1661
|
+
location: location,
|
|
1662
|
+
data_store: dataStore,
|
|
1663
|
+
serving_config: servingConfig,
|
|
1664
|
+
});
|
|
1665
|
+
}
|
|
1666
|
+
/**
|
|
1667
|
+
* Parse the project from ProjectLocationDataStoreServingConfig resource.
|
|
1668
|
+
*
|
|
1669
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
1670
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
1671
|
+
* @returns {string} A string representing the project.
|
|
1672
|
+
*/
|
|
1673
|
+
matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
1674
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
|
|
1675
|
+
}
|
|
1676
|
+
/**
|
|
1677
|
+
* Parse the location from ProjectLocationDataStoreServingConfig resource.
|
|
1678
|
+
*
|
|
1679
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
1680
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
1681
|
+
* @returns {string} A string representing the location.
|
|
1682
|
+
*/
|
|
1683
|
+
matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
1684
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
|
|
1685
|
+
}
|
|
1686
|
+
/**
|
|
1687
|
+
* Parse the data_store from ProjectLocationDataStoreServingConfig resource.
|
|
1688
|
+
*
|
|
1689
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
1690
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
1691
|
+
* @returns {string} A string representing the data_store.
|
|
1692
|
+
*/
|
|
1693
|
+
matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
1694
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
|
|
1695
|
+
}
|
|
1696
|
+
/**
|
|
1697
|
+
* Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
|
|
1698
|
+
*
|
|
1699
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
1700
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
1701
|
+
* @returns {string} A string representing the serving_config.
|
|
1702
|
+
*/
|
|
1703
|
+
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
1704
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
|
1705
|
+
}
|
|
1706
|
+
/**
|
|
1707
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
|
1708
|
+
*
|
|
1709
|
+
* @param {string} project
|
|
1710
|
+
* @param {string} location
|
|
1711
|
+
* @param {string} data_store
|
|
1712
|
+
* @returns {string} Resource name string.
|
|
1713
|
+
*/
|
|
1714
|
+
projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
|
|
1715
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
|
|
1716
|
+
project: project,
|
|
1717
|
+
location: location,
|
|
1718
|
+
data_store: dataStore,
|
|
1719
|
+
});
|
|
1720
|
+
}
|
|
1721
|
+
/**
|
|
1722
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
|
|
1723
|
+
*
|
|
1724
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
|
1725
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
|
1726
|
+
* @returns {string} A string representing the project.
|
|
1727
|
+
*/
|
|
1728
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
|
1729
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
|
|
1730
|
+
}
|
|
1731
|
+
/**
|
|
1732
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
|
|
1733
|
+
*
|
|
1734
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
|
1735
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
|
1736
|
+
* @returns {string} A string representing the location.
|
|
1737
|
+
*/
|
|
1738
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
|
1739
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
|
|
1740
|
+
}
|
|
1741
|
+
/**
|
|
1742
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
|
|
1743
|
+
*
|
|
1744
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
|
1745
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
|
1746
|
+
* @returns {string} A string representing the data_store.
|
|
1747
|
+
*/
|
|
1748
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
|
1749
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
|
|
1750
|
+
}
|
|
1751
|
+
/**
|
|
1752
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
|
1753
|
+
*
|
|
1754
|
+
* @param {string} project
|
|
1755
|
+
* @param {string} location
|
|
1756
|
+
* @param {string} data_store
|
|
1757
|
+
* @param {string} target_site
|
|
1758
|
+
* @returns {string} Resource name string.
|
|
1759
|
+
*/
|
|
1760
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
|
|
1761
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
|
1762
|
+
project: project,
|
|
1763
|
+
location: location,
|
|
1764
|
+
data_store: dataStore,
|
|
1765
|
+
target_site: targetSite,
|
|
1766
|
+
});
|
|
1767
|
+
}
|
|
1768
|
+
/**
|
|
1769
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
|
1770
|
+
*
|
|
1771
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
|
1772
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
|
1773
|
+
* @returns {string} A string representing the project.
|
|
1774
|
+
*/
|
|
1775
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
|
1776
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
|
|
1777
|
+
}
|
|
1778
|
+
/**
|
|
1779
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
|
1780
|
+
*
|
|
1781
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
|
1782
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
|
1783
|
+
* @returns {string} A string representing the location.
|
|
1784
|
+
*/
|
|
1785
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
|
1786
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
|
|
1787
|
+
}
|
|
1788
|
+
/**
|
|
1789
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
|
1790
|
+
*
|
|
1791
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
|
1792
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
|
1793
|
+
* @returns {string} A string representing the data_store.
|
|
1794
|
+
*/
|
|
1795
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
|
1796
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
|
|
1797
|
+
}
|
|
1798
|
+
/**
|
|
1799
|
+
* Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
|
1800
|
+
*
|
|
1801
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
|
1802
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
|
1803
|
+
* @returns {string} A string representing the target_site.
|
|
1804
|
+
*/
|
|
1805
|
+
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
|
1806
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
|
|
1807
|
+
}
|
|
1113
1808
|
/**
|
|
1114
1809
|
* Terminate the gRPC channel and close the client.
|
|
1115
1810
|
*
|