@google-cloud/discoveryengine 1.8.0 → 1.9.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 +8 -0
- package/README.md +33 -4
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +337 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +33 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +214 -0
- package/build/protos/google/cloud/discoveryengine/v1/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +569 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +4 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +92 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +149 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +58 -0
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +131 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +20 -19
- package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +23 -18
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +97 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +28 -3
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +18 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +7 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +16 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +1 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +12 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +1 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +2 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +20 -19
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +37 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +28 -31
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +39 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +29 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +18 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +10 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +16 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +216 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +1 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +7 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +20 -19
- package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +30 -24
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +39 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +28 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +18 -2
- package/build/protos/protos.d.ts +52350 -38733
- package/build/protos/protos.js +136479 -103212
- package/build/protos/protos.json +9460 -5916
- package/build/src/index.d.ts +13 -1
- package/build/src/index.js +13 -1
- package/build/src/v1/completion_service_client.d.ts +549 -0
- package/build/src/v1/completion_service_client.js +771 -0
- package/build/src/v1/control_service_client.d.ts +1623 -0
- package/build/src/v1/control_service_client.js +2218 -0
- package/build/src/v1/control_service_client_config.json +63 -0
- package/build/src/v1/conversational_search_service_client.d.ts +893 -0
- package/build/src/v1/conversational_search_service_client.js +1040 -14
- package/build/src/v1/conversational_search_service_client_config.json +35 -0
- package/build/src/v1/data_store_service_client.d.ts +555 -6
- package/build/src/v1/data_store_service_client.js +775 -4
- package/build/src/v1/document_service_client.d.ts +557 -8
- package/build/src/v1/document_service_client.js +773 -2
- package/build/src/v1/engine_service_client.d.ts +549 -0
- package/build/src/v1/engine_service_client.js +771 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +1439 -0
- package/build/src/v1/grounded_generation_service_client.js +2036 -0
- package/build/src/v1/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1/index.d.ts +4 -0
- package/build/src/v1/index.js +9 -1
- package/build/src/v1/project_service_client.d.ts +1533 -0
- package/build/src/v1/project_service_client.js +2255 -0
- package/build/src/v1/project_service_client_config.json +43 -0
- package/build/src/v1/rank_service_client.d.ts +1449 -0
- package/build/src/v1/rank_service_client.js +2037 -0
- package/build/src/v1/rank_service_client_config.json +43 -0
- package/build/src/v1/recommendation_service_client.d.ts +568 -18
- package/build/src/v1/recommendation_service_client.js +756 -0
- package/build/src/v1/schema_service_client.d.ts +558 -9
- package/build/src/v1/schema_service_client.js +775 -4
- package/build/src/v1/search_service_client.d.ts +579 -21
- package/build/src/v1/search_service_client.js +776 -14
- package/build/src/v1/site_search_engine_service_client.d.ts +549 -0
- package/build/src/v1/site_search_engine_service_client.js +771 -0
- package/build/src/v1/user_event_service_client.d.ts +562 -2
- package/build/src/v1/user_event_service_client.js +771 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/acl_config_service_client.js +326 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +237 -0
- package/build/src/v1alpha/chunk_service_client.js +326 -0
- package/build/src/v1alpha/completion_service_client.d.ts +237 -0
- package/build/src/v1alpha/completion_service_client.js +340 -0
- package/build/src/v1alpha/control_service_client.d.ts +2013 -0
- package/build/src/v1alpha/control_service_client.js +2757 -0
- package/build/src/v1alpha/control_service_client_config.json +63 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +239 -2
- package/build/src/v1alpha/conversational_search_service_client.js +326 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +243 -6
- package/build/src/v1alpha/data_store_service_client.js +344 -4
- package/build/src/v1alpha/document_service_client.d.ts +246 -9
- package/build/src/v1alpha/document_service_client.js +342 -2
- package/build/src/v1alpha/engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/engine_service_client.js +340 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +237 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +340 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +256 -1
- package/build/src/v1alpha/grounded_generation_service_client.js +326 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +239 -0
- package/build/src/v1alpha/project_service_client.js +340 -0
- package/build/src/v1alpha/project_service_client_config.json +21 -6
- package/build/src/v1alpha/rank_service_client.d.ts +255 -0
- package/build/src/v1alpha/rank_service_client.js +326 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +256 -18
- package/build/src/v1alpha/recommendation_service_client.js +326 -0
- package/build/src/v1alpha/schema_service_client.d.ts +247 -10
- package/build/src/v1alpha/schema_service_client.js +344 -4
- package/build/src/v1alpha/search_service_client.d.ts +267 -21
- package/build/src/v1alpha/search_service_client.js +346 -14
- package/build/src/v1alpha/search_tuning_service_client.d.ts +265 -0
- package/build/src/v1alpha/search_tuning_service_client.js +365 -1
- package/build/src/v1alpha/search_tuning_service_client_config.json +4 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/serving_config_service_client.js +326 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +340 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +250 -2
- package/build/src/v1alpha/user_event_service_client.js +340 -0
- package/build/src/v1beta/completion_service_client.d.ts +252 -0
- package/build/src/v1beta/completion_service_client.js +359 -0
- package/build/src/v1beta/control_service_client.d.ts +1860 -0
- package/build/src/v1beta/control_service_client.js +2545 -0
- package/build/src/v1beta/control_service_client_config.json +63 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +254 -2
- package/build/src/v1beta/conversational_search_service_client.js +348 -0
- package/build/src/v1beta/data_store_service_client.d.ts +258 -6
- package/build/src/v1beta/data_store_service_client.js +363 -4
- package/build/src/v1beta/document_service_client.d.ts +261 -10
- package/build/src/v1beta/document_service_client.js +361 -2
- package/build/src/v1beta/engine_service_client.d.ts +252 -0
- package/build/src/v1beta/engine_service_client.js +359 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +271 -1
- package/build/src/v1beta/grounded_generation_service_client.js +348 -0
- package/build/src/v1beta/index.d.ts +2 -0
- package/build/src/v1beta/index.js +5 -1
- package/build/src/v1beta/project_service_client.d.ts +1770 -0
- package/build/src/v1beta/project_service_client.js +2576 -0
- package/build/src/v1beta/project_service_client_config.json +43 -0
- package/build/src/v1beta/rank_service_client.d.ts +270 -0
- package/build/src/v1beta/rank_service_client.js +348 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +271 -18
- package/build/src/v1beta/recommendation_service_client.js +348 -0
- package/build/src/v1beta/schema_service_client.d.ts +261 -9
- package/build/src/v1beta/schema_service_client.js +363 -4
- package/build/src/v1beta/search_service_client.d.ts +282 -21
- package/build/src/v1beta/search_service_client.js +368 -14
- package/build/src/v1beta/search_tuning_service_client.d.ts +280 -0
- package/build/src/v1beta/search_tuning_service_client.js +384 -1
- package/build/src/v1beta/search_tuning_service_client_config.json +4 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
- package/build/src/v1beta/serving_config_service_client.js +326 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +252 -0
- package/build/src/v1beta/site_search_engine_service_client.js +359 -0
- package/build/src/v1beta/user_event_service_client.d.ts +265 -2
- package/build/src/v1beta/user_event_service_client.js +359 -0
- package/package.json +2 -2
@@ -151,9 +151,12 @@ class SiteSearchEngineServiceClient {
|
|
151
151
|
// Create useful helper objects for these.
|
152
152
|
this.pathTemplates = {
|
153
153
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
154
|
+
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
154
155
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
155
156
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
157
|
+
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
156
158
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
159
|
+
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
157
160
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
158
161
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
159
162
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -161,13 +164,16 @@ class SiteSearchEngineServiceClient {
|
|
161
164
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
162
165
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
163
166
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
167
|
+
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
164
168
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
165
169
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
166
170
|
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
167
171
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
168
172
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
169
173
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
174
|
+
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
170
175
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
176
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
171
177
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
172
178
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
173
179
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -194,6 +200,17 @@ class SiteSearchEngineServiceClient {
|
|
194
200
|
if (opts.fallback) {
|
195
201
|
lroOptions.protoJson = protoFilesRoot;
|
196
202
|
lroOptions.httpRules = [
|
203
|
+
{
|
204
|
+
selector: 'google.longrunning.Operations.CancelOperation',
|
205
|
+
post: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
|
206
|
+
body: '*',
|
207
|
+
additional_bindings: [
|
208
|
+
{
|
209
|
+
post: '/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
|
210
|
+
body: '*',
|
211
|
+
},
|
212
|
+
],
|
213
|
+
},
|
197
214
|
{
|
198
215
|
selector: 'google.longrunning.Operations.GetOperation',
|
199
216
|
get: '/v1beta/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
|
@@ -1264,6 +1281,27 @@ class SiteSearchEngineServiceClient {
|
|
1264
1281
|
matchEngineFromEngineName(engineName) {
|
1265
1282
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
1266
1283
|
}
|
1284
|
+
/**
|
1285
|
+
* Return a fully-qualified project resource name string.
|
1286
|
+
*
|
1287
|
+
* @param {string} project
|
1288
|
+
* @returns {string} Resource name string.
|
1289
|
+
*/
|
1290
|
+
projectPath(project) {
|
1291
|
+
return this.pathTemplates.projectPathTemplate.render({
|
1292
|
+
project: project,
|
1293
|
+
});
|
1294
|
+
}
|
1295
|
+
/**
|
1296
|
+
* Parse the project from Project resource.
|
1297
|
+
*
|
1298
|
+
* @param {string} projectName
|
1299
|
+
* A fully-qualified path representing Project resource.
|
1300
|
+
* @returns {string} A string representing the project.
|
1301
|
+
*/
|
1302
|
+
matchProjectFromProjectName(projectName) {
|
1303
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
1304
|
+
}
|
1267
1305
|
/**
|
1268
1306
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
1269
1307
|
*
|
@@ -1402,6 +1440,75 @@ class SiteSearchEngineServiceClient {
|
|
1402
1440
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
1403
1441
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
1404
1442
|
}
|
1443
|
+
/**
|
1444
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1445
|
+
*
|
1446
|
+
* @param {string} project
|
1447
|
+
* @param {string} location
|
1448
|
+
* @param {string} collection
|
1449
|
+
* @param {string} data_store
|
1450
|
+
* @param {string} control
|
1451
|
+
* @returns {string} Resource name string.
|
1452
|
+
*/
|
1453
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
1454
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
1455
|
+
project: project,
|
1456
|
+
location: location,
|
1457
|
+
collection: collection,
|
1458
|
+
data_store: dataStore,
|
1459
|
+
control: control,
|
1460
|
+
});
|
1461
|
+
}
|
1462
|
+
/**
|
1463
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
1464
|
+
*
|
1465
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1466
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1467
|
+
* @returns {string} A string representing the project.
|
1468
|
+
*/
|
1469
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1470
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
1471
|
+
}
|
1472
|
+
/**
|
1473
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
1474
|
+
*
|
1475
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1476
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1477
|
+
* @returns {string} A string representing the location.
|
1478
|
+
*/
|
1479
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1480
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
1481
|
+
}
|
1482
|
+
/**
|
1483
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
1484
|
+
*
|
1485
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1486
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1487
|
+
* @returns {string} A string representing the collection.
|
1488
|
+
*/
|
1489
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1490
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
1491
|
+
}
|
1492
|
+
/**
|
1493
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
1494
|
+
*
|
1495
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1496
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1497
|
+
* @returns {string} A string representing the data_store.
|
1498
|
+
*/
|
1499
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1500
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
1501
|
+
}
|
1502
|
+
/**
|
1503
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
1504
|
+
*
|
1505
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1506
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1507
|
+
* @returns {string} A string representing the control.
|
1508
|
+
*/
|
1509
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1510
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
1511
|
+
}
|
1405
1512
|
/**
|
1406
1513
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
1407
1514
|
*
|
@@ -1471,6 +1578,75 @@ class SiteSearchEngineServiceClient {
|
|
1471
1578
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1472
1579
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1473
1580
|
}
|
1581
|
+
/**
|
1582
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1583
|
+
*
|
1584
|
+
* @param {string} project
|
1585
|
+
* @param {string} location
|
1586
|
+
* @param {string} collection
|
1587
|
+
* @param {string} data_store
|
1588
|
+
* @param {string} custom_tuning_model
|
1589
|
+
* @returns {string} Resource name string.
|
1590
|
+
*/
|
1591
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
1592
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
1593
|
+
project: project,
|
1594
|
+
location: location,
|
1595
|
+
collection: collection,
|
1596
|
+
data_store: dataStore,
|
1597
|
+
custom_tuning_model: customTuningModel,
|
1598
|
+
});
|
1599
|
+
}
|
1600
|
+
/**
|
1601
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1602
|
+
*
|
1603
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1604
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1605
|
+
* @returns {string} A string representing the project.
|
1606
|
+
*/
|
1607
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1608
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
1609
|
+
}
|
1610
|
+
/**
|
1611
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1612
|
+
*
|
1613
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1614
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1615
|
+
* @returns {string} A string representing the location.
|
1616
|
+
*/
|
1617
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1618
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
1619
|
+
}
|
1620
|
+
/**
|
1621
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1622
|
+
*
|
1623
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1624
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1625
|
+
* @returns {string} A string representing the collection.
|
1626
|
+
*/
|
1627
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1628
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
1629
|
+
}
|
1630
|
+
/**
|
1631
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1632
|
+
*
|
1633
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1634
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1635
|
+
* @returns {string} A string representing the data_store.
|
1636
|
+
*/
|
1637
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1638
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
1639
|
+
}
|
1640
|
+
/**
|
1641
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1642
|
+
*
|
1643
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1644
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1645
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1646
|
+
*/
|
1647
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1648
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
1649
|
+
}
|
1474
1650
|
/**
|
1475
1651
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1476
1652
|
*
|
@@ -1942,6 +2118,75 @@ class SiteSearchEngineServiceClient {
|
|
1942
2118
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1943
2119
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1944
2120
|
}
|
2121
|
+
/**
|
2122
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
2123
|
+
*
|
2124
|
+
* @param {string} project
|
2125
|
+
* @param {string} location
|
2126
|
+
* @param {string} collection
|
2127
|
+
* @param {string} engine
|
2128
|
+
* @param {string} control
|
2129
|
+
* @returns {string} Resource name string.
|
2130
|
+
*/
|
2131
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
2132
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
2133
|
+
project: project,
|
2134
|
+
location: location,
|
2135
|
+
collection: collection,
|
2136
|
+
engine: engine,
|
2137
|
+
control: control,
|
2138
|
+
});
|
2139
|
+
}
|
2140
|
+
/**
|
2141
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
2142
|
+
*
|
2143
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2144
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2145
|
+
* @returns {string} A string representing the project.
|
2146
|
+
*/
|
2147
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2148
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
2149
|
+
}
|
2150
|
+
/**
|
2151
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
2152
|
+
*
|
2153
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2154
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2155
|
+
* @returns {string} A string representing the location.
|
2156
|
+
*/
|
2157
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2158
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
2159
|
+
}
|
2160
|
+
/**
|
2161
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
2162
|
+
*
|
2163
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2164
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2165
|
+
* @returns {string} A string representing the collection.
|
2166
|
+
*/
|
2167
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2168
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
2169
|
+
}
|
2170
|
+
/**
|
2171
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
2172
|
+
*
|
2173
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2174
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2175
|
+
* @returns {string} A string representing the engine.
|
2176
|
+
*/
|
2177
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2178
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
2179
|
+
}
|
2180
|
+
/**
|
2181
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
2182
|
+
*
|
2183
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2184
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2185
|
+
* @returns {string} A string representing the control.
|
2186
|
+
*/
|
2187
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2188
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
2189
|
+
}
|
1945
2190
|
/**
|
1946
2191
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1947
2192
|
*
|
@@ -2344,6 +2589,63 @@ class SiteSearchEngineServiceClient {
|
|
2344
2589
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
2345
2590
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
2346
2591
|
}
|
2592
|
+
/**
|
2593
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2594
|
+
*
|
2595
|
+
* @param {string} project
|
2596
|
+
* @param {string} location
|
2597
|
+
* @param {string} data_store
|
2598
|
+
* @param {string} control
|
2599
|
+
* @returns {string} Resource name string.
|
2600
|
+
*/
|
2601
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
2602
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
2603
|
+
project: project,
|
2604
|
+
location: location,
|
2605
|
+
data_store: dataStore,
|
2606
|
+
control: control,
|
2607
|
+
});
|
2608
|
+
}
|
2609
|
+
/**
|
2610
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
2611
|
+
*
|
2612
|
+
* @param {string} projectLocationDataStoreControlName
|
2613
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2614
|
+
* @returns {string} A string representing the project.
|
2615
|
+
*/
|
2616
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2617
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
2618
|
+
}
|
2619
|
+
/**
|
2620
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
2621
|
+
*
|
2622
|
+
* @param {string} projectLocationDataStoreControlName
|
2623
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2624
|
+
* @returns {string} A string representing the location.
|
2625
|
+
*/
|
2626
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2627
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
2628
|
+
}
|
2629
|
+
/**
|
2630
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
2631
|
+
*
|
2632
|
+
* @param {string} projectLocationDataStoreControlName
|
2633
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2634
|
+
* @returns {string} A string representing the data_store.
|
2635
|
+
*/
|
2636
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2637
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
2638
|
+
}
|
2639
|
+
/**
|
2640
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2641
|
+
*
|
2642
|
+
* @param {string} projectLocationDataStoreControlName
|
2643
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2644
|
+
* @returns {string} A string representing the control.
|
2645
|
+
*/
|
2646
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2647
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
2648
|
+
}
|
2347
2649
|
/**
|
2348
2650
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
2349
2651
|
*
|
@@ -2401,6 +2703,63 @@ class SiteSearchEngineServiceClient {
|
|
2401
2703
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2402
2704
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
2403
2705
|
}
|
2706
|
+
/**
|
2707
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2708
|
+
*
|
2709
|
+
* @param {string} project
|
2710
|
+
* @param {string} location
|
2711
|
+
* @param {string} data_store
|
2712
|
+
* @param {string} custom_tuning_model
|
2713
|
+
* @returns {string} Resource name string.
|
2714
|
+
*/
|
2715
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2716
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2717
|
+
project: project,
|
2718
|
+
location: location,
|
2719
|
+
data_store: dataStore,
|
2720
|
+
custom_tuning_model: customTuningModel,
|
2721
|
+
});
|
2722
|
+
}
|
2723
|
+
/**
|
2724
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2725
|
+
*
|
2726
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2727
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2728
|
+
* @returns {string} A string representing the project.
|
2729
|
+
*/
|
2730
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2731
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2732
|
+
}
|
2733
|
+
/**
|
2734
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2735
|
+
*
|
2736
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2737
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2738
|
+
* @returns {string} A string representing the location.
|
2739
|
+
*/
|
2740
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2741
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2742
|
+
}
|
2743
|
+
/**
|
2744
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2745
|
+
*
|
2746
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2747
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2748
|
+
* @returns {string} A string representing the data_store.
|
2749
|
+
*/
|
2750
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2751
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2752
|
+
}
|
2753
|
+
/**
|
2754
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2755
|
+
*
|
2756
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2757
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2758
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2759
|
+
*/
|
2760
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2761
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2762
|
+
}
|
2404
2763
|
/**
|
2405
2764
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2406
2765
|
*
|